/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace PinpointSMSVoiceV2 { namespace Model { class DescribeOptedOutNumbersResult { public: AWS_PINPOINTSMSVOICEV2_API DescribeOptedOutNumbersResult(); AWS_PINPOINTSMSVOICEV2_API DescribeOptedOutNumbersResult(const Aws::AmazonWebServiceResult& result); AWS_PINPOINTSMSVOICEV2_API DescribeOptedOutNumbersResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the OptOutList.

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

The Amazon Resource Name (ARN) of the OptOutList.

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

The Amazon Resource Name (ARN) of the OptOutList.

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

The Amazon Resource Name (ARN) of the OptOutList.

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

The Amazon Resource Name (ARN) of the OptOutList.

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

The Amazon Resource Name (ARN) of the OptOutList.

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

The Amazon Resource Name (ARN) of the OptOutList.

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

The name of the OptOutList.

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

The name of the OptOutList.

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

The name of the OptOutList.

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

The name of the OptOutList.

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

The name of the OptOutList.

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

The name of the OptOutList.

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

The name of the OptOutList.

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

An array of OptedOutNumbersInformation objects that provide information about * the requested OptedOutNumbers.

*/ inline const Aws::Vector& GetOptedOutNumbers() const{ return m_optedOutNumbers; } /** *

An array of OptedOutNumbersInformation objects that provide information about * the requested OptedOutNumbers.

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

An array of OptedOutNumbersInformation objects that provide information about * the requested OptedOutNumbers.

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

An array of OptedOutNumbersInformation objects that provide information about * the requested OptedOutNumbers.

*/ inline DescribeOptedOutNumbersResult& WithOptedOutNumbers(const Aws::Vector& value) { SetOptedOutNumbers(value); return *this;} /** *

An array of OptedOutNumbersInformation objects that provide information about * the requested OptedOutNumbers.

*/ inline DescribeOptedOutNumbersResult& WithOptedOutNumbers(Aws::Vector&& value) { SetOptedOutNumbers(std::move(value)); return *this;} /** *

An array of OptedOutNumbersInformation objects that provide information about * the requested OptedOutNumbers.

*/ inline DescribeOptedOutNumbersResult& AddOptedOutNumbers(const OptedOutNumberInformation& value) { m_optedOutNumbers.push_back(value); return *this; } /** *

An array of OptedOutNumbersInformation objects that provide information about * the requested OptedOutNumbers.

*/ inline DescribeOptedOutNumbersResult& AddOptedOutNumbers(OptedOutNumberInformation&& value) { m_optedOutNumbers.push_back(std::move(value)); return *this; } /** *

The token to be used for the next set of paginated results. If this field is * empty then there are no more results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token to be used for the next set of paginated results. If this field is * empty then there are no more results.

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

The token to be used for the next set of paginated results. If this field is * empty then there are no more results.

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

The token to be used for the next set of paginated results. If this field is * empty then there are no more results.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The token to be used for the next set of paginated results. If this field is * empty then there are no more results.

*/ inline DescribeOptedOutNumbersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token to be used for the next set of paginated results. If this field is * empty then there are no more results.

*/ inline DescribeOptedOutNumbersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token to be used for the next set of paginated results. If this field is * empty then there are no more results.

*/ inline DescribeOptedOutNumbersResult& WithNextToken(const char* value) { SetNextToken(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 DescribeOptedOutNumbersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeOptedOutNumbersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeOptedOutNumbersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_optOutListArn; Aws::String m_optOutListName; Aws::Vector m_optedOutNumbers; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws