/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace PinpointSMSVoiceV2 { namespace Model { class AssociateOriginationIdentityResult { public: AWS_PINPOINTSMSVOICEV2_API AssociateOriginationIdentityResult(); AWS_PINPOINTSMSVOICEV2_API AssociateOriginationIdentityResult(const Aws::AmazonWebServiceResult& result); AWS_PINPOINTSMSVOICEV2_API AssociateOriginationIdentityResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the pool that is now associated with the * origination identity.

*/ inline const Aws::String& GetPoolArn() const{ return m_poolArn; } /** *

The Amazon Resource Name (ARN) of the pool that is now associated with the * origination identity.

*/ inline void SetPoolArn(const Aws::String& value) { m_poolArn = value; } /** *

The Amazon Resource Name (ARN) of the pool that is now associated with the * origination identity.

*/ inline void SetPoolArn(Aws::String&& value) { m_poolArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the pool that is now associated with the * origination identity.

*/ inline void SetPoolArn(const char* value) { m_poolArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the pool that is now associated with the * origination identity.

*/ inline AssociateOriginationIdentityResult& WithPoolArn(const Aws::String& value) { SetPoolArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the pool that is now associated with the * origination identity.

*/ inline AssociateOriginationIdentityResult& WithPoolArn(Aws::String&& value) { SetPoolArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the pool that is now associated with the * origination identity.

*/ inline AssociateOriginationIdentityResult& WithPoolArn(const char* value) { SetPoolArn(value); return *this;} /** *

The PoolId of the pool that is now associated with the origination * identity.

*/ inline const Aws::String& GetPoolId() const{ return m_poolId; } /** *

The PoolId of the pool that is now associated with the origination * identity.

*/ inline void SetPoolId(const Aws::String& value) { m_poolId = value; } /** *

The PoolId of the pool that is now associated with the origination * identity.

*/ inline void SetPoolId(Aws::String&& value) { m_poolId = std::move(value); } /** *

The PoolId of the pool that is now associated with the origination * identity.

*/ inline void SetPoolId(const char* value) { m_poolId.assign(value); } /** *

The PoolId of the pool that is now associated with the origination * identity.

*/ inline AssociateOriginationIdentityResult& WithPoolId(const Aws::String& value) { SetPoolId(value); return *this;} /** *

The PoolId of the pool that is now associated with the origination * identity.

*/ inline AssociateOriginationIdentityResult& WithPoolId(Aws::String&& value) { SetPoolId(std::move(value)); return *this;} /** *

The PoolId of the pool that is now associated with the origination * identity.

*/ inline AssociateOriginationIdentityResult& WithPoolId(const char* value) { SetPoolId(value); return *this;} /** *

The PhoneNumberArn or SenderIdArn of the origination identity.

*/ inline const Aws::String& GetOriginationIdentityArn() const{ return m_originationIdentityArn; } /** *

The PhoneNumberArn or SenderIdArn of the origination identity.

*/ inline void SetOriginationIdentityArn(const Aws::String& value) { m_originationIdentityArn = value; } /** *

The PhoneNumberArn or SenderIdArn of the origination identity.

*/ inline void SetOriginationIdentityArn(Aws::String&& value) { m_originationIdentityArn = std::move(value); } /** *

The PhoneNumberArn or SenderIdArn of the origination identity.

*/ inline void SetOriginationIdentityArn(const char* value) { m_originationIdentityArn.assign(value); } /** *

The PhoneNumberArn or SenderIdArn of the origination identity.

*/ inline AssociateOriginationIdentityResult& WithOriginationIdentityArn(const Aws::String& value) { SetOriginationIdentityArn(value); return *this;} /** *

The PhoneNumberArn or SenderIdArn of the origination identity.

*/ inline AssociateOriginationIdentityResult& WithOriginationIdentityArn(Aws::String&& value) { SetOriginationIdentityArn(std::move(value)); return *this;} /** *

The PhoneNumberArn or SenderIdArn of the origination identity.

*/ inline AssociateOriginationIdentityResult& WithOriginationIdentityArn(const char* value) { SetOriginationIdentityArn(value); return *this;} /** *

The PhoneNumberId or SenderId of the origination identity.

*/ inline const Aws::String& GetOriginationIdentity() const{ return m_originationIdentity; } /** *

The PhoneNumberId or SenderId of the origination identity.

*/ inline void SetOriginationIdentity(const Aws::String& value) { m_originationIdentity = value; } /** *

The PhoneNumberId or SenderId of the origination identity.

*/ inline void SetOriginationIdentity(Aws::String&& value) { m_originationIdentity = std::move(value); } /** *

The PhoneNumberId or SenderId of the origination identity.

*/ inline void SetOriginationIdentity(const char* value) { m_originationIdentity.assign(value); } /** *

The PhoneNumberId or SenderId of the origination identity.

*/ inline AssociateOriginationIdentityResult& WithOriginationIdentity(const Aws::String& value) { SetOriginationIdentity(value); return *this;} /** *

The PhoneNumberId or SenderId of the origination identity.

*/ inline AssociateOriginationIdentityResult& WithOriginationIdentity(Aws::String&& value) { SetOriginationIdentity(std::move(value)); return *this;} /** *

The PhoneNumberId or SenderId of the origination identity.

*/ inline AssociateOriginationIdentityResult& WithOriginationIdentity(const char* value) { SetOriginationIdentity(value); return *this;} /** *

The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.

*/ inline const Aws::String& GetIsoCountryCode() const{ return m_isoCountryCode; } /** *

The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.

*/ inline void SetIsoCountryCode(const Aws::String& value) { m_isoCountryCode = value; } /** *

The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.

*/ inline void SetIsoCountryCode(Aws::String&& value) { m_isoCountryCode = std::move(value); } /** *

The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.

*/ inline void SetIsoCountryCode(const char* value) { m_isoCountryCode.assign(value); } /** *

The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.

*/ inline AssociateOriginationIdentityResult& WithIsoCountryCode(const Aws::String& value) { SetIsoCountryCode(value); return *this;} /** *

The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.

*/ inline AssociateOriginationIdentityResult& WithIsoCountryCode(Aws::String&& value) { SetIsoCountryCode(std::move(value)); return *this;} /** *

The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.

*/ inline AssociateOriginationIdentityResult& WithIsoCountryCode(const char* value) { SetIsoCountryCode(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 AssociateOriginationIdentityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AssociateOriginationIdentityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AssociateOriginationIdentityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_poolArn; Aws::String m_poolId; Aws::String m_originationIdentityArn; Aws::String m_originationIdentity; Aws::String m_isoCountryCode; Aws::String m_requestId; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws