7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/DeploymentStatus.h>
10#include <aws/datazone/model/DeploymentType.h>
11#include <aws/datazone/model/EnvironmentError.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
51 template<
typename DeploymentIdT = Aws::String>
52 void SetDeploymentId(DeploymentIdT&& value) { m_deploymentIdHasBeenSet =
true; m_deploymentId = std::forward<DeploymentIdT>(value); }
53 template<
typename DeploymentIdT = Aws::String>
83 template<
typename FailureReasonT = EnvironmentError>
84 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
85 template<
typename FailureReasonT = EnvironmentError>
95 inline void SetIsDeploymentComplete(
bool value) { m_isDeploymentCompleteHasBeenSet =
true; m_isDeploymentComplete = value; }
105 template<
typename MessagesT = Aws::Vector<Aws::String>>
106 void SetMessages(MessagesT&& value) { m_messagesHasBeenSet =
true; m_messages = std::forward<MessagesT>(value); }
107 template<
typename MessagesT = Aws::Vector<Aws::String>>
109 template<
typename MessagesT = Aws::String>
110 Deployment&
AddMessages(MessagesT&& value) { m_messagesHasBeenSet =
true; m_messages.emplace_back(std::forward<MessagesT>(value));
return *
this; }
115 bool m_deploymentIdHasBeenSet =
false;
118 bool m_deploymentStatusHasBeenSet =
false;
121 bool m_deploymentTypeHasBeenSet =
false;
123 EnvironmentError m_failureReason;
124 bool m_failureReasonHasBeenSet =
false;
126 bool m_isDeploymentComplete{
false};
127 bool m_isDeploymentCompleteHasBeenSet =
false;
130 bool m_messagesHasBeenSet =
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