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

The Amazon Resource Name (ARN) of the newly created configuration set.

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

The Amazon Resource Name (ARN) of the newly created configuration set.

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

The Amazon Resource Name (ARN) of the newly created configuration set.

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

The Amazon Resource Name (ARN) of the newly created configuration set.

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

The Amazon Resource Name (ARN) of the newly created configuration set.

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

The Amazon Resource Name (ARN) of the newly created configuration set.

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

The Amazon Resource Name (ARN) of the newly created configuration set.

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

The name of the new configuration set.

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

The name of the new configuration set.

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

The name of the new configuration set.

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

The name of the new configuration set.

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

The name of the new configuration set.

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

The name of the new configuration set.

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

The name of the new configuration set.

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

An array of key and value pair tags that's associated with the configuration * set.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

An array of key and value pair tags that's associated with the configuration * set.

*/ inline void SetTags(const Aws::Vector& value) { m_tags = value; } /** *

An array of key and value pair tags that's associated with the configuration * set.

*/ inline void SetTags(Aws::Vector&& value) { m_tags = std::move(value); } /** *

An array of key and value pair tags that's associated with the configuration * set.

*/ inline CreateConfigurationSetResult& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

An array of key and value pair tags that's associated with the configuration * set.

*/ inline CreateConfigurationSetResult& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

An array of key and value pair tags that's associated with the configuration * set.

*/ inline CreateConfigurationSetResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } /** *

An array of key and value pair tags that's associated with the configuration * set.

*/ inline CreateConfigurationSetResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } /** *

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

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

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

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

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

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

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

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

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

*/ inline CreateConfigurationSetResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(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 CreateConfigurationSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateConfigurationSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateConfigurationSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_configurationSetArn; Aws::String m_configurationSetName; Aws::Vector m_tags; Aws::Utils::DateTime m_createdTimestamp; Aws::String m_requestId; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws