AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTaskSetRequest.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 <aws/ecs/model/Scale.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ECS
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ECS_API UpdateTaskSetRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateTaskSet"; }
32
33 AWS_ECS_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetCluster() const{ return m_cluster; }
44 inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; }
45 inline void SetCluster(const Aws::String& value) { m_clusterHasBeenSet = true; m_cluster = value; }
46 inline void SetCluster(Aws::String&& value) { m_clusterHasBeenSet = true; m_cluster = std::move(value); }
47 inline void SetCluster(const char* value) { m_clusterHasBeenSet = true; m_cluster.assign(value); }
48 inline UpdateTaskSetRequest& WithCluster(const Aws::String& value) { SetCluster(value); return *this;}
49 inline UpdateTaskSetRequest& WithCluster(Aws::String&& value) { SetCluster(std::move(value)); return *this;}
50 inline UpdateTaskSetRequest& WithCluster(const char* value) { SetCluster(value); return *this;}
52
54
58 inline const Aws::String& GetService() const{ return m_service; }
59 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
60 inline void SetService(const Aws::String& value) { m_serviceHasBeenSet = true; m_service = value; }
61 inline void SetService(Aws::String&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); }
62 inline void SetService(const char* value) { m_serviceHasBeenSet = true; m_service.assign(value); }
63 inline UpdateTaskSetRequest& WithService(const Aws::String& value) { SetService(value); return *this;}
64 inline UpdateTaskSetRequest& WithService(Aws::String&& value) { SetService(std::move(value)); return *this;}
65 inline UpdateTaskSetRequest& WithService(const char* value) { SetService(value); return *this;}
67
69
73 inline const Aws::String& GetTaskSet() const{ return m_taskSet; }
74 inline bool TaskSetHasBeenSet() const { return m_taskSetHasBeenSet; }
75 inline void SetTaskSet(const Aws::String& value) { m_taskSetHasBeenSet = true; m_taskSet = value; }
76 inline void SetTaskSet(Aws::String&& value) { m_taskSetHasBeenSet = true; m_taskSet = std::move(value); }
77 inline void SetTaskSet(const char* value) { m_taskSetHasBeenSet = true; m_taskSet.assign(value); }
78 inline UpdateTaskSetRequest& WithTaskSet(const Aws::String& value) { SetTaskSet(value); return *this;}
79 inline UpdateTaskSetRequest& WithTaskSet(Aws::String&& value) { SetTaskSet(std::move(value)); return *this;}
80 inline UpdateTaskSetRequest& WithTaskSet(const char* value) { SetTaskSet(value); return *this;}
82
84
88 inline const Scale& GetScale() const{ return m_scale; }
89 inline bool ScaleHasBeenSet() const { return m_scaleHasBeenSet; }
90 inline void SetScale(const Scale& value) { m_scaleHasBeenSet = true; m_scale = value; }
91 inline void SetScale(Scale&& value) { m_scaleHasBeenSet = true; m_scale = std::move(value); }
92 inline UpdateTaskSetRequest& WithScale(const Scale& value) { SetScale(value); return *this;}
93 inline UpdateTaskSetRequest& WithScale(Scale&& value) { SetScale(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_cluster;
98 bool m_clusterHasBeenSet = false;
99
100 Aws::String m_service;
101 bool m_serviceHasBeenSet = false;
102
103 Aws::String m_taskSet;
104 bool m_taskSetHasBeenSet = false;
105
106 Scale m_scale;
107 bool m_scaleHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ECS
112} // namespace Aws
UpdateTaskSetRequest & WithScale(const Scale &value)
AWS_ECS_API Aws::String SerializePayload() const override
UpdateTaskSetRequest & WithService(const char *value)
void SetService(const Aws::String &value)
UpdateTaskSetRequest & WithService(const Aws::String &value)
UpdateTaskSetRequest & WithCluster(const char *value)
UpdateTaskSetRequest & WithTaskSet(const char *value)
UpdateTaskSetRequest & WithTaskSet(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetTaskSet(const Aws::String &value)
UpdateTaskSetRequest & WithTaskSet(const Aws::String &value)
UpdateTaskSetRequest & WithService(Aws::String &&value)
UpdateTaskSetRequest & WithCluster(const Aws::String &value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateTaskSetRequest & WithCluster(Aws::String &&value)
void SetCluster(const Aws::String &value)
UpdateTaskSetRequest & WithScale(Scale &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String