/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace PinpointSMSVoiceV2 { namespace Model { /** *

The information for all SenderIds in an Amazon Web Services * account.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) associated with the SenderId.

*/ inline const Aws::String& GetSenderIdArn() const{ return m_senderIdArn; } /** *

The Amazon Resource Name (ARN) associated with the SenderId.

*/ inline bool SenderIdArnHasBeenSet() const { return m_senderIdArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) associated with the SenderId.

*/ inline void SetSenderIdArn(const Aws::String& value) { m_senderIdArnHasBeenSet = true; m_senderIdArn = value; } /** *

The Amazon Resource Name (ARN) associated with the SenderId.

*/ inline void SetSenderIdArn(Aws::String&& value) { m_senderIdArnHasBeenSet = true; m_senderIdArn = std::move(value); } /** *

The Amazon Resource Name (ARN) associated with the SenderId.

*/ inline void SetSenderIdArn(const char* value) { m_senderIdArnHasBeenSet = true; m_senderIdArn.assign(value); } /** *

The Amazon Resource Name (ARN) associated with the SenderId.

*/ inline SenderIdInformation& WithSenderIdArn(const Aws::String& value) { SetSenderIdArn(value); return *this;} /** *

The Amazon Resource Name (ARN) associated with the SenderId.

*/ inline SenderIdInformation& WithSenderIdArn(Aws::String&& value) { SetSenderIdArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) associated with the SenderId.

*/ inline SenderIdInformation& WithSenderIdArn(const char* value) { SetSenderIdArn(value); return *this;} /** *

The alphanumeric sender ID in a specific country that you'd like to * describe.

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

The alphanumeric sender ID in a specific country that you'd like to * describe.

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

The alphanumeric sender ID in a specific country that you'd like to * describe.

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

The alphanumeric sender ID in a specific country that you'd like to * describe.

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

The alphanumeric sender ID in a specific country that you'd like to * describe.

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

The alphanumeric sender ID in a specific country that you'd like to * describe.

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

The alphanumeric sender ID in a specific country that you'd like to * describe.

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

The alphanumeric sender ID in a specific country that you'd like to * describe.

*/ inline SenderIdInformation& 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 SenderIdInformation& 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 SenderIdInformation& 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 SenderIdInformation& WithIsoCountryCode(const char* value) { SetIsoCountryCode(value); return *this;} /** *

The type of message. Valid values are TRANSACTIONAL for messages that are * critical or time-sensitive and PROMOTIONAL for messages that aren't critical or * time-sensitive.

*/ inline const Aws::Vector& GetMessageTypes() const{ return m_messageTypes; } /** *

The type of message. Valid values are TRANSACTIONAL for messages that are * critical or time-sensitive and PROMOTIONAL for messages that aren't critical or * time-sensitive.

*/ inline bool MessageTypesHasBeenSet() const { return m_messageTypesHasBeenSet; } /** *

The type of message. Valid values are TRANSACTIONAL for messages that are * critical or time-sensitive and PROMOTIONAL for messages that aren't critical or * time-sensitive.

*/ inline void SetMessageTypes(const Aws::Vector& value) { m_messageTypesHasBeenSet = true; m_messageTypes = value; } /** *

The type of message. Valid values are TRANSACTIONAL for messages that are * critical or time-sensitive and PROMOTIONAL for messages that aren't critical or * time-sensitive.

*/ inline void SetMessageTypes(Aws::Vector&& value) { m_messageTypesHasBeenSet = true; m_messageTypes = std::move(value); } /** *

The type of message. Valid values are TRANSACTIONAL for messages that are * critical or time-sensitive and PROMOTIONAL for messages that aren't critical or * time-sensitive.

*/ inline SenderIdInformation& WithMessageTypes(const Aws::Vector& value) { SetMessageTypes(value); return *this;} /** *

The type of message. Valid values are TRANSACTIONAL for messages that are * critical or time-sensitive and PROMOTIONAL for messages that aren't critical or * time-sensitive.

*/ inline SenderIdInformation& WithMessageTypes(Aws::Vector&& value) { SetMessageTypes(std::move(value)); return *this;} /** *

The type of message. Valid values are TRANSACTIONAL for messages that are * critical or time-sensitive and PROMOTIONAL for messages that aren't critical or * time-sensitive.

*/ inline SenderIdInformation& AddMessageTypes(const MessageType& value) { m_messageTypesHasBeenSet = true; m_messageTypes.push_back(value); return *this; } /** *

The type of message. Valid values are TRANSACTIONAL for messages that are * critical or time-sensitive and PROMOTIONAL for messages that aren't critical or * time-sensitive.

*/ inline SenderIdInformation& AddMessageTypes(MessageType&& value) { m_messageTypesHasBeenSet = true; m_messageTypes.push_back(std::move(value)); return *this; } /** *

The monthly leasing price, in US dollars.

*/ inline const Aws::String& GetMonthlyLeasingPrice() const{ return m_monthlyLeasingPrice; } /** *

The monthly leasing price, in US dollars.

*/ inline bool MonthlyLeasingPriceHasBeenSet() const { return m_monthlyLeasingPriceHasBeenSet; } /** *

The monthly leasing price, in US dollars.

*/ inline void SetMonthlyLeasingPrice(const Aws::String& value) { m_monthlyLeasingPriceHasBeenSet = true; m_monthlyLeasingPrice = value; } /** *

The monthly leasing price, in US dollars.

*/ inline void SetMonthlyLeasingPrice(Aws::String&& value) { m_monthlyLeasingPriceHasBeenSet = true; m_monthlyLeasingPrice = std::move(value); } /** *

The monthly leasing price, in US dollars.

*/ inline void SetMonthlyLeasingPrice(const char* value) { m_monthlyLeasingPriceHasBeenSet = true; m_monthlyLeasingPrice.assign(value); } /** *

The monthly leasing price, in US dollars.

*/ inline SenderIdInformation& WithMonthlyLeasingPrice(const Aws::String& value) { SetMonthlyLeasingPrice(value); return *this;} /** *

The monthly leasing price, in US dollars.

*/ inline SenderIdInformation& WithMonthlyLeasingPrice(Aws::String&& value) { SetMonthlyLeasingPrice(std::move(value)); return *this;} /** *

The monthly leasing price, in US dollars.

*/ inline SenderIdInformation& WithMonthlyLeasingPrice(const char* value) { SetMonthlyLeasingPrice(value); return *this;} private: Aws::String m_senderIdArn; bool m_senderIdArnHasBeenSet = false; Aws::String m_senderId; bool m_senderIdHasBeenSet = false; Aws::String m_isoCountryCode; bool m_isoCountryCodeHasBeenSet = false; Aws::Vector m_messageTypes; bool m_messageTypesHasBeenSet = false; Aws::String m_monthlyLeasingPrice; bool m_monthlyLeasingPriceHasBeenSet = false; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws