AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAppBlockBuilderRequest.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/AppStreamRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/appstream/model/AppBlockBuilderPlatformType.h>
12#include <aws/appstream/model/VpcConfig.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/appstream/model/AccessEndpoint.h>
15#include <utility>
16
17namespace Aws
18{
19namespace AppStream
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_APPSTREAM_API CreateAppBlockBuilderRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateAppBlockBuilder"; }
36
37 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline CreateAppBlockBuilderRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline CreateAppBlockBuilderRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline CreateAppBlockBuilderRequest& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline CreateAppBlockBuilderRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline CreateAppBlockBuilderRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline CreateAppBlockBuilderRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
74 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
75 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
76 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
77 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
78 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
79 inline CreateAppBlockBuilderRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
80 inline CreateAppBlockBuilderRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
81 inline CreateAppBlockBuilderRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
83
85
95 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
96 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
97 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
98 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
100 inline CreateAppBlockBuilderRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
101 inline CreateAppBlockBuilderRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
102 inline CreateAppBlockBuilderRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
103 inline CreateAppBlockBuilderRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
104 inline CreateAppBlockBuilderRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
105 inline CreateAppBlockBuilderRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
106 inline CreateAppBlockBuilderRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
107 inline CreateAppBlockBuilderRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
109
111
115 inline const AppBlockBuilderPlatformType& GetPlatform() const{ return m_platform; }
116 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
117 inline void SetPlatform(const AppBlockBuilderPlatformType& value) { m_platformHasBeenSet = true; m_platform = value; }
118 inline void SetPlatform(AppBlockBuilderPlatformType&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
120 inline CreateAppBlockBuilderRequest& WithPlatform(AppBlockBuilderPlatformType&& value) { SetPlatform(std::move(value)); return *this;}
122
124
131 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
132 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
133 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
134 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
135 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
136 inline CreateAppBlockBuilderRequest& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
137 inline CreateAppBlockBuilderRequest& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
138 inline CreateAppBlockBuilderRequest& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
140
142
147 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
148 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
149 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
150 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
151 inline CreateAppBlockBuilderRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
152 inline CreateAppBlockBuilderRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
154
156
159 inline bool GetEnableDefaultInternetAccess() const{ return m_enableDefaultInternetAccess; }
160 inline bool EnableDefaultInternetAccessHasBeenSet() const { return m_enableDefaultInternetAccessHasBeenSet; }
161 inline void SetEnableDefaultInternetAccess(bool value) { m_enableDefaultInternetAccessHasBeenSet = true; m_enableDefaultInternetAccess = value; }
164
166
179 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
180 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
181 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
182 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
183 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
184 inline CreateAppBlockBuilderRequest& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
185 inline CreateAppBlockBuilderRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
186 inline CreateAppBlockBuilderRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
188
190
195 inline const Aws::Vector<AccessEndpoint>& GetAccessEndpoints() const{ return m_accessEndpoints; }
196 inline bool AccessEndpointsHasBeenSet() const { return m_accessEndpointsHasBeenSet; }
197 inline void SetAccessEndpoints(const Aws::Vector<AccessEndpoint>& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints = value; }
198 inline void SetAccessEndpoints(Aws::Vector<AccessEndpoint>&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints = std::move(value); }
201 inline CreateAppBlockBuilderRequest& AddAccessEndpoints(const AccessEndpoint& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(value); return *this; }
202 inline CreateAppBlockBuilderRequest& AddAccessEndpoints(AccessEndpoint&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(std::move(value)); return *this; }
204 private:
205
206 Aws::String m_name;
207 bool m_nameHasBeenSet = false;
208
209 Aws::String m_description;
210 bool m_descriptionHasBeenSet = false;
211
212 Aws::String m_displayName;
213 bool m_displayNameHasBeenSet = false;
214
216 bool m_tagsHasBeenSet = false;
217
219 bool m_platformHasBeenSet = false;
220
221 Aws::String m_instanceType;
222 bool m_instanceTypeHasBeenSet = false;
223
224 VpcConfig m_vpcConfig;
225 bool m_vpcConfigHasBeenSet = false;
226
227 bool m_enableDefaultInternetAccess;
228 bool m_enableDefaultInternetAccessHasBeenSet = false;
229
230 Aws::String m_iamRoleArn;
231 bool m_iamRoleArnHasBeenSet = false;
232
233 Aws::Vector<AccessEndpoint> m_accessEndpoints;
234 bool m_accessEndpointsHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace AppStream
239} // namespace Aws
void SetPlatform(const AppBlockBuilderPlatformType &value)
CreateAppBlockBuilderRequest & WithIamRoleArn(const Aws::String &value)
CreateAppBlockBuilderRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateAppBlockBuilderRequest & WithDisplayName(Aws::String &&value)
CreateAppBlockBuilderRequest & WithDisplayName(const char *value)
CreateAppBlockBuilderRequest & WithEnableDefaultInternetAccess(bool value)
CreateAppBlockBuilderRequest & AddAccessEndpoints(AccessEndpoint &&value)
void SetAccessEndpoints(Aws::Vector< AccessEndpoint > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAppBlockBuilderRequest & AddAccessEndpoints(const AccessEndpoint &value)
CreateAppBlockBuilderRequest & WithName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAppBlockBuilderRequest & WithInstanceType(const char *value)
CreateAppBlockBuilderRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAppBlockBuilderRequest & WithVpcConfig(const VpcConfig &value)
CreateAppBlockBuilderRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateAppBlockBuilderRequest & WithDescription(const Aws::String &value)
CreateAppBlockBuilderRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateAppBlockBuilderRequest & AddTags(const char *key, Aws::String &&value)
CreateAppBlockBuilderRequest & WithDescription(Aws::String &&value)
CreateAppBlockBuilderRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAppBlockBuilderRequest & WithDescription(const char *value)
CreateAppBlockBuilderRequest & AddTags(const char *key, const char *value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
CreateAppBlockBuilderRequest & WithInstanceType(const Aws::String &value)
CreateAppBlockBuilderRequest & WithInstanceType(Aws::String &&value)
const Aws::Vector< AccessEndpoint > & GetAccessEndpoints() const
CreateAppBlockBuilderRequest & WithAccessEndpoints(const Aws::Vector< AccessEndpoint > &value)
CreateAppBlockBuilderRequest & WithName(Aws::String &&value)
CreateAppBlockBuilderRequest & WithPlatform(const AppBlockBuilderPlatformType &value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAppBlockBuilderRequest & WithIamRoleArn(const char *value)
CreateAppBlockBuilderRequest & WithVpcConfig(VpcConfig &&value)
void SetAccessEndpoints(const Aws::Vector< AccessEndpoint > &value)
const AppBlockBuilderPlatformType & GetPlatform() const
CreateAppBlockBuilderRequest & WithDisplayName(const Aws::String &value)
CreateAppBlockBuilderRequest & AddTags(Aws::String &&key, const char *value)
CreateAppBlockBuilderRequest & WithPlatform(AppBlockBuilderPlatformType &&value)
CreateAppBlockBuilderRequest & WithIamRoleArn(Aws::String &&value)
CreateAppBlockBuilderRequest & WithAccessEndpoints(Aws::Vector< AccessEndpoint > &&value)
CreateAppBlockBuilderRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAppBlockBuilderRequest & WithName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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
std::vector< T, Aws::Allocator< T > > Vector