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

The PhoneNumberArn or PoolArn that is associated with the * OriginationIdentity.

*/ inline const Aws::String& GetOriginationIdentityArn() const{ return m_originationIdentityArn; } /** *

The PhoneNumberArn or PoolArn that is associated with the * OriginationIdentity.

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

The PhoneNumberArn or PoolArn that is associated with the * OriginationIdentity.

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

The PhoneNumberArn or PoolArn that is associated with the * OriginationIdentity.

*/ inline void SetOriginationIdentityArn(const char* value) { m_originationIdentityArn.assign(value); } /** *

The PhoneNumberArn or PoolArn that is associated with the * OriginationIdentity.

*/ inline DescribeKeywordsResult& WithOriginationIdentityArn(const Aws::String& value) { SetOriginationIdentityArn(value); return *this;} /** *

The PhoneNumberArn or PoolArn that is associated with the * OriginationIdentity.

*/ inline DescribeKeywordsResult& WithOriginationIdentityArn(Aws::String&& value) { SetOriginationIdentityArn(std::move(value)); return *this;} /** *

The PhoneNumberArn or PoolArn that is associated with the * OriginationIdentity.

*/ inline DescribeKeywordsResult& WithOriginationIdentityArn(const char* value) { SetOriginationIdentityArn(value); return *this;} /** *

The PhoneNumberId or PoolId that is associated with the * OriginationIdentity.

*/ inline const Aws::String& GetOriginationIdentity() const{ return m_originationIdentity; } /** *

The PhoneNumberId or PoolId that is associated with the * OriginationIdentity.

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

The PhoneNumberId or PoolId that is associated with the * OriginationIdentity.

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

The PhoneNumberId or PoolId that is associated with the * OriginationIdentity.

*/ inline void SetOriginationIdentity(const char* value) { m_originationIdentity.assign(value); } /** *

The PhoneNumberId or PoolId that is associated with the * OriginationIdentity.

*/ inline DescribeKeywordsResult& WithOriginationIdentity(const Aws::String& value) { SetOriginationIdentity(value); return *this;} /** *

The PhoneNumberId or PoolId that is associated with the * OriginationIdentity.

*/ inline DescribeKeywordsResult& WithOriginationIdentity(Aws::String&& value) { SetOriginationIdentity(std::move(value)); return *this;} /** *

The PhoneNumberId or PoolId that is associated with the * OriginationIdentity.

*/ inline DescribeKeywordsResult& WithOriginationIdentity(const char* value) { SetOriginationIdentity(value); return *this;} /** *

An array of KeywordInformation objects that contain the results.

*/ inline const Aws::Vector& GetKeywords() const{ return m_keywords; } /** *

An array of KeywordInformation objects that contain the results.

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

An array of KeywordInformation objects that contain the results.

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

An array of KeywordInformation objects that contain the results.

*/ inline DescribeKeywordsResult& WithKeywords(const Aws::Vector& value) { SetKeywords(value); return *this;} /** *

An array of KeywordInformation objects that contain the results.

*/ inline DescribeKeywordsResult& WithKeywords(Aws::Vector&& value) { SetKeywords(std::move(value)); return *this;} /** *

An array of KeywordInformation objects that contain the results.

*/ inline DescribeKeywordsResult& AddKeywords(const KeywordInformation& value) { m_keywords.push_back(value); return *this; } /** *

An array of KeywordInformation objects that contain the results.

*/ inline DescribeKeywordsResult& AddKeywords(KeywordInformation&& value) { m_keywords.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 DescribeKeywordsResult& 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 DescribeKeywordsResult& 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 DescribeKeywordsResult& 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 DescribeKeywordsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeKeywordsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeKeywordsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_originationIdentityArn; Aws::String m_originationIdentity; Aws::Vector m_keywords; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws