AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EffectiveDeployment.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/EffectiveDeploymentExecutionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/greengrassv2/model/EffectiveDeploymentStatusDetails.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GreengrassV2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GREENGRASSV2_API EffectiveDeployment();
39 AWS_GREENGRASSV2_API EffectiveDeployment(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
49 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
50 inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
51 inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
52 inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
53 inline EffectiveDeployment& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
54 inline EffectiveDeployment& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
55 inline EffectiveDeployment& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
57
59
62 inline const Aws::String& GetDeploymentName() const{ return m_deploymentName; }
63 inline bool DeploymentNameHasBeenSet() const { return m_deploymentNameHasBeenSet; }
64 inline void SetDeploymentName(const Aws::String& value) { m_deploymentNameHasBeenSet = true; m_deploymentName = value; }
65 inline void SetDeploymentName(Aws::String&& value) { m_deploymentNameHasBeenSet = true; m_deploymentName = std::move(value); }
66 inline void SetDeploymentName(const char* value) { m_deploymentNameHasBeenSet = true; m_deploymentName.assign(value); }
67 inline EffectiveDeployment& WithDeploymentName(const Aws::String& value) { SetDeploymentName(value); return *this;}
68 inline EffectiveDeployment& WithDeploymentName(Aws::String&& value) { SetDeploymentName(std::move(value)); return *this;}
69 inline EffectiveDeployment& WithDeploymentName(const char* value) { SetDeploymentName(value); return *this;}
71
73
76 inline const Aws::String& GetIotJobId() const{ return m_iotJobId; }
77 inline bool IotJobIdHasBeenSet() const { return m_iotJobIdHasBeenSet; }
78 inline void SetIotJobId(const Aws::String& value) { m_iotJobIdHasBeenSet = true; m_iotJobId = value; }
79 inline void SetIotJobId(Aws::String&& value) { m_iotJobIdHasBeenSet = true; m_iotJobId = std::move(value); }
80 inline void SetIotJobId(const char* value) { m_iotJobIdHasBeenSet = true; m_iotJobId.assign(value); }
81 inline EffectiveDeployment& WithIotJobId(const Aws::String& value) { SetIotJobId(value); return *this;}
82 inline EffectiveDeployment& WithIotJobId(Aws::String&& value) { SetIotJobId(std::move(value)); return *this;}
83 inline EffectiveDeployment& WithIotJobId(const char* value) { SetIotJobId(value); return *this;}
85
87
92 inline const Aws::String& GetIotJobArn() const{ return m_iotJobArn; }
93 inline bool IotJobArnHasBeenSet() const { return m_iotJobArnHasBeenSet; }
94 inline void SetIotJobArn(const Aws::String& value) { m_iotJobArnHasBeenSet = true; m_iotJobArn = value; }
95 inline void SetIotJobArn(Aws::String&& value) { m_iotJobArnHasBeenSet = true; m_iotJobArn = std::move(value); }
96 inline void SetIotJobArn(const char* value) { m_iotJobArnHasBeenSet = true; m_iotJobArn.assign(value); }
97 inline EffectiveDeployment& WithIotJobArn(const Aws::String& value) { SetIotJobArn(value); return *this;}
98 inline EffectiveDeployment& WithIotJobArn(Aws::String&& value) { SetIotJobArn(std::move(value)); return *this;}
99 inline EffectiveDeployment& WithIotJobArn(const char* value) { SetIotJobArn(value); return *this;}
101
103
106 inline const Aws::String& GetDescription() const{ return m_description; }
107 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
108 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
109 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
110 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
111 inline EffectiveDeployment& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
112 inline EffectiveDeployment& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
113 inline EffectiveDeployment& WithDescription(const char* value) { SetDescription(value); return *this;}
115
117
122 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
123 inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
124 inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; }
125 inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); }
126 inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); }
127 inline EffectiveDeployment& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
128 inline EffectiveDeployment& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
129 inline EffectiveDeployment& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
131
133
147 inline const EffectiveDeploymentExecutionStatus& GetCoreDeviceExecutionStatus() const{ return m_coreDeviceExecutionStatus; }
148 inline bool CoreDeviceExecutionStatusHasBeenSet() const { return m_coreDeviceExecutionStatusHasBeenSet; }
149 inline void SetCoreDeviceExecutionStatus(const EffectiveDeploymentExecutionStatus& value) { m_coreDeviceExecutionStatusHasBeenSet = true; m_coreDeviceExecutionStatus = value; }
150 inline void SetCoreDeviceExecutionStatus(EffectiveDeploymentExecutionStatus&& value) { m_coreDeviceExecutionStatusHasBeenSet = true; m_coreDeviceExecutionStatus = std::move(value); }
154
156
159 inline const Aws::String& GetReason() const{ return m_reason; }
160 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
161 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
162 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
163 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
164 inline EffectiveDeployment& WithReason(const Aws::String& value) { SetReason(value); return *this;}
165 inline EffectiveDeployment& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
166 inline EffectiveDeployment& WithReason(const char* value) { SetReason(value); return *this;}
168
170
174 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
175 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
176 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
177 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
179 inline EffectiveDeployment& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
181
183
187 inline const Aws::Utils::DateTime& GetModifiedTimestamp() const{ return m_modifiedTimestamp; }
188 inline bool ModifiedTimestampHasBeenSet() const { return m_modifiedTimestampHasBeenSet; }
189 inline void SetModifiedTimestamp(const Aws::Utils::DateTime& value) { m_modifiedTimestampHasBeenSet = true; m_modifiedTimestamp = value; }
190 inline void SetModifiedTimestamp(Aws::Utils::DateTime&& value) { m_modifiedTimestampHasBeenSet = true; m_modifiedTimestamp = std::move(value); }
192 inline EffectiveDeployment& WithModifiedTimestamp(Aws::Utils::DateTime&& value) { SetModifiedTimestamp(std::move(value)); return *this;}
194
196
200 inline const EffectiveDeploymentStatusDetails& GetStatusDetails() const{ return m_statusDetails; }
201 inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; }
202 inline void SetStatusDetails(const EffectiveDeploymentStatusDetails& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = value; }
203 inline void SetStatusDetails(EffectiveDeploymentStatusDetails&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::move(value); }
207 private:
208
209 Aws::String m_deploymentId;
210 bool m_deploymentIdHasBeenSet = false;
211
212 Aws::String m_deploymentName;
213 bool m_deploymentNameHasBeenSet = false;
214
215 Aws::String m_iotJobId;
216 bool m_iotJobIdHasBeenSet = false;
217
218 Aws::String m_iotJobArn;
219 bool m_iotJobArnHasBeenSet = false;
220
221 Aws::String m_description;
222 bool m_descriptionHasBeenSet = false;
223
224 Aws::String m_targetArn;
225 bool m_targetArnHasBeenSet = false;
226
227 EffectiveDeploymentExecutionStatus m_coreDeviceExecutionStatus;
228 bool m_coreDeviceExecutionStatusHasBeenSet = false;
229
230 Aws::String m_reason;
231 bool m_reasonHasBeenSet = false;
232
233 Aws::Utils::DateTime m_creationTimestamp;
234 bool m_creationTimestampHasBeenSet = false;
235
236 Aws::Utils::DateTime m_modifiedTimestamp;
237 bool m_modifiedTimestampHasBeenSet = false;
238
239 EffectiveDeploymentStatusDetails m_statusDetails;
240 bool m_statusDetailsHasBeenSet = false;
241 };
242
243} // namespace Model
244} // namespace GreengrassV2
245} // namespace Aws
const Aws::Utils::DateTime & GetCreationTimestamp() const
void SetModifiedTimestamp(const Aws::Utils::DateTime &value)
EffectiveDeployment & WithIotJobArn(const Aws::String &value)
EffectiveDeployment & WithTargetArn(const char *value)
EffectiveDeployment & WithStatusDetails(const EffectiveDeploymentStatusDetails &value)
EffectiveDeployment & WithModifiedTimestamp(const Aws::Utils::DateTime &value)
EffectiveDeployment & WithDeploymentId(const Aws::String &value)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
EffectiveDeployment & WithIotJobId(const char *value)
EffectiveDeployment & WithDescription(const char *value)
EffectiveDeployment & WithStatusDetails(EffectiveDeploymentStatusDetails &&value)
const Aws::Utils::DateTime & GetModifiedTimestamp() const
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASSV2_API EffectiveDeployment(Aws::Utils::Json::JsonView jsonValue)
EffectiveDeployment & WithReason(const Aws::String &value)
EffectiveDeployment & WithDeploymentName(const char *value)
EffectiveDeployment & WithIotJobId(Aws::String &&value)
EffectiveDeployment & WithCoreDeviceExecutionStatus(EffectiveDeploymentExecutionStatus &&value)
void SetCoreDeviceExecutionStatus(const EffectiveDeploymentExecutionStatus &value)
EffectiveDeployment & WithDescription(Aws::String &&value)
EffectiveDeployment & WithTargetArn(Aws::String &&value)
EffectiveDeployment & WithCreationTimestamp(const Aws::Utils::DateTime &value)
void SetStatusDetails(const EffectiveDeploymentStatusDetails &value)
const EffectiveDeploymentStatusDetails & GetStatusDetails() const
EffectiveDeployment & WithIotJobArn(const char *value)
EffectiveDeployment & WithDeploymentName(const Aws::String &value)
void SetModifiedTimestamp(Aws::Utils::DateTime &&value)
AWS_GREENGRASSV2_API EffectiveDeployment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCoreDeviceExecutionStatus(EffectiveDeploymentExecutionStatus &&value)
EffectiveDeployment & WithDescription(const Aws::String &value)
EffectiveDeployment & WithIotJobArn(Aws::String &&value)
EffectiveDeployment & WithCreationTimestamp(Aws::Utils::DateTime &&value)
EffectiveDeployment & WithCoreDeviceExecutionStatus(const EffectiveDeploymentExecutionStatus &value)
EffectiveDeployment & WithReason(const char *value)
EffectiveDeployment & WithIotJobId(const Aws::String &value)
EffectiveDeployment & WithDeploymentName(Aws::String &&value)
EffectiveDeployment & WithTargetArn(const Aws::String &value)
EffectiveDeployment & WithModifiedTimestamp(Aws::Utils::DateTime &&value)
const EffectiveDeploymentExecutionStatus & GetCoreDeviceExecutionStatus() const
EffectiveDeployment & WithDeploymentId(Aws::String &&value)
EffectiveDeployment & WithDeploymentId(const char *value)
EffectiveDeployment & WithReason(Aws::String &&value)
void SetStatusDetails(EffectiveDeploymentStatusDetails &&value)
void SetDeploymentName(const Aws::String &value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue