AWS SDK for C++  1.9.19
AWS SDK for C++
Public Member Functions | List of all members
Aws::ECS::Model::ExecuteCommandRequest Class Reference

#include <ExecuteCommandRequest.h>

+ Inheritance diagram for Aws::ECS::Model::ExecuteCommandRequest:

Public Member Functions

 ExecuteCommandRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetCluster () const
 
bool ClusterHasBeenSet () const
 
void SetCluster (const Aws::String &value)
 
void SetCluster (Aws::String &&value)
 
void SetCluster (const char *value)
 
ExecuteCommandRequestWithCluster (const Aws::String &value)
 
ExecuteCommandRequestWithCluster (Aws::String &&value)
 
ExecuteCommandRequestWithCluster (const char *value)
 
const Aws::StringGetContainer () const
 
bool ContainerHasBeenSet () const
 
void SetContainer (const Aws::String &value)
 
void SetContainer (Aws::String &&value)
 
void SetContainer (const char *value)
 
ExecuteCommandRequestWithContainer (const Aws::String &value)
 
ExecuteCommandRequestWithContainer (Aws::String &&value)
 
ExecuteCommandRequestWithContainer (const char *value)
 
const Aws::StringGetCommand () const
 
bool CommandHasBeenSet () const
 
void SetCommand (const Aws::String &value)
 
void SetCommand (Aws::String &&value)
 
void SetCommand (const char *value)
 
ExecuteCommandRequestWithCommand (const Aws::String &value)
 
ExecuteCommandRequestWithCommand (Aws::String &&value)
 
ExecuteCommandRequestWithCommand (const char *value)
 
bool GetInteractive () const
 
bool InteractiveHasBeenSet () const
 
void SetInteractive (bool value)
 
ExecuteCommandRequestWithInteractive (bool value)
 
const Aws::StringGetTask () const
 
bool TaskHasBeenSet () const
 
void SetTask (const Aws::String &value)
 
void SetTask (Aws::String &&value)
 
void SetTask (const char *value)
 
ExecuteCommandRequestWithTask (const Aws::String &value)
 
ExecuteCommandRequestWithTask (Aws::String &&value)
 
ExecuteCommandRequestWithTask (const char *value)
 
- Public Member Functions inherited from Aws::ECS::ECSRequest
virtual ~ECSRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 21 of file ExecuteCommandRequest.h.

Constructor & Destructor Documentation

◆ ExecuteCommandRequest()

Aws::ECS::Model::ExecuteCommandRequest::ExecuteCommandRequest ( )

Member Function Documentation

◆ ClusterHasBeenSet()

bool Aws::ECS::Model::ExecuteCommandRequest::ClusterHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.

Definition at line 47 of file ExecuteCommandRequest.h.

◆ CommandHasBeenSet()

bool Aws::ECS::Model::ExecuteCommandRequest::CommandHasBeenSet ( ) const
inline

The command to run on the container.

Definition at line 143 of file ExecuteCommandRequest.h.

◆ ContainerHasBeenSet()

bool Aws::ECS::Model::ExecuteCommandRequest::ContainerHasBeenSet ( ) const
inline

The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.

Definition at line 96 of file ExecuteCommandRequest.h.

◆ GetCluster()

const Aws::String& Aws::ECS::Model::ExecuteCommandRequest::GetCluster ( ) const
inline

The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.

Definition at line 41 of file ExecuteCommandRequest.h.

◆ GetCommand()

const Aws::String& Aws::ECS::Model::ExecuteCommandRequest::GetCommand ( ) const
inline

The command to run on the container.

Definition at line 138 of file ExecuteCommandRequest.h.

◆ GetContainer()

const Aws::String& Aws::ECS::Model::ExecuteCommandRequest::GetContainer ( ) const
inline

The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.

Definition at line 90 of file ExecuteCommandRequest.h.

◆ GetInteractive()

bool Aws::ECS::Model::ExecuteCommandRequest::GetInteractive ( ) const
inline

Use this flag to run your command in interactive mode.

Definition at line 179 of file ExecuteCommandRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::ECS::Model::ExecuteCommandRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::ECS::ECSRequest.

◆ GetServiceRequestName()

virtual const char* Aws::ECS::Model::ExecuteCommandRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 30 of file ExecuteCommandRequest.h.

◆ GetTask()

const Aws::String& Aws::ECS::Model::ExecuteCommandRequest::GetTask ( ) const
inline

The Amazon Resource Name (ARN) or ID of the task the container is part of.

Definition at line 201 of file ExecuteCommandRequest.h.

◆ InteractiveHasBeenSet()

bool Aws::ECS::Model::ExecuteCommandRequest::InteractiveHasBeenSet ( ) const
inline

Use this flag to run your command in interactive mode.

Definition at line 184 of file ExecuteCommandRequest.h.

◆ SerializePayload()

Aws::String Aws::ECS::Model::ExecuteCommandRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetCluster() [1/3]

void Aws::ECS::Model::ExecuteCommandRequest::SetCluster ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.

Definition at line 59 of file ExecuteCommandRequest.h.

◆ SetCluster() [2/3]

void Aws::ECS::Model::ExecuteCommandRequest::SetCluster ( const Aws::String value)
inline

The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.

Definition at line 53 of file ExecuteCommandRequest.h.

◆ SetCluster() [3/3]

void Aws::ECS::Model::ExecuteCommandRequest::SetCluster ( const char *  value)
inline

The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.

Definition at line 65 of file ExecuteCommandRequest.h.

◆ SetCommand() [1/3]

void Aws::ECS::Model::ExecuteCommandRequest::SetCommand ( Aws::String &&  value)
inline

The command to run on the container.

Definition at line 153 of file ExecuteCommandRequest.h.

◆ SetCommand() [2/3]

void Aws::ECS::Model::ExecuteCommandRequest::SetCommand ( const Aws::String value)
inline

The command to run on the container.

Definition at line 148 of file ExecuteCommandRequest.h.

◆ SetCommand() [3/3]

void Aws::ECS::Model::ExecuteCommandRequest::SetCommand ( const char *  value)
inline

The command to run on the container.

Definition at line 158 of file ExecuteCommandRequest.h.

◆ SetContainer() [1/3]

void Aws::ECS::Model::ExecuteCommandRequest::SetContainer ( Aws::String &&  value)
inline

The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.

Definition at line 108 of file ExecuteCommandRequest.h.

◆ SetContainer() [2/3]

void Aws::ECS::Model::ExecuteCommandRequest::SetContainer ( const Aws::String value)
inline

The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.

Definition at line 102 of file ExecuteCommandRequest.h.

◆ SetContainer() [3/3]

void Aws::ECS::Model::ExecuteCommandRequest::SetContainer ( const char *  value)
inline

The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.

Definition at line 114 of file ExecuteCommandRequest.h.

◆ SetInteractive()

void Aws::ECS::Model::ExecuteCommandRequest::SetInteractive ( bool  value)
inline

Use this flag to run your command in interactive mode.

Definition at line 189 of file ExecuteCommandRequest.h.

◆ SetTask() [1/3]

void Aws::ECS::Model::ExecuteCommandRequest::SetTask ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) or ID of the task the container is part of.

Definition at line 219 of file ExecuteCommandRequest.h.

◆ SetTask() [2/3]

void Aws::ECS::Model::ExecuteCommandRequest::SetTask ( const Aws::String value)
inline

The Amazon Resource Name (ARN) or ID of the task the container is part of.

Definition at line 213 of file ExecuteCommandRequest.h.

◆ SetTask() [3/3]

void Aws::ECS::Model::ExecuteCommandRequest::SetTask ( const char *  value)
inline

The Amazon Resource Name (ARN) or ID of the task the container is part of.

Definition at line 225 of file ExecuteCommandRequest.h.

◆ TaskHasBeenSet()

bool Aws::ECS::Model::ExecuteCommandRequest::TaskHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) or ID of the task the container is part of.

Definition at line 207 of file ExecuteCommandRequest.h.

◆ WithCluster() [1/3]

ExecuteCommandRequest& Aws::ECS::Model::ExecuteCommandRequest::WithCluster ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.

Definition at line 77 of file ExecuteCommandRequest.h.

◆ WithCluster() [2/3]

ExecuteCommandRequest& Aws::ECS::Model::ExecuteCommandRequest::WithCluster ( const Aws::String value)
inline

The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.

Definition at line 71 of file ExecuteCommandRequest.h.

◆ WithCluster() [3/3]

ExecuteCommandRequest& Aws::ECS::Model::ExecuteCommandRequest::WithCluster ( const char *  value)
inline

The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.

Definition at line 83 of file ExecuteCommandRequest.h.

◆ WithCommand() [1/3]

ExecuteCommandRequest& Aws::ECS::Model::ExecuteCommandRequest::WithCommand ( Aws::String &&  value)
inline

The command to run on the container.

Definition at line 168 of file ExecuteCommandRequest.h.

◆ WithCommand() [2/3]

ExecuteCommandRequest& Aws::ECS::Model::ExecuteCommandRequest::WithCommand ( const Aws::String value)
inline

The command to run on the container.

Definition at line 163 of file ExecuteCommandRequest.h.

◆ WithCommand() [3/3]

ExecuteCommandRequest& Aws::ECS::Model::ExecuteCommandRequest::WithCommand ( const char *  value)
inline

The command to run on the container.

Definition at line 173 of file ExecuteCommandRequest.h.

◆ WithContainer() [1/3]

ExecuteCommandRequest& Aws::ECS::Model::ExecuteCommandRequest::WithContainer ( Aws::String &&  value)
inline

The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.

Definition at line 126 of file ExecuteCommandRequest.h.

◆ WithContainer() [2/3]

ExecuteCommandRequest& Aws::ECS::Model::ExecuteCommandRequest::WithContainer ( const Aws::String value)
inline

The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.

Definition at line 120 of file ExecuteCommandRequest.h.

◆ WithContainer() [3/3]

ExecuteCommandRequest& Aws::ECS::Model::ExecuteCommandRequest::WithContainer ( const char *  value)
inline

The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.

Definition at line 132 of file ExecuteCommandRequest.h.

◆ WithInteractive()

ExecuteCommandRequest& Aws::ECS::Model::ExecuteCommandRequest::WithInteractive ( bool  value)
inline

Use this flag to run your command in interactive mode.

Definition at line 194 of file ExecuteCommandRequest.h.

◆ WithTask() [1/3]

ExecuteCommandRequest& Aws::ECS::Model::ExecuteCommandRequest::WithTask ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) or ID of the task the container is part of.

Definition at line 237 of file ExecuteCommandRequest.h.

◆ WithTask() [2/3]

ExecuteCommandRequest& Aws::ECS::Model::ExecuteCommandRequest::WithTask ( const Aws::String value)
inline

The Amazon Resource Name (ARN) or ID of the task the container is part of.

Definition at line 231 of file ExecuteCommandRequest.h.

◆ WithTask() [3/3]

ExecuteCommandRequest& Aws::ECS::Model::ExecuteCommandRequest::WithTask ( const char *  value)
inline

The Amazon Resource Name (ARN) or ID of the task the container is part of.

Definition at line 243 of file ExecuteCommandRequest.h.


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