/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The metadata for an origination identity associated with a
* pool.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) associated with the origination identity.
*/ inline const Aws::String& GetOriginationIdentityArn() const{ return m_originationIdentityArn; } /** *The Amazon Resource Name (ARN) associated with the origination identity.
*/ inline bool OriginationIdentityArnHasBeenSet() const { return m_originationIdentityArnHasBeenSet; } /** *The Amazon Resource Name (ARN) associated with the origination identity.
*/ inline void SetOriginationIdentityArn(const Aws::String& value) { m_originationIdentityArnHasBeenSet = true; m_originationIdentityArn = value; } /** *The Amazon Resource Name (ARN) associated with the origination identity.
*/ inline void SetOriginationIdentityArn(Aws::String&& value) { m_originationIdentityArnHasBeenSet = true; m_originationIdentityArn = std::move(value); } /** *The Amazon Resource Name (ARN) associated with the origination identity.
*/ inline void SetOriginationIdentityArn(const char* value) { m_originationIdentityArnHasBeenSet = true; m_originationIdentityArn.assign(value); } /** *The Amazon Resource Name (ARN) associated with the origination identity.
*/ inline OriginationIdentityMetadata& WithOriginationIdentityArn(const Aws::String& value) { SetOriginationIdentityArn(value); return *this;} /** *The Amazon Resource Name (ARN) associated with the origination identity.
*/ inline OriginationIdentityMetadata& WithOriginationIdentityArn(Aws::String&& value) { SetOriginationIdentityArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) associated with the origination identity.
*/ inline OriginationIdentityMetadata& WithOriginationIdentityArn(const char* value) { SetOriginationIdentityArn(value); return *this;} /** *The unique identifier of the origination identity.
*/ inline const Aws::String& GetOriginationIdentity() const{ return m_originationIdentity; } /** *The unique identifier of the origination identity.
*/ inline bool OriginationIdentityHasBeenSet() const { return m_originationIdentityHasBeenSet; } /** *The unique identifier of the origination identity.
*/ inline void SetOriginationIdentity(const Aws::String& value) { m_originationIdentityHasBeenSet = true; m_originationIdentity = value; } /** *The unique identifier of the origination identity.
*/ inline void SetOriginationIdentity(Aws::String&& value) { m_originationIdentityHasBeenSet = true; m_originationIdentity = std::move(value); } /** *The unique identifier of the origination identity.
*/ inline void SetOriginationIdentity(const char* value) { m_originationIdentityHasBeenSet = true; m_originationIdentity.assign(value); } /** *The unique identifier of the origination identity.
*/ inline OriginationIdentityMetadata& WithOriginationIdentity(const Aws::String& value) { SetOriginationIdentity(value); return *this;} /** *The unique identifier of the origination identity.
*/ inline OriginationIdentityMetadata& WithOriginationIdentity(Aws::String&& value) { SetOriginationIdentity(std::move(value)); return *this;} /** *The unique identifier of the origination identity.
*/ inline OriginationIdentityMetadata& 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 bool IsoCountryCodeHasBeenSet() const { return m_isoCountryCodeHasBeenSet; } /** *The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.
*/ inline void SetIsoCountryCode(const Aws::String& value) { m_isoCountryCodeHasBeenSet = true; 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_isoCountryCodeHasBeenSet = true; 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_isoCountryCodeHasBeenSet = true; m_isoCountryCode.assign(value); } /** *The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.
*/ inline OriginationIdentityMetadata& 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 OriginationIdentityMetadata& 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 OriginationIdentityMetadata& WithIsoCountryCode(const char* value) { SetIsoCountryCode(value); return *this;} /** *Describes if the origination identity can be used for text messages, voice * calls or both.
*/ inline const Aws::VectorDescribes if the origination identity can be used for text messages, voice * calls or both.
*/ inline bool NumberCapabilitiesHasBeenSet() const { return m_numberCapabilitiesHasBeenSet; } /** *Describes if the origination identity can be used for text messages, voice * calls or both.
*/ inline void SetNumberCapabilities(const Aws::VectorDescribes if the origination identity can be used for text messages, voice * calls or both.
*/ inline void SetNumberCapabilities(Aws::VectorDescribes if the origination identity can be used for text messages, voice * calls or both.
*/ inline OriginationIdentityMetadata& WithNumberCapabilities(const Aws::VectorDescribes if the origination identity can be used for text messages, voice * calls or both.
*/ inline OriginationIdentityMetadata& WithNumberCapabilities(Aws::VectorDescribes if the origination identity can be used for text messages, voice * calls or both.
*/ inline OriginationIdentityMetadata& AddNumberCapabilities(const NumberCapability& value) { m_numberCapabilitiesHasBeenSet = true; m_numberCapabilities.push_back(value); return *this; } /** *Describes if the origination identity can be used for text messages, voice * calls or both.
*/ inline OriginationIdentityMetadata& AddNumberCapabilities(NumberCapability&& value) { m_numberCapabilitiesHasBeenSet = true; m_numberCapabilities.push_back(std::move(value)); return *this; } private: Aws::String m_originationIdentityArn; bool m_originationIdentityArnHasBeenSet = false; Aws::String m_originationIdentity; bool m_originationIdentityHasBeenSet = false; Aws::String m_isoCountryCode; bool m_isoCountryCodeHasBeenSet = false; Aws::Vector