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

The alphanumeric sender ID in a specific country that you want to describe. * For more information on sender IDs see Requesting * sender IDs for SMS messaging with Amazon Pinpoint in the Amazon Pinpoint * User Guide.

See Also:

AWS * API Reference

*/ class SenderIdAndCountry { public: AWS_PINPOINTSMSVOICEV2_API SenderIdAndCountry(); AWS_PINPOINTSMSVOICEV2_API SenderIdAndCountry(Aws::Utils::Json::JsonView jsonValue); AWS_PINPOINTSMSVOICEV2_API SenderIdAndCountry& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PINPOINTSMSVOICEV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifier of the sender.

*/ inline const Aws::String& GetSenderId() const{ return m_senderId; } /** *

The unique identifier of the sender.

*/ inline bool SenderIdHasBeenSet() const { return m_senderIdHasBeenSet; } /** *

The unique identifier of the sender.

*/ inline void SetSenderId(const Aws::String& value) { m_senderIdHasBeenSet = true; m_senderId = value; } /** *

The unique identifier of the sender.

*/ inline void SetSenderId(Aws::String&& value) { m_senderIdHasBeenSet = true; m_senderId = std::move(value); } /** *

The unique identifier of the sender.

*/ inline void SetSenderId(const char* value) { m_senderIdHasBeenSet = true; m_senderId.assign(value); } /** *

The unique identifier of the sender.

*/ inline SenderIdAndCountry& WithSenderId(const Aws::String& value) { SetSenderId(value); return *this;} /** *

The unique identifier of the sender.

*/ inline SenderIdAndCountry& WithSenderId(Aws::String&& value) { SetSenderId(std::move(value)); return *this;} /** *

The unique identifier of the sender.

*/ inline SenderIdAndCountry& WithSenderId(const char* value) { SetSenderId(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 SenderIdAndCountry& 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 SenderIdAndCountry& 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 SenderIdAndCountry& WithIsoCountryCode(const char* value) { SetIsoCountryCode(value); return *this;} private: Aws::String m_senderId; bool m_senderIdHasBeenSet = false; Aws::String m_isoCountryCode; bool m_isoCountryCodeHasBeenSet = false; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws