7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/ecs/ECS_EXPORTS.h>
40 template <
typename ClusterT = Aws::String>
42 m_clusterHasBeenSet =
true;
43 m_cluster = std::forward<ClusterT>(value);
45 template <
typename ClusterT = Aws::String>
59 template <
typename ContainerT = Aws::String>
61 m_containerHasBeenSet =
true;
62 m_container = std::forward<ContainerT>(value);
64 template <
typename ContainerT = Aws::String>
77 template <
typename CommandT = Aws::String>
79 m_commandHasBeenSet =
true;
80 m_command = std::forward<CommandT>(value);
82 template <
typename CommandT = Aws::String>
96 m_interactiveHasBeenSet =
true;
97 m_interactive = value;
112 template <
typename TaskT = Aws::String>
114 m_taskHasBeenSet =
true;
115 m_task = std::forward<TaskT>(value);
117 template <
typename TaskT = Aws::String>
119 SetTask(std::forward<TaskT>(value));
130 bool m_interactive{
false};
133 bool m_clusterHasBeenSet =
false;
134 bool m_containerHasBeenSet =
false;
135 bool m_commandHasBeenSet =
false;
136 bool m_interactiveHasBeenSet =
false;
137 bool m_taskHasBeenSet =
false;
ExecuteCommandRequest & WithTask(TaskT &&value)
ExecuteCommandRequest & WithInteractive(bool value)
AWS_ECS_API Aws::String SerializePayload() const override
const Aws::String & GetContainer() const
ExecuteCommandRequest & WithContainer(ContainerT &&value)
ExecuteCommandRequest & WithCluster(ClusterT &&value)
bool CommandHasBeenSet() const
void SetContainer(ContainerT &&value)
ExecuteCommandRequest & WithCommand(CommandT &&value)
const Aws::String & GetTask() const
void SetInteractive(bool value)
bool TaskHasBeenSet() const
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool InteractiveHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool GetInteractive() const
const Aws::String & GetCluster() const
void SetCommand(CommandT &&value)
bool ContainerHasBeenSet() const
void SetTask(TaskT &&value)
bool ClusterHasBeenSet() const
AWS_ECS_API ExecuteCommandRequest()=default
const Aws::String & GetCommand() const
void SetCluster(ClusterT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String