AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EdgeDeploymentPlanSummary.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/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API EdgeDeploymentPlanSummary() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetEdgeDeploymentPlanArn() const { return m_edgeDeploymentPlanArn; }
47 inline bool EdgeDeploymentPlanArnHasBeenSet() const { return m_edgeDeploymentPlanArnHasBeenSet; }
48 template<typename EdgeDeploymentPlanArnT = Aws::String>
49 void SetEdgeDeploymentPlanArn(EdgeDeploymentPlanArnT&& value) { m_edgeDeploymentPlanArnHasBeenSet = true; m_edgeDeploymentPlanArn = std::forward<EdgeDeploymentPlanArnT>(value); }
50 template<typename EdgeDeploymentPlanArnT = Aws::String>
51 EdgeDeploymentPlanSummary& WithEdgeDeploymentPlanArn(EdgeDeploymentPlanArnT&& value) { SetEdgeDeploymentPlanArn(std::forward<EdgeDeploymentPlanArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetEdgeDeploymentPlanName() const { return m_edgeDeploymentPlanName; }
59 inline bool EdgeDeploymentPlanNameHasBeenSet() const { return m_edgeDeploymentPlanNameHasBeenSet; }
60 template<typename EdgeDeploymentPlanNameT = Aws::String>
61 void SetEdgeDeploymentPlanName(EdgeDeploymentPlanNameT&& value) { m_edgeDeploymentPlanNameHasBeenSet = true; m_edgeDeploymentPlanName = std::forward<EdgeDeploymentPlanNameT>(value); }
62 template<typename EdgeDeploymentPlanNameT = Aws::String>
63 EdgeDeploymentPlanSummary& WithEdgeDeploymentPlanName(EdgeDeploymentPlanNameT&& value) { SetEdgeDeploymentPlanName(std::forward<EdgeDeploymentPlanNameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDeviceFleetName() const { return m_deviceFleetName; }
71 inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
72 template<typename DeviceFleetNameT = Aws::String>
73 void SetDeviceFleetName(DeviceFleetNameT&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::forward<DeviceFleetNameT>(value); }
74 template<typename DeviceFleetNameT = Aws::String>
75 EdgeDeploymentPlanSummary& WithDeviceFleetName(DeviceFleetNameT&& value) { SetDeviceFleetName(std::forward<DeviceFleetNameT>(value)); return *this;}
77
79
82 inline int GetEdgeDeploymentSuccess() const { return m_edgeDeploymentSuccess; }
83 inline bool EdgeDeploymentSuccessHasBeenSet() const { return m_edgeDeploymentSuccessHasBeenSet; }
84 inline void SetEdgeDeploymentSuccess(int value) { m_edgeDeploymentSuccessHasBeenSet = true; m_edgeDeploymentSuccess = value; }
87
89
92 inline int GetEdgeDeploymentPending() const { return m_edgeDeploymentPending; }
93 inline bool EdgeDeploymentPendingHasBeenSet() const { return m_edgeDeploymentPendingHasBeenSet; }
94 inline void SetEdgeDeploymentPending(int value) { m_edgeDeploymentPendingHasBeenSet = true; m_edgeDeploymentPending = value; }
97
99
102 inline int GetEdgeDeploymentFailed() const { return m_edgeDeploymentFailed; }
103 inline bool EdgeDeploymentFailedHasBeenSet() const { return m_edgeDeploymentFailedHasBeenSet; }
104 inline void SetEdgeDeploymentFailed(int value) { m_edgeDeploymentFailedHasBeenSet = true; m_edgeDeploymentFailed = value; }
107
109
112 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
113 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
114 template<typename CreationTimeT = Aws::Utils::DateTime>
115 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
116 template<typename CreationTimeT = Aws::Utils::DateTime>
117 EdgeDeploymentPlanSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
125 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
126 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
127 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
128 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
129 EdgeDeploymentPlanSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
131 private:
132
133 Aws::String m_edgeDeploymentPlanArn;
134 bool m_edgeDeploymentPlanArnHasBeenSet = false;
135
136 Aws::String m_edgeDeploymentPlanName;
137 bool m_edgeDeploymentPlanNameHasBeenSet = false;
138
139 Aws::String m_deviceFleetName;
140 bool m_deviceFleetNameHasBeenSet = false;
141
142 int m_edgeDeploymentSuccess{0};
143 bool m_edgeDeploymentSuccessHasBeenSet = false;
144
145 int m_edgeDeploymentPending{0};
146 bool m_edgeDeploymentPendingHasBeenSet = false;
147
148 int m_edgeDeploymentFailed{0};
149 bool m_edgeDeploymentFailedHasBeenSet = false;
150
151 Aws::Utils::DateTime m_creationTime{};
152 bool m_creationTimeHasBeenSet = false;
153
154 Aws::Utils::DateTime m_lastModifiedTime{};
155 bool m_lastModifiedTimeHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace SageMaker
160} // namespace Aws
AWS_SAGEMAKER_API EdgeDeploymentPlanSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API EdgeDeploymentPlanSummary()=default
AWS_SAGEMAKER_API EdgeDeploymentPlanSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EdgeDeploymentPlanSummary & WithEdgeDeploymentSuccess(int value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetEdgeDeploymentPlanName(EdgeDeploymentPlanNameT &&value)
EdgeDeploymentPlanSummary & WithDeviceFleetName(DeviceFleetNameT &&value)
EdgeDeploymentPlanSummary & WithEdgeDeploymentPlanName(EdgeDeploymentPlanNameT &&value)
EdgeDeploymentPlanSummary & WithCreationTime(CreationTimeT &&value)
EdgeDeploymentPlanSummary & WithEdgeDeploymentPending(int value)
EdgeDeploymentPlanSummary & WithEdgeDeploymentFailed(int value)
EdgeDeploymentPlanSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
EdgeDeploymentPlanSummary & WithEdgeDeploymentPlanArn(EdgeDeploymentPlanArnT &&value)
void SetEdgeDeploymentPlanArn(EdgeDeploymentPlanArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue