/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace SES { namespace Model { /** *

Represents a request to list the existing custom verification email templates * for your account.

For more information about custom verification email * templates, see Using * Custom Verification Email Templates in the Amazon SES Developer * Guide.

See Also:

AWS * API Reference

*/ class ListCustomVerificationEmailTemplatesRequest : public SESRequest { public: AWS_SES_API ListCustomVerificationEmailTemplatesRequest(); // 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 "ListCustomVerificationEmailTemplates"; } AWS_SES_API Aws::String SerializePayload() const override; protected: AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

An array the contains the name and creation time stamp for each template in * your Amazon SES account.

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

An array the contains the name and creation time stamp for each template in * your Amazon SES account.

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

An array the contains the name and creation time stamp for each template in * your Amazon SES account.

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

An array the contains the name and creation time stamp for each template in * your Amazon SES account.

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

An array the contains the name and creation time stamp for each template in * your Amazon SES account.

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

An array the contains the name and creation time stamp for each template in * your Amazon SES account.

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

An array the contains the name and creation time stamp for each template in * your Amazon SES account.

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

An array the contains the name and creation time stamp for each template in * your Amazon SES account.

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

The maximum number of custom verification email templates to return. This * value must be at least 1 and less than or equal to 50. If you do not specify a * value, or if you specify a value less than 1 or greater than 50, the operation * will return up to 50 results.

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

The maximum number of custom verification email templates to return. This * value must be at least 1 and less than or equal to 50. If you do not specify a * value, or if you specify a value less than 1 or greater than 50, the operation * will return up to 50 results.

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

The maximum number of custom verification email templates to return. This * value must be at least 1 and less than or equal to 50. If you do not specify a * value, or if you specify a value less than 1 or greater than 50, the operation * will return up to 50 results.

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

The maximum number of custom verification email templates to return. This * value must be at least 1 and less than or equal to 50. If you do not specify a * value, or if you specify a value less than 1 or greater than 50, the operation * will return up to 50 results.

*/ inline ListCustomVerificationEmailTemplatesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws