AWS SDK for C++  1.9.123
AWS SDK for C++
Deployment.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace GreengrassV2
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
47  inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
48 
54  inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
55 
61  inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; }
62 
68  inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); }
69 
75  inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); }
76 
82  inline Deployment& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
83 
89  inline Deployment& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
90 
96  inline Deployment& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
97 
98 
102  inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
103 
107  inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
108 
112  inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
113 
117  inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
118 
122  inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
123 
127  inline Deployment& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
128 
132  inline Deployment& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
133 
137  inline Deployment& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
138 
139 
143  inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
144 
148  inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
149 
153  inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
154 
158  inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
159 
163  inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
164 
168  inline Deployment& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
169 
173  inline Deployment& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
174 
178  inline Deployment& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
179 
180 
184  inline const Aws::String& GetDeploymentName() const{ return m_deploymentName; }
185 
189  inline bool DeploymentNameHasBeenSet() const { return m_deploymentNameHasBeenSet; }
190 
194  inline void SetDeploymentName(const Aws::String& value) { m_deploymentNameHasBeenSet = true; m_deploymentName = value; }
195 
199  inline void SetDeploymentName(Aws::String&& value) { m_deploymentNameHasBeenSet = true; m_deploymentName = std::move(value); }
200 
204  inline void SetDeploymentName(const char* value) { m_deploymentNameHasBeenSet = true; m_deploymentName.assign(value); }
205 
209  inline Deployment& WithDeploymentName(const Aws::String& value) { SetDeploymentName(value); return *this;}
210 
214  inline Deployment& WithDeploymentName(Aws::String&& value) { SetDeploymentName(std::move(value)); return *this;}
215 
219  inline Deployment& WithDeploymentName(const char* value) { SetDeploymentName(value); return *this;}
220 
221 
226  inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
227 
232  inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
233 
238  inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
239 
244  inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
245 
250  inline Deployment& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;}
251 
256  inline Deployment& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
257 
258 
262  inline const DeploymentStatus& GetDeploymentStatus() const{ return m_deploymentStatus; }
263 
267  inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
268 
272  inline void SetDeploymentStatus(const DeploymentStatus& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
273 
277  inline void SetDeploymentStatus(DeploymentStatus&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::move(value); }
278 
282  inline Deployment& WithDeploymentStatus(const DeploymentStatus& value) { SetDeploymentStatus(value); return *this;}
283 
287  inline Deployment& WithDeploymentStatus(DeploymentStatus&& value) { SetDeploymentStatus(std::move(value)); return *this;}
288 
289 
293  inline bool GetIsLatestForTarget() const{ return m_isLatestForTarget; }
294 
298  inline bool IsLatestForTargetHasBeenSet() const { return m_isLatestForTargetHasBeenSet; }
299 
303  inline void SetIsLatestForTarget(bool value) { m_isLatestForTargetHasBeenSet = true; m_isLatestForTarget = value; }
304 
308  inline Deployment& WithIsLatestForTarget(bool value) { SetIsLatestForTarget(value); return *this;}
309 
310  private:
311 
312  Aws::String m_targetArn;
313  bool m_targetArnHasBeenSet;
314 
315  Aws::String m_revisionId;
316  bool m_revisionIdHasBeenSet;
317 
318  Aws::String m_deploymentId;
319  bool m_deploymentIdHasBeenSet;
320 
321  Aws::String m_deploymentName;
322  bool m_deploymentNameHasBeenSet;
323 
324  Aws::Utils::DateTime m_creationTimestamp;
325  bool m_creationTimestampHasBeenSet;
326 
327  DeploymentStatus m_deploymentStatus;
328  bool m_deploymentStatusHasBeenSet;
329 
330  bool m_isLatestForTarget;
331  bool m_isLatestForTargetHasBeenSet;
332  };
333 
334 } // namespace Model
335 } // namespace GreengrassV2
336 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::GreengrassV2::Model::Deployment::SetDeploymentName
void SetDeploymentName(const Aws::String &value)
Definition: Deployment.h:194
Aws::GreengrassV2::Model::Deployment::WithDeploymentName
Deployment & WithDeploymentName(const Aws::String &value)
Definition: Deployment.h:209
Aws::GreengrassV2::Model::Deployment::GetDeploymentId
const Aws::String & GetDeploymentId() const
Definition: Deployment.h:143
Aws::GreengrassV2::Model::Deployment::WithDeploymentName
Deployment & WithDeploymentName(Aws::String &&value)
Definition: Deployment.h:214
Aws::GreengrassV2::Model::Deployment::SetIsLatestForTarget
void SetIsLatestForTarget(bool value)
Definition: Deployment.h:303
Aws::GreengrassV2::Model::DeploymentStatus
DeploymentStatus
Definition: DeploymentStatus.h:17
Aws::GreengrassV2::Model::Deployment::WithRevisionId
Deployment & WithRevisionId(Aws::String &&value)
Definition: Deployment.h:132
Aws::GreengrassV2::Model::Deployment::WithTargetArn
Deployment & WithTargetArn(const char *value)
Definition: Deployment.h:96
Aws::GreengrassV2::Model::Deployment::IsLatestForTargetHasBeenSet
bool IsLatestForTargetHasBeenSet() const
Definition: Deployment.h:298
Aws::GreengrassV2::Model::Deployment::WithTargetArn
Deployment & WithTargetArn(const Aws::String &value)
Definition: Deployment.h:82
Aws::GreengrassV2::Model::Deployment::DeploymentNameHasBeenSet
bool DeploymentNameHasBeenSet() const
Definition: Deployment.h:189
DateTime.h
Aws::GreengrassV2::Model::Deployment::SetDeploymentStatus
void SetDeploymentStatus(const DeploymentStatus &value)
Definition: Deployment.h:272
Aws::GreengrassV2::Model::Deployment::WithRevisionId
Deployment & WithRevisionId(const Aws::String &value)
Definition: Deployment.h:127
Aws::GreengrassV2::Model::Deployment::operator=
Deployment & operator=(Aws::Utils::Json::JsonView jsonValue)
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::Deployment::GetCreationTimestamp
const Aws::Utils::DateTime & GetCreationTimestamp() const
Definition: Deployment.h:226
Aws::GreengrassV2::Model::Deployment::SetRevisionId
void SetRevisionId(const char *value)
Definition: Deployment.h:122
Aws::GreengrassV2::Model::Deployment::DeploymentStatusHasBeenSet
bool DeploymentStatusHasBeenSet() const
Definition: Deployment.h:267
Aws::GreengrassV2::Model::Deployment::SetCreationTimestamp
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: Deployment.h:238
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::Deployment::SetDeploymentName
void SetDeploymentName(Aws::String &&value)
Definition: Deployment.h:199
Aws::GreengrassV2::Model::Deployment::GetRevisionId
const Aws::String & GetRevisionId() const
Definition: Deployment.h:102
Aws::GreengrassV2::Model::Deployment::WithDeploymentId
Deployment & WithDeploymentId(const char *value)
Definition: Deployment.h:178
Aws::GreengrassV2::Model::Deployment::Deployment
Deployment(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::Deployment::DeploymentIdHasBeenSet
bool DeploymentIdHasBeenSet() const
Definition: Deployment.h:148
Aws::GreengrassV2::Model::Deployment::CreationTimestampHasBeenSet
bool CreationTimestampHasBeenSet() const
Definition: Deployment.h:232
Aws::GreengrassV2::Model::Deployment::WithRevisionId
Deployment & WithRevisionId(const char *value)
Definition: Deployment.h:137
Aws::GreengrassV2::Model::Deployment::GetTargetArn
const Aws::String & GetTargetArn() const
Definition: Deployment.h:47
Aws::GreengrassV2::Model::Deployment::SetDeploymentId
void SetDeploymentId(Aws::String &&value)
Definition: Deployment.h:158
Aws::GreengrassV2::Model::Deployment::GetIsLatestForTarget
bool GetIsLatestForTarget() const
Definition: Deployment.h:293
Aws::GreengrassV2::Model::Deployment::WithDeploymentId
Deployment & WithDeploymentId(const Aws::String &value)
Definition: Deployment.h:168
Aws::GreengrassV2::Model::Deployment::SetTargetArn
void SetTargetArn(const Aws::String &value)
Definition: Deployment.h:61
Aws::GreengrassV2::Model::Deployment::SetRevisionId
void SetRevisionId(Aws::String &&value)
Definition: Deployment.h:117
Aws::GreengrassV2::Model::Deployment::SetCreationTimestamp
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: Deployment.h:244
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::GreengrassV2::Model::Deployment::WithDeploymentId
Deployment & WithDeploymentId(Aws::String &&value)
Definition: Deployment.h:173
Aws::GreengrassV2::Model::Deployment::SetTargetArn
void SetTargetArn(const char *value)
Definition: Deployment.h:75
AWSString.h
Aws::GreengrassV2::Model::Deployment::WithDeploymentStatus
Deployment & WithDeploymentStatus(const DeploymentStatus &value)
Definition: Deployment.h:282
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::Deployment::Deployment
Deployment()
Aws::GreengrassV2::Model::Deployment::WithCreationTimestamp
Deployment & WithCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: Deployment.h:256
Aws::GreengrassV2::Model::Deployment::WithDeploymentName
Deployment & WithDeploymentName(const char *value)
Definition: Deployment.h:219
Aws::GreengrassV2::Model::Deployment::RevisionIdHasBeenSet
bool RevisionIdHasBeenSet() const
Definition: Deployment.h:107
Aws::GreengrassV2::Model::Deployment::SetRevisionId
void SetRevisionId(const Aws::String &value)
Definition: Deployment.h:112
Aws::GreengrassV2::Model::Deployment::SetTargetArn
void SetTargetArn(Aws::String &&value)
Definition: Deployment.h:68
Aws::GreengrassV2::Model::Deployment::SetDeploymentId
void SetDeploymentId(const char *value)
Definition: Deployment.h:163
Aws::GreengrassV2::Model::Deployment::WithIsLatestForTarget
Deployment & WithIsLatestForTarget(bool value)
Definition: Deployment.h:308
Aws::GreengrassV2::Model::Deployment::GetDeploymentStatus
const DeploymentStatus & GetDeploymentStatus() const
Definition: Deployment.h:262
DeploymentStatus.h
Aws::GreengrassV2::Model::Deployment::SetDeploymentStatus
void SetDeploymentStatus(DeploymentStatus &&value)
Definition: Deployment.h:277
Aws::GreengrassV2::Model::Deployment::GetDeploymentName
const Aws::String & GetDeploymentName() const
Definition: Deployment.h:184
Aws::GreengrassV2::Model::Deployment
Definition: Deployment.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::Deployment::WithDeploymentStatus
Deployment & WithDeploymentStatus(DeploymentStatus &&value)
Definition: Deployment.h:287
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::Deployment::SetDeploymentId
void SetDeploymentId(const Aws::String &value)
Definition: Deployment.h:153
Aws::GreengrassV2::Model::Deployment::TargetArnHasBeenSet
bool TargetArnHasBeenSet() const
Definition: Deployment.h:54
Aws::GreengrassV2::Model::Deployment::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GreengrassV2::Model::Deployment::WithCreationTimestamp
Deployment & WithCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: Deployment.h:250
Aws::GreengrassV2::Model::Deployment::WithTargetArn
Deployment & WithTargetArn(Aws::String &&value)
Definition: Deployment.h:89
Aws::GreengrassV2::Model::Deployment::SetDeploymentName
void SetDeploymentName(const char *value)
Definition: Deployment.h:204