7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/proton/model/DeploymentStatus.h>
11#include <aws/proton/model/DeploymentState.h>
12#include <aws/proton/model/DeploymentTargetResourceType.h>
51 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
52 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
78 inline void SetComponentName(
const char* value) { m_componentNameHasBeenSet =
true; m_componentName.assign(value); }
116 inline void SetDeploymentStatusMessage(
const char* value) { m_deploymentStatusMessageHasBeenSet =
true; m_deploymentStatusMessage.assign(value); }
130 inline void SetEnvironmentName(
const char* value) { m_environmentNameHasBeenSet =
true; m_environmentName.assign(value); }
144 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
170 inline void SetLastAttemptedDeploymentId(
const char* value) { m_lastAttemptedDeploymentIdHasBeenSet =
true; m_lastAttemptedDeploymentId.assign(value); }
196 inline void SetLastSucceededDeploymentId(
const char* value) { m_lastSucceededDeploymentIdHasBeenSet =
true; m_lastSucceededDeploymentId.assign(value); }
210 inline void SetServiceInstanceName(
const char* value) { m_serviceInstanceNameHasBeenSet =
true; m_serviceInstanceName.assign(value); }
224 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
238 inline void SetTargetArn(
const char* value) { m_targetArnHasBeenSet =
true; m_targetArn.assign(value); }
283 bool m_arnHasBeenSet =
false;
286 bool m_completedAtHasBeenSet =
false;
289 bool m_componentNameHasBeenSet =
false;
292 bool m_createdAtHasBeenSet =
false;
295 bool m_deploymentStatusHasBeenSet =
false;
298 bool m_deploymentStatusMessageHasBeenSet =
false;
301 bool m_environmentNameHasBeenSet =
false;
304 bool m_idHasBeenSet =
false;
307 bool m_initialStateHasBeenSet =
false;
310 bool m_lastAttemptedDeploymentIdHasBeenSet =
false;
313 bool m_lastModifiedAtHasBeenSet =
false;
316 bool m_lastSucceededDeploymentIdHasBeenSet =
false;
319 bool m_serviceInstanceNameHasBeenSet =
false;
322 bool m_serviceNameHasBeenSet =
false;
325 bool m_targetArnHasBeenSet =
false;
328 bool m_targetResourceCreatedAtHasBeenSet =
false;
331 bool m_targetResourceTypeHasBeenSet =
false;
334 bool m_targetStateHasBeenSet =
false;
Deployment & WithArn(const char *value)
Deployment & WithTargetArn(Aws::String &&value)
void SetTargetResourceType(const DeploymentTargetResourceType &value)
void SetEnvironmentName(Aws::String &&value)
const Aws::String & GetId() const
Deployment & WithServiceInstanceName(const Aws::String &value)
bool LastModifiedAtHasBeenSet() const
void SetDeploymentStatusMessage(const char *value)
Deployment & WithDeploymentStatusMessage(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
Deployment & WithId(const Aws::String &value)
Deployment & WithDeploymentStatusMessage(const char *value)
Deployment & WithEnvironmentName(Aws::String &&value)
const Aws::String & GetServiceName() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
Deployment & WithLastModifiedAt(Aws::Utils::DateTime &&value)
void SetDeploymentStatusMessage(Aws::String &&value)
void SetServiceName(const char *value)
Deployment & WithLastAttemptedDeploymentId(const char *value)
void SetLastAttemptedDeploymentId(Aws::String &&value)
Deployment & WithInitialState(DeploymentState &&value)
const Aws::String & GetComponentName() const
bool DeploymentStatusHasBeenSet() const
Deployment & WithServiceName(Aws::String &&value)
Deployment & WithLastSucceededDeploymentId(const Aws::String &value)
void SetDeploymentStatusMessage(const Aws::String &value)
bool LastAttemptedDeploymentIdHasBeenSet() const
bool InitialStateHasBeenSet() const
Deployment & WithId(const char *value)
Deployment & WithServiceInstanceName(Aws::String &&value)
const DeploymentTargetResourceType & GetTargetResourceType() const
bool IdHasBeenSet() const
void SetArn(const Aws::String &value)
bool DeploymentStatusMessageHasBeenSet() const
Deployment & WithLastAttemptedDeploymentId(Aws::String &&value)
Deployment & WithTargetArn(const char *value)
void SetDeploymentStatus(DeploymentStatus &&value)
void SetTargetArn(const Aws::String &value)
Deployment & WithCompletedAt(Aws::Utils::DateTime &&value)
void SetTargetState(DeploymentState &&value)
bool LastSucceededDeploymentIdHasBeenSet() const
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
void SetEnvironmentName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
const DeploymentState & GetTargetState() const
bool EnvironmentNameHasBeenSet() const
AWS_PROTON_API Deployment()
void SetLastSucceededDeploymentId(const Aws::String &value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInitialState(DeploymentState &&value)
const Aws::String & GetArn() const
Deployment & WithTargetResourceType(DeploymentTargetResourceType &&value)
void SetTargetResourceType(DeploymentTargetResourceType &&value)
const DeploymentStatus & GetDeploymentStatus() const
void SetId(Aws::String &&value)
void SetServiceName(const Aws::String &value)
void SetCompletedAt(Aws::Utils::DateTime &&value)
Deployment & WithServiceName(const Aws::String &value)
Deployment & WithComponentName(const char *value)
Deployment & WithCreatedAt(Aws::Utils::DateTime &&value)
const DeploymentState & GetInitialState() const
bool ServiceInstanceNameHasBeenSet() const
const Aws::String & GetLastAttemptedDeploymentId() const
void SetId(const Aws::String &value)
bool ComponentNameHasBeenSet() const
Deployment & WithArn(const Aws::String &value)
void SetInitialState(const DeploymentState &value)
Deployment & WithServiceInstanceName(const char *value)
Deployment & WithTargetResourceCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetTargetResourceCreatedAt() const
Deployment & WithTargetState(DeploymentState &&value)
Deployment & WithEnvironmentName(const char *value)
void SetLastModifiedAt(Aws::Utils::DateTime &&value)
void SetArn(const char *value)
Deployment & WithDeploymentStatus(DeploymentStatus &&value)
AWS_PROTON_API Deployment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastAttemptedDeploymentId(const char *value)
const Aws::Utils::DateTime & GetCompletedAt() const
Deployment & WithTargetState(const DeploymentState &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetDeploymentStatusMessage() const
Deployment & WithComponentName(Aws::String &&value)
bool TargetResourceCreatedAtHasBeenSet() const
Deployment & WithServiceName(const char *value)
bool TargetStateHasBeenSet() const
Deployment & WithInitialState(const DeploymentState &value)
Deployment & WithDeploymentStatus(const DeploymentStatus &value)
Deployment & WithTargetArn(const Aws::String &value)
void SetCompletedAt(const Aws::Utils::DateTime &value)
Deployment & WithArn(Aws::String &&value)
Deployment & WithId(Aws::String &&value)
Deployment & WithComponentName(const Aws::String &value)
void SetTargetArn(Aws::String &&value)
void SetDeploymentStatus(const DeploymentStatus &value)
void SetLastAttemptedDeploymentId(const Aws::String &value)
AWS_PROTON_API Deployment(Aws::Utils::Json::JsonView jsonValue)
Deployment & WithLastModifiedAt(const Aws::Utils::DateTime &value)
bool TargetResourceTypeHasBeenSet() const
Deployment & WithTargetResourceCreatedAt(const Aws::Utils::DateTime &value)
bool ArnHasBeenSet() const
void SetTargetArn(const char *value)
const Aws::String & GetServiceInstanceName() const
void SetEnvironmentName(const char *value)
Deployment & WithCreatedAt(const Aws::Utils::DateTime &value)
bool CompletedAtHasBeenSet() const
void SetComponentName(const char *value)
Deployment & WithLastSucceededDeploymentId(const char *value)
void SetServiceInstanceName(const Aws::String &value)
const Aws::String & GetTargetArn() const
void SetComponentName(const Aws::String &value)
const Aws::String & GetLastSucceededDeploymentId() const
Deployment & WithLastAttemptedDeploymentId(const Aws::String &value)
void SetTargetResourceCreatedAt(Aws::Utils::DateTime &&value)
bool ServiceNameHasBeenSet() const
bool TargetArnHasBeenSet() const
Deployment & WithTargetResourceType(const DeploymentTargetResourceType &value)
Deployment & WithLastSucceededDeploymentId(Aws::String &&value)
void SetArn(Aws::String &&value)
const Aws::String & GetEnvironmentName() const
void SetLastSucceededDeploymentId(Aws::String &&value)
void SetId(const char *value)
Deployment & WithDeploymentStatusMessage(const Aws::String &value)
void SetComponentName(Aws::String &&value)
Deployment & WithCompletedAt(const Aws::Utils::DateTime &value)
void SetTargetState(const DeploymentState &value)
Deployment & WithEnvironmentName(const Aws::String &value)
bool CreatedAtHasBeenSet() const
void SetServiceName(Aws::String &&value)
void SetLastSucceededDeploymentId(const char *value)
void SetServiceInstanceName(Aws::String &&value)
void SetServiceInstanceName(const char *value)
void SetTargetResourceCreatedAt(const Aws::Utils::DateTime &value)
DeploymentTargetResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue