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

#include <Container.h>

Public Member Functions

 Container ()
 
 Container (Aws::Utils::Json::JsonView jsonValue)
 
Containeroperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetImage () const
 
bool ImageHasBeenSet () const
 
void SetImage (const Aws::String &value)
 
void SetImage (Aws::String &&value)
 
void SetImage (const char *value)
 
ContainerWithImage (const Aws::String &value)
 
ContainerWithImage (Aws::String &&value)
 
ContainerWithImage (const char *value)
 
const Aws::Vector< Aws::String > & GetCommand () const
 
bool CommandHasBeenSet () const
 
void SetCommand (const Aws::Vector< Aws::String > &value)
 
void SetCommand (Aws::Vector< Aws::String > &&value)
 
ContainerWithCommand (const Aws::Vector< Aws::String > &value)
 
ContainerWithCommand (Aws::Vector< Aws::String > &&value)
 
ContainerAddCommand (const Aws::String &value)
 
ContainerAddCommand (Aws::String &&value)
 
ContainerAddCommand (const char *value)
 
const Aws::Map< Aws::String, Aws::String > & GetEnvironment () const
 
bool EnvironmentHasBeenSet () const
 
void SetEnvironment (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetEnvironment (Aws::Map< Aws::String, Aws::String > &&value)
 
ContainerWithEnvironment (const Aws::Map< Aws::String, Aws::String > &value)
 
ContainerWithEnvironment (Aws::Map< Aws::String, Aws::String > &&value)
 
ContainerAddEnvironment (const Aws::String &key, const Aws::String &value)
 
ContainerAddEnvironment (Aws::String &&key, const Aws::String &value)
 
ContainerAddEnvironment (const Aws::String &key, Aws::String &&value)
 
ContainerAddEnvironment (Aws::String &&key, Aws::String &&value)
 
ContainerAddEnvironment (const char *key, Aws::String &&value)
 
ContainerAddEnvironment (Aws::String &&key, const char *value)
 
ContainerAddEnvironment (const char *key, const char *value)
 
const Aws::Map< Aws::String, ContainerServiceProtocol > & GetPorts () const
 
bool PortsHasBeenSet () const
 
void SetPorts (const Aws::Map< Aws::String, ContainerServiceProtocol > &value)
 
void SetPorts (Aws::Map< Aws::String, ContainerServiceProtocol > &&value)
 
ContainerWithPorts (const Aws::Map< Aws::String, ContainerServiceProtocol > &value)
 
ContainerWithPorts (Aws::Map< Aws::String, ContainerServiceProtocol > &&value)
 
ContainerAddPorts (const Aws::String &key, const ContainerServiceProtocol &value)
 
ContainerAddPorts (Aws::String &&key, const ContainerServiceProtocol &value)
 
ContainerAddPorts (const Aws::String &key, ContainerServiceProtocol &&value)
 
ContainerAddPorts (Aws::String &&key, ContainerServiceProtocol &&value)
 
ContainerAddPorts (const char *key, ContainerServiceProtocol &&value)
 
ContainerAddPorts (const char *key, const ContainerServiceProtocol &value)
 

Detailed Description

Describes the settings of a container that will be launched, or that is launched, to an Amazon Lightsail container service.

See Also:


AWS API Reference

Definition at line 36 of file Container.h.

Constructor & Destructor Documentation

◆ Container() [1/2]

Aws::Lightsail::Model::Container::Container ( )

◆ Container() [2/2]

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

Member Function Documentation

◆ AddCommand() [1/3]

Container& Aws::Lightsail::Model::Container::AddCommand ( Aws::String &&  value)
inline

The launch command for the container.

Definition at line 164 of file Container.h.

◆ AddCommand() [2/3]

Container& Aws::Lightsail::Model::Container::AddCommand ( const Aws::String value)
inline

The launch command for the container.

Definition at line 159 of file Container.h.

◆ AddCommand() [3/3]

Container& Aws::Lightsail::Model::Container::AddCommand ( const char *  value)
inline

The launch command for the container.

Definition at line 169 of file Container.h.

◆ AddEnvironment() [1/7]

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

The environment variables of the container.

Definition at line 220 of file Container.h.

◆ AddEnvironment() [2/7]

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

The environment variables of the container.

Definition at line 210 of file Container.h.

◆ AddEnvironment() [3/7]

Container& Aws::Lightsail::Model::Container::AddEnvironment ( Aws::String &&  key,
const char *  value 
)
inline

The environment variables of the container.

Definition at line 230 of file Container.h.

◆ AddEnvironment() [4/7]

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

The environment variables of the container.

Definition at line 215 of file Container.h.

◆ AddEnvironment() [5/7]

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

The environment variables of the container.

Definition at line 205 of file Container.h.

◆ AddEnvironment() [6/7]

Container& Aws::Lightsail::Model::Container::AddEnvironment ( const char *  key,
Aws::String &&  value 
)
inline

The environment variables of the container.

Definition at line 225 of file Container.h.

◆ AddEnvironment() [7/7]

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

The environment variables of the container.

Definition at line 235 of file Container.h.

◆ AddPorts() [1/6]

Container& Aws::Lightsail::Model::Container::AddPorts ( Aws::String &&  key,
const ContainerServiceProtocol value 
)
inline

The open firewall ports of the container.

Definition at line 276 of file Container.h.

◆ AddPorts() [2/6]

Container& Aws::Lightsail::Model::Container::AddPorts ( Aws::String &&  key,
ContainerServiceProtocol &&  value 
)
inline

The open firewall ports of the container.

Definition at line 286 of file Container.h.

◆ AddPorts() [3/6]

Container& Aws::Lightsail::Model::Container::AddPorts ( const Aws::String key,
const ContainerServiceProtocol value 
)
inline

The open firewall ports of the container.

Definition at line 271 of file Container.h.

◆ AddPorts() [4/6]

Container& Aws::Lightsail::Model::Container::AddPorts ( const Aws::String key,
ContainerServiceProtocol &&  value 
)
inline

The open firewall ports of the container.

Definition at line 281 of file Container.h.

◆ AddPorts() [5/6]

Container& Aws::Lightsail::Model::Container::AddPorts ( const char *  key,
const ContainerServiceProtocol value 
)
inline

The open firewall ports of the container.

Definition at line 296 of file Container.h.

◆ AddPorts() [6/6]

Container& Aws::Lightsail::Model::Container::AddPorts ( const char *  key,
ContainerServiceProtocol &&  value 
)
inline

The open firewall ports of the container.

Definition at line 291 of file Container.h.

◆ CommandHasBeenSet()

bool Aws::Lightsail::Model::Container::CommandHasBeenSet ( ) const
inline

The launch command for the container.

Definition at line 134 of file Container.h.

◆ EnvironmentHasBeenSet()

bool Aws::Lightsail::Model::Container::EnvironmentHasBeenSet ( ) const
inline

The environment variables of the container.

Definition at line 180 of file Container.h.

◆ GetCommand()

const Aws::Vector<Aws::String>& Aws::Lightsail::Model::Container::GetCommand ( ) const
inline

The launch command for the container.

Definition at line 129 of file Container.h.

◆ GetEnvironment()

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

The environment variables of the container.

Definition at line 175 of file Container.h.

◆ GetImage()

const Aws::String& Aws::Lightsail::Model::Container::GetImage ( ) const
inline

The name of the image used for the container.

Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

Definition at line 53 of file Container.h.

◆ GetPorts()

const Aws::Map<Aws::String, ContainerServiceProtocol>& Aws::Lightsail::Model::Container::GetPorts ( ) const
inline

The open firewall ports of the container.

Definition at line 241 of file Container.h.

◆ ImageHasBeenSet()

bool Aws::Lightsail::Model::Container::ImageHasBeenSet ( ) const
inline

The name of the image used for the container.

Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

Definition at line 63 of file Container.h.

◆ Jsonize()

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

◆ operator=()

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

◆ PortsHasBeenSet()

bool Aws::Lightsail::Model::Container::PortsHasBeenSet ( ) const
inline

The open firewall ports of the container.

Definition at line 246 of file Container.h.

◆ SetCommand() [1/2]

void Aws::Lightsail::Model::Container::SetCommand ( Aws::Vector< Aws::String > &&  value)
inline

The launch command for the container.

Definition at line 144 of file Container.h.

◆ SetCommand() [2/2]

void Aws::Lightsail::Model::Container::SetCommand ( const Aws::Vector< Aws::String > &  value)
inline

The launch command for the container.

Definition at line 139 of file Container.h.

◆ SetEnvironment() [1/2]

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

The environment variables of the container.

Definition at line 190 of file Container.h.

◆ SetEnvironment() [2/2]

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

The environment variables of the container.

Definition at line 185 of file Container.h.

◆ SetImage() [1/3]

void Aws::Lightsail::Model::Container::SetImage ( Aws::String &&  value)
inline

The name of the image used for the container.

Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

Definition at line 83 of file Container.h.

◆ SetImage() [2/3]

void Aws::Lightsail::Model::Container::SetImage ( const Aws::String value)
inline

The name of the image used for the container.

Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

Definition at line 73 of file Container.h.

◆ SetImage() [3/3]

void Aws::Lightsail::Model::Container::SetImage ( const char *  value)
inline

The name of the image used for the container.

Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

Definition at line 93 of file Container.h.

◆ SetPorts() [1/2]

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

The open firewall ports of the container.

Definition at line 256 of file Container.h.

◆ SetPorts() [2/2]

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

The open firewall ports of the container.

Definition at line 251 of file Container.h.

◆ WithCommand() [1/2]

Container& Aws::Lightsail::Model::Container::WithCommand ( Aws::Vector< Aws::String > &&  value)
inline

The launch command for the container.

Definition at line 154 of file Container.h.

◆ WithCommand() [2/2]

Container& Aws::Lightsail::Model::Container::WithCommand ( const Aws::Vector< Aws::String > &  value)
inline

The launch command for the container.

Definition at line 149 of file Container.h.

◆ WithEnvironment() [1/2]

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

The environment variables of the container.

Definition at line 200 of file Container.h.

◆ WithEnvironment() [2/2]

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

The environment variables of the container.

Definition at line 195 of file Container.h.

◆ WithImage() [1/3]

Container& Aws::Lightsail::Model::Container::WithImage ( Aws::String &&  value)
inline

The name of the image used for the container.

Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

Definition at line 113 of file Container.h.

◆ WithImage() [2/3]

Container& Aws::Lightsail::Model::Container::WithImage ( const Aws::String value)
inline

The name of the image used for the container.

Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

Definition at line 103 of file Container.h.

◆ WithImage() [3/3]

Container& Aws::Lightsail::Model::Container::WithImage ( const char *  value)
inline

The name of the image used for the container.

Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

Definition at line 123 of file Container.h.

◆ WithPorts() [1/2]

Container& Aws::Lightsail::Model::Container::WithPorts ( Aws::Map< Aws::String, ContainerServiceProtocol > &&  value)
inline

The open firewall ports of the container.

Definition at line 266 of file Container.h.

◆ WithPorts() [2/2]

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

The open firewall ports of the container.

Definition at line 261 of file Container.h.


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