AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DeleteTaskSetRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace ECS
15{
16namespace Model
17{
18
22 {
23 public:
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
33
35
36
41 inline const Aws::String& GetCluster() const{ return m_cluster; }
42
47 inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; }
48
53 inline void SetCluster(const Aws::String& value) { m_clusterHasBeenSet = true; m_cluster = value; }
54
59 inline void SetCluster(Aws::String&& value) { m_clusterHasBeenSet = true; m_cluster = std::move(value); }
60
65 inline void SetCluster(const char* value) { m_clusterHasBeenSet = true; m_cluster.assign(value); }
66
71 inline DeleteTaskSetRequest& WithCluster(const Aws::String& value) { SetCluster(value); return *this;}
72
77 inline DeleteTaskSetRequest& WithCluster(Aws::String&& value) { SetCluster(std::move(value)); return *this;}
78
83 inline DeleteTaskSetRequest& WithCluster(const char* value) { SetCluster(value); return *this;}
84
85
90 inline const Aws::String& GetService() const{ return m_service; }
91
96 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
97
102 inline void SetService(const Aws::String& value) { m_serviceHasBeenSet = true; m_service = value; }
103
108 inline void SetService(Aws::String&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); }
109
114 inline void SetService(const char* value) { m_serviceHasBeenSet = true; m_service.assign(value); }
115
120 inline DeleteTaskSetRequest& WithService(const Aws::String& value) { SetService(value); return *this;}
121
126 inline DeleteTaskSetRequest& WithService(Aws::String&& value) { SetService(std::move(value)); return *this;}
127
132 inline DeleteTaskSetRequest& WithService(const char* value) { SetService(value); return *this;}
133
134
139 inline const Aws::String& GetTaskSet() const{ return m_taskSet; }
140
145 inline bool TaskSetHasBeenSet() const { return m_taskSetHasBeenSet; }
146
151 inline void SetTaskSet(const Aws::String& value) { m_taskSetHasBeenSet = true; m_taskSet = value; }
152
157 inline void SetTaskSet(Aws::String&& value) { m_taskSetHasBeenSet = true; m_taskSet = std::move(value); }
158
163 inline void SetTaskSet(const char* value) { m_taskSetHasBeenSet = true; m_taskSet.assign(value); }
164
169 inline DeleteTaskSetRequest& WithTaskSet(const Aws::String& value) { SetTaskSet(value); return *this;}
170
175 inline DeleteTaskSetRequest& WithTaskSet(Aws::String&& value) { SetTaskSet(std::move(value)); return *this;}
176
181 inline DeleteTaskSetRequest& WithTaskSet(const char* value) { SetTaskSet(value); return *this;}
182
183
188 inline bool GetForce() const{ return m_force; }
189
194 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
195
200 inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
201
206 inline DeleteTaskSetRequest& WithForce(bool value) { SetForce(value); return *this;}
207
208 private:
209
210 Aws::String m_cluster;
211 bool m_clusterHasBeenSet = false;
212
213 Aws::String m_service;
214 bool m_serviceHasBeenSet = false;
215
216 Aws::String m_taskSet;
217 bool m_taskSetHasBeenSet = false;
218
219 bool m_force;
220 bool m_forceHasBeenSet = false;
221 };
222
223} // namespace Model
224} // namespace ECS
225} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
DeleteTaskSetRequest & WithCluster(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteTaskSetRequest & WithCluster(Aws::String &&value)
DeleteTaskSetRequest & WithTaskSet(Aws::String &&value)
DeleteTaskSetRequest & WithService(const char *value)
const Aws::String & GetService() const
const Aws::String & GetTaskSet() const
DeleteTaskSetRequest & WithForce(bool value)
void SetTaskSet(const Aws::String &value)
DeleteTaskSetRequest & WithTaskSet(const Aws::String &value)
AWS_ECS_API Aws::String SerializePayload() const override
DeleteTaskSetRequest & WithService(const Aws::String &value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteTaskSetRequest & WithService(Aws::String &&value)
void SetService(const Aws::String &value)
DeleteTaskSetRequest & WithTaskSet(const char *value)
void SetCluster(const Aws::String &value)
const Aws::String & GetCluster() const
DeleteTaskSetRequest & WithCluster(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String