/** * 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 CreateOptOutListResult { public: AWS_PINPOINTSMSVOICEV2_API CreateOptOutListResult(); AWS_PINPOINTSMSVOICEV2_API CreateOptOutListResult(const Aws::AmazonWebServiceResult& result); AWS_PINPOINTSMSVOICEV2_API CreateOptOutListResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) for the OptOutList.

*/ inline const Aws::String& GetOptOutListArn() const{ return m_optOutListArn; } /** *

The Amazon Resource Name (ARN) for the OptOutList.

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

The Amazon Resource Name (ARN) for the OptOutList.

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

The Amazon Resource Name (ARN) for the OptOutList.

*/ inline void SetOptOutListArn(const char* value) { m_optOutListArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the OptOutList.

*/ inline CreateOptOutListResult& WithOptOutListArn(const Aws::String& value) { SetOptOutListArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the OptOutList.

*/ inline CreateOptOutListResult& WithOptOutListArn(Aws::String&& value) { SetOptOutListArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the OptOutList.

*/ inline CreateOptOutListResult& WithOptOutListArn(const char* value) { SetOptOutListArn(value); return *this;} /** *

The name of the new OptOutList.

*/ inline const Aws::String& GetOptOutListName() const{ return m_optOutListName; } /** *

The name of the new OptOutList.

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

The name of the new OptOutList.

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

The name of the new OptOutList.

*/ inline void SetOptOutListName(const char* value) { m_optOutListName.assign(value); } /** *

The name of the new OptOutList.

*/ inline CreateOptOutListResult& WithOptOutListName(const Aws::String& value) { SetOptOutListName(value); return *this;} /** *

The name of the new OptOutList.

*/ inline CreateOptOutListResult& WithOptOutListName(Aws::String&& value) { SetOptOutListName(std::move(value)); return *this;} /** *

The name of the new OptOutList.

*/ inline CreateOptOutListResult& WithOptOutListName(const char* value) { SetOptOutListName(value); return *this;} /** *

An array of tags (key and value pairs) associated with the new * OptOutList.

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

An array of tags (key and value pairs) associated with the new * OptOutList.

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

An array of tags (key and value pairs) associated with the new * OptOutList.

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

An array of tags (key and value pairs) associated with the new * OptOutList.

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

An array of tags (key and value pairs) associated with the new * OptOutList.

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

An array of tags (key and value pairs) associated with the new * OptOutList.

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

An array of tags (key and value pairs) associated with the new * OptOutList.

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

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

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

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

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

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

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

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

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

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

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