AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeEdgeDeploymentPlanResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/EdgeDeploymentModelConfig.h>
12#include <aws/sagemaker/model/DeploymentStageStatusSummary.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker
28{
29namespace Model
30{
32 {
33 public:
34 AWS_SAGEMAKER_API DescribeEdgeDeploymentPlanResult() = default;
37
38
40
43 inline const Aws::String& GetEdgeDeploymentPlanArn() const { return m_edgeDeploymentPlanArn; }
44 template<typename EdgeDeploymentPlanArnT = Aws::String>
45 void SetEdgeDeploymentPlanArn(EdgeDeploymentPlanArnT&& value) { m_edgeDeploymentPlanArnHasBeenSet = true; m_edgeDeploymentPlanArn = std::forward<EdgeDeploymentPlanArnT>(value); }
46 template<typename EdgeDeploymentPlanArnT = Aws::String>
47 DescribeEdgeDeploymentPlanResult& WithEdgeDeploymentPlanArn(EdgeDeploymentPlanArnT&& value) { SetEdgeDeploymentPlanArn(std::forward<EdgeDeploymentPlanArnT>(value)); return *this;}
49
51
54 inline const Aws::String& GetEdgeDeploymentPlanName() const { return m_edgeDeploymentPlanName; }
55 template<typename EdgeDeploymentPlanNameT = Aws::String>
56 void SetEdgeDeploymentPlanName(EdgeDeploymentPlanNameT&& value) { m_edgeDeploymentPlanNameHasBeenSet = true; m_edgeDeploymentPlanName = std::forward<EdgeDeploymentPlanNameT>(value); }
57 template<typename EdgeDeploymentPlanNameT = Aws::String>
58 DescribeEdgeDeploymentPlanResult& WithEdgeDeploymentPlanName(EdgeDeploymentPlanNameT&& value) { SetEdgeDeploymentPlanName(std::forward<EdgeDeploymentPlanNameT>(value)); return *this;}
60
62
65 inline const Aws::Vector<EdgeDeploymentModelConfig>& GetModelConfigs() const { return m_modelConfigs; }
66 template<typename ModelConfigsT = Aws::Vector<EdgeDeploymentModelConfig>>
67 void SetModelConfigs(ModelConfigsT&& value) { m_modelConfigsHasBeenSet = true; m_modelConfigs = std::forward<ModelConfigsT>(value); }
68 template<typename ModelConfigsT = Aws::Vector<EdgeDeploymentModelConfig>>
69 DescribeEdgeDeploymentPlanResult& WithModelConfigs(ModelConfigsT&& value) { SetModelConfigs(std::forward<ModelConfigsT>(value)); return *this;}
70 template<typename ModelConfigsT = EdgeDeploymentModelConfig>
71 DescribeEdgeDeploymentPlanResult& AddModelConfigs(ModelConfigsT&& value) { m_modelConfigsHasBeenSet = true; m_modelConfigs.emplace_back(std::forward<ModelConfigsT>(value)); return *this; }
73
75
78 inline const Aws::String& GetDeviceFleetName() const { return m_deviceFleetName; }
79 template<typename DeviceFleetNameT = Aws::String>
80 void SetDeviceFleetName(DeviceFleetNameT&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::forward<DeviceFleetNameT>(value); }
81 template<typename DeviceFleetNameT = Aws::String>
82 DescribeEdgeDeploymentPlanResult& WithDeviceFleetName(DeviceFleetNameT&& value) { SetDeviceFleetName(std::forward<DeviceFleetNameT>(value)); return *this;}
84
86
89 inline int GetEdgeDeploymentSuccess() const { return m_edgeDeploymentSuccess; }
90 inline void SetEdgeDeploymentSuccess(int value) { m_edgeDeploymentSuccessHasBeenSet = true; m_edgeDeploymentSuccess = value; }
93
95
98 inline int GetEdgeDeploymentPending() const { return m_edgeDeploymentPending; }
99 inline void SetEdgeDeploymentPending(int value) { m_edgeDeploymentPendingHasBeenSet = true; m_edgeDeploymentPending = value; }
102
104
107 inline int GetEdgeDeploymentFailed() const { return m_edgeDeploymentFailed; }
108 inline void SetEdgeDeploymentFailed(int value) { m_edgeDeploymentFailedHasBeenSet = true; m_edgeDeploymentFailed = value; }
111
113
116 inline const Aws::Vector<DeploymentStageStatusSummary>& GetStages() const { return m_stages; }
117 template<typename StagesT = Aws::Vector<DeploymentStageStatusSummary>>
118 void SetStages(StagesT&& value) { m_stagesHasBeenSet = true; m_stages = std::forward<StagesT>(value); }
119 template<typename StagesT = Aws::Vector<DeploymentStageStatusSummary>>
120 DescribeEdgeDeploymentPlanResult& WithStages(StagesT&& value) { SetStages(std::forward<StagesT>(value)); return *this;}
121 template<typename StagesT = DeploymentStageStatusSummary>
122 DescribeEdgeDeploymentPlanResult& AddStages(StagesT&& value) { m_stagesHasBeenSet = true; m_stages.emplace_back(std::forward<StagesT>(value)); return *this; }
124
126
130 inline const Aws::String& GetNextToken() const { return m_nextToken; }
131 template<typename NextTokenT = Aws::String>
132 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
133 template<typename NextTokenT = Aws::String>
134 DescribeEdgeDeploymentPlanResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
136
138
141 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
142 template<typename CreationTimeT = Aws::Utils::DateTime>
143 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
144 template<typename CreationTimeT = Aws::Utils::DateTime>
145 DescribeEdgeDeploymentPlanResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
147
149
152 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
153 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
154 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
155 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
156 DescribeEdgeDeploymentPlanResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
158
160
161 inline const Aws::String& GetRequestId() const { return m_requestId; }
162 template<typename RequestIdT = Aws::String>
163 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
164 template<typename RequestIdT = Aws::String>
165 DescribeEdgeDeploymentPlanResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
167 private:
168
169 Aws::String m_edgeDeploymentPlanArn;
170 bool m_edgeDeploymentPlanArnHasBeenSet = false;
171
172 Aws::String m_edgeDeploymentPlanName;
173 bool m_edgeDeploymentPlanNameHasBeenSet = false;
174
176 bool m_modelConfigsHasBeenSet = false;
177
178 Aws::String m_deviceFleetName;
179 bool m_deviceFleetNameHasBeenSet = false;
180
181 int m_edgeDeploymentSuccess{0};
182 bool m_edgeDeploymentSuccessHasBeenSet = false;
183
184 int m_edgeDeploymentPending{0};
185 bool m_edgeDeploymentPendingHasBeenSet = false;
186
187 int m_edgeDeploymentFailed{0};
188 bool m_edgeDeploymentFailedHasBeenSet = false;
189
191 bool m_stagesHasBeenSet = false;
192
193 Aws::String m_nextToken;
194 bool m_nextTokenHasBeenSet = false;
195
196 Aws::Utils::DateTime m_creationTime{};
197 bool m_creationTimeHasBeenSet = false;
198
199 Aws::Utils::DateTime m_lastModifiedTime{};
200 bool m_lastModifiedTimeHasBeenSet = false;
201
202 Aws::String m_requestId;
203 bool m_requestIdHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace SageMaker
208} // 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