7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
44 template<
typename ClusterT = Aws::String>
45 void SetCluster(ClusterT&& value) { m_clusterHasBeenSet =
true; m_cluster = std::forward<ClusterT>(value); }
46 template<
typename ClusterT = Aws::String>
57 template<
typename ContainerT = Aws::String>
58 void SetContainer(ContainerT&& value) { m_containerHasBeenSet =
true; m_container = std::forward<ContainerT>(value); }
59 template<
typename ContainerT = Aws::String>
69 template<
typename CommandT = Aws::String>
70 void SetCommand(CommandT&& value) { m_commandHasBeenSet =
true; m_command = std::forward<CommandT>(value); }
71 template<
typename CommandT = Aws::String>
81 inline void SetInteractive(
bool value) { m_interactiveHasBeenSet =
true; m_interactive = value; }
92 template<
typename TaskT = Aws::String>
93 void SetTask(TaskT&& value) { m_taskHasBeenSet =
true; m_task = std::forward<TaskT>(value); }
94 template<
typename TaskT = Aws::String>
100 bool m_clusterHasBeenSet =
false;
103 bool m_containerHasBeenSet =
false;
106 bool m_commandHasBeenSet =
false;
108 bool m_interactive{
false};
109 bool m_interactiveHasBeenSet =
false;
112 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