AWS SDK for C++  1.9.155
AWS SDK for C++
ListEmailTemplatesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace SESV2
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
47  inline const Aws::Vector<EmailTemplateMetadata>& GetTemplatesMetadata() const{ return m_templatesMetadata; }
48 
53  inline void SetTemplatesMetadata(const Aws::Vector<EmailTemplateMetadata>& value) { m_templatesMetadata = value; }
54 
59  inline void SetTemplatesMetadata(Aws::Vector<EmailTemplateMetadata>&& value) { m_templatesMetadata = std::move(value); }
60 
65  inline ListEmailTemplatesResult& WithTemplatesMetadata(const Aws::Vector<EmailTemplateMetadata>& value) { SetTemplatesMetadata(value); return *this;}
66 
71  inline ListEmailTemplatesResult& WithTemplatesMetadata(Aws::Vector<EmailTemplateMetadata>&& value) { SetTemplatesMetadata(std::move(value)); return *this;}
72 
77  inline ListEmailTemplatesResult& AddTemplatesMetadata(const EmailTemplateMetadata& value) { m_templatesMetadata.push_back(value); return *this; }
78 
83  inline ListEmailTemplatesResult& AddTemplatesMetadata(EmailTemplateMetadata&& value) { m_templatesMetadata.push_back(std::move(value)); return *this; }
84 
85 
91  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 
98  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
99 
105  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
106 
112  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
113 
119  inline ListEmailTemplatesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
120 
126  inline ListEmailTemplatesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
127 
133  inline ListEmailTemplatesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
134 
135  private:
136 
137  Aws::Vector<EmailTemplateMetadata> m_templatesMetadata;
138 
139  Aws::String m_nextToken;
140  };
141 
142 } // namespace Model
143 } // namespace SESV2
144 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ListEmailTemplatesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListEmailTemplatesResult.h:91
Aws::SESV2::Model::EmailTemplateMetadata
Definition: EmailTemplateMetadata.h:33
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SESV2::Model::ListEmailTemplatesResult::WithNextToken
ListEmailTemplatesResult & WithNextToken(const Aws::String &value)
Definition: ListEmailTemplatesResult.h:119
Aws::SESV2::Model::ListEmailTemplatesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListEmailTemplatesResult.h:98
Aws::SESV2::Model::ListEmailTemplatesResult::WithTemplatesMetadata
ListEmailTemplatesResult & WithTemplatesMetadata(Aws::Vector< EmailTemplateMetadata > &&value)
Definition: ListEmailTemplatesResult.h:71
Aws::SESV2::Model::ListEmailTemplatesResult::ListEmailTemplatesResult
ListEmailTemplatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::ListEmailTemplatesResult::ListEmailTemplatesResult
ListEmailTemplatesResult()
Aws::SESV2::Model::ListEmailTemplatesResult::SetTemplatesMetadata
void SetTemplatesMetadata(Aws::Vector< EmailTemplateMetadata > &&value)
Definition: ListEmailTemplatesResult.h:59
AWSString.h
Aws::SESV2::Model::ListEmailTemplatesResult::AddTemplatesMetadata
ListEmailTemplatesResult & AddTemplatesMetadata(const EmailTemplateMetadata &value)
Definition: ListEmailTemplatesResult.h:77
SESV2_EXPORTS.h
Aws::SESV2::Model::ListEmailTemplatesResult::AddTemplatesMetadata
ListEmailTemplatesResult & AddTemplatesMetadata(EmailTemplateMetadata &&value)
Definition: ListEmailTemplatesResult.h:83
Aws::SESV2::Model::ListEmailTemplatesResult::WithNextToken
ListEmailTemplatesResult & WithNextToken(const char *value)
Definition: ListEmailTemplatesResult.h:133
Aws::SESV2::Model::ListEmailTemplatesResult::WithTemplatesMetadata
ListEmailTemplatesResult & WithTemplatesMetadata(const Aws::Vector< EmailTemplateMetadata > &value)
Definition: ListEmailTemplatesResult.h:65
EmailTemplateMetadata.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ListEmailTemplatesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListEmailTemplatesResult.h:105
Aws::SESV2::Model::ListEmailTemplatesResult::WithNextToken
ListEmailTemplatesResult & WithNextToken(Aws::String &&value)
Definition: ListEmailTemplatesResult.h:126
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::ListEmailTemplatesResult::SetTemplatesMetadata
void SetTemplatesMetadata(const Aws::Vector< EmailTemplateMetadata > &value)
Definition: ListEmailTemplatesResult.h:53
Aws::SESV2::Model::ListEmailTemplatesResult::GetTemplatesMetadata
const Aws::Vector< EmailTemplateMetadata > & GetTemplatesMetadata() const
Definition: ListEmailTemplatesResult.h:47
Aws::SESV2::Model::ListEmailTemplatesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListEmailTemplatesResult.h:112
Aws::SESV2::Model::ListEmailTemplatesResult::operator=
ListEmailTemplatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::ListEmailTemplatesResult
Definition: ListEmailTemplatesResult.h:36