AWS SDK for C++  1.8.126
AWS SDK for C++
GetLoggerDefinitionResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Greengrass
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetArn() const{ return m_arn; }
40 
44  inline void SetArn(const Aws::String& value) { m_arn = value; }
45 
49  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
50 
54  inline void SetArn(const char* value) { m_arn.assign(value); }
55 
59  inline GetLoggerDefinitionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 
64  inline GetLoggerDefinitionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65 
69  inline GetLoggerDefinitionResult& WithArn(const char* value) { SetArn(value); return *this;}
70 
71 
75  inline const Aws::String& GetCreationTimestamp() const{ return m_creationTimestamp; }
76 
80  inline void SetCreationTimestamp(const Aws::String& value) { m_creationTimestamp = value; }
81 
85  inline void SetCreationTimestamp(Aws::String&& value) { m_creationTimestamp = std::move(value); }
86 
90  inline void SetCreationTimestamp(const char* value) { m_creationTimestamp.assign(value); }
91 
95  inline GetLoggerDefinitionResult& WithCreationTimestamp(const Aws::String& value) { SetCreationTimestamp(value); return *this;}
96 
100  inline GetLoggerDefinitionResult& WithCreationTimestamp(Aws::String&& value) { SetCreationTimestamp(std::move(value)); return *this;}
101 
105  inline GetLoggerDefinitionResult& WithCreationTimestamp(const char* value) { SetCreationTimestamp(value); return *this;}
106 
107 
111  inline const Aws::String& GetId() const{ return m_id; }
112 
116  inline void SetId(const Aws::String& value) { m_id = value; }
117 
121  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
122 
126  inline void SetId(const char* value) { m_id.assign(value); }
127 
131  inline GetLoggerDefinitionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
132 
136  inline GetLoggerDefinitionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
137 
141  inline GetLoggerDefinitionResult& WithId(const char* value) { SetId(value); return *this;}
142 
143 
147  inline const Aws::String& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
148 
152  inline void SetLastUpdatedTimestamp(const Aws::String& value) { m_lastUpdatedTimestamp = value; }
153 
157  inline void SetLastUpdatedTimestamp(Aws::String&& value) { m_lastUpdatedTimestamp = std::move(value); }
158 
162  inline void SetLastUpdatedTimestamp(const char* value) { m_lastUpdatedTimestamp.assign(value); }
163 
167  inline GetLoggerDefinitionResult& WithLastUpdatedTimestamp(const Aws::String& value) { SetLastUpdatedTimestamp(value); return *this;}
168 
172  inline GetLoggerDefinitionResult& WithLastUpdatedTimestamp(Aws::String&& value) { SetLastUpdatedTimestamp(std::move(value)); return *this;}
173 
177  inline GetLoggerDefinitionResult& WithLastUpdatedTimestamp(const char* value) { SetLastUpdatedTimestamp(value); return *this;}
178 
179 
183  inline const Aws::String& GetLatestVersion() const{ return m_latestVersion; }
184 
188  inline void SetLatestVersion(const Aws::String& value) { m_latestVersion = value; }
189 
193  inline void SetLatestVersion(Aws::String&& value) { m_latestVersion = std::move(value); }
194 
198  inline void SetLatestVersion(const char* value) { m_latestVersion.assign(value); }
199 
203  inline GetLoggerDefinitionResult& WithLatestVersion(const Aws::String& value) { SetLatestVersion(value); return *this;}
204 
208  inline GetLoggerDefinitionResult& WithLatestVersion(Aws::String&& value) { SetLatestVersion(std::move(value)); return *this;}
209 
213  inline GetLoggerDefinitionResult& WithLatestVersion(const char* value) { SetLatestVersion(value); return *this;}
214 
215 
219  inline const Aws::String& GetLatestVersionArn() const{ return m_latestVersionArn; }
220 
224  inline void SetLatestVersionArn(const Aws::String& value) { m_latestVersionArn = value; }
225 
229  inline void SetLatestVersionArn(Aws::String&& value) { m_latestVersionArn = std::move(value); }
230 
234  inline void SetLatestVersionArn(const char* value) { m_latestVersionArn.assign(value); }
235 
239  inline GetLoggerDefinitionResult& WithLatestVersionArn(const Aws::String& value) { SetLatestVersionArn(value); return *this;}
240 
244  inline GetLoggerDefinitionResult& WithLatestVersionArn(Aws::String&& value) { SetLatestVersionArn(std::move(value)); return *this;}
245 
249  inline GetLoggerDefinitionResult& WithLatestVersionArn(const char* value) { SetLatestVersionArn(value); return *this;}
250 
251 
255  inline const Aws::String& GetName() const{ return m_name; }
256 
260  inline void SetName(const Aws::String& value) { m_name = value; }
261 
265  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
266 
270  inline void SetName(const char* value) { m_name.assign(value); }
271 
275  inline GetLoggerDefinitionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
276 
280  inline GetLoggerDefinitionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
281 
285  inline GetLoggerDefinitionResult& WithName(const char* value) { SetName(value); return *this;}
286 
287 
291  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
292 
296  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
297 
301  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
302 
306  inline GetLoggerDefinitionResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
307 
311  inline GetLoggerDefinitionResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
312 
316  inline GetLoggerDefinitionResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
317 
321  inline GetLoggerDefinitionResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
322 
326  inline GetLoggerDefinitionResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
327 
331  inline GetLoggerDefinitionResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
332 
336  inline GetLoggerDefinitionResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
337 
341  inline GetLoggerDefinitionResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
342 
346  inline GetLoggerDefinitionResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
347 
348  private:
349 
350  Aws::String m_arn;
351 
352  Aws::String m_creationTimestamp;
353 
354  Aws::String m_id;
355 
356  Aws::String m_lastUpdatedTimestamp;
357 
358  Aws::String m_latestVersion;
359 
360  Aws::String m_latestVersionArn;
361 
362  Aws::String m_name;
363 
365  };
366 
367 } // namespace Model
368 } // namespace Greengrass
369 } // namespace Aws
Aws::Greengrass::Model::GetLoggerDefinitionResult::AddTags
GetLoggerDefinitionResult & AddTags(Aws::String &&key, const char *value)
Definition: GetLoggerDefinitionResult.h:341
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetId
void SetId(Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:121
Aws::Greengrass::Model::GetLoggerDefinitionResult::GetLastUpdatedTimestamp
const Aws::String & GetLastUpdatedTimestamp() const
Definition: GetLoggerDefinitionResult.h:147
Aws::Greengrass::Model::GetLoggerDefinitionResult::GetName
const Aws::String & GetName() const
Definition: GetLoggerDefinitionResult.h:255
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithCreationTimestamp
GetLoggerDefinitionResult & WithCreationTimestamp(Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:100
Aws::Greengrass::Model::GetLoggerDefinitionResult::AddTags
GetLoggerDefinitionResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:321
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetName
void SetName(Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:265
Aws::Greengrass::Model::GetLoggerDefinitionResult::AddTags
GetLoggerDefinitionResult & AddTags(const char *key, const char *value)
Definition: GetLoggerDefinitionResult.h:346
Greengrass_EXPORTS.h
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetLatestVersion
void SetLatestVersion(Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:193
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetLoggerDefinitionResult.h:296
AWS_GREENGRASS_API
#define AWS_GREENGRASS_API
Definition: Greengrass_EXPORTS.h:28
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetCreationTimestamp
void SetCreationTimestamp(Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:85
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithTags
GetLoggerDefinitionResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetLoggerDefinitionResult.h:311
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithLatestVersion
GetLoggerDefinitionResult & WithLatestVersion(Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:208
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithName
GetLoggerDefinitionResult & WithName(const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:275
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithCreationTimestamp
GetLoggerDefinitionResult & WithCreationTimestamp(const char *value)
Definition: GetLoggerDefinitionResult.h:105
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithLatestVersionArn
GetLoggerDefinitionResult & WithLatestVersionArn(const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:239
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetLatestVersionArn
void SetLatestVersionArn(Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:229
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithCreationTimestamp
GetLoggerDefinitionResult & WithCreationTimestamp(const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:95
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetId
void SetId(const char *value)
Definition: GetLoggerDefinitionResult.h:126
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithArn
GetLoggerDefinitionResult & WithArn(const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:59
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetLastUpdatedTimestamp
void SetLastUpdatedTimestamp(const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:152
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetLastUpdatedTimestamp
void SetLastUpdatedTimestamp(const char *value)
Definition: GetLoggerDefinitionResult.h:162
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithLatestVersionArn
GetLoggerDefinitionResult & WithLatestVersionArn(const char *value)
Definition: GetLoggerDefinitionResult.h:249
Aws::Greengrass::Model::GetLoggerDefinitionResult::GetLatestVersionArn
const Aws::String & GetLatestVersionArn() const
Definition: GetLoggerDefinitionResult.h:219
Aws::Greengrass::Model::GetLoggerDefinitionResult::AddTags
GetLoggerDefinitionResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:316
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithLatestVersion
GetLoggerDefinitionResult & WithLatestVersion(const char *value)
Definition: GetLoggerDefinitionResult.h:213
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithArn
GetLoggerDefinitionResult & WithArn(const char *value)
Definition: GetLoggerDefinitionResult.h:69
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetLatestVersionArn
void SetLatestVersionArn(const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:224
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetLoggerDefinitionResult.h:301
Aws::Greengrass::Model::GetLoggerDefinitionResult::AddTags
GetLoggerDefinitionResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:326
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetLatestVersion
void SetLatestVersion(const char *value)
Definition: GetLoggerDefinitionResult.h:198
Aws::Greengrass::Model::GetLoggerDefinitionResult::GetCreationTimestamp
const Aws::String & GetCreationTimestamp() const
Definition: GetLoggerDefinitionResult.h:75
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetId
void SetId(const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:116
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithLastUpdatedTimestamp
GetLoggerDefinitionResult & WithLastUpdatedTimestamp(const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:167
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetName
void SetName(const char *value)
Definition: GetLoggerDefinitionResult.h:270
AWSString.h
Aws::Greengrass::Model::GetLoggerDefinitionResult
Definition: GetLoggerDefinitionResult.h:29
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithLatestVersion
GetLoggerDefinitionResult & WithLatestVersion(const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:203
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetLatestVersion
void SetLatestVersion(const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:188
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetCreationTimestamp
void SetCreationTimestamp(const char *value)
Definition: GetLoggerDefinitionResult.h:90
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithName
GetLoggerDefinitionResult & WithName(Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:280
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithName
GetLoggerDefinitionResult & WithName(const char *value)
Definition: GetLoggerDefinitionResult.h:285
Aws::Greengrass::Model::GetLoggerDefinitionResult::GetLoggerDefinitionResult
GetLoggerDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithId
GetLoggerDefinitionResult & WithId(const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:131
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithId
GetLoggerDefinitionResult & WithId(Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:136
Aws::Greengrass::Model::GetLoggerDefinitionResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: GetLoggerDefinitionResult.h:291
Aws
Definition: AccessManagementClient.h:15
Aws::Greengrass::Model::GetLoggerDefinitionResult::GetId
const Aws::String & GetId() const
Definition: GetLoggerDefinitionResult.h:111
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetCreationTimestamp
void SetCreationTimestamp(const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:80
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithLastUpdatedTimestamp
GetLoggerDefinitionResult & WithLastUpdatedTimestamp(const char *value)
Definition: GetLoggerDefinitionResult.h:177
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithTags
GetLoggerDefinitionResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetLoggerDefinitionResult.h:306
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetLastUpdatedTimestamp
void SetLastUpdatedTimestamp(Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:157
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithId
GetLoggerDefinitionResult & WithId(const char *value)
Definition: GetLoggerDefinitionResult.h:141
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetArn
void SetArn(const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:44
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithArn
GetLoggerDefinitionResult & WithArn(Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:64
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetLatestVersionArn
void SetLatestVersionArn(const char *value)
Definition: GetLoggerDefinitionResult.h:234
Aws::Greengrass::Model::GetLoggerDefinitionResult::GetArn
const Aws::String & GetArn() const
Definition: GetLoggerDefinitionResult.h:39
Aws::Greengrass::Model::GetLoggerDefinitionResult::AddTags
GetLoggerDefinitionResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:331
Aws::Greengrass::Model::GetLoggerDefinitionResult::GetLatestVersion
const Aws::String & GetLatestVersion() const
Definition: GetLoggerDefinitionResult.h:183
Aws::Greengrass::Model::GetLoggerDefinitionResult::AddTags
GetLoggerDefinitionResult & AddTags(const char *key, Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:336
AWSMap.h
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithLatestVersionArn
GetLoggerDefinitionResult & WithLatestVersionArn(Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:244
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetArn
void SetArn(const char *value)
Definition: GetLoggerDefinitionResult.h:54
Aws::Greengrass::Model::GetLoggerDefinitionResult::WithLastUpdatedTimestamp
GetLoggerDefinitionResult & WithLastUpdatedTimestamp(Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:172
Aws::Greengrass::Model::GetLoggerDefinitionResult::operator=
GetLoggerDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Greengrass::Model::GetLoggerDefinitionResult::GetLoggerDefinitionResult
GetLoggerDefinitionResult()
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetArn
void SetArn(Aws::String &&value)
Definition: GetLoggerDefinitionResult.h:49
Aws::Greengrass::Model::GetLoggerDefinitionResult::SetName
void SetName(const Aws::String &value)
Definition: GetLoggerDefinitionResult.h:260