AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeploymentResult.h
1
6#pragma once
7#include <aws/sagemaker-edge/SagemakerEdgeManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker-edge/model/DeploymentModel.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SagemakerEdgeManager
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SAGEMAKEREDGEMANAGER_API DeploymentResult() = default;
39 AWS_SAGEMAKEREDGEMANAGER_API DeploymentResult(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKEREDGEMANAGER_API DeploymentResult& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKEREDGEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDeploymentName() const { return m_deploymentName; }
49 inline bool DeploymentNameHasBeenSet() const { return m_deploymentNameHasBeenSet; }
50 template<typename DeploymentNameT = Aws::String>
51 void SetDeploymentName(DeploymentNameT&& value) { m_deploymentNameHasBeenSet = true; m_deploymentName = std::forward<DeploymentNameT>(value); }
52 template<typename DeploymentNameT = Aws::String>
53 DeploymentResult& WithDeploymentName(DeploymentNameT&& value) { SetDeploymentName(std::forward<DeploymentNameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetDeploymentStatus() const { return m_deploymentStatus; }
61 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
62 template<typename DeploymentStatusT = Aws::String>
63 void SetDeploymentStatus(DeploymentStatusT&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::forward<DeploymentStatusT>(value); }
64 template<typename DeploymentStatusT = Aws::String>
65 DeploymentResult& WithDeploymentStatus(DeploymentStatusT&& value) { SetDeploymentStatus(std::forward<DeploymentStatusT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDeploymentStatusMessage() const { return m_deploymentStatusMessage; }
73 inline bool DeploymentStatusMessageHasBeenSet() const { return m_deploymentStatusMessageHasBeenSet; }
74 template<typename DeploymentStatusMessageT = Aws::String>
75 void SetDeploymentStatusMessage(DeploymentStatusMessageT&& value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage = std::forward<DeploymentStatusMessageT>(value); }
76 template<typename DeploymentStatusMessageT = Aws::String>
77 DeploymentResult& WithDeploymentStatusMessage(DeploymentStatusMessageT&& value) { SetDeploymentStatusMessage(std::forward<DeploymentStatusMessageT>(value)); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetDeploymentStartTime() const { return m_deploymentStartTime; }
85 inline bool DeploymentStartTimeHasBeenSet() const { return m_deploymentStartTimeHasBeenSet; }
86 template<typename DeploymentStartTimeT = Aws::Utils::DateTime>
87 void SetDeploymentStartTime(DeploymentStartTimeT&& value) { m_deploymentStartTimeHasBeenSet = true; m_deploymentStartTime = std::forward<DeploymentStartTimeT>(value); }
88 template<typename DeploymentStartTimeT = Aws::Utils::DateTime>
89 DeploymentResult& WithDeploymentStartTime(DeploymentStartTimeT&& value) { SetDeploymentStartTime(std::forward<DeploymentStartTimeT>(value)); return *this;}
91
93
97 inline const Aws::Utils::DateTime& GetDeploymentEndTime() const { return m_deploymentEndTime; }
98 inline bool DeploymentEndTimeHasBeenSet() const { return m_deploymentEndTimeHasBeenSet; }
99 template<typename DeploymentEndTimeT = Aws::Utils::DateTime>
100 void SetDeploymentEndTime(DeploymentEndTimeT&& value) { m_deploymentEndTimeHasBeenSet = true; m_deploymentEndTime = std::forward<DeploymentEndTimeT>(value); }
101 template<typename DeploymentEndTimeT = Aws::Utils::DateTime>
102 DeploymentResult& WithDeploymentEndTime(DeploymentEndTimeT&& value) { SetDeploymentEndTime(std::forward<DeploymentEndTimeT>(value)); return *this;}
104
106
109 inline const Aws::Vector<DeploymentModel>& GetDeploymentModels() const { return m_deploymentModels; }
110 inline bool DeploymentModelsHasBeenSet() const { return m_deploymentModelsHasBeenSet; }
111 template<typename DeploymentModelsT = Aws::Vector<DeploymentModel>>
112 void SetDeploymentModels(DeploymentModelsT&& value) { m_deploymentModelsHasBeenSet = true; m_deploymentModels = std::forward<DeploymentModelsT>(value); }
113 template<typename DeploymentModelsT = Aws::Vector<DeploymentModel>>
114 DeploymentResult& WithDeploymentModels(DeploymentModelsT&& value) { SetDeploymentModels(std::forward<DeploymentModelsT>(value)); return *this;}
115 template<typename DeploymentModelsT = DeploymentModel>
116 DeploymentResult& AddDeploymentModels(DeploymentModelsT&& value) { m_deploymentModelsHasBeenSet = true; m_deploymentModels.emplace_back(std::forward<DeploymentModelsT>(value)); return *this; }
118 private:
119
120 Aws::String m_deploymentName;
121 bool m_deploymentNameHasBeenSet = false;
122
123 Aws::String m_deploymentStatus;
124 bool m_deploymentStatusHasBeenSet = false;
125
126 Aws::String m_deploymentStatusMessage;
127 bool m_deploymentStatusMessageHasBeenSet = false;
128
129 Aws::Utils::DateTime m_deploymentStartTime{};
130 bool m_deploymentStartTimeHasBeenSet = false;
131
132 Aws::Utils::DateTime m_deploymentEndTime{};
133 bool m_deploymentEndTimeHasBeenSet = false;
134
135 Aws::Vector<DeploymentModel> m_deploymentModels;
136 bool m_deploymentModelsHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace SagemakerEdgeManager
141} // namespace Aws
DeploymentResult & WithDeploymentStatus(DeploymentStatusT &&value)
DeploymentResult & AddDeploymentModels(DeploymentModelsT &&value)
DeploymentResult & WithDeploymentModels(DeploymentModelsT &&value)
AWS_SAGEMAKEREDGEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKEREDGEMANAGER_API DeploymentResult()=default
void SetDeploymentStatusMessage(DeploymentStatusMessageT &&value)
void SetDeploymentStartTime(DeploymentStartTimeT &&value)
AWS_SAGEMAKEREDGEMANAGER_API DeploymentResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DeploymentModel > & GetDeploymentModels() const
void SetDeploymentModels(DeploymentModelsT &&value)
DeploymentResult & WithDeploymentStatusMessage(DeploymentStatusMessageT &&value)
void SetDeploymentEndTime(DeploymentEndTimeT &&value)
const Aws::Utils::DateTime & GetDeploymentEndTime() const
void SetDeploymentStatus(DeploymentStatusT &&value)
AWS_SAGEMAKEREDGEMANAGER_API DeploymentResult(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetDeploymentStartTime() const
DeploymentResult & WithDeploymentEndTime(DeploymentEndTimeT &&value)
DeploymentResult & WithDeploymentStartTime(DeploymentStartTimeT &&value)
DeploymentResult & WithDeploymentName(DeploymentNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue