/** * 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 SESV2 { namespace Model { /** *

The following elements are returned by the service.

See Also:

* AWS * API Reference

*/ class ListCustomVerificationEmailTemplatesResult { public: AWS_SESV2_API ListCustomVerificationEmailTemplatesResult(); AWS_SESV2_API ListCustomVerificationEmailTemplatesResult(const Aws::AmazonWebServiceResult& result); AWS_SESV2_API ListCustomVerificationEmailTemplatesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of the custom verification email templates that exist in your * account.

*/ inline const Aws::Vector& GetCustomVerificationEmailTemplates() const{ return m_customVerificationEmailTemplates; } /** *

A list of the custom verification email templates that exist in your * account.

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

A list of the custom verification email templates that exist in your * account.

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

A list of the custom verification email templates that exist in your * account.

*/ inline ListCustomVerificationEmailTemplatesResult& WithCustomVerificationEmailTemplates(const Aws::Vector& value) { SetCustomVerificationEmailTemplates(value); return *this;} /** *

A list of the custom verification email templates that exist in your * account.

*/ inline ListCustomVerificationEmailTemplatesResult& WithCustomVerificationEmailTemplates(Aws::Vector&& value) { SetCustomVerificationEmailTemplates(std::move(value)); return *this;} /** *

A list of the custom verification email templates that exist in your * account.

*/ inline ListCustomVerificationEmailTemplatesResult& AddCustomVerificationEmailTemplates(const CustomVerificationEmailTemplateMetadata& value) { m_customVerificationEmailTemplates.push_back(value); return *this; } /** *

A list of the custom verification email templates that exist in your * account.

*/ inline ListCustomVerificationEmailTemplatesResult& AddCustomVerificationEmailTemplates(CustomVerificationEmailTemplateMetadata&& value) { m_customVerificationEmailTemplates.push_back(std::move(value)); return *this; } /** *

A token indicating that there are additional custom verification email * templates available to be listed. Pass this token to a subsequent call to * ListCustomVerificationEmailTemplates to retrieve the next 50 custom * verification email templates.

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

A token indicating that there are additional custom verification email * templates available to be listed. Pass this token to a subsequent call to * ListCustomVerificationEmailTemplates to retrieve the next 50 custom * verification email templates.

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

A token indicating that there are additional custom verification email * templates available to be listed. Pass this token to a subsequent call to * ListCustomVerificationEmailTemplates to retrieve the next 50 custom * verification email templates.

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

A token indicating that there are additional custom verification email * templates available to be listed. Pass this token to a subsequent call to * ListCustomVerificationEmailTemplates to retrieve the next 50 custom * verification email templates.

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

A token indicating that there are additional custom verification email * templates available to be listed. Pass this token to a subsequent call to * ListCustomVerificationEmailTemplates to retrieve the next 50 custom * verification email templates.

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

A token indicating that there are additional custom verification email * templates available to be listed. Pass this token to a subsequent call to * ListCustomVerificationEmailTemplates to retrieve the next 50 custom * verification email templates.

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

A token indicating that there are additional custom verification email * templates available to be listed. Pass this token to a subsequent call to * ListCustomVerificationEmailTemplates to retrieve the next 50 custom * verification email templates.

*/ inline ListCustomVerificationEmailTemplatesResult& 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 ListCustomVerificationEmailTemplatesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListCustomVerificationEmailTemplatesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListCustomVerificationEmailTemplatesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_customVerificationEmailTemplates; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace SESV2 } // namespace Aws