7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/DeploymentStatus.h>
11#include <aws/datazone/model/DeploymentType.h>
12#include <aws/datazone/model/EnvironmentError.h>
45 template <
typename DeploymentIdT = Aws::String>
47 m_deploymentIdHasBeenSet =
true;
48 m_deploymentId = std::forward<DeploymentIdT>(value);
50 template <
typename DeploymentIdT = Aws::String>
64 m_deploymentTypeHasBeenSet =
true;
65 m_deploymentType = value;
80 m_deploymentStatusHasBeenSet =
true;
81 m_deploymentStatus = value;
95 template <
typename FailureReasonT = EnvironmentError>
97 m_failureReasonHasBeenSet =
true;
98 m_failureReason = std::forward<FailureReasonT>(value);
100 template <
typename FailureReasonT = EnvironmentError>
113 template <
typename MessagesT = Aws::Vector<Aws::String>>
115 m_messagesHasBeenSet =
true;
116 m_messages = std::forward<MessagesT>(value);
118 template <
typename MessagesT = Aws::Vector<Aws::String>>
123 template <
typename MessagesT = Aws::String>
125 m_messagesHasBeenSet =
true;
126 m_messages.emplace_back(std::forward<MessagesT>(value));
138 m_isDeploymentCompleteHasBeenSet =
true;
139 m_isDeploymentComplete = value;
153 EnvironmentError m_failureReason;
157 bool m_isDeploymentComplete{
false};
158 bool m_deploymentIdHasBeenSet =
false;
159 bool m_deploymentTypeHasBeenSet =
false;
160 bool m_deploymentStatusHasBeenSet =
false;
161 bool m_failureReasonHasBeenSet =
false;
162 bool m_messagesHasBeenSet =
false;
163 bool m_isDeploymentCompleteHasBeenSet =
false;
bool IsDeploymentCompleteHasBeenSet() const
Deployment & WithDeploymentType(DeploymentType value)
void SetDeploymentStatus(DeploymentStatus value)
Deployment & WithFailureReason(FailureReasonT &&value)
bool MessagesHasBeenSet() const
DeploymentType GetDeploymentType() const
bool FailureReasonHasBeenSet() const
void SetDeploymentType(DeploymentType value)
Deployment & WithDeploymentId(DeploymentIdT &&value)
bool DeploymentTypeHasBeenSet() const
const Aws::String & GetDeploymentId() const
bool DeploymentIdHasBeenSet() const
bool GetIsDeploymentComplete() const
const EnvironmentError & GetFailureReason() const
DeploymentStatus GetDeploymentStatus() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeploymentId(DeploymentIdT &&value)
Deployment & WithMessages(MessagesT &&value)
bool DeploymentStatusHasBeenSet() const
AWS_DATAZONE_API Deployment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetMessages() const
void SetIsDeploymentComplete(bool value)
AWS_DATAZONE_API Deployment(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Deployment()=default
Deployment & WithIsDeploymentComplete(bool value)
void SetFailureReason(FailureReasonT &&value)
Deployment & AddMessages(MessagesT &&value)
Deployment & WithDeploymentStatus(DeploymentStatus value)
void SetMessages(MessagesT &&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