AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeEdgeDeploymentPlanResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/DeploymentStageStatusSummary.h>
12#include <aws/sagemaker/model/EdgeDeploymentModelConfig.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker {
26namespace Model {
28 public:
29 AWS_SAGEMAKER_API DescribeEdgeDeploymentPlanResult() = default;
32
34
37 inline const Aws::String& GetEdgeDeploymentPlanArn() const { return m_edgeDeploymentPlanArn; }
38 template <typename EdgeDeploymentPlanArnT = Aws::String>
39 void SetEdgeDeploymentPlanArn(EdgeDeploymentPlanArnT&& value) {
40 m_edgeDeploymentPlanArnHasBeenSet = true;
41 m_edgeDeploymentPlanArn = std::forward<EdgeDeploymentPlanArnT>(value);
42 }
43 template <typename EdgeDeploymentPlanArnT = Aws::String>
45 SetEdgeDeploymentPlanArn(std::forward<EdgeDeploymentPlanArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetEdgeDeploymentPlanName() const { return m_edgeDeploymentPlanName; }
55 template <typename EdgeDeploymentPlanNameT = Aws::String>
56 void SetEdgeDeploymentPlanName(EdgeDeploymentPlanNameT&& value) {
57 m_edgeDeploymentPlanNameHasBeenSet = true;
58 m_edgeDeploymentPlanName = std::forward<EdgeDeploymentPlanNameT>(value);
59 }
60 template <typename EdgeDeploymentPlanNameT = Aws::String>
62 SetEdgeDeploymentPlanName(std::forward<EdgeDeploymentPlanNameT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::Vector<EdgeDeploymentModelConfig>& GetModelConfigs() const { return m_modelConfigs; }
72 template <typename ModelConfigsT = Aws::Vector<EdgeDeploymentModelConfig>>
73 void SetModelConfigs(ModelConfigsT&& value) {
74 m_modelConfigsHasBeenSet = true;
75 m_modelConfigs = std::forward<ModelConfigsT>(value);
76 }
77 template <typename ModelConfigsT = Aws::Vector<EdgeDeploymentModelConfig>>
79 SetModelConfigs(std::forward<ModelConfigsT>(value));
80 return *this;
81 }
82 template <typename ModelConfigsT = EdgeDeploymentModelConfig>
84 m_modelConfigsHasBeenSet = true;
85 m_modelConfigs.emplace_back(std::forward<ModelConfigsT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetDeviceFleetName() const { return m_deviceFleetName; }
95 template <typename DeviceFleetNameT = Aws::String>
96 void SetDeviceFleetName(DeviceFleetNameT&& value) {
97 m_deviceFleetNameHasBeenSet = true;
98 m_deviceFleetName = std::forward<DeviceFleetNameT>(value);
99 }
100 template <typename DeviceFleetNameT = Aws::String>
102 SetDeviceFleetName(std::forward<DeviceFleetNameT>(value));
103 return *this;
104 }
106
108
111 inline int GetEdgeDeploymentSuccess() const { return m_edgeDeploymentSuccess; }
112 inline void SetEdgeDeploymentSuccess(int value) {
113 m_edgeDeploymentSuccessHasBeenSet = true;
114 m_edgeDeploymentSuccess = value;
115 }
118 return *this;
119 }
121
123
126 inline int GetEdgeDeploymentPending() const { return m_edgeDeploymentPending; }
127 inline void SetEdgeDeploymentPending(int value) {
128 m_edgeDeploymentPendingHasBeenSet = true;
129 m_edgeDeploymentPending = value;
130 }
133 return *this;
134 }
136
138
141 inline int GetEdgeDeploymentFailed() const { return m_edgeDeploymentFailed; }
142 inline void SetEdgeDeploymentFailed(int value) {
143 m_edgeDeploymentFailedHasBeenSet = true;
144 m_edgeDeploymentFailed = value;
145 }
148 return *this;
149 }
151
153
156 inline const Aws::Vector<DeploymentStageStatusSummary>& GetStages() const { return m_stages; }
157 template <typename StagesT = Aws::Vector<DeploymentStageStatusSummary>>
158 void SetStages(StagesT&& value) {
159 m_stagesHasBeenSet = true;
160 m_stages = std::forward<StagesT>(value);
161 }
162 template <typename StagesT = Aws::Vector<DeploymentStageStatusSummary>>
164 SetStages(std::forward<StagesT>(value));
165 return *this;
166 }
167 template <typename StagesT = DeploymentStageStatusSummary>
169 m_stagesHasBeenSet = true;
170 m_stages.emplace_back(std::forward<StagesT>(value));
171 return *this;
172 }
174
176
180 inline const Aws::String& GetNextToken() const { return m_nextToken; }
181 template <typename NextTokenT = Aws::String>
182 void SetNextToken(NextTokenT&& value) {
183 m_nextTokenHasBeenSet = true;
184 m_nextToken = std::forward<NextTokenT>(value);
185 }
186 template <typename NextTokenT = Aws::String>
188 SetNextToken(std::forward<NextTokenT>(value));
189 return *this;
190 }
192
194
197 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
198 template <typename CreationTimeT = Aws::Utils::DateTime>
199 void SetCreationTime(CreationTimeT&& value) {
200 m_creationTimeHasBeenSet = true;
201 m_creationTime = std::forward<CreationTimeT>(value);
202 }
203 template <typename CreationTimeT = Aws::Utils::DateTime>
205 SetCreationTime(std::forward<CreationTimeT>(value));
206 return *this;
207 }
209
211
214 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
215 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
216 void SetLastModifiedTime(LastModifiedTimeT&& value) {
217 m_lastModifiedTimeHasBeenSet = true;
218 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
219 }
220 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
222 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
223 return *this;
224 }
226
228
229 inline const Aws::String& GetRequestId() const { return m_requestId; }
230 template <typename RequestIdT = Aws::String>
231 void SetRequestId(RequestIdT&& value) {
232 m_requestIdHasBeenSet = true;
233 m_requestId = std::forward<RequestIdT>(value);
234 }
235 template <typename RequestIdT = Aws::String>
237 SetRequestId(std::forward<RequestIdT>(value));
238 return *this;
239 }
241 private:
242 Aws::String m_edgeDeploymentPlanArn;
243
244 Aws::String m_edgeDeploymentPlanName;
245
247
248 Aws::String m_deviceFleetName;
249
250 int m_edgeDeploymentSuccess{0};
251
252 int m_edgeDeploymentPending{0};
253
254 int m_edgeDeploymentFailed{0};
255
257
258 Aws::String m_nextToken;
259
260 Aws::Utils::DateTime m_creationTime{};
261
262 Aws::Utils::DateTime m_lastModifiedTime{};
263
264 Aws::String m_requestId;
265 bool m_edgeDeploymentPlanArnHasBeenSet = false;
266 bool m_edgeDeploymentPlanNameHasBeenSet = false;
267 bool m_modelConfigsHasBeenSet = false;
268 bool m_deviceFleetNameHasBeenSet = false;
269 bool m_edgeDeploymentSuccessHasBeenSet = false;
270 bool m_edgeDeploymentPendingHasBeenSet = false;
271 bool m_edgeDeploymentFailedHasBeenSet = false;
272 bool m_stagesHasBeenSet = false;
273 bool m_nextTokenHasBeenSet = false;
274 bool m_creationTimeHasBeenSet = false;
275 bool m_lastModifiedTimeHasBeenSet = false;
276 bool m_requestIdHasBeenSet = false;
277};
278
279} // namespace Model
280} // namespace SageMaker
281} // namespace Aws
DescribeEdgeDeploymentPlanResult & WithEdgeDeploymentPending(int value)
DescribeEdgeDeploymentPlanResult & WithModelConfigs(ModelConfigsT &&value)
AWS_SAGEMAKER_API DescribeEdgeDeploymentPlanResult()=default
DescribeEdgeDeploymentPlanResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeEdgeDeploymentPlanResult & WithDeviceFleetName(DeviceFleetNameT &&value)
DescribeEdgeDeploymentPlanResult & WithEdgeDeploymentPlanName(EdgeDeploymentPlanNameT &&value)
DescribeEdgeDeploymentPlanResult & WithCreationTime(CreationTimeT &&value)
const Aws::Vector< DeploymentStageStatusSummary > & GetStages() const
const Aws::Vector< EdgeDeploymentModelConfig > & GetModelConfigs() const
DescribeEdgeDeploymentPlanResult & WithEdgeDeploymentFailed(int value)
AWS_SAGEMAKER_API DescribeEdgeDeploymentPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEdgeDeploymentPlanResult & AddModelConfigs(ModelConfigsT &&value)
DescribeEdgeDeploymentPlanResult & WithStages(StagesT &&value)
DescribeEdgeDeploymentPlanResult & WithEdgeDeploymentSuccess(int value)
DescribeEdgeDeploymentPlanResult & AddStages(StagesT &&value)
DescribeEdgeDeploymentPlanResult & WithEdgeDeploymentPlanArn(EdgeDeploymentPlanArnT &&value)
DescribeEdgeDeploymentPlanResult & WithRequestId(RequestIdT &&value)
DescribeEdgeDeploymentPlanResult & WithNextToken(NextTokenT &&value)
AWS_SAGEMAKER_API DescribeEdgeDeploymentPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue