AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCluster(const Aws::String& value) { m_clusterHasBeenSet = true; m_cluster = value; }
45 inline void SetCluster(Aws::String&& value) { m_clusterHasBeenSet = true; m_cluster = std::move(value); }
46 inline void SetCluster(const char* value) { m_clusterHasBeenSet = true; m_cluster.assign(value); }
47 inline DeleteTaskSetRequest& WithCluster(const Aws::String& value) { SetCluster(value); return *this;}
48 inline DeleteTaskSetRequest& WithCluster(Aws::String&& value) { SetCluster(std::move(value)); return *this;}
49 inline DeleteTaskSetRequest& WithCluster(const char* value) { SetCluster(value); return *this;}
51
53
57 inline const Aws::String& GetService() const{ return m_service; }
58 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
59 inline void SetService(const Aws::String& value) { m_serviceHasBeenSet = true; m_service = value; }
60 inline void SetService(Aws::String&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); }
61 inline void SetService(const char* value) { m_serviceHasBeenSet = true; m_service.assign(value); }
62 inline DeleteTaskSetRequest& WithService(const Aws::String& value) { SetService(value); return *this;}
63 inline DeleteTaskSetRequest& WithService(Aws::String&& value) { SetService(std::move(value)); return *this;}
64 inline DeleteTaskSetRequest& WithService(const char* value) { SetService(value); return *this;}
66
68
72 inline const Aws::String& GetTaskSet() const{ return m_taskSet; }
73 inline bool TaskSetHasBeenSet() const { return m_taskSetHasBeenSet; }
74 inline void SetTaskSet(const Aws::String& value) { m_taskSetHasBeenSet = true; m_taskSet = value; }
75 inline void SetTaskSet(Aws::String&& value) { m_taskSetHasBeenSet = true; m_taskSet = std::move(value); }
76 inline void SetTaskSet(const char* value) { m_taskSetHasBeenSet = true; m_taskSet.assign(value); }
77 inline DeleteTaskSetRequest& WithTaskSet(const Aws::String& value) { SetTaskSet(value); return *this;}
78 inline DeleteTaskSetRequest& WithTaskSet(Aws::String&& value) { SetTaskSet(std::move(value)); return *this;}
79 inline DeleteTaskSetRequest& WithTaskSet(const char* value) { SetTaskSet(value); return *this;}
81
83
87 inline bool GetForce() const{ return m_force; }
88 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
89 inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
90 inline DeleteTaskSetRequest& WithForce(bool value) { SetForce(value); return *this;}
92 private:
93
94 Aws::String m_cluster;
95 bool m_clusterHasBeenSet = false;
96
97 Aws::String m_service;
98 bool m_serviceHasBeenSet = false;
99
100 Aws::String m_taskSet;
101 bool m_taskSetHasBeenSet = false;
102
103 bool m_force;
104 bool m_forceHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace ECS
109} // namespace Aws
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)
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)
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