AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DeviceDeploymentSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/DeviceDeploymentStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
31 public:
32 AWS_SAGEMAKER_API DeviceDeploymentSummary() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetEdgeDeploymentPlanArn() const { return m_edgeDeploymentPlanArn; }
42 inline bool EdgeDeploymentPlanArnHasBeenSet() const { return m_edgeDeploymentPlanArnHasBeenSet; }
43 template <typename EdgeDeploymentPlanArnT = Aws::String>
44 void SetEdgeDeploymentPlanArn(EdgeDeploymentPlanArnT&& value) {
45 m_edgeDeploymentPlanArnHasBeenSet = true;
46 m_edgeDeploymentPlanArn = std::forward<EdgeDeploymentPlanArnT>(value);
47 }
48 template <typename EdgeDeploymentPlanArnT = Aws::String>
49 DeviceDeploymentSummary& WithEdgeDeploymentPlanArn(EdgeDeploymentPlanArnT&& value) {
50 SetEdgeDeploymentPlanArn(std::forward<EdgeDeploymentPlanArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetEdgeDeploymentPlanName() const { return m_edgeDeploymentPlanName; }
60 inline bool EdgeDeploymentPlanNameHasBeenSet() const { return m_edgeDeploymentPlanNameHasBeenSet; }
61 template <typename EdgeDeploymentPlanNameT = Aws::String>
62 void SetEdgeDeploymentPlanName(EdgeDeploymentPlanNameT&& value) {
63 m_edgeDeploymentPlanNameHasBeenSet = true;
64 m_edgeDeploymentPlanName = std::forward<EdgeDeploymentPlanNameT>(value);
65 }
66 template <typename EdgeDeploymentPlanNameT = Aws::String>
67 DeviceDeploymentSummary& WithEdgeDeploymentPlanName(EdgeDeploymentPlanNameT&& value) {
68 SetEdgeDeploymentPlanName(std::forward<EdgeDeploymentPlanNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetStageName() const { return m_stageName; }
78 inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; }
79 template <typename StageNameT = Aws::String>
80 void SetStageName(StageNameT&& value) {
81 m_stageNameHasBeenSet = true;
82 m_stageName = std::forward<StageNameT>(value);
83 }
84 template <typename StageNameT = Aws::String>
86 SetStageName(std::forward<StageNameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetDeployedStageName() const { return m_deployedStageName; }
96 inline bool DeployedStageNameHasBeenSet() const { return m_deployedStageNameHasBeenSet; }
97 template <typename DeployedStageNameT = Aws::String>
98 void SetDeployedStageName(DeployedStageNameT&& value) {
99 m_deployedStageNameHasBeenSet = true;
100 m_deployedStageName = std::forward<DeployedStageNameT>(value);
101 }
102 template <typename DeployedStageNameT = Aws::String>
103 DeviceDeploymentSummary& WithDeployedStageName(DeployedStageNameT&& value) {
104 SetDeployedStageName(std::forward<DeployedStageNameT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetDeviceFleetName() const { return m_deviceFleetName; }
114 inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
115 template <typename DeviceFleetNameT = Aws::String>
116 void SetDeviceFleetName(DeviceFleetNameT&& value) {
117 m_deviceFleetNameHasBeenSet = true;
118 m_deviceFleetName = std::forward<DeviceFleetNameT>(value);
119 }
120 template <typename DeviceFleetNameT = Aws::String>
121 DeviceDeploymentSummary& WithDeviceFleetName(DeviceFleetNameT&& value) {
122 SetDeviceFleetName(std::forward<DeviceFleetNameT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
132 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
133 template <typename DeviceNameT = Aws::String>
134 void SetDeviceName(DeviceNameT&& value) {
135 m_deviceNameHasBeenSet = true;
136 m_deviceName = std::forward<DeviceNameT>(value);
137 }
138 template <typename DeviceNameT = Aws::String>
140 SetDeviceName(std::forward<DeviceNameT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::String& GetDeviceArn() const { return m_deviceArn; }
150 inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
151 template <typename DeviceArnT = Aws::String>
152 void SetDeviceArn(DeviceArnT&& value) {
153 m_deviceArnHasBeenSet = true;
154 m_deviceArn = std::forward<DeviceArnT>(value);
155 }
156 template <typename DeviceArnT = Aws::String>
158 SetDeviceArn(std::forward<DeviceArnT>(value));
159 return *this;
160 }
162
164
167 inline DeviceDeploymentStatus GetDeviceDeploymentStatus() const { return m_deviceDeploymentStatus; }
168 inline bool DeviceDeploymentStatusHasBeenSet() const { return m_deviceDeploymentStatusHasBeenSet; }
170 m_deviceDeploymentStatusHasBeenSet = true;
171 m_deviceDeploymentStatus = value;
172 }
175 return *this;
176 }
178
180
183 inline const Aws::String& GetDeviceDeploymentStatusMessage() const { return m_deviceDeploymentStatusMessage; }
184 inline bool DeviceDeploymentStatusMessageHasBeenSet() const { return m_deviceDeploymentStatusMessageHasBeenSet; }
185 template <typename DeviceDeploymentStatusMessageT = Aws::String>
186 void SetDeviceDeploymentStatusMessage(DeviceDeploymentStatusMessageT&& value) {
187 m_deviceDeploymentStatusMessageHasBeenSet = true;
188 m_deviceDeploymentStatusMessage = std::forward<DeviceDeploymentStatusMessageT>(value);
189 }
190 template <typename DeviceDeploymentStatusMessageT = Aws::String>
191 DeviceDeploymentSummary& WithDeviceDeploymentStatusMessage(DeviceDeploymentStatusMessageT&& value) {
192 SetDeviceDeploymentStatusMessage(std::forward<DeviceDeploymentStatusMessageT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::String& GetDescription() const { return m_description; }
202 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
203 template <typename DescriptionT = Aws::String>
204 void SetDescription(DescriptionT&& value) {
205 m_descriptionHasBeenSet = true;
206 m_description = std::forward<DescriptionT>(value);
207 }
208 template <typename DescriptionT = Aws::String>
210 SetDescription(std::forward<DescriptionT>(value));
211 return *this;
212 }
214
216
219 inline const Aws::Utils::DateTime& GetDeploymentStartTime() const { return m_deploymentStartTime; }
220 inline bool DeploymentStartTimeHasBeenSet() const { return m_deploymentStartTimeHasBeenSet; }
221 template <typename DeploymentStartTimeT = Aws::Utils::DateTime>
222 void SetDeploymentStartTime(DeploymentStartTimeT&& value) {
223 m_deploymentStartTimeHasBeenSet = true;
224 m_deploymentStartTime = std::forward<DeploymentStartTimeT>(value);
225 }
226 template <typename DeploymentStartTimeT = Aws::Utils::DateTime>
227 DeviceDeploymentSummary& WithDeploymentStartTime(DeploymentStartTimeT&& value) {
228 SetDeploymentStartTime(std::forward<DeploymentStartTimeT>(value));
229 return *this;
230 }
232 private:
233 Aws::String m_edgeDeploymentPlanArn;
234
235 Aws::String m_edgeDeploymentPlanName;
236
237 Aws::String m_stageName;
238
239 Aws::String m_deployedStageName;
240
241 Aws::String m_deviceFleetName;
242
243 Aws::String m_deviceName;
244
245 Aws::String m_deviceArn;
246
248
249 Aws::String m_deviceDeploymentStatusMessage;
250
251 Aws::String m_description;
252
253 Aws::Utils::DateTime m_deploymentStartTime{};
254 bool m_edgeDeploymentPlanArnHasBeenSet = false;
255 bool m_edgeDeploymentPlanNameHasBeenSet = false;
256 bool m_stageNameHasBeenSet = false;
257 bool m_deployedStageNameHasBeenSet = false;
258 bool m_deviceFleetNameHasBeenSet = false;
259 bool m_deviceNameHasBeenSet = false;
260 bool m_deviceArnHasBeenSet = false;
261 bool m_deviceDeploymentStatusHasBeenSet = false;
262 bool m_deviceDeploymentStatusMessageHasBeenSet = false;
263 bool m_descriptionHasBeenSet = false;
264 bool m_deploymentStartTimeHasBeenSet = false;
265};
266
267} // namespace Model
268} // namespace SageMaker
269} // namespace Aws
DeviceDeploymentSummary & WithDeviceFleetName(DeviceFleetNameT &&value)
DeviceDeploymentSummary & WithStageName(StageNameT &&value)
DeviceDeploymentSummary & WithEdgeDeploymentPlanArn(EdgeDeploymentPlanArnT &&value)
DeviceDeploymentSummary & WithDeviceName(DeviceNameT &&value)
DeviceDeploymentSummary & WithDescription(DescriptionT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeviceDeploymentStatusMessage(DeviceDeploymentStatusMessageT &&value)
const Aws::Utils::DateTime & GetDeploymentStartTime() const
AWS_SAGEMAKER_API DeviceDeploymentSummary()=default
DeviceDeploymentSummary & WithDeviceDeploymentStatus(DeviceDeploymentStatus value)
void SetDeviceDeploymentStatus(DeviceDeploymentStatus value)
AWS_SAGEMAKER_API DeviceDeploymentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceDeploymentSummary & WithDeploymentStartTime(DeploymentStartTimeT &&value)
AWS_SAGEMAKER_API DeviceDeploymentSummary(Aws::Utils::Json::JsonView jsonValue)
DeviceDeploymentSummary & WithDeployedStageName(DeployedStageNameT &&value)
void SetDeploymentStartTime(DeploymentStartTimeT &&value)
void SetEdgeDeploymentPlanName(EdgeDeploymentPlanNameT &&value)
void SetEdgeDeploymentPlanArn(EdgeDeploymentPlanArnT &&value)
DeviceDeploymentSummary & WithDeviceArn(DeviceArnT &&value)
DeviceDeploymentSummary & WithEdgeDeploymentPlanName(EdgeDeploymentPlanNameT &&value)
DeviceDeploymentSummary & WithDeviceDeploymentStatusMessage(DeviceDeploymentStatusMessageT &&value)
void SetDeployedStageName(DeployedStageNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue