AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateImageBuilderRequest.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/appstream/model/VpcConfig.h>
11#include <aws/appstream/model/DomainJoinInfo.h>
12#include <aws/core/utils/memory/stl/AWSMap.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 CreateImageBuilderRequest();
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 "CreateImageBuilder"; }
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 CreateImageBuilderRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline CreateImageBuilderRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline CreateImageBuilderRequest& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetImageName() const{ return m_imageName; }
61 inline bool ImageNameHasBeenSet() const { return m_imageNameHasBeenSet; }
62 inline void SetImageName(const Aws::String& value) { m_imageNameHasBeenSet = true; m_imageName = value; }
63 inline void SetImageName(Aws::String&& value) { m_imageNameHasBeenSet = true; m_imageName = std::move(value); }
64 inline void SetImageName(const char* value) { m_imageNameHasBeenSet = true; m_imageName.assign(value); }
65 inline CreateImageBuilderRequest& WithImageName(const Aws::String& value) { SetImageName(value); return *this;}
66 inline CreateImageBuilderRequest& WithImageName(Aws::String&& value) { SetImageName(std::move(value)); return *this;}
67 inline CreateImageBuilderRequest& WithImageName(const char* value) { SetImageName(value); return *this;}
69
71
74 inline const Aws::String& GetImageArn() const{ return m_imageArn; }
75 inline bool ImageArnHasBeenSet() const { return m_imageArnHasBeenSet; }
76 inline void SetImageArn(const Aws::String& value) { m_imageArnHasBeenSet = true; m_imageArn = value; }
77 inline void SetImageArn(Aws::String&& value) { m_imageArnHasBeenSet = true; m_imageArn = std::move(value); }
78 inline void SetImageArn(const char* value) { m_imageArnHasBeenSet = true; m_imageArn.assign(value); }
79 inline CreateImageBuilderRequest& WithImageArn(const Aws::String& value) { SetImageArn(value); return *this;}
80 inline CreateImageBuilderRequest& WithImageArn(Aws::String&& value) { SetImageArn(std::move(value)); return *this;}
81 inline CreateImageBuilderRequest& WithImageArn(const char* value) { SetImageArn(value); return *this;}
83
85
112 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
113 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
114 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
115 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
116 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
117 inline CreateImageBuilderRequest& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
118 inline CreateImageBuilderRequest& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
119 inline CreateImageBuilderRequest& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
121
123
126 inline const Aws::String& GetDescription() const{ return m_description; }
127 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
128 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
129 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
130 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
131 inline CreateImageBuilderRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
132 inline CreateImageBuilderRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
133 inline CreateImageBuilderRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
135
137
140 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
141 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
142 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
143 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
144 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
145 inline CreateImageBuilderRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
146 inline CreateImageBuilderRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
147 inline CreateImageBuilderRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
149
151
155 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
156 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
157 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
158 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
159 inline CreateImageBuilderRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
160 inline CreateImageBuilderRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
162
164
177 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
178 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
179 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
180 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
181 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
182 inline CreateImageBuilderRequest& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
183 inline CreateImageBuilderRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
184 inline CreateImageBuilderRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
186
188
191 inline bool GetEnableDefaultInternetAccess() const{ return m_enableDefaultInternetAccess; }
192 inline bool EnableDefaultInternetAccessHasBeenSet() const { return m_enableDefaultInternetAccessHasBeenSet; }
193 inline void SetEnableDefaultInternetAccess(bool value) { m_enableDefaultInternetAccessHasBeenSet = true; m_enableDefaultInternetAccess = value; }
196
198
202 inline const DomainJoinInfo& GetDomainJoinInfo() const{ return m_domainJoinInfo; }
203 inline bool DomainJoinInfoHasBeenSet() const { return m_domainJoinInfoHasBeenSet; }
204 inline void SetDomainJoinInfo(const DomainJoinInfo& value) { m_domainJoinInfoHasBeenSet = true; m_domainJoinInfo = value; }
205 inline void SetDomainJoinInfo(DomainJoinInfo&& value) { m_domainJoinInfoHasBeenSet = true; m_domainJoinInfo = std::move(value); }
207 inline CreateImageBuilderRequest& WithDomainJoinInfo(DomainJoinInfo&& value) { SetDomainJoinInfo(std::move(value)); return *this;}
209
211
215 inline const Aws::String& GetAppstreamAgentVersion() const{ return m_appstreamAgentVersion; }
216 inline bool AppstreamAgentVersionHasBeenSet() const { return m_appstreamAgentVersionHasBeenSet; }
217 inline void SetAppstreamAgentVersion(const Aws::String& value) { m_appstreamAgentVersionHasBeenSet = true; m_appstreamAgentVersion = value; }
218 inline void SetAppstreamAgentVersion(Aws::String&& value) { m_appstreamAgentVersionHasBeenSet = true; m_appstreamAgentVersion = std::move(value); }
219 inline void SetAppstreamAgentVersion(const char* value) { m_appstreamAgentVersionHasBeenSet = true; m_appstreamAgentVersion.assign(value); }
222 inline CreateImageBuilderRequest& WithAppstreamAgentVersion(const char* value) { SetAppstreamAgentVersion(value); return *this;}
224
226
236 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
237 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
238 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
239 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
241 inline CreateImageBuilderRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
242 inline CreateImageBuilderRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
243 inline CreateImageBuilderRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
244 inline CreateImageBuilderRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
245 inline CreateImageBuilderRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
246 inline CreateImageBuilderRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
247 inline CreateImageBuilderRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
248 inline CreateImageBuilderRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
250
252
257 inline const Aws::Vector<AccessEndpoint>& GetAccessEndpoints() const{ return m_accessEndpoints; }
258 inline bool AccessEndpointsHasBeenSet() const { return m_accessEndpointsHasBeenSet; }
259 inline void SetAccessEndpoints(const Aws::Vector<AccessEndpoint>& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints = value; }
260 inline void SetAccessEndpoints(Aws::Vector<AccessEndpoint>&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints = std::move(value); }
263 inline CreateImageBuilderRequest& AddAccessEndpoints(const AccessEndpoint& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(value); return *this; }
264 inline CreateImageBuilderRequest& AddAccessEndpoints(AccessEndpoint&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(std::move(value)); return *this; }
266 private:
267
268 Aws::String m_name;
269 bool m_nameHasBeenSet = false;
270
271 Aws::String m_imageName;
272 bool m_imageNameHasBeenSet = false;
273
274 Aws::String m_imageArn;
275 bool m_imageArnHasBeenSet = false;
276
277 Aws::String m_instanceType;
278 bool m_instanceTypeHasBeenSet = false;
279
280 Aws::String m_description;
281 bool m_descriptionHasBeenSet = false;
282
283 Aws::String m_displayName;
284 bool m_displayNameHasBeenSet = false;
285
286 VpcConfig m_vpcConfig;
287 bool m_vpcConfigHasBeenSet = false;
288
289 Aws::String m_iamRoleArn;
290 bool m_iamRoleArnHasBeenSet = false;
291
292 bool m_enableDefaultInternetAccess;
293 bool m_enableDefaultInternetAccessHasBeenSet = false;
294
295 DomainJoinInfo m_domainJoinInfo;
296 bool m_domainJoinInfoHasBeenSet = false;
297
298 Aws::String m_appstreamAgentVersion;
299 bool m_appstreamAgentVersionHasBeenSet = false;
300
302 bool m_tagsHasBeenSet = false;
303
304 Aws::Vector<AccessEndpoint> m_accessEndpoints;
305 bool m_accessEndpointsHasBeenSet = false;
306 };
307
308} // namespace Model
309} // namespace AppStream
310} // namespace Aws
CreateImageBuilderRequest & WithInstanceType(Aws::String &&value)
CreateImageBuilderRequest & WithImageArn(const char *value)
CreateImageBuilderRequest & WithInstanceType(const char *value)
CreateImageBuilderRequest & WithDisplayName(Aws::String &&value)
CreateImageBuilderRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateImageBuilderRequest & WithName(const char *value)
CreateImageBuilderRequest & WithImageName(const Aws::String &value)
CreateImageBuilderRequest & AddTags(Aws::String &&key, const char *value)
CreateImageBuilderRequest & WithAccessEndpoints(Aws::Vector< AccessEndpoint > &&value)
CreateImageBuilderRequest & WithImageName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateImageBuilderRequest & WithName(const Aws::String &value)
const Aws::Vector< AccessEndpoint > & GetAccessEndpoints() const
CreateImageBuilderRequest & WithAppstreamAgentVersion(Aws::String &&value)
CreateImageBuilderRequest & WithImageArn(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateImageBuilderRequest & WithImageArn(Aws::String &&value)
CreateImageBuilderRequest & WithVpcConfig(const VpcConfig &value)
CreateImageBuilderRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateImageBuilderRequest & WithEnableDefaultInternetAccess(bool value)
CreateImageBuilderRequest & WithDisplayName(const char *value)
void SetAccessEndpoints(const Aws::Vector< AccessEndpoint > &value)
CreateImageBuilderRequest & WithDomainJoinInfo(const DomainJoinInfo &value)
CreateImageBuilderRequest & WithDomainJoinInfo(DomainJoinInfo &&value)
CreateImageBuilderRequest & WithVpcConfig(VpcConfig &&value)
CreateImageBuilderRequest & WithInstanceType(const Aws::String &value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
CreateImageBuilderRequest & WithIamRoleArn(const Aws::String &value)
CreateImageBuilderRequest & WithDisplayName(const Aws::String &value)
void SetAccessEndpoints(Aws::Vector< AccessEndpoint > &&value)
CreateImageBuilderRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateImageBuilderRequest & WithAccessEndpoints(const Aws::Vector< AccessEndpoint > &value)
CreateImageBuilderRequest & AddTags(const char *key, const char *value)
CreateImageBuilderRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateImageBuilderRequest & WithDescription(const char *value)
CreateImageBuilderRequest & WithName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateImageBuilderRequest & WithImageName(Aws::String &&value)
CreateImageBuilderRequest & AddAccessEndpoints(const AccessEndpoint &value)
CreateImageBuilderRequest & WithIamRoleArn(const char *value)
CreateImageBuilderRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateImageBuilderRequest & AddTags(const char *key, Aws::String &&value)
CreateImageBuilderRequest & WithIamRoleArn(Aws::String &&value)
CreateImageBuilderRequest & WithDescription(const Aws::String &value)
CreateImageBuilderRequest & WithAppstreamAgentVersion(const char *value)
CreateImageBuilderRequest & WithDescription(Aws::String &&value)
CreateImageBuilderRequest & AddAccessEndpoints(AccessEndpoint &&value)
CreateImageBuilderRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateImageBuilderRequest & WithAppstreamAgentVersion(const Aws::String &value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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