AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateKxScalingGroupRequest.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/finspace/FinspaceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace finspace
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_FINSPACE_API CreateKxScalingGroupRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateKxScalingGroup"; }
33
34 AWS_FINSPACE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
42 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
43 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
44 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
45 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
46 inline CreateKxScalingGroupRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
47 inline CreateKxScalingGroupRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
48 inline CreateKxScalingGroupRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
50
52
56 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
57 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
58 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
59 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
60 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
61 inline CreateKxScalingGroupRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
62 inline CreateKxScalingGroupRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
63 inline CreateKxScalingGroupRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
65
67
70 inline const Aws::String& GetScalingGroupName() const{ return m_scalingGroupName; }
71 inline bool ScalingGroupNameHasBeenSet() const { return m_scalingGroupNameHasBeenSet; }
72 inline void SetScalingGroupName(const Aws::String& value) { m_scalingGroupNameHasBeenSet = true; m_scalingGroupName = value; }
73 inline void SetScalingGroupName(Aws::String&& value) { m_scalingGroupNameHasBeenSet = true; m_scalingGroupName = std::move(value); }
74 inline void SetScalingGroupName(const char* value) { m_scalingGroupNameHasBeenSet = true; m_scalingGroupName.assign(value); }
76 inline CreateKxScalingGroupRequest& WithScalingGroupName(Aws::String&& value) { SetScalingGroupName(std::move(value)); return *this;}
77 inline CreateKxScalingGroupRequest& WithScalingGroupName(const char* value) { SetScalingGroupName(value); return *this;}
79
81
99 inline const Aws::String& GetHostType() const{ return m_hostType; }
100 inline bool HostTypeHasBeenSet() const { return m_hostTypeHasBeenSet; }
101 inline void SetHostType(const Aws::String& value) { m_hostTypeHasBeenSet = true; m_hostType = value; }
102 inline void SetHostType(Aws::String&& value) { m_hostTypeHasBeenSet = true; m_hostType = std::move(value); }
103 inline void SetHostType(const char* value) { m_hostTypeHasBeenSet = true; m_hostType.assign(value); }
104 inline CreateKxScalingGroupRequest& WithHostType(const Aws::String& value) { SetHostType(value); return *this;}
105 inline CreateKxScalingGroupRequest& WithHostType(Aws::String&& value) { SetHostType(std::move(value)); return *this;}
106 inline CreateKxScalingGroupRequest& WithHostType(const char* value) { SetHostType(value); return *this;}
108
110
113 inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
114 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
115 inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; }
116 inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); }
117 inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); }
119 inline CreateKxScalingGroupRequest& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
120 inline CreateKxScalingGroupRequest& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
122
124
128 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
129 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
130 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
131 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
133 inline CreateKxScalingGroupRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
134 inline CreateKxScalingGroupRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
135 inline CreateKxScalingGroupRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
136 inline CreateKxScalingGroupRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
137 inline CreateKxScalingGroupRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
138 inline CreateKxScalingGroupRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
139 inline CreateKxScalingGroupRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
140 inline CreateKxScalingGroupRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
142 private:
143
144 Aws::String m_clientToken;
145 bool m_clientTokenHasBeenSet = false;
146
147 Aws::String m_environmentId;
148 bool m_environmentIdHasBeenSet = false;
149
150 Aws::String m_scalingGroupName;
151 bool m_scalingGroupNameHasBeenSet = false;
152
153 Aws::String m_hostType;
154 bool m_hostTypeHasBeenSet = false;
155
156 Aws::String m_availabilityZoneId;
157 bool m_availabilityZoneIdHasBeenSet = false;
158
160 bool m_tagsHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace finspace
165} // namespace Aws
CreateKxScalingGroupRequest & AddTags(Aws::String &&key, const char *value)
CreateKxScalingGroupRequest & WithHostType(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateKxScalingGroupRequest & WithClientToken(Aws::String &&value)
CreateKxScalingGroupRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateKxScalingGroupRequest & AddTags(const char *key, const char *value)
CreateKxScalingGroupRequest & WithEnvironmentId(const Aws::String &value)
CreateKxScalingGroupRequest & WithEnvironmentId(const char *value)
CreateKxScalingGroupRequest & WithClientToken(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateKxScalingGroupRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateKxScalingGroupRequest & WithEnvironmentId(Aws::String &&value)
CreateKxScalingGroupRequest & WithClientToken(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateKxScalingGroupRequest & WithHostType(const char *value)
virtual const char * GetServiceRequestName() const override
CreateKxScalingGroupRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateKxScalingGroupRequest & WithAvailabilityZoneId(const char *value)
CreateKxScalingGroupRequest & WithHostType(const Aws::String &value)
CreateKxScalingGroupRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateKxScalingGroupRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateKxScalingGroupRequest & AddTags(const char *key, Aws::String &&value)
CreateKxScalingGroupRequest & WithScalingGroupName(Aws::String &&value)
CreateKxScalingGroupRequest & WithScalingGroupName(const Aws::String &value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
CreateKxScalingGroupRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateKxScalingGroupRequest & WithAvailabilityZoneId(const Aws::String &value)
CreateKxScalingGroupRequest & WithAvailabilityZoneId(Aws::String &&value)
CreateKxScalingGroupRequest & WithScalingGroupName(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String