AWS SDK for C++  1.9.154
AWS SDK for C++
GetContactListResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <aws/sesv2/model/Topic.h>
12 #include <aws/sesv2/model/Tag.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace SESV2
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const Aws::String& GetContactListName() const{ return m_contactListName; }
43 
47  inline void SetContactListName(const Aws::String& value) { m_contactListName = value; }
48 
52  inline void SetContactListName(Aws::String&& value) { m_contactListName = std::move(value); }
53 
57  inline void SetContactListName(const char* value) { m_contactListName.assign(value); }
58 
62  inline GetContactListResult& WithContactListName(const Aws::String& value) { SetContactListName(value); return *this;}
63 
67  inline GetContactListResult& WithContactListName(Aws::String&& value) { SetContactListName(std::move(value)); return *this;}
68 
72  inline GetContactListResult& WithContactListName(const char* value) { SetContactListName(value); return *this;}
73 
74 
79  inline const Aws::Vector<Topic>& GetTopics() const{ return m_topics; }
80 
85  inline void SetTopics(const Aws::Vector<Topic>& value) { m_topics = value; }
86 
91  inline void SetTopics(Aws::Vector<Topic>&& value) { m_topics = std::move(value); }
92 
97  inline GetContactListResult& WithTopics(const Aws::Vector<Topic>& value) { SetTopics(value); return *this;}
98 
103  inline GetContactListResult& WithTopics(Aws::Vector<Topic>&& value) { SetTopics(std::move(value)); return *this;}
104 
109  inline GetContactListResult& AddTopics(const Topic& value) { m_topics.push_back(value); return *this; }
110 
115  inline GetContactListResult& AddTopics(Topic&& value) { m_topics.push_back(std::move(value)); return *this; }
116 
117 
121  inline const Aws::String& GetDescription() const{ return m_description; }
122 
126  inline void SetDescription(const Aws::String& value) { m_description = value; }
127 
131  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
132 
136  inline void SetDescription(const char* value) { m_description.assign(value); }
137 
141  inline GetContactListResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
142 
146  inline GetContactListResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
147 
151  inline GetContactListResult& WithDescription(const char* value) { SetDescription(value); return *this;}
152 
153 
157  inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
158 
162  inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
163 
167  inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
168 
172  inline GetContactListResult& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
173 
177  inline GetContactListResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
178 
179 
183  inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
184 
188  inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestamp = value; }
189 
193  inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestamp = std::move(value); }
194 
198  inline GetContactListResult& WithLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetLastUpdatedTimestamp(value); return *this;}
199 
203  inline GetContactListResult& WithLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimestamp(std::move(value)); return *this;}
204 
205 
209  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
210 
214  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
215 
219  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
220 
224  inline GetContactListResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
225 
229  inline GetContactListResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
230 
234  inline GetContactListResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
235 
239  inline GetContactListResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
240 
241  private:
242 
243  Aws::String m_contactListName;
244 
245  Aws::Vector<Topic> m_topics;
246 
247  Aws::String m_description;
248 
249  Aws::Utils::DateTime m_createdTimestamp;
250 
251  Aws::Utils::DateTime m_lastUpdatedTimestamp;
252 
253  Aws::Vector<Tag> m_tags;
254  };
255 
256 } // namespace Model
257 } // namespace SESV2
258 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SESV2::Model::GetContactListResult::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: GetContactListResult.h:219
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::GetContactListResult::SetTopics
void SetTopics(Aws::Vector< Topic > &&value)
Definition: GetContactListResult.h:91
Aws::SESV2::Model::GetContactListResult::AddTags
GetContactListResult & AddTags(Tag &&value)
Definition: GetContactListResult.h:239
Aws::SESV2::Model::GetContactListResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetContactListResult.h:131
Aws::SESV2::Model::GetContactListResult::SetDescription
void SetDescription(const char *value)
Definition: GetContactListResult.h:136
Aws::SESV2::Model::GetContactListResult::operator=
GetContactListResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::GetContactListResult::WithLastUpdatedTimestamp
GetContactListResult & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
Definition: GetContactListResult.h:198
Aws::SESV2::Model::Topic
Definition: Topic.h:34
DateTime.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Tag.h
Aws::SESV2::Model::GetContactListResult::WithContactListName
GetContactListResult & WithContactListName(Aws::String &&value)
Definition: GetContactListResult.h:67
AWSVector.h
Aws::SESV2::Model::GetContactListResult::SetLastUpdatedTimestamp
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
Definition: GetContactListResult.h:193
Aws::SESV2::Model::GetContactListResult::WithDescription
GetContactListResult & WithDescription(const Aws::String &value)
Definition: GetContactListResult.h:141
Aws::SESV2::Model::GetContactListResult::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: GetContactListResult.h:214
Aws::SESV2::Model::GetContactListResult::WithContactListName
GetContactListResult & WithContactListName(const Aws::String &value)
Definition: GetContactListResult.h:62
Aws::SESV2::Model::GetContactListResult::WithDescription
GetContactListResult & WithDescription(const char *value)
Definition: GetContactListResult.h:151
Aws::SESV2::Model::GetContactListResult
Definition: GetContactListResult.h:32
Aws::SESV2::Model::GetContactListResult::WithTopics
GetContactListResult & WithTopics(Aws::Vector< Topic > &&value)
Definition: GetContactListResult.h:103
Aws::SESV2::Model::GetContactListResult::AddTopics
GetContactListResult & AddTopics(Topic &&value)
Definition: GetContactListResult.h:115
Aws::SESV2::Model::GetContactListResult::SetContactListName
void SetContactListName(const char *value)
Definition: GetContactListResult.h:57
Aws::SESV2::Model::GetContactListResult::GetContactListResult
GetContactListResult()
Aws::SESV2::Model::GetContactListResult::WithCreatedTimestamp
GetContactListResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition: GetContactListResult.h:177
Aws::SESV2::Model::GetContactListResult::SetCreatedTimestamp
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition: GetContactListResult.h:167
Aws::SESV2::Model::GetContactListResult::WithTags
GetContactListResult & WithTags(const Aws::Vector< Tag > &value)
Definition: GetContactListResult.h:224
Aws::SESV2::Model::GetContactListResult::GetTopics
const Aws::Vector< Topic > & GetTopics() const
Definition: GetContactListResult.h:79
Aws::SESV2::Model::GetContactListResult::GetCreatedTimestamp
const Aws::Utils::DateTime & GetCreatedTimestamp() const
Definition: GetContactListResult.h:157
Aws::SESV2::Model::GetContactListResult::SetTopics
void SetTopics(const Aws::Vector< Topic > &value)
Definition: GetContactListResult.h:85
Aws::SESV2::Model::GetContactListResult::GetLastUpdatedTimestamp
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
Definition: GetContactListResult.h:183
Aws::SESV2::Model::GetContactListResult::WithDescription
GetContactListResult & WithDescription(Aws::String &&value)
Definition: GetContactListResult.h:146
Aws::SESV2::Model::GetContactListResult::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: GetContactListResult.h:209
Aws::SESV2::Model::GetContactListResult::AddTopics
GetContactListResult & AddTopics(const Topic &value)
Definition: GetContactListResult.h:109
AWSString.h
SESV2_EXPORTS.h
Aws::SESV2::Model::GetContactListResult::SetCreatedTimestamp
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition: GetContactListResult.h:162
Aws::SESV2::Model::GetContactListResult::WithContactListName
GetContactListResult & WithContactListName(const char *value)
Definition: GetContactListResult.h:72
Aws::SESV2::Model::GetContactListResult::WithLastUpdatedTimestamp
GetContactListResult & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
Definition: GetContactListResult.h:203
Topic.h
Aws::SESV2::Model::GetContactListResult::GetContactListName
const Aws::String & GetContactListName() const
Definition: GetContactListResult.h:42
Aws::SESV2::Model::GetContactListResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetContactListResult.h:126
Aws::SESV2::Model::GetContactListResult::SetContactListName
void SetContactListName(const Aws::String &value)
Definition: GetContactListResult.h:47
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::GetContactListResult::WithTags
GetContactListResult & WithTags(Aws::Vector< Tag > &&value)
Definition: GetContactListResult.h:229
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::Tag
Definition: Tag.h:53
Aws::SESV2::Model::GetContactListResult::SetLastUpdatedTimestamp
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
Definition: GetContactListResult.h:188
Aws::SESV2::Model::GetContactListResult::AddTags
GetContactListResult & AddTags(const Tag &value)
Definition: GetContactListResult.h:234
Aws::SESV2::Model::GetContactListResult::GetContactListResult
GetContactListResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::GetContactListResult::SetContactListName
void SetContactListName(Aws::String &&value)
Definition: GetContactListResult.h:52
Aws::SESV2::Model::GetContactListResult::WithCreatedTimestamp
GetContactListResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition: GetContactListResult.h:172
Aws::SESV2::Model::GetContactListResult::WithTopics
GetContactListResult & WithTopics(const Aws::Vector< Topic > &value)
Definition: GetContactListResult.h:97
Aws::SESV2::Model::GetContactListResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetContactListResult.h:121