AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeComponentResult.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/greengrassv2/model/CloudComponentStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/greengrassv2/model/ComponentPlatform.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace GreengrassV2
29{
30namespace Model
31{
33 {
34 public:
35 AWS_GREENGRASSV2_API DescribeComponentResult();
38
39
41
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline void SetArn(const Aws::String& value) { m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arn.assign(value); }
50 inline DescribeComponentResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline DescribeComponentResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline DescribeComponentResult& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetComponentName() const{ return m_componentName; }
60 inline void SetComponentName(const Aws::String& value) { m_componentName = value; }
61 inline void SetComponentName(Aws::String&& value) { m_componentName = std::move(value); }
62 inline void SetComponentName(const char* value) { m_componentName.assign(value); }
63 inline DescribeComponentResult& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
64 inline DescribeComponentResult& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
65 inline DescribeComponentResult& WithComponentName(const char* value) { SetComponentName(value); return *this;}
67
69
72 inline const Aws::String& GetComponentVersion() const{ return m_componentVersion; }
73 inline void SetComponentVersion(const Aws::String& value) { m_componentVersion = value; }
74 inline void SetComponentVersion(Aws::String&& value) { m_componentVersion = std::move(value); }
75 inline void SetComponentVersion(const char* value) { m_componentVersion.assign(value); }
76 inline DescribeComponentResult& WithComponentVersion(const Aws::String& value) { SetComponentVersion(value); return *this;}
77 inline DescribeComponentResult& WithComponentVersion(Aws::String&& value) { SetComponentVersion(std::move(value)); return *this;}
78 inline DescribeComponentResult& WithComponentVersion(const char* value) { SetComponentVersion(value); return *this;}
80
82
86 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
87 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestamp = value; }
88 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestamp = std::move(value); }
92
94
97 inline const Aws::String& GetPublisher() const{ return m_publisher; }
98 inline void SetPublisher(const Aws::String& value) { m_publisher = value; }
99 inline void SetPublisher(Aws::String&& value) { m_publisher = std::move(value); }
100 inline void SetPublisher(const char* value) { m_publisher.assign(value); }
101 inline DescribeComponentResult& WithPublisher(const Aws::String& value) { SetPublisher(value); return *this;}
102 inline DescribeComponentResult& WithPublisher(Aws::String&& value) { SetPublisher(std::move(value)); return *this;}
103 inline DescribeComponentResult& WithPublisher(const char* value) { SetPublisher(value); return *this;}
105
107
110 inline const Aws::String& GetDescription() const{ return m_description; }
111 inline void SetDescription(const Aws::String& value) { m_description = value; }
112 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
113 inline void SetDescription(const char* value) { m_description.assign(value); }
114 inline DescribeComponentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
115 inline DescribeComponentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
116 inline DescribeComponentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
118
120
124 inline const CloudComponentStatus& GetStatus() const{ return m_status; }
125 inline void SetStatus(const CloudComponentStatus& value) { m_status = value; }
126 inline void SetStatus(CloudComponentStatus&& value) { m_status = std::move(value); }
127 inline DescribeComponentResult& WithStatus(const CloudComponentStatus& value) { SetStatus(value); return *this;}
128 inline DescribeComponentResult& WithStatus(CloudComponentStatus&& value) { SetStatus(std::move(value)); return *this;}
130
132
135 inline const Aws::Vector<ComponentPlatform>& GetPlatforms() const{ return m_platforms; }
136 inline void SetPlatforms(const Aws::Vector<ComponentPlatform>& value) { m_platforms = value; }
137 inline void SetPlatforms(Aws::Vector<ComponentPlatform>&& value) { m_platforms = std::move(value); }
139 inline DescribeComponentResult& WithPlatforms(Aws::Vector<ComponentPlatform>&& value) { SetPlatforms(std::move(value)); return *this;}
140 inline DescribeComponentResult& AddPlatforms(const ComponentPlatform& value) { m_platforms.push_back(value); return *this; }
141 inline DescribeComponentResult& AddPlatforms(ComponentPlatform&& value) { m_platforms.push_back(std::move(value)); return *this; }
143
145
151 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
152 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
153 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
154 inline DescribeComponentResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
155 inline DescribeComponentResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
156 inline DescribeComponentResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
157 inline DescribeComponentResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
158 inline DescribeComponentResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
159 inline DescribeComponentResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
160 inline DescribeComponentResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
161 inline DescribeComponentResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
162 inline DescribeComponentResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
164
166
167 inline const Aws::String& GetRequestId() const{ return m_requestId; }
168 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
169 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
170 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
171 inline DescribeComponentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
172 inline DescribeComponentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
173 inline DescribeComponentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
175 private:
176
177 Aws::String m_arn;
178
179 Aws::String m_componentName;
180
181 Aws::String m_componentVersion;
182
183 Aws::Utils::DateTime m_creationTimestamp;
184
185 Aws::String m_publisher;
186
187 Aws::String m_description;
188
189 CloudComponentStatus m_status;
190
192
194
195 Aws::String m_requestId;
196 };
197
198} // namespace Model
199} // namespace GreengrassV2
200} // namespace Aws
DescribeComponentResult & WithPublisher(const Aws::String &value)
DescribeComponentResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_GREENGRASSV2_API DescribeComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeComponentResult & WithComponentName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetStatus(const CloudComponentStatus &value)
DescribeComponentResult & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
DescribeComponentResult & WithStatus(CloudComponentStatus &&value)
DescribeComponentResult & AddTags(Aws::String &&key, const char *value)
DescribeComponentResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
DescribeComponentResult & AddPlatforms(ComponentPlatform &&value)
DescribeComponentResult & AddTags(const char *key, const char *value)
DescribeComponentResult & WithPublisher(const char *value)
DescribeComponentResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeComponentResult & WithComponentName(Aws::String &&value)
DescribeComponentResult & WithDescription(Aws::String &&value)
DescribeComponentResult & WithRequestId(const Aws::String &value)
DescribeComponentResult & WithPublisher(Aws::String &&value)
DescribeComponentResult & WithDescription(const char *value)
AWS_GREENGRASSV2_API DescribeComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeComponentResult & WithArn(const char *value)
DescribeComponentResult & WithRequestId(Aws::String &&value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeComponentResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeComponentResult & WithComponentVersion(const Aws::String &value)
DescribeComponentResult & WithCreationTimestamp(Aws::Utils::DateTime &&value)
void SetPlatforms(const Aws::Vector< ComponentPlatform > &value)
DescribeComponentResult & AddPlatforms(const ComponentPlatform &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeComponentResult & WithPlatforms(const Aws::Vector< ComponentPlatform > &value)
DescribeComponentResult & WithRequestId(const char *value)
const Aws::Vector< ComponentPlatform > & GetPlatforms() const
DescribeComponentResult & WithStatus(const CloudComponentStatus &value)
DescribeComponentResult & WithComponentName(const Aws::String &value)
void SetPlatforms(Aws::Vector< ComponentPlatform > &&value)
DescribeComponentResult & WithComponentVersion(Aws::String &&value)
DescribeComponentResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeComponentResult & WithPlatforms(Aws::Vector< ComponentPlatform > &&value)
DescribeComponentResult & WithArn(const Aws::String &value)
DescribeComponentResult & WithDescription(const Aws::String &value)
DescribeComponentResult & AddTags(const char *key, Aws::String &&value)
DescribeComponentResult & WithComponentVersion(const char *value)
DescribeComponentResult & WithArn(Aws::String &&value)
DescribeComponentResult & WithCreationTimestamp(const Aws::Utils::DateTime &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue