AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteTaskSetRequest.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ECS
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_ECS_API DeleteTaskSetRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteTaskSet"; }
31
32 AWS_ECS_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetCluster() const { return m_cluster; }
43 inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; }
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>
47 DeleteTaskSetRequest& WithCluster(ClusterT&& value) { SetCluster(std::forward<ClusterT>(value)); return *this;}
49
51
55 inline const Aws::String& GetService() const { return m_service; }
56 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
57 template<typename ServiceT = Aws::String>
58 void SetService(ServiceT&& value) { m_serviceHasBeenSet = true; m_service = std::forward<ServiceT>(value); }
59 template<typename ServiceT = Aws::String>
60 DeleteTaskSetRequest& WithService(ServiceT&& value) { SetService(std::forward<ServiceT>(value)); return *this;}
62
64
68 inline const Aws::String& GetTaskSet() const { return m_taskSet; }
69 inline bool TaskSetHasBeenSet() const { return m_taskSetHasBeenSet; }
70 template<typename TaskSetT = Aws::String>
71 void SetTaskSet(TaskSetT&& value) { m_taskSetHasBeenSet = true; m_taskSet = std::forward<TaskSetT>(value); }
72 template<typename TaskSetT = Aws::String>
73 DeleteTaskSetRequest& WithTaskSet(TaskSetT&& value) { SetTaskSet(std::forward<TaskSetT>(value)); return *this;}
75
77
81 inline bool GetForce() const { return m_force; }
82 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
83 inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
84 inline DeleteTaskSetRequest& WithForce(bool value) { SetForce(value); return *this;}
86 private:
87
88 Aws::String m_cluster;
89 bool m_clusterHasBeenSet = false;
90
91 Aws::String m_service;
92 bool m_serviceHasBeenSet = false;
93
94 Aws::String m_taskSet;
95 bool m_taskSetHasBeenSet = false;
96
97 bool m_force{false};
98 bool m_forceHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace ECS
103} // namespace Aws
DeleteTaskSetRequest & WithService(ServiceT &&value)
virtual const char * GetServiceRequestName() const override
DeleteTaskSetRequest & WithCluster(ClusterT &&value)
AWS_ECS_API DeleteTaskSetRequest()=default
DeleteTaskSetRequest & WithForce(bool value)
DeleteTaskSetRequest & WithTaskSet(TaskSetT &&value)
AWS_ECS_API Aws::String SerializePayload() const override
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String