/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an instance in a deployment.See Also:
AWS
* API Reference
The unique ID of a deployment.
*/ inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; } /** *The unique ID of a deployment.
*/ inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; } /** *The unique ID of a deployment.
*/ inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; } /** *The unique ID of a deployment.
*/ inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); } /** *The unique ID of a deployment.
*/ inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); } /** *The unique ID of a deployment.
*/ inline InstanceSummary& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;} /** *The unique ID of a deployment.
*/ inline InstanceSummary& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;} /** *The unique ID of a deployment.
*/ inline InstanceSummary& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;} /** *The instance ID.
*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *The instance ID.
*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *The instance ID.
*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *The instance ID.
*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *The instance ID.
*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *The instance ID.
*/ inline InstanceSummary& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *The instance ID.
*/ inline InstanceSummary& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *The instance ID.
*/ inline InstanceSummary& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *The deployment status for this instance:
* Pending
: The deployment is pending for this instance.
In Progress
: The deployment is in progress for this
* instance.
Succeeded
: The deployment has
* succeeded for this instance.
Failed
: The
* deployment has failed for this instance.
* Skipped
: The deployment has been skipped for this instance.
Unknown
: The deployment status is unknown for this
* instance.
The deployment status for this instance:
* Pending
: The deployment is pending for this instance.
In Progress
: The deployment is in progress for this
* instance.
Succeeded
: The deployment has
* succeeded for this instance.
Failed
: The
* deployment has failed for this instance.
* Skipped
: The deployment has been skipped for this instance.
Unknown
: The deployment status is unknown for this
* instance.
The deployment status for this instance:
* Pending
: The deployment is pending for this instance.
In Progress
: The deployment is in progress for this
* instance.
Succeeded
: The deployment has
* succeeded for this instance.
Failed
: The
* deployment has failed for this instance.
* Skipped
: The deployment has been skipped for this instance.
Unknown
: The deployment status is unknown for this
* instance.
The deployment status for this instance:
* Pending
: The deployment is pending for this instance.
In Progress
: The deployment is in progress for this
* instance.
Succeeded
: The deployment has
* succeeded for this instance.
Failed
: The
* deployment has failed for this instance.
* Skipped
: The deployment has been skipped for this instance.
Unknown
: The deployment status is unknown for this
* instance.
The deployment status for this instance:
* Pending
: The deployment is pending for this instance.
In Progress
: The deployment is in progress for this
* instance.
Succeeded
: The deployment has
* succeeded for this instance.
Failed
: The
* deployment has failed for this instance.
* Skipped
: The deployment has been skipped for this instance.
Unknown
: The deployment status is unknown for this
* instance.
The deployment status for this instance:
* Pending
: The deployment is pending for this instance.
In Progress
: The deployment is in progress for this
* instance.
Succeeded
: The deployment has
* succeeded for this instance.
Failed
: The
* deployment has failed for this instance.
* Skipped
: The deployment has been skipped for this instance.
Unknown
: The deployment status is unknown for this
* instance.
A timestamp that indicates when the instance information was last * updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *A timestamp that indicates when the instance information was last * updated.
*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *A timestamp that indicates when the instance information was last * updated.
*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *A timestamp that indicates when the instance information was last * updated.
*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *A timestamp that indicates when the instance information was last * updated.
*/ inline InstanceSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *A timestamp that indicates when the instance information was last * updated.
*/ inline InstanceSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *A list of lifecycle events for this instance.
*/ inline const Aws::VectorA list of lifecycle events for this instance.
*/ inline bool LifecycleEventsHasBeenSet() const { return m_lifecycleEventsHasBeenSet; } /** *A list of lifecycle events for this instance.
*/ inline void SetLifecycleEvents(const Aws::VectorA list of lifecycle events for this instance.
*/ inline void SetLifecycleEvents(Aws::VectorA list of lifecycle events for this instance.
*/ inline InstanceSummary& WithLifecycleEvents(const Aws::VectorA list of lifecycle events for this instance.
*/ inline InstanceSummary& WithLifecycleEvents(Aws::VectorA list of lifecycle events for this instance.
*/ inline InstanceSummary& AddLifecycleEvents(const LifecycleEvent& value) { m_lifecycleEventsHasBeenSet = true; m_lifecycleEvents.push_back(value); return *this; } /** *A list of lifecycle events for this instance.
*/ inline InstanceSummary& AddLifecycleEvents(LifecycleEvent&& value) { m_lifecycleEventsHasBeenSet = true; m_lifecycleEvents.push_back(std::move(value)); return *this; } /** *Information about which environment an instance belongs to in a blue/green * deployment.
BLUE: The instance is part of the original * environment.
GREEN: The instance is part of the replacement * environment.
Information about which environment an instance belongs to in a blue/green * deployment.
BLUE: The instance is part of the original * environment.
GREEN: The instance is part of the replacement * environment.
Information about which environment an instance belongs to in a blue/green * deployment.
BLUE: The instance is part of the original * environment.
GREEN: The instance is part of the replacement * environment.
Information about which environment an instance belongs to in a blue/green * deployment.
BLUE: The instance is part of the original * environment.
GREEN: The instance is part of the replacement * environment.
Information about which environment an instance belongs to in a blue/green * deployment.
BLUE: The instance is part of the original * environment.
GREEN: The instance is part of the replacement * environment.
Information about which environment an instance belongs to in a blue/green * deployment.
BLUE: The instance is part of the original * environment.
GREEN: The instance is part of the replacement * environment.