AWS SDK for C++  1.9.108
AWS SDK for C++
Public Member Functions | List of all members
Aws::Lightsail::Model::ContainerServiceDeployment Class Reference

#include <ContainerServiceDeployment.h>

Public Member Functions

 ContainerServiceDeployment ()
 
 ContainerServiceDeployment (Aws::Utils::Json::JsonView jsonValue)
 
ContainerServiceDeploymentoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
int GetVersion () const
 
bool VersionHasBeenSet () const
 
void SetVersion (int value)
 
ContainerServiceDeploymentWithVersion (int value)
 
const ContainerServiceDeploymentStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const ContainerServiceDeploymentState &value)
 
void SetState (ContainerServiceDeploymentState &&value)
 
ContainerServiceDeploymentWithState (const ContainerServiceDeploymentState &value)
 
ContainerServiceDeploymentWithState (ContainerServiceDeploymentState &&value)
 
const Aws::Map< Aws::String, Container > & GetContainers () const
 
bool ContainersHasBeenSet () const
 
void SetContainers (const Aws::Map< Aws::String, Container > &value)
 
void SetContainers (Aws::Map< Aws::String, Container > &&value)
 
ContainerServiceDeploymentWithContainers (const Aws::Map< Aws::String, Container > &value)
 
ContainerServiceDeploymentWithContainers (Aws::Map< Aws::String, Container > &&value)
 
ContainerServiceDeploymentAddContainers (const Aws::String &key, const Container &value)
 
ContainerServiceDeploymentAddContainers (Aws::String &&key, const Container &value)
 
ContainerServiceDeploymentAddContainers (const Aws::String &key, Container &&value)
 
ContainerServiceDeploymentAddContainers (Aws::String &&key, Container &&value)
 
ContainerServiceDeploymentAddContainers (const char *key, Container &&value)
 
ContainerServiceDeploymentAddContainers (const char *key, const Container &value)
 
const ContainerServiceEndpointGetPublicEndpoint () const
 
bool PublicEndpointHasBeenSet () const
 
void SetPublicEndpoint (const ContainerServiceEndpoint &value)
 
void SetPublicEndpoint (ContainerServiceEndpoint &&value)
 
ContainerServiceDeploymentWithPublicEndpoint (const ContainerServiceEndpoint &value)
 
ContainerServiceDeploymentWithPublicEndpoint (ContainerServiceEndpoint &&value)
 
const Aws::Utils::DateTimeGetCreatedAt () const
 
bool CreatedAtHasBeenSet () const
 
void SetCreatedAt (const Aws::Utils::DateTime &value)
 
void SetCreatedAt (Aws::Utils::DateTime &&value)
 
ContainerServiceDeploymentWithCreatedAt (const Aws::Utils::DateTime &value)
 
ContainerServiceDeploymentWithCreatedAt (Aws::Utils::DateTime &&value)
 

Detailed Description

Describes a container deployment configuration of an Amazon Lightsail container service.

A deployment specifies the settings, such as the ports and launch command, of containers that are deployed to your container service.

See Also:

AWS API Reference

Definition at line 39 of file ContainerServiceDeployment.h.

Constructor & Destructor Documentation

◆ ContainerServiceDeployment() [1/2]

Aws::Lightsail::Model::ContainerServiceDeployment::ContainerServiceDeployment ( )

◆ ContainerServiceDeployment() [2/2]

Aws::Lightsail::Model::ContainerServiceDeployment::ContainerServiceDeployment ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddContainers() [1/6]

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::AddContainers ( Aws::String &&  key,
const Container value 
)
inline

An object that describes the configuration for the containers of the deployment.

Definition at line 200 of file ContainerServiceDeployment.h.

◆ AddContainers() [2/6]

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::AddContainers ( Aws::String &&  key,
Container &&  value 
)
inline

An object that describes the configuration for the containers of the deployment.

Definition at line 212 of file ContainerServiceDeployment.h.

◆ AddContainers() [3/6]

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::AddContainers ( const Aws::String key,
const Container value 
)
inline

An object that describes the configuration for the containers of the deployment.

Definition at line 194 of file ContainerServiceDeployment.h.

◆ AddContainers() [4/6]

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::AddContainers ( const Aws::String key,
Container &&  value 
)
inline

An object that describes the configuration for the containers of the deployment.

Definition at line 206 of file ContainerServiceDeployment.h.

◆ AddContainers() [5/6]

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::AddContainers ( const char *  key,
const Container value 
)
inline

An object that describes the configuration for the containers of the deployment.

Definition at line 224 of file ContainerServiceDeployment.h.

◆ AddContainers() [6/6]

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::AddContainers ( const char *  key,
Container &&  value 
)
inline

An object that describes the configuration for the containers of the deployment.

Definition at line 218 of file ContainerServiceDeployment.h.

◆ ContainersHasBeenSet()

bool Aws::Lightsail::Model::ContainerServiceDeployment::ContainersHasBeenSet ( ) const
inline

An object that describes the configuration for the containers of the deployment.

Definition at line 164 of file ContainerServiceDeployment.h.

◆ CreatedAtHasBeenSet()

bool Aws::Lightsail::Model::ContainerServiceDeployment::CreatedAtHasBeenSet ( ) const
inline

The timestamp when the deployment was created.

Definition at line 266 of file ContainerServiceDeployment.h.

◆ GetContainers()

const Aws::Map<Aws::String, Container>& Aws::Lightsail::Model::ContainerServiceDeployment::GetContainers ( ) const
inline

An object that describes the configuration for the containers of the deployment.

Definition at line 158 of file ContainerServiceDeployment.h.

◆ GetCreatedAt()

const Aws::Utils::DateTime& Aws::Lightsail::Model::ContainerServiceDeployment::GetCreatedAt ( ) const
inline

The timestamp when the deployment was created.

Definition at line 261 of file ContainerServiceDeployment.h.

◆ GetPublicEndpoint()

const ContainerServiceEndpoint& Aws::Lightsail::Model::ContainerServiceDeployment::GetPublicEndpoint ( ) const
inline

An object that describes the endpoint of the deployment.

Definition at line 230 of file ContainerServiceDeployment.h.

◆ GetState()

const ContainerServiceDeploymentState& Aws::Lightsail::Model::ContainerServiceDeployment::GetState ( ) const
inline

The state of the deployment.

A deployment can be in one of the following states:

  • Activating - The deployment is being created.

  • Active - The deployment was successfully created, and it's currently running on the container service. The container service can have only one deployment in an active state at a time.

  • Inactive - The deployment was previously successfully created, but it is not currently running on the container service.

  • Failed - The deployment failed. Use the GetContainerLog action to view the log events for the containers in the deployment to try to determine the reason for the failure.

Definition at line 81 of file ContainerServiceDeployment.h.

◆ GetVersion()

int Aws::Lightsail::Model::ContainerServiceDeployment::GetVersion ( ) const
inline

The version number of the deployment.

Definition at line 51 of file ContainerServiceDeployment.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Lightsail::Model::ContainerServiceDeployment::Jsonize ( ) const

◆ operator=()

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PublicEndpointHasBeenSet()

bool Aws::Lightsail::Model::ContainerServiceDeployment::PublicEndpointHasBeenSet ( ) const
inline

An object that describes the endpoint of the deployment.

Definition at line 235 of file ContainerServiceDeployment.h.

◆ SetContainers() [1/2]

void Aws::Lightsail::Model::ContainerServiceDeployment::SetContainers ( Aws::Map< Aws::String, Container > &&  value)
inline

An object that describes the configuration for the containers of the deployment.

Definition at line 176 of file ContainerServiceDeployment.h.

◆ SetContainers() [2/2]

void Aws::Lightsail::Model::ContainerServiceDeployment::SetContainers ( const Aws::Map< Aws::String, Container > &  value)
inline

An object that describes the configuration for the containers of the deployment.

Definition at line 170 of file ContainerServiceDeployment.h.

◆ SetCreatedAt() [1/2]

void Aws::Lightsail::Model::ContainerServiceDeployment::SetCreatedAt ( Aws::Utils::DateTime &&  value)
inline

The timestamp when the deployment was created.

Definition at line 276 of file ContainerServiceDeployment.h.

◆ SetCreatedAt() [2/2]

void Aws::Lightsail::Model::ContainerServiceDeployment::SetCreatedAt ( const Aws::Utils::DateTime value)
inline

The timestamp when the deployment was created.

Definition at line 271 of file ContainerServiceDeployment.h.

◆ SetPublicEndpoint() [1/2]

void Aws::Lightsail::Model::ContainerServiceDeployment::SetPublicEndpoint ( const ContainerServiceEndpoint value)
inline

An object that describes the endpoint of the deployment.

Definition at line 240 of file ContainerServiceDeployment.h.

◆ SetPublicEndpoint() [2/2]

void Aws::Lightsail::Model::ContainerServiceDeployment::SetPublicEndpoint ( ContainerServiceEndpoint &&  value)
inline

An object that describes the endpoint of the deployment.

Definition at line 245 of file ContainerServiceDeployment.h.

◆ SetState() [1/2]

void Aws::Lightsail::Model::ContainerServiceDeployment::SetState ( const ContainerServiceDeploymentState value)
inline

The state of the deployment.

A deployment can be in one of the following states:

  • Activating - The deployment is being created.

  • Active - The deployment was successfully created, and it's currently running on the container service. The container service can have only one deployment in an active state at a time.

  • Inactive - The deployment was previously successfully created, but it is not currently running on the container service.

  • Failed - The deployment failed. Use the GetContainerLog action to view the log events for the containers in the deployment to try to determine the reason for the failure.

Definition at line 109 of file ContainerServiceDeployment.h.

◆ SetState() [2/2]

void Aws::Lightsail::Model::ContainerServiceDeployment::SetState ( ContainerServiceDeploymentState &&  value)
inline

The state of the deployment.

A deployment can be in one of the following states:

  • Activating - The deployment is being created.

  • Active - The deployment was successfully created, and it's currently running on the container service. The container service can have only one deployment in an active state at a time.

  • Inactive - The deployment was previously successfully created, but it is not currently running on the container service.

  • Failed - The deployment failed. Use the GetContainerLog action to view the log events for the containers in the deployment to try to determine the reason for the failure.

Definition at line 123 of file ContainerServiceDeployment.h.

◆ SetVersion()

void Aws::Lightsail::Model::ContainerServiceDeployment::SetVersion ( int  value)
inline

The version number of the deployment.

Definition at line 61 of file ContainerServiceDeployment.h.

◆ StateHasBeenSet()

bool Aws::Lightsail::Model::ContainerServiceDeployment::StateHasBeenSet ( ) const
inline

The state of the deployment.

A deployment can be in one of the following states:

  • Activating - The deployment is being created.

  • Active - The deployment was successfully created, and it's currently running on the container service. The container service can have only one deployment in an active state at a time.

  • Inactive - The deployment was previously successfully created, but it is not currently running on the container service.

  • Failed - The deployment failed. Use the GetContainerLog action to view the log events for the containers in the deployment to try to determine the reason for the failure.

Definition at line 95 of file ContainerServiceDeployment.h.

◆ VersionHasBeenSet()

bool Aws::Lightsail::Model::ContainerServiceDeployment::VersionHasBeenSet ( ) const
inline

The version number of the deployment.

Definition at line 56 of file ContainerServiceDeployment.h.

◆ WithContainers() [1/2]

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::WithContainers ( Aws::Map< Aws::String, Container > &&  value)
inline

An object that describes the configuration for the containers of the deployment.

Definition at line 188 of file ContainerServiceDeployment.h.

◆ WithContainers() [2/2]

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::WithContainers ( const Aws::Map< Aws::String, Container > &  value)
inline

An object that describes the configuration for the containers of the deployment.

Definition at line 182 of file ContainerServiceDeployment.h.

◆ WithCreatedAt() [1/2]

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::WithCreatedAt ( Aws::Utils::DateTime &&  value)
inline

The timestamp when the deployment was created.

Definition at line 286 of file ContainerServiceDeployment.h.

◆ WithCreatedAt() [2/2]

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::WithCreatedAt ( const Aws::Utils::DateTime value)
inline

The timestamp when the deployment was created.

Definition at line 281 of file ContainerServiceDeployment.h.

◆ WithPublicEndpoint() [1/2]

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::WithPublicEndpoint ( const ContainerServiceEndpoint value)
inline

An object that describes the endpoint of the deployment.

Definition at line 250 of file ContainerServiceDeployment.h.

◆ WithPublicEndpoint() [2/2]

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::WithPublicEndpoint ( ContainerServiceEndpoint &&  value)
inline

An object that describes the endpoint of the deployment.

Definition at line 255 of file ContainerServiceDeployment.h.

◆ WithState() [1/2]

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::WithState ( const ContainerServiceDeploymentState value)
inline

The state of the deployment.

A deployment can be in one of the following states:

  • Activating - The deployment is being created.

  • Active - The deployment was successfully created, and it's currently running on the container service. The container service can have only one deployment in an active state at a time.

  • Inactive - The deployment was previously successfully created, but it is not currently running on the container service.

  • Failed - The deployment failed. Use the GetContainerLog action to view the log events for the containers in the deployment to try to determine the reason for the failure.

Definition at line 137 of file ContainerServiceDeployment.h.

◆ WithState() [2/2]

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::WithState ( ContainerServiceDeploymentState &&  value)
inline

The state of the deployment.

A deployment can be in one of the following states:

  • Activating - The deployment is being created.

  • Active - The deployment was successfully created, and it's currently running on the container service. The container service can have only one deployment in an active state at a time.

  • Inactive - The deployment was previously successfully created, but it is not currently running on the container service.

  • Failed - The deployment failed. Use the GetContainerLog action to view the log events for the containers in the deployment to try to determine the reason for the failure.

Definition at line 151 of file ContainerServiceDeployment.h.

◆ WithVersion()

ContainerServiceDeployment& Aws::Lightsail::Model::ContainerServiceDeployment::WithVersion ( int  value)
inline

The version number of the deployment.

Definition at line 66 of file ContainerServiceDeployment.h.


The documentation for this class was generated from the following file: