AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDeploymentName(const Aws::String& value) { m_deploymentNameHasBeenSet = true; m_deploymentName = value; }
51 inline void SetDeploymentName(Aws::String&& value) { m_deploymentNameHasBeenSet = true; m_deploymentName = std::move(value); }
52 inline void SetDeploymentName(const char* value) { m_deploymentNameHasBeenSet = true; m_deploymentName.assign(value); }
53 inline DeploymentResult& WithDeploymentName(const Aws::String& value) { SetDeploymentName(value); return *this;}
54 inline DeploymentResult& WithDeploymentName(Aws::String&& value) { SetDeploymentName(std::move(value)); return *this;}
55 inline DeploymentResult& WithDeploymentName(const char* value) { SetDeploymentName(value); return *this;}
57
59
62 inline const Aws::String& GetDeploymentStatus() const{ return m_deploymentStatus; }
63 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
64 inline void SetDeploymentStatus(const Aws::String& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
65 inline void SetDeploymentStatus(Aws::String&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::move(value); }
66 inline void SetDeploymentStatus(const char* value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus.assign(value); }
67 inline DeploymentResult& WithDeploymentStatus(const Aws::String& value) { SetDeploymentStatus(value); return *this;}
68 inline DeploymentResult& WithDeploymentStatus(Aws::String&& value) { SetDeploymentStatus(std::move(value)); return *this;}
69 inline DeploymentResult& WithDeploymentStatus(const char* value) { SetDeploymentStatus(value); return *this;}
71
73
76 inline const Aws::String& GetDeploymentStatusMessage() const{ return m_deploymentStatusMessage; }
77 inline bool DeploymentStatusMessageHasBeenSet() const { return m_deploymentStatusMessageHasBeenSet; }
78 inline void SetDeploymentStatusMessage(const Aws::String& value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage = value; }
79 inline void SetDeploymentStatusMessage(Aws::String&& value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage = std::move(value); }
80 inline void SetDeploymentStatusMessage(const char* value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage.assign(value); }
82 inline DeploymentResult& WithDeploymentStatusMessage(Aws::String&& value) { SetDeploymentStatusMessage(std::move(value)); return *this;}
83 inline DeploymentResult& WithDeploymentStatusMessage(const char* value) { SetDeploymentStatusMessage(value); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetDeploymentStartTime() const{ return m_deploymentStartTime; }
91 inline bool DeploymentStartTimeHasBeenSet() const { return m_deploymentStartTimeHasBeenSet; }
92 inline void SetDeploymentStartTime(const Aws::Utils::DateTime& value) { m_deploymentStartTimeHasBeenSet = true; m_deploymentStartTime = value; }
93 inline void SetDeploymentStartTime(Aws::Utils::DateTime&& value) { m_deploymentStartTimeHasBeenSet = true; m_deploymentStartTime = std::move(value); }
95 inline DeploymentResult& WithDeploymentStartTime(Aws::Utils::DateTime&& value) { SetDeploymentStartTime(std::move(value)); return *this;}
97
99
103 inline const Aws::Utils::DateTime& GetDeploymentEndTime() const{ return m_deploymentEndTime; }
104 inline bool DeploymentEndTimeHasBeenSet() const { return m_deploymentEndTimeHasBeenSet; }
105 inline void SetDeploymentEndTime(const Aws::Utils::DateTime& value) { m_deploymentEndTimeHasBeenSet = true; m_deploymentEndTime = value; }
106 inline void SetDeploymentEndTime(Aws::Utils::DateTime&& value) { m_deploymentEndTimeHasBeenSet = true; m_deploymentEndTime = std::move(value); }
108 inline DeploymentResult& WithDeploymentEndTime(Aws::Utils::DateTime&& value) { SetDeploymentEndTime(std::move(value)); return *this;}
110
112
115 inline const Aws::Vector<DeploymentModel>& GetDeploymentModels() const{ return m_deploymentModels; }
116 inline bool DeploymentModelsHasBeenSet() const { return m_deploymentModelsHasBeenSet; }
117 inline void SetDeploymentModels(const Aws::Vector<DeploymentModel>& value) { m_deploymentModelsHasBeenSet = true; m_deploymentModels = value; }
118 inline void SetDeploymentModels(Aws::Vector<DeploymentModel>&& value) { m_deploymentModelsHasBeenSet = true; m_deploymentModels = std::move(value); }
121 inline DeploymentResult& AddDeploymentModels(const DeploymentModel& value) { m_deploymentModelsHasBeenSet = true; m_deploymentModels.push_back(value); return *this; }
122 inline DeploymentResult& AddDeploymentModels(DeploymentModel&& value) { m_deploymentModelsHasBeenSet = true; m_deploymentModels.push_back(std::move(value)); return *this; }
124 private:
125
126 Aws::String m_deploymentName;
127 bool m_deploymentNameHasBeenSet = false;
128
129 Aws::String m_deploymentStatus;
130 bool m_deploymentStatusHasBeenSet = false;
131
132 Aws::String m_deploymentStatusMessage;
133 bool m_deploymentStatusMessageHasBeenSet = false;
134
135 Aws::Utils::DateTime m_deploymentStartTime;
136 bool m_deploymentStartTimeHasBeenSet = false;
137
138 Aws::Utils::DateTime m_deploymentEndTime;
139 bool m_deploymentEndTimeHasBeenSet = false;
140
141 Aws::Vector<DeploymentModel> m_deploymentModels;
142 bool m_deploymentModelsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace SagemakerEdgeManager
147} // namespace Aws
AWS_SAGEMAKEREDGEMANAGER_API DeploymentResult()
DeploymentResult & WithDeploymentStartTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKEREDGEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeploymentModels(Aws::Vector< DeploymentModel > &&value)
void SetDeploymentEndTime(Aws::Utils::DateTime &&value)
DeploymentResult & WithDeploymentModels(Aws::Vector< DeploymentModel > &&value)
DeploymentResult & WithDeploymentEndTime(const Aws::Utils::DateTime &value)
DeploymentResult & WithDeploymentName(Aws::String &&value)
DeploymentResult & WithDeploymentStatusMessage(const Aws::String &value)
void SetDeploymentStatusMessage(const Aws::String &value)
DeploymentResult & WithDeploymentStatus(Aws::String &&value)
DeploymentResult & WithDeploymentStartTime(const Aws::Utils::DateTime &value)
void SetDeploymentModels(const Aws::Vector< DeploymentModel > &value)
AWS_SAGEMAKEREDGEMANAGER_API DeploymentResult & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentResult & WithDeploymentStatusMessage(const char *value)
DeploymentResult & WithDeploymentEndTime(Aws::Utils::DateTime &&value)
void SetDeploymentStartTime(const Aws::Utils::DateTime &value)
const Aws::Vector< DeploymentModel > & GetDeploymentModels() const
void SetDeploymentStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetDeploymentEndTime() const
AWS_SAGEMAKEREDGEMANAGER_API DeploymentResult(Aws::Utils::Json::JsonView jsonValue)
DeploymentResult & AddDeploymentModels(DeploymentModel &&value)
DeploymentResult & WithDeploymentStatusMessage(Aws::String &&value)
const Aws::Utils::DateTime & GetDeploymentStartTime() const
DeploymentResult & WithDeploymentName(const char *value)
DeploymentResult & WithDeploymentStatus(const char *value)
DeploymentResult & WithDeploymentModels(const Aws::Vector< DeploymentModel > &value)
DeploymentResult & WithDeploymentName(const Aws::String &value)
void SetDeploymentEndTime(const Aws::Utils::DateTime &value)
DeploymentResult & AddDeploymentModels(const DeploymentModel &value)
DeploymentResult & WithDeploymentStatus(const Aws::String &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