AWS SDK for C++  1.8.93
AWS SDK for C++
Public Member Functions | List of all members
Aws::OpsWorks::Model::Command Class Reference

#include <Command.h>

Public Member Functions

 Command ()
 
 Command (Aws::Utils::Json::JsonView jsonValue)
 
Commandoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetCommandId () const
 
bool CommandIdHasBeenSet () const
 
void SetCommandId (const Aws::String &value)
 
void SetCommandId (Aws::String &&value)
 
void SetCommandId (const char *value)
 
CommandWithCommandId (const Aws::String &value)
 
CommandWithCommandId (Aws::String &&value)
 
CommandWithCommandId (const char *value)
 
const Aws::StringGetInstanceId () const
 
bool InstanceIdHasBeenSet () const
 
void SetInstanceId (const Aws::String &value)
 
void SetInstanceId (Aws::String &&value)
 
void SetInstanceId (const char *value)
 
CommandWithInstanceId (const Aws::String &value)
 
CommandWithInstanceId (Aws::String &&value)
 
CommandWithInstanceId (const char *value)
 
const Aws::StringGetDeploymentId () const
 
bool DeploymentIdHasBeenSet () const
 
void SetDeploymentId (const Aws::String &value)
 
void SetDeploymentId (Aws::String &&value)
 
void SetDeploymentId (const char *value)
 
CommandWithDeploymentId (const Aws::String &value)
 
CommandWithDeploymentId (Aws::String &&value)
 
CommandWithDeploymentId (const char *value)
 
const Aws::StringGetCreatedAt () const
 
bool CreatedAtHasBeenSet () const
 
void SetCreatedAt (const Aws::String &value)
 
void SetCreatedAt (Aws::String &&value)
 
void SetCreatedAt (const char *value)
 
CommandWithCreatedAt (const Aws::String &value)
 
CommandWithCreatedAt (Aws::String &&value)
 
CommandWithCreatedAt (const char *value)
 
const Aws::StringGetAcknowledgedAt () const
 
bool AcknowledgedAtHasBeenSet () const
 
void SetAcknowledgedAt (const Aws::String &value)
 
void SetAcknowledgedAt (Aws::String &&value)
 
void SetAcknowledgedAt (const char *value)
 
CommandWithAcknowledgedAt (const Aws::String &value)
 
CommandWithAcknowledgedAt (Aws::String &&value)
 
CommandWithAcknowledgedAt (const char *value)
 
const Aws::StringGetCompletedAt () const
 
bool CompletedAtHasBeenSet () const
 
void SetCompletedAt (const Aws::String &value)
 
void SetCompletedAt (Aws::String &&value)
 
void SetCompletedAt (const char *value)
 
CommandWithCompletedAt (const Aws::String &value)
 
CommandWithCompletedAt (Aws::String &&value)
 
CommandWithCompletedAt (const char *value)
 
const Aws::StringGetStatus () const
 
bool StatusHasBeenSet () const
 
void SetStatus (const Aws::String &value)
 
void SetStatus (Aws::String &&value)
 
void SetStatus (const char *value)
 
CommandWithStatus (const Aws::String &value)
 
CommandWithStatus (Aws::String &&value)
 
CommandWithStatus (const char *value)
 
int GetExitCode () const
 
bool ExitCodeHasBeenSet () const
 
void SetExitCode (int value)
 
CommandWithExitCode (int value)
 
const Aws::StringGetLogUrl () const
 
bool LogUrlHasBeenSet () const
 
void SetLogUrl (const Aws::String &value)
 
void SetLogUrl (Aws::String &&value)
 
void SetLogUrl (const char *value)
 
CommandWithLogUrl (const Aws::String &value)
 
CommandWithLogUrl (Aws::String &&value)
 
CommandWithLogUrl (const char *value)
 
const Aws::StringGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const Aws::String &value)
 
void SetType (Aws::String &&value)
 
void SetType (const char *value)
 
CommandWithType (const Aws::String &value)
 
CommandWithType (Aws::String &&value)
 
CommandWithType (const char *value)
 

Detailed Description

Describes a command.

See Also:

AWS API Reference

Definition at line 31 of file Command.h.

Constructor & Destructor Documentation

◆ Command() [1/2]

Aws::OpsWorks::Model::Command::Command ( )

◆ Command() [2/2]

Aws::OpsWorks::Model::Command::Command ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AcknowledgedAtHasBeenSet()

bool Aws::OpsWorks::Model::Command::AcknowledgedAtHasBeenSet ( ) const
inline

Date and time when the command was acknowledged.

Definition at line 212 of file Command.h.

◆ CommandIdHasBeenSet()

bool Aws::OpsWorks::Model::Command::CommandIdHasBeenSet ( ) const
inline

The command ID.

Definition at line 48 of file Command.h.

◆ CompletedAtHasBeenSet()

bool Aws::OpsWorks::Model::Command::CompletedAtHasBeenSet ( ) const
inline

Date when the command completed.

Definition at line 253 of file Command.h.

◆ CreatedAtHasBeenSet()

bool Aws::OpsWorks::Model::Command::CreatedAtHasBeenSet ( ) const
inline

Date and time when the command was run.

Definition at line 171 of file Command.h.

◆ DeploymentIdHasBeenSet()

bool Aws::OpsWorks::Model::Command::DeploymentIdHasBeenSet ( ) const
inline

The command deployment ID.

Definition at line 130 of file Command.h.

◆ ExitCodeHasBeenSet()

bool Aws::OpsWorks::Model::Command::ExitCodeHasBeenSet ( ) const
inline

The command exit code.

Definition at line 343 of file Command.h.

◆ GetAcknowledgedAt()

const Aws::String& Aws::OpsWorks::Model::Command::GetAcknowledgedAt ( ) const
inline

Date and time when the command was acknowledged.

Definition at line 207 of file Command.h.

◆ GetCommandId()

const Aws::String& Aws::OpsWorks::Model::Command::GetCommandId ( ) const
inline

The command ID.

Definition at line 43 of file Command.h.

◆ GetCompletedAt()

const Aws::String& Aws::OpsWorks::Model::Command::GetCompletedAt ( ) const
inline

Date when the command completed.

Definition at line 248 of file Command.h.

◆ GetCreatedAt()

const Aws::String& Aws::OpsWorks::Model::Command::GetCreatedAt ( ) const
inline

Date and time when the command was run.

Definition at line 166 of file Command.h.

◆ GetDeploymentId()

const Aws::String& Aws::OpsWorks::Model::Command::GetDeploymentId ( ) const
inline

The command deployment ID.

Definition at line 125 of file Command.h.

◆ GetExitCode()

int Aws::OpsWorks::Model::Command::GetExitCode ( ) const
inline

The command exit code.

Definition at line 338 of file Command.h.

◆ GetInstanceId()

const Aws::String& Aws::OpsWorks::Model::Command::GetInstanceId ( ) const
inline

The ID of the instance where the command was executed.

Definition at line 84 of file Command.h.

◆ GetLogUrl()

const Aws::String& Aws::OpsWorks::Model::Command::GetLogUrl ( ) const
inline

The URL of the command log.

Definition at line 359 of file Command.h.

◆ GetStatus()

const Aws::String& Aws::OpsWorks::Model::Command::GetStatus ( ) const
inline

The command status:

  • failed

  • successful

  • skipped

  • pending

Definition at line 290 of file Command.h.

◆ GetType()

const Aws::String& Aws::OpsWorks::Model::Command::GetType ( ) const
inline

The command type:

  • configure

  • deploy

  • execute_recipes

  • install_dependencies

  • restart

  • rollback

  • setup

  • start

  • stop

  • undeploy

  • update_custom_cookbooks

  • update_dependencies

Definition at line 407 of file Command.h.

◆ InstanceIdHasBeenSet()

bool Aws::OpsWorks::Model::Command::InstanceIdHasBeenSet ( ) const
inline

The ID of the instance where the command was executed.

Definition at line 89 of file Command.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::OpsWorks::Model::Command::Jsonize ( ) const

◆ LogUrlHasBeenSet()

bool Aws::OpsWorks::Model::Command::LogUrlHasBeenSet ( ) const
inline

The URL of the command log.

Definition at line 364 of file Command.h.

◆ operator=()

Command& Aws::OpsWorks::Model::Command::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetAcknowledgedAt() [1/3]

void Aws::OpsWorks::Model::Command::SetAcknowledgedAt ( const Aws::String value)
inline

Date and time when the command was acknowledged.

Definition at line 217 of file Command.h.

◆ SetAcknowledgedAt() [2/3]

void Aws::OpsWorks::Model::Command::SetAcknowledgedAt ( Aws::String &&  value)
inline

Date and time when the command was acknowledged.

Definition at line 222 of file Command.h.

◆ SetAcknowledgedAt() [3/3]

void Aws::OpsWorks::Model::Command::SetAcknowledgedAt ( const char *  value)
inline

Date and time when the command was acknowledged.

Definition at line 227 of file Command.h.

◆ SetCommandId() [1/3]

void Aws::OpsWorks::Model::Command::SetCommandId ( const Aws::String value)
inline

The command ID.

Definition at line 53 of file Command.h.

◆ SetCommandId() [2/3]

void Aws::OpsWorks::Model::Command::SetCommandId ( Aws::String &&  value)
inline

The command ID.

Definition at line 58 of file Command.h.

◆ SetCommandId() [3/3]

void Aws::OpsWorks::Model::Command::SetCommandId ( const char *  value)
inline

The command ID.

Definition at line 63 of file Command.h.

◆ SetCompletedAt() [1/3]

void Aws::OpsWorks::Model::Command::SetCompletedAt ( const Aws::String value)
inline

Date when the command completed.

Definition at line 258 of file Command.h.

◆ SetCompletedAt() [2/3]

void Aws::OpsWorks::Model::Command::SetCompletedAt ( Aws::String &&  value)
inline

Date when the command completed.

Definition at line 263 of file Command.h.

◆ SetCompletedAt() [3/3]

void Aws::OpsWorks::Model::Command::SetCompletedAt ( const char *  value)
inline

Date when the command completed.

Definition at line 268 of file Command.h.

◆ SetCreatedAt() [1/3]

void Aws::OpsWorks::Model::Command::SetCreatedAt ( const Aws::String value)
inline

Date and time when the command was run.

Definition at line 176 of file Command.h.

◆ SetCreatedAt() [2/3]

void Aws::OpsWorks::Model::Command::SetCreatedAt ( Aws::String &&  value)
inline

Date and time when the command was run.

Definition at line 181 of file Command.h.

◆ SetCreatedAt() [3/3]

void Aws::OpsWorks::Model::Command::SetCreatedAt ( const char *  value)
inline

Date and time when the command was run.

Definition at line 186 of file Command.h.

◆ SetDeploymentId() [1/3]

void Aws::OpsWorks::Model::Command::SetDeploymentId ( const Aws::String value)
inline

The command deployment ID.

Definition at line 135 of file Command.h.

◆ SetDeploymentId() [2/3]

void Aws::OpsWorks::Model::Command::SetDeploymentId ( Aws::String &&  value)
inline

The command deployment ID.

Definition at line 140 of file Command.h.

◆ SetDeploymentId() [3/3]

void Aws::OpsWorks::Model::Command::SetDeploymentId ( const char *  value)
inline

The command deployment ID.

Definition at line 145 of file Command.h.

◆ SetExitCode()

void Aws::OpsWorks::Model::Command::SetExitCode ( int  value)
inline

The command exit code.

Definition at line 348 of file Command.h.

◆ SetInstanceId() [1/3]

void Aws::OpsWorks::Model::Command::SetInstanceId ( const Aws::String value)
inline

The ID of the instance where the command was executed.

Definition at line 94 of file Command.h.

◆ SetInstanceId() [2/3]

void Aws::OpsWorks::Model::Command::SetInstanceId ( Aws::String &&  value)
inline

The ID of the instance where the command was executed.

Definition at line 99 of file Command.h.

◆ SetInstanceId() [3/3]

void Aws::OpsWorks::Model::Command::SetInstanceId ( const char *  value)
inline

The ID of the instance where the command was executed.

Definition at line 104 of file Command.h.

◆ SetLogUrl() [1/3]

void Aws::OpsWorks::Model::Command::SetLogUrl ( const Aws::String value)
inline

The URL of the command log.

Definition at line 369 of file Command.h.

◆ SetLogUrl() [2/3]

void Aws::OpsWorks::Model::Command::SetLogUrl ( Aws::String &&  value)
inline

The URL of the command log.

Definition at line 374 of file Command.h.

◆ SetLogUrl() [3/3]

void Aws::OpsWorks::Model::Command::SetLogUrl ( const char *  value)
inline

The URL of the command log.

Definition at line 379 of file Command.h.

◆ SetStatus() [1/3]

void Aws::OpsWorks::Model::Command::SetStatus ( const Aws::String value)
inline

The command status:

  • failed

  • successful

  • skipped

  • pending

Definition at line 302 of file Command.h.

◆ SetStatus() [2/3]

void Aws::OpsWorks::Model::Command::SetStatus ( Aws::String &&  value)
inline

The command status:

  • failed

  • successful

  • skipped

  • pending

Definition at line 308 of file Command.h.

◆ SetStatus() [3/3]

void Aws::OpsWorks::Model::Command::SetStatus ( const char *  value)
inline

The command status:

  • failed

  • successful

  • skipped

  • pending

Definition at line 314 of file Command.h.

◆ SetType() [1/3]

void Aws::OpsWorks::Model::Command::SetType ( const Aws::String value)
inline

The command type:

  • configure

  • deploy

  • execute_recipes

  • install_dependencies

  • restart

  • rollback

  • setup

  • start

  • stop

  • undeploy

  • update_custom_cookbooks

  • update_dependencies

Definition at line 431 of file Command.h.

◆ SetType() [2/3]

void Aws::OpsWorks::Model::Command::SetType ( Aws::String &&  value)
inline

The command type:

  • configure

  • deploy

  • execute_recipes

  • install_dependencies

  • restart

  • rollback

  • setup

  • start

  • stop

  • undeploy

  • update_custom_cookbooks

  • update_dependencies

Definition at line 443 of file Command.h.

◆ SetType() [3/3]

void Aws::OpsWorks::Model::Command::SetType ( const char *  value)
inline

The command type:

  • configure

  • deploy

  • execute_recipes

  • install_dependencies

  • restart

  • rollback

  • setup

  • start

  • stop

  • undeploy

  • update_custom_cookbooks

  • update_dependencies

Definition at line 455 of file Command.h.

◆ StatusHasBeenSet()

bool Aws::OpsWorks::Model::Command::StatusHasBeenSet ( ) const
inline

The command status:

  • failed

  • successful

  • skipped

  • pending

Definition at line 296 of file Command.h.

◆ TypeHasBeenSet()

bool Aws::OpsWorks::Model::Command::TypeHasBeenSet ( ) const
inline

The command type:

  • configure

  • deploy

  • execute_recipes

  • install_dependencies

  • restart

  • rollback

  • setup

  • start

  • stop

  • undeploy

  • update_custom_cookbooks

  • update_dependencies

Definition at line 419 of file Command.h.

◆ WithAcknowledgedAt() [1/3]

Command& Aws::OpsWorks::Model::Command::WithAcknowledgedAt ( const Aws::String value)
inline

Date and time when the command was acknowledged.

Definition at line 232 of file Command.h.

◆ WithAcknowledgedAt() [2/3]

Command& Aws::OpsWorks::Model::Command::WithAcknowledgedAt ( Aws::String &&  value)
inline

Date and time when the command was acknowledged.

Definition at line 237 of file Command.h.

◆ WithAcknowledgedAt() [3/3]

Command& Aws::OpsWorks::Model::Command::WithAcknowledgedAt ( const char *  value)
inline

Date and time when the command was acknowledged.

Definition at line 242 of file Command.h.

◆ WithCommandId() [1/3]

Command& Aws::OpsWorks::Model::Command::WithCommandId ( const Aws::String value)
inline

The command ID.

Definition at line 68 of file Command.h.

◆ WithCommandId() [2/3]

Command& Aws::OpsWorks::Model::Command::WithCommandId ( Aws::String &&  value)
inline

The command ID.

Definition at line 73 of file Command.h.

◆ WithCommandId() [3/3]

Command& Aws::OpsWorks::Model::Command::WithCommandId ( const char *  value)
inline

The command ID.

Definition at line 78 of file Command.h.

◆ WithCompletedAt() [1/3]

Command& Aws::OpsWorks::Model::Command::WithCompletedAt ( const Aws::String value)
inline

Date when the command completed.

Definition at line 273 of file Command.h.

◆ WithCompletedAt() [2/3]

Command& Aws::OpsWorks::Model::Command::WithCompletedAt ( Aws::String &&  value)
inline

Date when the command completed.

Definition at line 278 of file Command.h.

◆ WithCompletedAt() [3/3]

Command& Aws::OpsWorks::Model::Command::WithCompletedAt ( const char *  value)
inline

Date when the command completed.

Definition at line 283 of file Command.h.

◆ WithCreatedAt() [1/3]

Command& Aws::OpsWorks::Model::Command::WithCreatedAt ( const Aws::String value)
inline

Date and time when the command was run.

Definition at line 191 of file Command.h.

◆ WithCreatedAt() [2/3]

Command& Aws::OpsWorks::Model::Command::WithCreatedAt ( Aws::String &&  value)
inline

Date and time when the command was run.

Definition at line 196 of file Command.h.

◆ WithCreatedAt() [3/3]

Command& Aws::OpsWorks::Model::Command::WithCreatedAt ( const char *  value)
inline

Date and time when the command was run.

Definition at line 201 of file Command.h.

◆ WithDeploymentId() [1/3]

Command& Aws::OpsWorks::Model::Command::WithDeploymentId ( const Aws::String value)
inline

The command deployment ID.

Definition at line 150 of file Command.h.

◆ WithDeploymentId() [2/3]

Command& Aws::OpsWorks::Model::Command::WithDeploymentId ( Aws::String &&  value)
inline

The command deployment ID.

Definition at line 155 of file Command.h.

◆ WithDeploymentId() [3/3]

Command& Aws::OpsWorks::Model::Command::WithDeploymentId ( const char *  value)
inline

The command deployment ID.

Definition at line 160 of file Command.h.

◆ WithExitCode()

Command& Aws::OpsWorks::Model::Command::WithExitCode ( int  value)
inline

The command exit code.

Definition at line 353 of file Command.h.

◆ WithInstanceId() [1/3]

Command& Aws::OpsWorks::Model::Command::WithInstanceId ( const Aws::String value)
inline

The ID of the instance where the command was executed.

Definition at line 109 of file Command.h.

◆ WithInstanceId() [2/3]

Command& Aws::OpsWorks::Model::Command::WithInstanceId ( Aws::String &&  value)
inline

The ID of the instance where the command was executed.

Definition at line 114 of file Command.h.

◆ WithInstanceId() [3/3]

Command& Aws::OpsWorks::Model::Command::WithInstanceId ( const char *  value)
inline

The ID of the instance where the command was executed.

Definition at line 119 of file Command.h.

◆ WithLogUrl() [1/3]

Command& Aws::OpsWorks::Model::Command::WithLogUrl ( const Aws::String value)
inline

The URL of the command log.

Definition at line 384 of file Command.h.

◆ WithLogUrl() [2/3]

Command& Aws::OpsWorks::Model::Command::WithLogUrl ( Aws::String &&  value)
inline

The URL of the command log.

Definition at line 389 of file Command.h.

◆ WithLogUrl() [3/3]

Command& Aws::OpsWorks::Model::Command::WithLogUrl ( const char *  value)
inline

The URL of the command log.

Definition at line 394 of file Command.h.

◆ WithStatus() [1/3]

Command& Aws::OpsWorks::Model::Command::WithStatus ( const Aws::String value)
inline

The command status:

  • failed

  • successful

  • skipped

  • pending

Definition at line 320 of file Command.h.

◆ WithStatus() [2/3]

Command& Aws::OpsWorks::Model::Command::WithStatus ( Aws::String &&  value)
inline

The command status:

  • failed

  • successful

  • skipped

  • pending

Definition at line 326 of file Command.h.

◆ WithStatus() [3/3]

Command& Aws::OpsWorks::Model::Command::WithStatus ( const char *  value)
inline

The command status:

  • failed

  • successful

  • skipped

  • pending

Definition at line 332 of file Command.h.

◆ WithType() [1/3]

Command& Aws::OpsWorks::Model::Command::WithType ( const Aws::String value)
inline

The command type:

  • configure

  • deploy

  • execute_recipes

  • install_dependencies

  • restart

  • rollback

  • setup

  • start

  • stop

  • undeploy

  • update_custom_cookbooks

  • update_dependencies

Definition at line 467 of file Command.h.

◆ WithType() [2/3]

Command& Aws::OpsWorks::Model::Command::WithType ( Aws::String &&  value)
inline

The command type:

  • configure

  • deploy

  • execute_recipes

  • install_dependencies

  • restart

  • rollback

  • setup

  • start

  • stop

  • undeploy

  • update_custom_cookbooks

  • update_dependencies

Definition at line 479 of file Command.h.

◆ WithType() [3/3]

Command& Aws::OpsWorks::Model::Command::WithType ( const char *  value)
inline

The command type:

  • configure

  • deploy

  • execute_recipes

  • install_dependencies

  • restart

  • rollback

  • setup

  • start

  • stop

  • undeploy

  • update_custom_cookbooks

  • update_dependencies

Definition at line 491 of file Command.h.


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