AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EdgeDeploymentStatus.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/StageStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API EdgeDeploymentStatus();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const StageStatus& GetStageStatus() const{ return m_stageStatus; }
48 inline bool StageStatusHasBeenSet() const { return m_stageStatusHasBeenSet; }
49 inline void SetStageStatus(const StageStatus& value) { m_stageStatusHasBeenSet = true; m_stageStatus = value; }
50 inline void SetStageStatus(StageStatus&& value) { m_stageStatusHasBeenSet = true; m_stageStatus = std::move(value); }
51 inline EdgeDeploymentStatus& WithStageStatus(const StageStatus& value) { SetStageStatus(value); return *this;}
52 inline EdgeDeploymentStatus& WithStageStatus(StageStatus&& value) { SetStageStatus(std::move(value)); return *this;}
54
56
60 inline int GetEdgeDeploymentSuccessInStage() const{ return m_edgeDeploymentSuccessInStage; }
61 inline bool EdgeDeploymentSuccessInStageHasBeenSet() const { return m_edgeDeploymentSuccessInStageHasBeenSet; }
62 inline void SetEdgeDeploymentSuccessInStage(int value) { m_edgeDeploymentSuccessInStageHasBeenSet = true; m_edgeDeploymentSuccessInStage = value; }
65
67
71 inline int GetEdgeDeploymentPendingInStage() const{ return m_edgeDeploymentPendingInStage; }
72 inline bool EdgeDeploymentPendingInStageHasBeenSet() const { return m_edgeDeploymentPendingInStageHasBeenSet; }
73 inline void SetEdgeDeploymentPendingInStage(int value) { m_edgeDeploymentPendingInStageHasBeenSet = true; m_edgeDeploymentPendingInStage = value; }
76
78
81 inline int GetEdgeDeploymentFailedInStage() const{ return m_edgeDeploymentFailedInStage; }
82 inline bool EdgeDeploymentFailedInStageHasBeenSet() const { return m_edgeDeploymentFailedInStageHasBeenSet; }
83 inline void SetEdgeDeploymentFailedInStage(int value) { m_edgeDeploymentFailedInStageHasBeenSet = true; m_edgeDeploymentFailedInStage = value; }
86
88
91 inline const Aws::String& GetEdgeDeploymentStatusMessage() const{ return m_edgeDeploymentStatusMessage; }
92 inline bool EdgeDeploymentStatusMessageHasBeenSet() const { return m_edgeDeploymentStatusMessageHasBeenSet; }
93 inline void SetEdgeDeploymentStatusMessage(const Aws::String& value) { m_edgeDeploymentStatusMessageHasBeenSet = true; m_edgeDeploymentStatusMessage = value; }
94 inline void SetEdgeDeploymentStatusMessage(Aws::String&& value) { m_edgeDeploymentStatusMessageHasBeenSet = true; m_edgeDeploymentStatusMessage = std::move(value); }
95 inline void SetEdgeDeploymentStatusMessage(const char* value) { m_edgeDeploymentStatusMessageHasBeenSet = true; m_edgeDeploymentStatusMessage.assign(value); }
100
102
105 inline const Aws::Utils::DateTime& GetEdgeDeploymentStageStartTime() const{ return m_edgeDeploymentStageStartTime; }
106 inline bool EdgeDeploymentStageStartTimeHasBeenSet() const { return m_edgeDeploymentStageStartTimeHasBeenSet; }
107 inline void SetEdgeDeploymentStageStartTime(const Aws::Utils::DateTime& value) { m_edgeDeploymentStageStartTimeHasBeenSet = true; m_edgeDeploymentStageStartTime = value; }
108 inline void SetEdgeDeploymentStageStartTime(Aws::Utils::DateTime&& value) { m_edgeDeploymentStageStartTimeHasBeenSet = true; m_edgeDeploymentStageStartTime = std::move(value); }
112 private:
113
114 StageStatus m_stageStatus;
115 bool m_stageStatusHasBeenSet = false;
116
117 int m_edgeDeploymentSuccessInStage;
118 bool m_edgeDeploymentSuccessInStageHasBeenSet = false;
119
120 int m_edgeDeploymentPendingInStage;
121 bool m_edgeDeploymentPendingInStageHasBeenSet = false;
122
123 int m_edgeDeploymentFailedInStage;
124 bool m_edgeDeploymentFailedInStageHasBeenSet = false;
125
126 Aws::String m_edgeDeploymentStatusMessage;
127 bool m_edgeDeploymentStatusMessageHasBeenSet = false;
128
129 Aws::Utils::DateTime m_edgeDeploymentStageStartTime;
130 bool m_edgeDeploymentStageStartTimeHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace SageMaker
135} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEdgeDeploymentStatusMessage(const Aws::String &value)
EdgeDeploymentStatus & WithEdgeDeploymentFailedInStage(int value)
EdgeDeploymentStatus & WithEdgeDeploymentStatusMessage(Aws::String &&value)
EdgeDeploymentStatus & WithEdgeDeploymentStageStartTime(Aws::Utils::DateTime &&value)
void SetStageStatus(const StageStatus &value)
EdgeDeploymentStatus & WithEdgeDeploymentStatusMessage(const Aws::String &value)
void SetEdgeDeploymentStageStartTime(Aws::Utils::DateTime &&value)
EdgeDeploymentStatus & WithStageStatus(StageStatus &&value)
const Aws::String & GetEdgeDeploymentStatusMessage() const
EdgeDeploymentStatus & WithStageStatus(const StageStatus &value)
AWS_SAGEMAKER_API EdgeDeploymentStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
EdgeDeploymentStatus & WithEdgeDeploymentStageStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEdgeDeploymentStageStartTime() const
EdgeDeploymentStatus & WithEdgeDeploymentSuccessInStage(int value)
AWS_SAGEMAKER_API EdgeDeploymentStatus(Aws::Utils::Json::JsonView jsonValue)
EdgeDeploymentStatus & WithEdgeDeploymentStatusMessage(const char *value)
void SetEdgeDeploymentStatusMessage(Aws::String &&value)
EdgeDeploymentStatus & WithEdgeDeploymentPendingInStage(int value)
void SetEdgeDeploymentStageStartTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue