AWS SDK for C++  1.8.129
AWS SDK for C++
ListTemplatesResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace SES
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
42  inline const Aws::Vector<TemplateMetadata>& GetTemplatesMetadata() const{ return m_templatesMetadata; }
43 
48  inline void SetTemplatesMetadata(const Aws::Vector<TemplateMetadata>& value) { m_templatesMetadata = value; }
49 
54  inline void SetTemplatesMetadata(Aws::Vector<TemplateMetadata>&& value) { m_templatesMetadata = std::move(value); }
55 
60  inline ListTemplatesResult& WithTemplatesMetadata(const Aws::Vector<TemplateMetadata>& value) { SetTemplatesMetadata(value); return *this;}
61 
66  inline ListTemplatesResult& WithTemplatesMetadata(Aws::Vector<TemplateMetadata>&& value) { SetTemplatesMetadata(std::move(value)); return *this;}
67 
72  inline ListTemplatesResult& AddTemplatesMetadata(const TemplateMetadata& value) { m_templatesMetadata.push_back(value); return *this; }
73 
78  inline ListTemplatesResult& AddTemplatesMetadata(TemplateMetadata&& value) { m_templatesMetadata.push_back(std::move(value)); return *this; }
79 
80 
86  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
87 
93  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
94 
100  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
101 
107  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
108 
114  inline ListTemplatesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
115 
121  inline ListTemplatesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
122 
128  inline ListTemplatesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
129 
130 
131 
132  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
133 
134 
135  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
136 
137 
138  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
139 
140 
141  inline ListTemplatesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
142 
143 
144  inline ListTemplatesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
145 
146  private:
147 
148  Aws::Vector<TemplateMetadata> m_templatesMetadata;
149 
150  Aws::String m_nextToken;
151 
152  ResponseMetadata m_responseMetadata;
153  };
154 
155 } // namespace Model
156 } // namespace SES
157 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::ListTemplatesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTemplatesResult.h:86
Aws::SES::Model::ListTemplatesResult::ListTemplatesResult
ListTemplatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::ListTemplatesResult::WithResponseMetadata
ListTemplatesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ListTemplatesResult.h:141
Aws::SES::Model::ListTemplatesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ListTemplatesResult.h:132
Aws::SES::Model::ListTemplatesResult::WithNextToken
ListTemplatesResult & WithNextToken(const Aws::String &value)
Definition: ListTemplatesResult.h:114
Aws::SES::Model::ListTemplatesResult::operator=
ListTemplatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::ListTemplatesResult::AddTemplatesMetadata
ListTemplatesResult & AddTemplatesMetadata(const TemplateMetadata &value)
Definition: ListTemplatesResult.h:72
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SES::Model::ListTemplatesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTemplatesResult.h:100
Aws::SES::Model::ListTemplatesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListTemplatesResult.h:107
Aws::SES::Model::TemplateMetadata
Definition: TemplateMetadata.h:33
Aws::SES::Model::ListTemplatesResult::GetTemplatesMetadata
const Aws::Vector< TemplateMetadata > & GetTemplatesMetadata() const
Definition: ListTemplatesResult.h:42
Aws::SES::Model::ListTemplatesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ListTemplatesResult.h:135
AWSString.h
SES_EXPORTS.h
Aws::SES::Model::ListTemplatesResult::WithTemplatesMetadata
ListTemplatesResult & WithTemplatesMetadata(const Aws::Vector< TemplateMetadata > &value)
Definition: ListTemplatesResult.h:60
Aws::SES::Model::ListTemplatesResult::WithTemplatesMetadata
ListTemplatesResult & WithTemplatesMetadata(Aws::Vector< TemplateMetadata > &&value)
Definition: ListTemplatesResult.h:66
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::ListTemplatesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ListTemplatesResult.h:138
TemplateMetadata.h
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::ListTemplatesResult::AddTemplatesMetadata
ListTemplatesResult & AddTemplatesMetadata(TemplateMetadata &&value)
Definition: ListTemplatesResult.h:78
Aws::SES::Model::ListTemplatesResult::WithNextToken
ListTemplatesResult & WithNextToken(const char *value)
Definition: ListTemplatesResult.h:128
Aws::SES::Model::ListTemplatesResult
Definition: ListTemplatesResult.h:31
Aws::SES::Model::ListTemplatesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTemplatesResult.h:93
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::ListTemplatesResult::WithNextToken
ListTemplatesResult & WithNextToken(Aws::String &&value)
Definition: ListTemplatesResult.h:121
Aws::SES::Model::ListTemplatesResult::WithResponseMetadata
ListTemplatesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ListTemplatesResult.h:144
ResponseMetadata.h
Aws::SES::Model::ListTemplatesResult::SetTemplatesMetadata
void SetTemplatesMetadata(const Aws::Vector< TemplateMetadata > &value)
Definition: ListTemplatesResult.h:48
Aws::SES::Model::ListTemplatesResult::ListTemplatesResult
ListTemplatesResult()
Aws::SES::Model::ListTemplatesResult::SetTemplatesMetadata
void SetTemplatesMetadata(Aws::Vector< TemplateMetadata > &&value)
Definition: ListTemplatesResult.h:54