/** * 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 { namespace PinpointSMSVoiceV2 { namespace Model { /** */ class DescribeKeywordsRequest : public PinpointSMSVoiceV2Request { public: AWS_PINPOINTSMSVOICEV2_API DescribeKeywordsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeKeywords"; } AWS_PINPOINTSMSVOICEV2_API Aws::String SerializePayload() const override; AWS_PINPOINTSMSVOICEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the * values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can * be used to get the values for SenderId and SenderIdArn.

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

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the * values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can * be used to get the values for SenderId and SenderIdArn.

*/ inline bool OriginationIdentityHasBeenSet() const { return m_originationIdentityHasBeenSet; } /** *

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the * values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can * be used to get the values for SenderId and SenderIdArn.

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

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the * values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can * be used to get the values for SenderId and SenderIdArn.

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

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the * values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can * be used to get the values for SenderId and SenderIdArn.

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

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the * values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can * be used to get the values for SenderId and SenderIdArn.

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

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the * values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can * be used to get the values for SenderId and SenderIdArn.

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

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the * values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can * be used to get the values for SenderId and SenderIdArn.

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

An array of keywords to search for.

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

An array of keywords to search for.

*/ inline bool KeywordsHasBeenSet() const { return m_keywordsHasBeenSet; } /** *

An array of keywords to search for.

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

An array of keywords to search for.

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

An array of keywords to search for.

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

An array of keywords to search for.

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

An array of keywords to search for.

*/ inline DescribeKeywordsRequest& AddKeywords(const Aws::String& value) { m_keywordsHasBeenSet = true; m_keywords.push_back(value); return *this; } /** *

An array of keywords to search for.

*/ inline DescribeKeywordsRequest& AddKeywords(Aws::String&& value) { m_keywordsHasBeenSet = true; m_keywords.push_back(std::move(value)); return *this; } /** *

An array of keywords to search for.

*/ inline DescribeKeywordsRequest& AddKeywords(const char* value) { m_keywordsHasBeenSet = true; m_keywords.push_back(value); return *this; } /** *

An array of keyword filters to filter the results.

*/ inline const Aws::Vector& GetFilters() const{ return m_filters; } /** *

An array of keyword filters to filter the results.

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

An array of keyword filters to filter the results.

*/ inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

An array of keyword filters to filter the results.

*/ inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

An array of keyword filters to filter the results.

*/ inline DescribeKeywordsRequest& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} /** *

An array of keyword filters to filter the results.

*/ inline DescribeKeywordsRequest& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} /** *

An array of keyword filters to filter the results.

*/ inline DescribeKeywordsRequest& AddFilters(const KeywordFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *

An array of keyword filters to filter the results.

*/ inline DescribeKeywordsRequest& AddFilters(KeywordFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } /** *

The token to be used for the next set of paginated results. You don't need to * supply a value for this field in the initial request.

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

The token to be used for the next set of paginated results. You don't need to * supply a value for this field in the initial request.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The token to be used for the next set of paginated results. You don't need to * supply a value for this field in the initial request.

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

The token to be used for the next set of paginated results. You don't need to * supply a value for this field in the initial request.

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

The token to be used for the next set of paginated results. You don't need to * supply a value for this field in the initial request.

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

The token to be used for the next set of paginated results. You don't need to * supply a value for this field in the initial request.

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

The token to be used for the next set of paginated results. You don't need to * supply a value for this field in the initial request.

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

The token to be used for the next set of paginated results. You don't need to * supply a value for this field in the initial request.

*/ inline DescribeKeywordsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The maximum number of results to return per each request.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to return per each request.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to return per each request.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to return per each request.

*/ inline DescribeKeywordsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_originationIdentity; bool m_originationIdentityHasBeenSet = false; Aws::Vector m_keywords; bool m_keywordsHasBeenSet = false; Aws::Vector m_filters; bool m_filtersHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws