AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename DeploymentIdT = Aws::String>
51 void SetDeploymentId(DeploymentIdT&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::forward<DeploymentIdT>(value); }
52 template<typename DeploymentIdT = Aws::String>
53 EffectiveDeployment& WithDeploymentId(DeploymentIdT&& value) { SetDeploymentId(std::forward<DeploymentIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetDeploymentName() const { return m_deploymentName; }
61 inline bool DeploymentNameHasBeenSet() const { return m_deploymentNameHasBeenSet; }
62 template<typename DeploymentNameT = Aws::String>
63 void SetDeploymentName(DeploymentNameT&& value) { m_deploymentNameHasBeenSet = true; m_deploymentName = std::forward<DeploymentNameT>(value); }
64 template<typename DeploymentNameT = Aws::String>
65 EffectiveDeployment& WithDeploymentName(DeploymentNameT&& value) { SetDeploymentName(std::forward<DeploymentNameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetIotJobId() const { return m_iotJobId; }
73 inline bool IotJobIdHasBeenSet() const { return m_iotJobIdHasBeenSet; }
74 template<typename IotJobIdT = Aws::String>
75 void SetIotJobId(IotJobIdT&& value) { m_iotJobIdHasBeenSet = true; m_iotJobId = std::forward<IotJobIdT>(value); }
76 template<typename IotJobIdT = Aws::String>
77 EffectiveDeployment& WithIotJobId(IotJobIdT&& value) { SetIotJobId(std::forward<IotJobIdT>(value)); return *this;}
79
81
86 inline const Aws::String& GetIotJobArn() const { return m_iotJobArn; }
87 inline bool IotJobArnHasBeenSet() const { return m_iotJobArnHasBeenSet; }
88 template<typename IotJobArnT = Aws::String>
89 void SetIotJobArn(IotJobArnT&& value) { m_iotJobArnHasBeenSet = true; m_iotJobArn = std::forward<IotJobArnT>(value); }
90 template<typename IotJobArnT = Aws::String>
91 EffectiveDeployment& WithIotJobArn(IotJobArnT&& value) { SetIotJobArn(std::forward<IotJobArnT>(value)); return *this;}
93
95
98 inline const Aws::String& GetDescription() const { return m_description; }
99 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
100 template<typename DescriptionT = Aws::String>
101 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
102 template<typename DescriptionT = Aws::String>
103 EffectiveDeployment& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
105
107
112 inline const Aws::String& GetTargetArn() const { return m_targetArn; }
113 inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
114 template<typename TargetArnT = Aws::String>
115 void SetTargetArn(TargetArnT&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::forward<TargetArnT>(value); }
116 template<typename TargetArnT = Aws::String>
117 EffectiveDeployment& WithTargetArn(TargetArnT&& value) { SetTargetArn(std::forward<TargetArnT>(value)); return *this;}
119
121
135 inline EffectiveDeploymentExecutionStatus GetCoreDeviceExecutionStatus() const { return m_coreDeviceExecutionStatus; }
136 inline bool CoreDeviceExecutionStatusHasBeenSet() const { return m_coreDeviceExecutionStatusHasBeenSet; }
137 inline void SetCoreDeviceExecutionStatus(EffectiveDeploymentExecutionStatus value) { m_coreDeviceExecutionStatusHasBeenSet = true; m_coreDeviceExecutionStatus = value; }
140
142
145 inline const Aws::String& GetReason() const { return m_reason; }
146 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
147 template<typename ReasonT = Aws::String>
148 void SetReason(ReasonT&& value) { m_reasonHasBeenSet = true; m_reason = std::forward<ReasonT>(value); }
149 template<typename ReasonT = Aws::String>
150 EffectiveDeployment& WithReason(ReasonT&& value) { SetReason(std::forward<ReasonT>(value)); return *this;}
152
154
158 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
159 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
160 template<typename CreationTimestampT = Aws::Utils::DateTime>
161 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
162 template<typename CreationTimestampT = Aws::Utils::DateTime>
163 EffectiveDeployment& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
165
167
171 inline const Aws::Utils::DateTime& GetModifiedTimestamp() const { return m_modifiedTimestamp; }
172 inline bool ModifiedTimestampHasBeenSet() const { return m_modifiedTimestampHasBeenSet; }
173 template<typename ModifiedTimestampT = Aws::Utils::DateTime>
174 void SetModifiedTimestamp(ModifiedTimestampT&& value) { m_modifiedTimestampHasBeenSet = true; m_modifiedTimestamp = std::forward<ModifiedTimestampT>(value); }
175 template<typename ModifiedTimestampT = Aws::Utils::DateTime>
176 EffectiveDeployment& WithModifiedTimestamp(ModifiedTimestampT&& value) { SetModifiedTimestamp(std::forward<ModifiedTimestampT>(value)); return *this;}
178
180
184 inline const EffectiveDeploymentStatusDetails& GetStatusDetails() const { return m_statusDetails; }
185 inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; }
186 template<typename StatusDetailsT = EffectiveDeploymentStatusDetails>
187 void SetStatusDetails(StatusDetailsT&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::forward<StatusDetailsT>(value); }
188 template<typename StatusDetailsT = EffectiveDeploymentStatusDetails>
189 EffectiveDeployment& WithStatusDetails(StatusDetailsT&& value) { SetStatusDetails(std::forward<StatusDetailsT>(value)); return *this;}
191 private:
192
193 Aws::String m_deploymentId;
194 bool m_deploymentIdHasBeenSet = false;
195
196 Aws::String m_deploymentName;
197 bool m_deploymentNameHasBeenSet = false;
198
199 Aws::String m_iotJobId;
200 bool m_iotJobIdHasBeenSet = false;
201
202 Aws::String m_iotJobArn;
203 bool m_iotJobArnHasBeenSet = false;
204
205 Aws::String m_description;
206 bool m_descriptionHasBeenSet = false;
207
208 Aws::String m_targetArn;
209 bool m_targetArnHasBeenSet = false;
210
212 bool m_coreDeviceExecutionStatusHasBeenSet = false;
213
214 Aws::String m_reason;
215 bool m_reasonHasBeenSet = false;
216
217 Aws::Utils::DateTime m_creationTimestamp{};
218 bool m_creationTimestampHasBeenSet = false;
219
220 Aws::Utils::DateTime m_modifiedTimestamp{};
221 bool m_modifiedTimestampHasBeenSet = false;
222
223 EffectiveDeploymentStatusDetails m_statusDetails;
224 bool m_statusDetailsHasBeenSet = false;
225 };
226
227} // namespace Model
228} // namespace GreengrassV2
229} // namespace Aws
const Aws::Utils::DateTime & GetCreationTimestamp() const
EffectiveDeployment & WithModifiedTimestamp(ModifiedTimestampT &&value)
void SetCreationTimestamp(CreationTimestampT &&value)
EffectiveDeployment & WithReason(ReasonT &&value)
EffectiveDeploymentExecutionStatus GetCoreDeviceExecutionStatus() const
EffectiveDeployment & WithTargetArn(TargetArnT &&value)
EffectiveDeployment & WithCoreDeviceExecutionStatus(EffectiveDeploymentExecutionStatus value)
EffectiveDeployment & WithDeploymentName(DeploymentNameT &&value)
EffectiveDeployment & WithCreationTimestamp(CreationTimestampT &&value)
EffectiveDeployment & WithStatusDetails(StatusDetailsT &&value)
const Aws::Utils::DateTime & GetModifiedTimestamp() const
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASSV2_API EffectiveDeployment()=default
AWS_GREENGRASSV2_API EffectiveDeployment(Aws::Utils::Json::JsonView jsonValue)
EffectiveDeployment & WithDescription(DescriptionT &&value)
void SetModifiedTimestamp(ModifiedTimestampT &&value)
const EffectiveDeploymentStatusDetails & GetStatusDetails() const
AWS_GREENGRASSV2_API EffectiveDeployment & operator=(Aws::Utils::Json::JsonView jsonValue)
EffectiveDeployment & WithIotJobArn(IotJobArnT &&value)
void SetCoreDeviceExecutionStatus(EffectiveDeploymentExecutionStatus value)
EffectiveDeployment & WithDeploymentId(DeploymentIdT &&value)
EffectiveDeployment & WithIotJobId(IotJobIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue