AWS SDK for C++  1.9.122
AWS SDK for C++
DescribeComponentResult.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 template<typename RESULT_TYPE>
19 class AmazonWebServiceResult;
20 
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace GreengrassV2
29 {
30 namespace Model
31 {
33  {
34  public:
38 
39 
45  inline const Aws::String& GetArn() const{ return m_arn; }
46 
52  inline void SetArn(const Aws::String& value) { m_arn = value; }
53 
59  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
60 
66  inline void SetArn(const char* value) { m_arn.assign(value); }
67 
73  inline DescribeComponentResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
74 
80  inline DescribeComponentResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
81 
87  inline DescribeComponentResult& WithArn(const char* value) { SetArn(value); return *this;}
88 
89 
93  inline const Aws::String& GetComponentName() const{ return m_componentName; }
94 
98  inline void SetComponentName(const Aws::String& value) { m_componentName = value; }
99 
103  inline void SetComponentName(Aws::String&& value) { m_componentName = std::move(value); }
104 
108  inline void SetComponentName(const char* value) { m_componentName.assign(value); }
109 
113  inline DescribeComponentResult& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
114 
118  inline DescribeComponentResult& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
119 
123  inline DescribeComponentResult& WithComponentName(const char* value) { SetComponentName(value); return *this;}
124 
125 
129  inline const Aws::String& GetComponentVersion() const{ return m_componentVersion; }
130 
134  inline void SetComponentVersion(const Aws::String& value) { m_componentVersion = value; }
135 
139  inline void SetComponentVersion(Aws::String&& value) { m_componentVersion = std::move(value); }
140 
144  inline void SetComponentVersion(const char* value) { m_componentVersion.assign(value); }
145 
149  inline DescribeComponentResult& WithComponentVersion(const Aws::String& value) { SetComponentVersion(value); return *this;}
150 
154  inline DescribeComponentResult& WithComponentVersion(Aws::String&& value) { SetComponentVersion(std::move(value)); return *this;}
155 
159  inline DescribeComponentResult& WithComponentVersion(const char* value) { SetComponentVersion(value); return *this;}
160 
161 
166  inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
167 
172  inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestamp = value; }
173 
178  inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestamp = std::move(value); }
179 
184  inline DescribeComponentResult& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;}
185 
190  inline DescribeComponentResult& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
191 
192 
196  inline const Aws::String& GetPublisher() const{ return m_publisher; }
197 
201  inline void SetPublisher(const Aws::String& value) { m_publisher = value; }
202 
206  inline void SetPublisher(Aws::String&& value) { m_publisher = std::move(value); }
207 
211  inline void SetPublisher(const char* value) { m_publisher.assign(value); }
212 
216  inline DescribeComponentResult& WithPublisher(const Aws::String& value) { SetPublisher(value); return *this;}
217 
221  inline DescribeComponentResult& WithPublisher(Aws::String&& value) { SetPublisher(std::move(value)); return *this;}
222 
226  inline DescribeComponentResult& WithPublisher(const char* value) { SetPublisher(value); return *this;}
227 
228 
232  inline const Aws::String& GetDescription() const{ return m_description; }
233 
237  inline void SetDescription(const Aws::String& value) { m_description = value; }
238 
242  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
243 
247  inline void SetDescription(const char* value) { m_description.assign(value); }
248 
252  inline DescribeComponentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
253 
257  inline DescribeComponentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
258 
262  inline DescribeComponentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
263 
264 
269  inline const CloudComponentStatus& GetStatus() const{ return m_status; }
270 
275  inline void SetStatus(const CloudComponentStatus& value) { m_status = value; }
276 
281  inline void SetStatus(CloudComponentStatus&& value) { m_status = std::move(value); }
282 
287  inline DescribeComponentResult& WithStatus(const CloudComponentStatus& value) { SetStatus(value); return *this;}
288 
293  inline DescribeComponentResult& WithStatus(CloudComponentStatus&& value) { SetStatus(std::move(value)); return *this;}
294 
295 
299  inline const Aws::Vector<ComponentPlatform>& GetPlatforms() const{ return m_platforms; }
300 
304  inline void SetPlatforms(const Aws::Vector<ComponentPlatform>& value) { m_platforms = value; }
305 
309  inline void SetPlatforms(Aws::Vector<ComponentPlatform>&& value) { m_platforms = std::move(value); }
310 
314  inline DescribeComponentResult& WithPlatforms(const Aws::Vector<ComponentPlatform>& value) { SetPlatforms(value); return *this;}
315 
319  inline DescribeComponentResult& WithPlatforms(Aws::Vector<ComponentPlatform>&& value) { SetPlatforms(std::move(value)); return *this;}
320 
324  inline DescribeComponentResult& AddPlatforms(const ComponentPlatform& value) { m_platforms.push_back(value); return *this; }
325 
329  inline DescribeComponentResult& AddPlatforms(ComponentPlatform&& value) { m_platforms.push_back(std::move(value)); return *this; }
330 
331 
338  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
339 
346  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
347 
354  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
355 
362  inline DescribeComponentResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
363 
370  inline DescribeComponentResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
371 
378  inline DescribeComponentResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
379 
386  inline DescribeComponentResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
387 
394  inline DescribeComponentResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
395 
402  inline DescribeComponentResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
403 
410  inline DescribeComponentResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
411 
418  inline DescribeComponentResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
419 
426  inline DescribeComponentResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
427 
428  private:
429 
430  Aws::String m_arn;
431 
432  Aws::String m_componentName;
433 
434  Aws::String m_componentVersion;
435 
436  Aws::Utils::DateTime m_creationTimestamp;
437 
438  Aws::String m_publisher;
439 
440  Aws::String m_description;
441 
442  CloudComponentStatus m_status;
443 
444  Aws::Vector<ComponentPlatform> m_platforms;
445 
447  };
448 
449 } // namespace Model
450 } // namespace GreengrassV2
451 } // namespace Aws
Aws::GreengrassV2::Model::DescribeComponentResult::AddTags
DescribeComponentResult & AddTags(Aws::String &&key, const char *value)
Definition: DescribeComponentResult.h:418
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::GreengrassV2::Model::DescribeComponentResult::WithCreationTimestamp
DescribeComponentResult & WithCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: DescribeComponentResult.h:190
Aws::GreengrassV2::Model::DescribeComponentResult::WithComponentName
DescribeComponentResult & WithComponentName(const Aws::String &value)
Definition: DescribeComponentResult.h:113
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
ComponentPlatform.h
Aws::GreengrassV2::Model::DescribeComponentResult::GetCreationTimestamp
const Aws::Utils::DateTime & GetCreationTimestamp() const
Definition: DescribeComponentResult.h:166
Aws::GreengrassV2::Model::DescribeComponentResult::WithComponentVersion
DescribeComponentResult & WithComponentVersion(Aws::String &&value)
Definition: DescribeComponentResult.h:154
Aws::GreengrassV2::Model::DescribeComponentResult::SetPublisher
void SetPublisher(const char *value)
Definition: DescribeComponentResult.h:211
Aws::GreengrassV2::Model::DescribeComponentResult::SetArn
void SetArn(Aws::String &&value)
Definition: DescribeComponentResult.h:59
Aws::GreengrassV2::Model::DescribeComponentResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: DescribeComponentResult.h:242
Aws::GreengrassV2::Model::DescribeComponentResult::SetArn
void SetArn(const Aws::String &value)
Definition: DescribeComponentResult.h:52
Aws::GreengrassV2::Model::DescribeComponentResult::WithArn
DescribeComponentResult & WithArn(const Aws::String &value)
Definition: DescribeComponentResult.h:73
Aws::GreengrassV2::Model::DescribeComponentResult::SetCreationTimestamp
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: DescribeComponentResult.h:172
Aws::GreengrassV2::Model::DescribeComponentResult::SetPlatforms
void SetPlatforms(Aws::Vector< ComponentPlatform > &&value)
Definition: DescribeComponentResult.h:309
DateTime.h
Aws::GreengrassV2::Model::DescribeComponentResult::WithPublisher
DescribeComponentResult & WithPublisher(Aws::String &&value)
Definition: DescribeComponentResult.h:221
CloudComponentStatus.h
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::DescribeComponentResult::WithComponentName
DescribeComponentResult & WithComponentName(const char *value)
Definition: DescribeComponentResult.h:123
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GreengrassV2::Model::DescribeComponentResult::GetComponentVersion
const Aws::String & GetComponentVersion() const
Definition: DescribeComponentResult.h:129
Aws::GreengrassV2::Model::DescribeComponentResult::SetArn
void SetArn(const char *value)
Definition: DescribeComponentResult.h:66
Aws::GreengrassV2::Model::DescribeComponentResult::WithDescription
DescribeComponentResult & WithDescription(Aws::String &&value)
Definition: DescribeComponentResult.h:257
Aws::GreengrassV2::Model::DescribeComponentResult::AddTags
DescribeComponentResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: DescribeComponentResult.h:378
Aws::GreengrassV2::Model::DescribeComponentResult::SetComponentVersion
void SetComponentVersion(const char *value)
Definition: DescribeComponentResult.h:144
AWSVector.h
Aws::GreengrassV2::Model::DescribeComponentResult::WithPlatforms
DescribeComponentResult & WithPlatforms(const Aws::Vector< ComponentPlatform > &value)
Definition: DescribeComponentResult.h:314
Aws::GreengrassV2::Model::DescribeComponentResult::GetPublisher
const Aws::String & GetPublisher() const
Definition: DescribeComponentResult.h:196
Aws::GreengrassV2::Model::DescribeComponentResult::SetPublisher
void SetPublisher(Aws::String &&value)
Definition: DescribeComponentResult.h:206
Aws::GreengrassV2::Model::DescribeComponentResult::AddTags
DescribeComponentResult & AddTags(const char *key, const char *value)
Definition: DescribeComponentResult.h:426
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::DescribeComponentResult::GetDescription
const Aws::String & GetDescription() const
Definition: DescribeComponentResult.h:232
Aws::GreengrassV2::Model::DescribeComponentResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeComponentResult.h:346
Aws::GreengrassV2::Model::DescribeComponentResult::WithArn
DescribeComponentResult & WithArn(Aws::String &&value)
Definition: DescribeComponentResult.h:80
Aws::GreengrassV2::Model::DescribeComponentResult::SetDescription
void SetDescription(const char *value)
Definition: DescribeComponentResult.h:247
Aws::GreengrassV2::Model::DescribeComponentResult::GetArn
const Aws::String & GetArn() const
Definition: DescribeComponentResult.h:45
Aws::GreengrassV2::Model::DescribeComponentResult::WithComponentVersion
DescribeComponentResult & WithComponentVersion(const char *value)
Definition: DescribeComponentResult.h:159
Aws::GreengrassV2::Model::DescribeComponentResult::SetComponentName
void SetComponentName(Aws::String &&value)
Definition: DescribeComponentResult.h:103
Aws::GreengrassV2::Model::DescribeComponentResult::AddTags
DescribeComponentResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: DescribeComponentResult.h:386
Aws::GreengrassV2::Model::DescribeComponentResult::GetPlatforms
const Aws::Vector< ComponentPlatform > & GetPlatforms() const
Definition: DescribeComponentResult.h:299
Aws::GreengrassV2::Model::DescribeComponentResult::DescribeComponentResult
DescribeComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GreengrassV2::Model::DescribeComponentResult::AddTags
DescribeComponentResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: DescribeComponentResult.h:402
Aws::GreengrassV2::Model::ComponentPlatform
Definition: ComponentPlatform.h:34
Aws::GreengrassV2::Model::DescribeComponentResult::WithCreationTimestamp
DescribeComponentResult & WithCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: DescribeComponentResult.h:184
Aws::GreengrassV2::Model::DescribeComponentResult::AddTags
DescribeComponentResult & AddTags(const char *key, Aws::String &&value)
Definition: DescribeComponentResult.h:410
Aws::GreengrassV2::Model::DescribeComponentResult::DescribeComponentResult
DescribeComponentResult()
AWSString.h
Aws::GreengrassV2::Model::DescribeComponentResult::SetPlatforms
void SetPlatforms(const Aws::Vector< ComponentPlatform > &value)
Definition: DescribeComponentResult.h:304
Aws::GreengrassV2::Model::DescribeComponentResult::WithDescription
DescribeComponentResult & WithDescription(const char *value)
Definition: DescribeComponentResult.h:262
Aws::GreengrassV2::Model::DescribeComponentResult::WithDescription
DescribeComponentResult & WithDescription(const Aws::String &value)
Definition: DescribeComponentResult.h:252
Aws::GreengrassV2::Model::DescribeComponentResult::SetPublisher
void SetPublisher(const Aws::String &value)
Definition: DescribeComponentResult.h:201
Aws::GreengrassV2::Model::DescribeComponentResult
Definition: DescribeComponentResult.h:33
Aws::GreengrassV2::Model::DescribeComponentResult::WithComponentVersion
DescribeComponentResult & WithComponentVersion(const Aws::String &value)
Definition: DescribeComponentResult.h:149
Aws::GreengrassV2::Model::DescribeComponentResult::AddPlatforms
DescribeComponentResult & AddPlatforms(const ComponentPlatform &value)
Definition: DescribeComponentResult.h:324
Aws::GreengrassV2::Model::DescribeComponentResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeComponentResult.h:354
Aws::GreengrassV2::Model::DescribeComponentResult::WithArn
DescribeComponentResult & WithArn(const char *value)
Definition: DescribeComponentResult.h:87
Aws::GreengrassV2::Model::DescribeComponentResult::WithStatus
DescribeComponentResult & WithStatus(CloudComponentStatus &&value)
Definition: DescribeComponentResult.h:293
Aws::GreengrassV2::Model::DescribeComponentResult::WithPublisher
DescribeComponentResult & WithPublisher(const char *value)
Definition: DescribeComponentResult.h:226
Aws::GreengrassV2::Model::DescribeComponentResult::SetComponentVersion
void SetComponentVersion(Aws::String &&value)
Definition: DescribeComponentResult.h:139
Aws::GreengrassV2::Model::DescribeComponentResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: DescribeComponentResult.h:338
Aws::GreengrassV2::Model::CloudComponentStatus
Definition: CloudComponentStatus.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::DescribeComponentResult::GetComponentName
const Aws::String & GetComponentName() const
Definition: DescribeComponentResult.h:93
Aws::GreengrassV2::Model::DescribeComponentResult::WithTags
DescribeComponentResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeComponentResult.h:362
Aws::GreengrassV2::Model::DescribeComponentResult::WithComponentName
DescribeComponentResult & WithComponentName(Aws::String &&value)
Definition: DescribeComponentResult.h:118
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::DescribeComponentResult::SetCreationTimestamp
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: DescribeComponentResult.h:178
Aws::GreengrassV2::Model::DescribeComponentResult::AddPlatforms
DescribeComponentResult & AddPlatforms(ComponentPlatform &&value)
Definition: DescribeComponentResult.h:329
Aws::GreengrassV2::Model::DescribeComponentResult::SetStatus
void SetStatus(const CloudComponentStatus &value)
Definition: DescribeComponentResult.h:275
Aws::GreengrassV2::Model::DescribeComponentResult::AddTags
DescribeComponentResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: DescribeComponentResult.h:394
Aws::GreengrassV2::Model::DescribeComponentResult::WithStatus
DescribeComponentResult & WithStatus(const CloudComponentStatus &value)
Definition: DescribeComponentResult.h:287
Aws::GreengrassV2::Model::DescribeComponentResult::SetComponentName
void SetComponentName(const Aws::String &value)
Definition: DescribeComponentResult.h:98
Aws::GreengrassV2::Model::DescribeComponentResult::GetStatus
const CloudComponentStatus & GetStatus() const
Definition: DescribeComponentResult.h:269
Aws::GreengrassV2::Model::DescribeComponentResult::WithTags
DescribeComponentResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeComponentResult.h:370
Aws::GreengrassV2::Model::DescribeComponentResult::SetComponentName
void SetComponentName(const char *value)
Definition: DescribeComponentResult.h:108
Aws::GreengrassV2::Model::DescribeComponentResult::WithPublisher
DescribeComponentResult & WithPublisher(const Aws::String &value)
Definition: DescribeComponentResult.h:216
Aws::GreengrassV2::Model::DescribeComponentResult::operator=
DescribeComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GreengrassV2::Model::DescribeComponentResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: DescribeComponentResult.h:237
Aws::GreengrassV2::Model::DescribeComponentResult::SetComponentVersion
void SetComponentVersion(const Aws::String &value)
Definition: DescribeComponentResult.h:134
AWSMap.h
Aws::GreengrassV2::Model::DescribeComponentResult::SetStatus
void SetStatus(CloudComponentStatus &&value)
Definition: DescribeComponentResult.h:281
Aws::GreengrassV2::Model::DescribeComponentResult::WithPlatforms
DescribeComponentResult & WithPlatforms(Aws::Vector< ComponentPlatform > &&value)
Definition: DescribeComponentResult.h:319
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19