AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDeploymentResult.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrassv2/model/DeploymentStatus.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/greengrassv2/model/DeploymentPolicies.h>
12#include <aws/greengrassv2/model/DeploymentIoTJobConfiguration.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/greengrassv2/model/ComponentDeploymentSpecification.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace GreengrassV2
30{
31namespace Model
32{
34 {
35 public:
36 AWS_GREENGRASSV2_API GetDeploymentResult();
39
40
42
47 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
48 inline void SetTargetArn(const Aws::String& value) { m_targetArn = value; }
49 inline void SetTargetArn(Aws::String&& value) { m_targetArn = std::move(value); }
50 inline void SetTargetArn(const char* value) { m_targetArn.assign(value); }
51 inline GetDeploymentResult& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
52 inline GetDeploymentResult& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
53 inline GetDeploymentResult& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
55
57
60 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
61 inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
62 inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
63 inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
64 inline GetDeploymentResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
65 inline GetDeploymentResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
66 inline GetDeploymentResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
68
70
73 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
74 inline void SetDeploymentId(const Aws::String& value) { m_deploymentId = value; }
75 inline void SetDeploymentId(Aws::String&& value) { m_deploymentId = std::move(value); }
76 inline void SetDeploymentId(const char* value) { m_deploymentId.assign(value); }
77 inline GetDeploymentResult& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
78 inline GetDeploymentResult& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
79 inline GetDeploymentResult& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
81
83
86 inline const Aws::String& GetDeploymentName() const{ return m_deploymentName; }
87 inline void SetDeploymentName(const Aws::String& value) { m_deploymentName = value; }
88 inline void SetDeploymentName(Aws::String&& value) { m_deploymentName = std::move(value); }
89 inline void SetDeploymentName(const char* value) { m_deploymentName.assign(value); }
90 inline GetDeploymentResult& WithDeploymentName(const Aws::String& value) { SetDeploymentName(value); return *this;}
91 inline GetDeploymentResult& WithDeploymentName(Aws::String&& value) { SetDeploymentName(std::move(value)); return *this;}
92 inline GetDeploymentResult& WithDeploymentName(const char* value) { SetDeploymentName(value); return *this;}
94
96
99 inline const DeploymentStatus& GetDeploymentStatus() const{ return m_deploymentStatus; }
100 inline void SetDeploymentStatus(const DeploymentStatus& value) { m_deploymentStatus = value; }
101 inline void SetDeploymentStatus(DeploymentStatus&& value) { m_deploymentStatus = std::move(value); }
103 inline GetDeploymentResult& WithDeploymentStatus(DeploymentStatus&& value) { SetDeploymentStatus(std::move(value)); return *this;}
105
107
110 inline const Aws::String& GetIotJobId() const{ return m_iotJobId; }
111 inline void SetIotJobId(const Aws::String& value) { m_iotJobId = value; }
112 inline void SetIotJobId(Aws::String&& value) { m_iotJobId = std::move(value); }
113 inline void SetIotJobId(const char* value) { m_iotJobId.assign(value); }
114 inline GetDeploymentResult& WithIotJobId(const Aws::String& value) { SetIotJobId(value); return *this;}
115 inline GetDeploymentResult& WithIotJobId(Aws::String&& value) { SetIotJobId(std::move(value)); return *this;}
116 inline GetDeploymentResult& WithIotJobId(const char* value) { SetIotJobId(value); return *this;}
118
120
125 inline const Aws::String& GetIotJobArn() const{ return m_iotJobArn; }
126 inline void SetIotJobArn(const Aws::String& value) { m_iotJobArn = value; }
127 inline void SetIotJobArn(Aws::String&& value) { m_iotJobArn = std::move(value); }
128 inline void SetIotJobArn(const char* value) { m_iotJobArn.assign(value); }
129 inline GetDeploymentResult& WithIotJobArn(const Aws::String& value) { SetIotJobArn(value); return *this;}
130 inline GetDeploymentResult& WithIotJobArn(Aws::String&& value) { SetIotJobArn(std::move(value)); return *this;}
131 inline GetDeploymentResult& WithIotJobArn(const char* value) { SetIotJobArn(value); return *this;}
133
135
140 inline const Aws::Map<Aws::String, ComponentDeploymentSpecification>& GetComponents() const{ return m_components; }
141 inline void SetComponents(const Aws::Map<Aws::String, ComponentDeploymentSpecification>& value) { m_components = value; }
142 inline void SetComponents(Aws::Map<Aws::String, ComponentDeploymentSpecification>&& value) { m_components = std::move(value); }
145 inline GetDeploymentResult& AddComponents(const Aws::String& key, const ComponentDeploymentSpecification& value) { m_components.emplace(key, value); return *this; }
146 inline GetDeploymentResult& AddComponents(Aws::String&& key, const ComponentDeploymentSpecification& value) { m_components.emplace(std::move(key), value); return *this; }
147 inline GetDeploymentResult& AddComponents(const Aws::String& key, ComponentDeploymentSpecification&& value) { m_components.emplace(key, std::move(value)); return *this; }
148 inline GetDeploymentResult& AddComponents(Aws::String&& key, ComponentDeploymentSpecification&& value) { m_components.emplace(std::move(key), std::move(value)); return *this; }
149 inline GetDeploymentResult& AddComponents(const char* key, ComponentDeploymentSpecification&& value) { m_components.emplace(key, std::move(value)); return *this; }
150 inline GetDeploymentResult& AddComponents(const char* key, const ComponentDeploymentSpecification& value) { m_components.emplace(key, value); return *this; }
152
154
158 inline const DeploymentPolicies& GetDeploymentPolicies() const{ return m_deploymentPolicies; }
159 inline void SetDeploymentPolicies(const DeploymentPolicies& value) { m_deploymentPolicies = value; }
160 inline void SetDeploymentPolicies(DeploymentPolicies&& value) { m_deploymentPolicies = std::move(value); }
162 inline GetDeploymentResult& WithDeploymentPolicies(DeploymentPolicies&& value) { SetDeploymentPolicies(std::move(value)); return *this;}
164
166
171 inline const DeploymentIoTJobConfiguration& GetIotJobConfiguration() const{ return m_iotJobConfiguration; }
172 inline void SetIotJobConfiguration(const DeploymentIoTJobConfiguration& value) { m_iotJobConfiguration = value; }
173 inline void SetIotJobConfiguration(DeploymentIoTJobConfiguration&& value) { m_iotJobConfiguration = std::move(value); }
177
179
183 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
184 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestamp = value; }
185 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestamp = std::move(value); }
187 inline GetDeploymentResult& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
189
191
194 inline bool GetIsLatestForTarget() const{ return m_isLatestForTarget; }
195 inline void SetIsLatestForTarget(bool value) { m_isLatestForTarget = value; }
196 inline GetDeploymentResult& WithIsLatestForTarget(bool value) { SetIsLatestForTarget(value); return *this;}
198
200
205 inline const Aws::String& GetParentTargetArn() const{ return m_parentTargetArn; }
206 inline void SetParentTargetArn(const Aws::String& value) { m_parentTargetArn = value; }
207 inline void SetParentTargetArn(Aws::String&& value) { m_parentTargetArn = std::move(value); }
208 inline void SetParentTargetArn(const char* value) { m_parentTargetArn.assign(value); }
209 inline GetDeploymentResult& WithParentTargetArn(const Aws::String& value) { SetParentTargetArn(value); return *this;}
210 inline GetDeploymentResult& WithParentTargetArn(Aws::String&& value) { SetParentTargetArn(std::move(value)); return *this;}
211 inline GetDeploymentResult& WithParentTargetArn(const char* value) { SetParentTargetArn(value); return *this;}
213
215
221 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
222 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
223 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
224 inline GetDeploymentResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
225 inline GetDeploymentResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
226 inline GetDeploymentResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
227 inline GetDeploymentResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
228 inline GetDeploymentResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
229 inline GetDeploymentResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
230 inline GetDeploymentResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
231 inline GetDeploymentResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
232 inline GetDeploymentResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
234
236
237 inline const Aws::String& GetRequestId() const{ return m_requestId; }
238 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
239 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
240 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
241 inline GetDeploymentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
242 inline GetDeploymentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
243 inline GetDeploymentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
245 private:
246
247 Aws::String m_targetArn;
248
249 Aws::String m_revisionId;
250
251 Aws::String m_deploymentId;
252
253 Aws::String m_deploymentName;
254
255 DeploymentStatus m_deploymentStatus;
256
257 Aws::String m_iotJobId;
258
259 Aws::String m_iotJobArn;
260
262
263 DeploymentPolicies m_deploymentPolicies;
264
265 DeploymentIoTJobConfiguration m_iotJobConfiguration;
266
267 Aws::Utils::DateTime m_creationTimestamp;
268
269 bool m_isLatestForTarget;
270
271 Aws::String m_parentTargetArn;
272
274
275 Aws::String m_requestId;
276 };
277
278} // namespace Model
279} // namespace GreengrassV2
280} // namespace Aws
GetDeploymentResult & WithIotJobConfiguration(DeploymentIoTJobConfiguration &&value)
void SetIotJobConfiguration(const DeploymentIoTJobConfiguration &value)
GetDeploymentResult & WithDeploymentId(Aws::String &&value)
GetDeploymentResult & WithIotJobArn(const char *value)
GetDeploymentResult & WithTargetArn(const char *value)
GetDeploymentResult & WithDeploymentName(const char *value)
GetDeploymentResult & AddComponents(const Aws::String &key, ComponentDeploymentSpecification &&value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
GetDeploymentResult & WithDeploymentStatus(const DeploymentStatus &value)
GetDeploymentResult & WithCreationTimestamp(const Aws::Utils::DateTime &value)
GetDeploymentResult & AddComponents(const Aws::String &key, const ComponentDeploymentSpecification &value)
void SetDeploymentName(const Aws::String &value)
AWS_GREENGRASSV2_API GetDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetComponents(const Aws::Map< Aws::String, ComponentDeploymentSpecification > &value)
GetDeploymentResult & WithCreationTimestamp(Aws::Utils::DateTime &&value)
GetDeploymentResult & WithComponents(const Aws::Map< Aws::String, ComponentDeploymentSpecification > &value)
GetDeploymentResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const DeploymentStatus & GetDeploymentStatus() const
void SetDeploymentStatus(const DeploymentStatus &value)
GetDeploymentResult & WithParentTargetArn(Aws::String &&value)
GetDeploymentResult & AddTags(const char *key, Aws::String &&value)
GetDeploymentResult & AddTags(Aws::String &&key, const Aws::String &value)
GetDeploymentResult & WithRequestId(Aws::String &&value)
GetDeploymentResult & WithTargetArn(const Aws::String &value)
GetDeploymentResult & AddTags(const char *key, const char *value)
GetDeploymentResult & WithRevisionId(Aws::String &&value)
GetDeploymentResult & AddTags(Aws::String &&key, Aws::String &&value)
GetDeploymentResult & WithDeploymentPolicies(const DeploymentPolicies &value)
GetDeploymentResult & WithIotJobId(const char *value)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
GetDeploymentResult & WithParentTargetArn(const char *value)
GetDeploymentResult & WithIotJobArn(const Aws::String &value)
GetDeploymentResult & AddTags(Aws::String &&key, const char *value)
GetDeploymentResult & WithRevisionId(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetIotJobConfiguration(DeploymentIoTJobConfiguration &&value)
GetDeploymentResult & WithIsLatestForTarget(bool value)
GetDeploymentResult & WithParentTargetArn(const Aws::String &value)
GetDeploymentResult & WithIotJobId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetDeploymentResult & AddComponents(Aws::String &&key, ComponentDeploymentSpecification &&value)
void SetDeploymentPolicies(const DeploymentPolicies &value)
GetDeploymentResult & AddTags(const Aws::String &key, Aws::String &&value)
GetDeploymentResult & WithIotJobArn(Aws::String &&value)
GetDeploymentResult & WithRevisionId(const Aws::String &value)
const DeploymentPolicies & GetDeploymentPolicies() const
void SetParentTargetArn(const Aws::String &value)
GetDeploymentResult & WithDeploymentId(const char *value)
GetDeploymentResult & WithDeploymentPolicies(DeploymentPolicies &&value)
GetDeploymentResult & WithDeploymentName(Aws::String &&value)
GetDeploymentResult & WithDeploymentStatus(DeploymentStatus &&value)
const Aws::Map< Aws::String, ComponentDeploymentSpecification > & GetComponents() const
GetDeploymentResult & AddComponents(const char *key, const ComponentDeploymentSpecification &value)
GetDeploymentResult & AddComponents(const char *key, ComponentDeploymentSpecification &&value)
void SetComponents(Aws::Map< Aws::String, ComponentDeploymentSpecification > &&value)
GetDeploymentResult & WithDeploymentName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
const DeploymentIoTJobConfiguration & GetIotJobConfiguration() const
GetDeploymentResult & WithRequestId(const char *value)
GetDeploymentResult & WithTargetArn(Aws::String &&value)
GetDeploymentResult & WithComponents(Aws::Map< Aws::String, ComponentDeploymentSpecification > &&value)
GetDeploymentResult & AddComponents(Aws::String &&key, const ComponentDeploymentSpecification &value)
void SetDeploymentStatus(DeploymentStatus &&value)
GetDeploymentResult & AddTags(const Aws::String &key, const Aws::String &value)
GetDeploymentResult & WithIotJobId(const Aws::String &value)
GetDeploymentResult & WithDeploymentId(const Aws::String &value)
AWS_GREENGRASSV2_API GetDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDeploymentPolicies(DeploymentPolicies &&value)
GetDeploymentResult & WithIotJobConfiguration(const DeploymentIoTJobConfiguration &value)
GetDeploymentResult & WithRequestId(const Aws::String &value)
GetDeploymentResult & WithTags(Aws::Map< Aws::String, Aws::String > &&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
Aws::Utils::Json::JsonValue JsonValue