AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
EdgeDeploymentStatus.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/StageStatus.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 EdgeDeploymentStatus() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline StageStatus GetStageStatus() const { return m_stageStatus; }
42 inline bool StageStatusHasBeenSet() const { return m_stageStatusHasBeenSet; }
43 inline void SetStageStatus(StageStatus value) {
44 m_stageStatusHasBeenSet = true;
45 m_stageStatus = value;
46 }
48 SetStageStatus(value);
49 return *this;
50 }
52
54
58 inline int GetEdgeDeploymentSuccessInStage() const { return m_edgeDeploymentSuccessInStage; }
59 inline bool EdgeDeploymentSuccessInStageHasBeenSet() const { return m_edgeDeploymentSuccessInStageHasBeenSet; }
60 inline void SetEdgeDeploymentSuccessInStage(int value) {
61 m_edgeDeploymentSuccessInStageHasBeenSet = true;
62 m_edgeDeploymentSuccessInStage = value;
63 }
66 return *this;
67 }
69
71
75 inline int GetEdgeDeploymentPendingInStage() const { return m_edgeDeploymentPendingInStage; }
76 inline bool EdgeDeploymentPendingInStageHasBeenSet() const { return m_edgeDeploymentPendingInStageHasBeenSet; }
77 inline void SetEdgeDeploymentPendingInStage(int value) {
78 m_edgeDeploymentPendingInStageHasBeenSet = true;
79 m_edgeDeploymentPendingInStage = value;
80 }
83 return *this;
84 }
86
88
91 inline int GetEdgeDeploymentFailedInStage() const { return m_edgeDeploymentFailedInStage; }
92 inline bool EdgeDeploymentFailedInStageHasBeenSet() const { return m_edgeDeploymentFailedInStageHasBeenSet; }
93 inline void SetEdgeDeploymentFailedInStage(int value) {
94 m_edgeDeploymentFailedInStageHasBeenSet = true;
95 m_edgeDeploymentFailedInStage = value;
96 }
99 return *this;
100 }
102
104
107 inline const Aws::String& GetEdgeDeploymentStatusMessage() const { return m_edgeDeploymentStatusMessage; }
108 inline bool EdgeDeploymentStatusMessageHasBeenSet() const { return m_edgeDeploymentStatusMessageHasBeenSet; }
109 template <typename EdgeDeploymentStatusMessageT = Aws::String>
110 void SetEdgeDeploymentStatusMessage(EdgeDeploymentStatusMessageT&& value) {
111 m_edgeDeploymentStatusMessageHasBeenSet = true;
112 m_edgeDeploymentStatusMessage = std::forward<EdgeDeploymentStatusMessageT>(value);
113 }
114 template <typename EdgeDeploymentStatusMessageT = Aws::String>
115 EdgeDeploymentStatus& WithEdgeDeploymentStatusMessage(EdgeDeploymentStatusMessageT&& value) {
116 SetEdgeDeploymentStatusMessage(std::forward<EdgeDeploymentStatusMessageT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::Utils::DateTime& GetEdgeDeploymentStageStartTime() const { return m_edgeDeploymentStageStartTime; }
126 inline bool EdgeDeploymentStageStartTimeHasBeenSet() const { return m_edgeDeploymentStageStartTimeHasBeenSet; }
127 template <typename EdgeDeploymentStageStartTimeT = Aws::Utils::DateTime>
128 void SetEdgeDeploymentStageStartTime(EdgeDeploymentStageStartTimeT&& value) {
129 m_edgeDeploymentStageStartTimeHasBeenSet = true;
130 m_edgeDeploymentStageStartTime = std::forward<EdgeDeploymentStageStartTimeT>(value);
131 }
132 template <typename EdgeDeploymentStageStartTimeT = Aws::Utils::DateTime>
133 EdgeDeploymentStatus& WithEdgeDeploymentStageStartTime(EdgeDeploymentStageStartTimeT&& value) {
134 SetEdgeDeploymentStageStartTime(std::forward<EdgeDeploymentStageStartTimeT>(value));
135 return *this;
136 }
138 private:
139 StageStatus m_stageStatus{StageStatus::NOT_SET};
140
141 int m_edgeDeploymentSuccessInStage{0};
142
143 int m_edgeDeploymentPendingInStage{0};
144
145 int m_edgeDeploymentFailedInStage{0};
146
147 Aws::String m_edgeDeploymentStatusMessage;
148
149 Aws::Utils::DateTime m_edgeDeploymentStageStartTime{};
150 bool m_stageStatusHasBeenSet = false;
151 bool m_edgeDeploymentSuccessInStageHasBeenSet = false;
152 bool m_edgeDeploymentPendingInStageHasBeenSet = false;
153 bool m_edgeDeploymentFailedInStageHasBeenSet = false;
154 bool m_edgeDeploymentStatusMessageHasBeenSet = false;
155 bool m_edgeDeploymentStageStartTimeHasBeenSet = false;
156};
157
158} // namespace Model
159} // namespace SageMaker
160} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
EdgeDeploymentStatus & WithStageStatus(StageStatus value)
EdgeDeploymentStatus & WithEdgeDeploymentFailedInStage(int value)
EdgeDeploymentStatus & WithEdgeDeploymentStageStartTime(EdgeDeploymentStageStartTimeT &&value)
AWS_SAGEMAKER_API EdgeDeploymentStatus()=default
EdgeDeploymentStatus & WithEdgeDeploymentStatusMessage(EdgeDeploymentStatusMessageT &&value)
const Aws::String & GetEdgeDeploymentStatusMessage() const
AWS_SAGEMAKER_API EdgeDeploymentStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEdgeDeploymentStageStartTime() const
EdgeDeploymentStatus & WithEdgeDeploymentSuccessInStage(int value)
void SetEdgeDeploymentStatusMessage(EdgeDeploymentStatusMessageT &&value)
AWS_SAGEMAKER_API EdgeDeploymentStatus(Aws::Utils::Json::JsonView jsonValue)
void SetEdgeDeploymentStageStartTime(EdgeDeploymentStageStartTimeT &&value)
EdgeDeploymentStatus & WithEdgeDeploymentPendingInStage(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue