/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CognitoIdentityProvider { namespace Model { /** *

The verification code response returned by the server response to get the * user attribute verification code.

See Also:

AWS * API Reference

*/ class GetUserAttributeVerificationCodeResult { public: AWS_COGNITOIDENTITYPROVIDER_API GetUserAttributeVerificationCodeResult(); AWS_COGNITOIDENTITYPROVIDER_API GetUserAttributeVerificationCodeResult(const Aws::AmazonWebServiceResult& result); AWS_COGNITOIDENTITYPROVIDER_API GetUserAttributeVerificationCodeResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The code delivery details returned by the server in response to the request * to get the user attribute verification code.

*/ inline const CodeDeliveryDetailsType& GetCodeDeliveryDetails() const{ return m_codeDeliveryDetails; } /** *

The code delivery details returned by the server in response to the request * to get the user attribute verification code.

*/ inline void SetCodeDeliveryDetails(const CodeDeliveryDetailsType& value) { m_codeDeliveryDetails = value; } /** *

The code delivery details returned by the server in response to the request * to get the user attribute verification code.

*/ inline void SetCodeDeliveryDetails(CodeDeliveryDetailsType&& value) { m_codeDeliveryDetails = std::move(value); } /** *

The code delivery details returned by the server in response to the request * to get the user attribute verification code.

*/ inline GetUserAttributeVerificationCodeResult& WithCodeDeliveryDetails(const CodeDeliveryDetailsType& value) { SetCodeDeliveryDetails(value); return *this;} /** *

The code delivery details returned by the server in response to the request * to get the user attribute verification code.

*/ inline GetUserAttributeVerificationCodeResult& WithCodeDeliveryDetails(CodeDeliveryDetailsType&& value) { SetCodeDeliveryDetails(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 GetUserAttributeVerificationCodeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetUserAttributeVerificationCodeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetUserAttributeVerificationCodeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: CodeDeliveryDetailsType m_codeDeliveryDetails; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws