/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
namespace Aws
{
template
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace CognitoIdentityProvider
{
namespace Model
{
/**
* Represents the response from the server for the request to update user
* attributes.
See Also:
AWS
* API Reference
*/
class UpdateUserAttributesResult
{
public:
AWS_COGNITOIDENTITYPROVIDER_API UpdateUserAttributesResult();
AWS_COGNITOIDENTITYPROVIDER_API UpdateUserAttributesResult(const Aws::AmazonWebServiceResult& result);
AWS_COGNITOIDENTITYPROVIDER_API UpdateUserAttributesResult& operator=(const Aws::AmazonWebServiceResult& result);
///@{
/**
* The code delivery details list from the server for the request to update user
* attributes.
*/
inline const Aws::Vector& GetCodeDeliveryDetailsList() const{ return m_codeDeliveryDetailsList; }
inline void SetCodeDeliveryDetailsList(const Aws::Vector& value) { m_codeDeliveryDetailsList = value; }
inline void SetCodeDeliveryDetailsList(Aws::Vector&& value) { m_codeDeliveryDetailsList = std::move(value); }
inline UpdateUserAttributesResult& WithCodeDeliveryDetailsList(const Aws::Vector& value) { SetCodeDeliveryDetailsList(value); return *this;}
inline UpdateUserAttributesResult& WithCodeDeliveryDetailsList(Aws::Vector&& value) { SetCodeDeliveryDetailsList(std::move(value)); return *this;}
inline UpdateUserAttributesResult& AddCodeDeliveryDetailsList(const CodeDeliveryDetailsType& value) { m_codeDeliveryDetailsList.push_back(value); return *this; }
inline UpdateUserAttributesResult& AddCodeDeliveryDetailsList(CodeDeliveryDetailsType&& value) { m_codeDeliveryDetailsList.push_back(std::move(value)); return *this; }
///@}
///@{
inline const Aws::String& GetRequestId() const{ return m_requestId; }
inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
inline void SetRequestId(const char* value) { m_requestId.assign(value); }
inline UpdateUserAttributesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
inline UpdateUserAttributesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
inline UpdateUserAttributesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
///@}
private:
Aws::Vector m_codeDeliveryDetailsList;
Aws::String m_requestId;
};
} // namespace Model
} // namespace CognitoIdentityProvider
} // namespace Aws