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

Information related to a given configuration set in your Amazon Web Services * account.

See Also:

AWS * API Reference

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

The Resource Name (ARN) of the ConfigurationSet.

*/ inline const Aws::String& GetConfigurationSetArn() const{ return m_configurationSetArn; } /** *

The Resource Name (ARN) of the ConfigurationSet.

*/ inline bool ConfigurationSetArnHasBeenSet() const { return m_configurationSetArnHasBeenSet; } /** *

The Resource Name (ARN) of the ConfigurationSet.

*/ inline void SetConfigurationSetArn(const Aws::String& value) { m_configurationSetArnHasBeenSet = true; m_configurationSetArn = value; } /** *

The Resource Name (ARN) of the ConfigurationSet.

*/ inline void SetConfigurationSetArn(Aws::String&& value) { m_configurationSetArnHasBeenSet = true; m_configurationSetArn = std::move(value); } /** *

The Resource Name (ARN) of the ConfigurationSet.

*/ inline void SetConfigurationSetArn(const char* value) { m_configurationSetArnHasBeenSet = true; m_configurationSetArn.assign(value); } /** *

The Resource Name (ARN) of the ConfigurationSet.

*/ inline ConfigurationSetInformation& WithConfigurationSetArn(const Aws::String& value) { SetConfigurationSetArn(value); return *this;} /** *

The Resource Name (ARN) of the ConfigurationSet.

*/ inline ConfigurationSetInformation& WithConfigurationSetArn(Aws::String&& value) { SetConfigurationSetArn(std::move(value)); return *this;} /** *

The Resource Name (ARN) of the ConfigurationSet.

*/ inline ConfigurationSetInformation& WithConfigurationSetArn(const char* value) { SetConfigurationSetArn(value); return *this;} /** *

The name of the ConfigurationSet.

*/ inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; } /** *

The name of the ConfigurationSet.

*/ inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; } /** *

The name of the ConfigurationSet.

*/ inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; } /** *

The name of the ConfigurationSet.

*/ inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); } /** *

The name of the ConfigurationSet.

*/ inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); } /** *

The name of the ConfigurationSet.

*/ inline ConfigurationSetInformation& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;} /** *

The name of the ConfigurationSet.

*/ inline ConfigurationSetInformation& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;} /** *

The name of the ConfigurationSet.

*/ inline ConfigurationSetInformation& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;} /** *

An array of EventDestination objects that describe any events to log and * where to log them.

*/ inline const Aws::Vector& GetEventDestinations() const{ return m_eventDestinations; } /** *

An array of EventDestination objects that describe any events to log and * where to log them.

*/ inline bool EventDestinationsHasBeenSet() const { return m_eventDestinationsHasBeenSet; } /** *

An array of EventDestination objects that describe any events to log and * where to log them.

*/ inline void SetEventDestinations(const Aws::Vector& value) { m_eventDestinationsHasBeenSet = true; m_eventDestinations = value; } /** *

An array of EventDestination objects that describe any events to log and * where to log them.

*/ inline void SetEventDestinations(Aws::Vector&& value) { m_eventDestinationsHasBeenSet = true; m_eventDestinations = std::move(value); } /** *

An array of EventDestination objects that describe any events to log and * where to log them.

*/ inline ConfigurationSetInformation& WithEventDestinations(const Aws::Vector& value) { SetEventDestinations(value); return *this;} /** *

An array of EventDestination objects that describe any events to log and * where to log them.

*/ inline ConfigurationSetInformation& WithEventDestinations(Aws::Vector&& value) { SetEventDestinations(std::move(value)); return *this;} /** *

An array of EventDestination objects that describe any events to log and * where to log them.

*/ inline ConfigurationSetInformation& AddEventDestinations(const EventDestination& value) { m_eventDestinationsHasBeenSet = true; m_eventDestinations.push_back(value); return *this; } /** *

An array of EventDestination objects that describe any events to log and * where to log them.

*/ inline ConfigurationSetInformation& AddEventDestinations(EventDestination&& value) { m_eventDestinationsHasBeenSet = true; m_eventDestinations.push_back(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 const MessageType& GetDefaultMessageType() const{ return m_defaultMessageType; } /** *

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 DefaultMessageTypeHasBeenSet() const { return m_defaultMessageTypeHasBeenSet; } /** *

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 SetDefaultMessageType(const MessageType& value) { m_defaultMessageTypeHasBeenSet = true; m_defaultMessageType = 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 SetDefaultMessageType(MessageType&& value) { m_defaultMessageTypeHasBeenSet = true; m_defaultMessageType = 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 ConfigurationSetInformation& WithDefaultMessageType(const MessageType& value) { SetDefaultMessageType(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 ConfigurationSetInformation& WithDefaultMessageType(MessageType&& value) { SetDefaultMessageType(std::move(value)); return *this;} /** *

The default sender ID used by the ConfigurationSet.

*/ inline const Aws::String& GetDefaultSenderId() const{ return m_defaultSenderId; } /** *

The default sender ID used by the ConfigurationSet.

*/ inline bool DefaultSenderIdHasBeenSet() const { return m_defaultSenderIdHasBeenSet; } /** *

The default sender ID used by the ConfigurationSet.

*/ inline void SetDefaultSenderId(const Aws::String& value) { m_defaultSenderIdHasBeenSet = true; m_defaultSenderId = value; } /** *

The default sender ID used by the ConfigurationSet.

*/ inline void SetDefaultSenderId(Aws::String&& value) { m_defaultSenderIdHasBeenSet = true; m_defaultSenderId = std::move(value); } /** *

The default sender ID used by the ConfigurationSet.

*/ inline void SetDefaultSenderId(const char* value) { m_defaultSenderIdHasBeenSet = true; m_defaultSenderId.assign(value); } /** *

The default sender ID used by the ConfigurationSet.

*/ inline ConfigurationSetInformation& WithDefaultSenderId(const Aws::String& value) { SetDefaultSenderId(value); return *this;} /** *

The default sender ID used by the ConfigurationSet.

*/ inline ConfigurationSetInformation& WithDefaultSenderId(Aws::String&& value) { SetDefaultSenderId(std::move(value)); return *this;} /** *

The default sender ID used by the ConfigurationSet.

*/ inline ConfigurationSetInformation& WithDefaultSenderId(const char* value) { SetDefaultSenderId(value); return *this;} /** *

The time when the ConfigurationSet was created, in UNIX epoch time format.

*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *

The time when the ConfigurationSet was created, in UNIX epoch time format.

*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *

The time when the ConfigurationSet was created, in UNIX epoch time format.

*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *

The time when the ConfigurationSet was created, in UNIX epoch time format.

*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *

The time when the ConfigurationSet was created, in UNIX epoch time format.

*/ inline ConfigurationSetInformation& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *

The time when the ConfigurationSet was created, in UNIX epoch time format.

*/ inline ConfigurationSetInformation& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} private: Aws::String m_configurationSetArn; bool m_configurationSetArnHasBeenSet = false; Aws::String m_configurationSetName; bool m_configurationSetNameHasBeenSet = false; Aws::Vector m_eventDestinations; bool m_eventDestinationsHasBeenSet = false; MessageType m_defaultMessageType; bool m_defaultMessageTypeHasBeenSet = false; Aws::String m_defaultSenderId; bool m_defaultSenderIdHasBeenSet = false; Aws::Utils::DateTime m_createdTimestamp; bool m_createdTimestampHasBeenSet = false; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws