/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace SES { namespace Model { class ListTemplatesResult { public: AWS_SES_API ListTemplatesResult(); AWS_SES_API ListTemplatesResult(const Aws::AmazonWebServiceResult& result); AWS_SES_API ListTemplatesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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

*/ inline const Aws::Vector& GetTemplatesMetadata() const{ return m_templatesMetadata; } /** *

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

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

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

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

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

*/ inline ListTemplatesResult& WithTemplatesMetadata(const Aws::Vector& value) { SetTemplatesMetadata(value); return *this;} /** *

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

*/ inline ListTemplatesResult& WithTemplatesMetadata(Aws::Vector&& value) { SetTemplatesMetadata(std::move(value)); return *this;} /** *

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

*/ inline ListTemplatesResult& AddTemplatesMetadata(const TemplateMetadata& value) { m_templatesMetadata.push_back(value); return *this; } /** *

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

*/ inline ListTemplatesResult& AddTemplatesMetadata(TemplateMetadata&& value) { m_templatesMetadata.push_back(std::move(value)); return *this; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline ListTemplatesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline ListTemplatesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ListTemplatesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_templatesMetadata; Aws::String m_nextToken; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace SES } // namespace Aws