7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/proton/Proton_EXPORTS.h>
10#include <aws/proton/model/DeploymentState.h>
11#include <aws/proton/model/DeploymentStatus.h>
12#include <aws/proton/model/DeploymentTargetResourceType.h>
44 template <
typename ArnT = Aws::String>
46 m_arnHasBeenSet =
true;
47 m_arn = std::forward<ArnT>(value);
49 template <
typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
62 template <
typename CompletedAtT = Aws::Utils::DateTime>
64 m_completedAtHasBeenSet =
true;
65 m_completedAt = std::forward<CompletedAtT>(value);
67 template <
typename CompletedAtT = Aws::Utils::DateTime>
80 template <
typename ComponentNameT = Aws::String>
82 m_componentNameHasBeenSet =
true;
83 m_componentName = std::forward<ComponentNameT>(value);
85 template <
typename ComponentNameT = Aws::String>
98 template <
typename CreatedAtT = Aws::Utils::DateTime>
100 m_createdAtHasBeenSet =
true;
101 m_createdAt = std::forward<CreatedAtT>(value);
103 template <
typename CreatedAtT = Aws::Utils::DateTime>
117 m_deploymentStatusHasBeenSet =
true;
118 m_deploymentStatus = value;
132 template <
typename DeploymentStatusMessageT = Aws::String>
134 m_deploymentStatusMessageHasBeenSet =
true;
135 m_deploymentStatusMessage = std::forward<DeploymentStatusMessageT>(value);
137 template <
typename DeploymentStatusMessageT = Aws::String>
150 template <
typename EnvironmentNameT = Aws::String>
152 m_environmentNameHasBeenSet =
true;
153 m_environmentName = std::forward<EnvironmentNameT>(value);
155 template <
typename EnvironmentNameT = Aws::String>
168 template <
typename IdT = Aws::String>
170 m_idHasBeenSet =
true;
171 m_id = std::forward<IdT>(value);
173 template <
typename IdT = Aws::String>
175 SetId(std::forward<IdT>(value));
186 template <
typename InitialStateT = DeploymentState>
188 m_initialStateHasBeenSet =
true;
189 m_initialState = std::forward<InitialStateT>(value);
191 template <
typename InitialStateT = DeploymentState>
204 template <
typename LastAttemptedDeploymentIdT = Aws::String>
206 m_lastAttemptedDeploymentIdHasBeenSet =
true;
207 m_lastAttemptedDeploymentId = std::forward<LastAttemptedDeploymentIdT>(value);
209 template <
typename LastAttemptedDeploymentIdT = Aws::String>
222 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
224 m_lastModifiedAtHasBeenSet =
true;
225 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
227 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
240 template <
typename LastSucceededDeploymentIdT = Aws::String>
242 m_lastSucceededDeploymentIdHasBeenSet =
true;
243 m_lastSucceededDeploymentId = std::forward<LastSucceededDeploymentIdT>(value);
245 template <
typename LastSucceededDeploymentIdT = Aws::String>
258 template <
typename ServiceInstanceNameT = Aws::String>
260 m_serviceInstanceNameHasBeenSet =
true;
261 m_serviceInstanceName = std::forward<ServiceInstanceNameT>(value);
263 template <
typename ServiceInstanceNameT = Aws::String>
276 template <
typename ServiceNameT = Aws::String>
278 m_serviceNameHasBeenSet =
true;
279 m_serviceName = std::forward<ServiceNameT>(value);
281 template <
typename ServiceNameT = Aws::String>
294 template <
typename TargetArnT = Aws::String>
296 m_targetArnHasBeenSet =
true;
297 m_targetArn = std::forward<TargetArnT>(value);
299 template <
typename TargetArnT = Aws::String>
312 template <
typename TargetResourceCreatedAtT = Aws::Utils::DateTime>
314 m_targetResourceCreatedAtHasBeenSet =
true;
315 m_targetResourceCreatedAt = std::forward<TargetResourceCreatedAtT>(value);
317 template <
typename TargetResourceCreatedAtT = Aws::Utils::DateTime>
332 m_targetResourceTypeHasBeenSet =
true;
333 m_targetResourceType = value;
347 template <
typename TargetStateT = DeploymentState>
349 m_targetStateHasBeenSet =
true;
350 m_targetState = std::forward<TargetStateT>(value);
352 template <
typename TargetStateT = DeploymentState>
375 DeploymentState m_initialState;
393 DeploymentState m_targetState;
394 bool m_arnHasBeenSet =
false;
395 bool m_completedAtHasBeenSet =
false;
396 bool m_componentNameHasBeenSet =
false;
397 bool m_createdAtHasBeenSet =
false;
398 bool m_deploymentStatusHasBeenSet =
false;
399 bool m_deploymentStatusMessageHasBeenSet =
false;
400 bool m_environmentNameHasBeenSet =
false;
401 bool m_idHasBeenSet =
false;
402 bool m_initialStateHasBeenSet =
false;
403 bool m_lastAttemptedDeploymentIdHasBeenSet =
false;
404 bool m_lastModifiedAtHasBeenSet =
false;
405 bool m_lastSucceededDeploymentIdHasBeenSet =
false;
406 bool m_serviceInstanceNameHasBeenSet =
false;
407 bool m_serviceNameHasBeenSet =
false;
408 bool m_targetArnHasBeenSet =
false;
409 bool m_targetResourceCreatedAtHasBeenSet =
false;
410 bool m_targetResourceTypeHasBeenSet =
false;
411 bool m_targetStateHasBeenSet =
false;
Deployment & WithEnvironmentName(EnvironmentNameT &&value)
const Aws::String & GetId() const
bool LastModifiedAtHasBeenSet() const
AWS_PROTON_API Deployment()=default
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDeploymentStatus(DeploymentStatus value)
void SetComponentName(ComponentNameT &&value)
const Aws::String & GetServiceName() const
Deployment & WithServiceInstanceName(ServiceInstanceNameT &&value)
void SetLastAttemptedDeploymentId(LastAttemptedDeploymentIdT &&value)
const Aws::String & GetComponentName() const
bool DeploymentStatusHasBeenSet() const
Deployment & WithDeploymentStatus(DeploymentStatus value)
bool LastAttemptedDeploymentIdHasBeenSet() const
bool InitialStateHasBeenSet() const
void SetDeploymentStatusMessage(DeploymentStatusMessageT &&value)
bool IdHasBeenSet() const
bool DeploymentStatusMessageHasBeenSet() const
bool LastSucceededDeploymentIdHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedAt() const
const DeploymentState & GetTargetState() const
bool EnvironmentNameHasBeenSet() const
void SetTargetArn(TargetArnT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetArn() const
void SetInitialState(InitialStateT &&value)
Deployment & WithTargetArn(TargetArnT &&value)
Deployment & WithId(IdT &&value)
const DeploymentState & GetInitialState() const
bool ServiceInstanceNameHasBeenSet() const
const Aws::String & GetLastAttemptedDeploymentId() const
bool ComponentNameHasBeenSet() const
Deployment & WithTargetResourceCreatedAt(TargetResourceCreatedAtT &&value)
Deployment & WithComponentName(ComponentNameT &&value)
const Aws::Utils::DateTime & GetTargetResourceCreatedAt() const
void SetArn(ArnT &&value)
AWS_PROTON_API Deployment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCompletedAt() const
void SetLastSucceededDeploymentId(LastSucceededDeploymentIdT &&value)
const Aws::String & GetDeploymentStatusMessage() const
void SetCompletedAt(CompletedAtT &&value)
Deployment & WithCompletedAt(CompletedAtT &&value)
bool TargetResourceCreatedAtHasBeenSet() const
bool TargetStateHasBeenSet() const
Deployment & WithInitialState(InitialStateT &&value)
void SetTargetState(TargetStateT &&value)
void SetLastModifiedAt(LastModifiedAtT &&value)
Deployment & WithArn(ArnT &&value)
AWS_PROTON_API Deployment(Aws::Utils::Json::JsonView jsonValue)
DeploymentStatus GetDeploymentStatus() const
void SetServiceInstanceName(ServiceInstanceNameT &&value)
bool TargetResourceTypeHasBeenSet() const
bool ArnHasBeenSet() const
Deployment & WithTargetState(TargetStateT &&value)
const Aws::String & GetServiceInstanceName() const
void SetCreatedAt(CreatedAtT &&value)
bool CompletedAtHasBeenSet() const
const Aws::String & GetTargetArn() const
const Aws::String & GetLastSucceededDeploymentId() const
DeploymentTargetResourceType GetTargetResourceType() const
bool ServiceNameHasBeenSet() const
Deployment & WithTargetResourceType(DeploymentTargetResourceType value)
Deployment & WithLastSucceededDeploymentId(LastSucceededDeploymentIdT &&value)
bool TargetArnHasBeenSet() const
void SetTargetResourceCreatedAt(TargetResourceCreatedAtT &&value)
void SetServiceName(ServiceNameT &&value)
const Aws::String & GetEnvironmentName() const
Deployment & WithLastModifiedAt(LastModifiedAtT &&value)
void SetEnvironmentName(EnvironmentNameT &&value)
Deployment & WithLastAttemptedDeploymentId(LastAttemptedDeploymentIdT &&value)
bool CreatedAtHasBeenSet() const
void SetTargetResourceType(DeploymentTargetResourceType value)
Deployment & WithCreatedAt(CreatedAtT &&value)
Deployment & WithServiceName(ServiceNameT &&value)
Deployment & WithDeploymentStatusMessage(DeploymentStatusMessageT &&value)
DeploymentTargetResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue