AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAppBlockBuilderRequest.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/PlatformType.h>
11#include <aws/appstream/model/VpcConfig.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/appstream/model/AccessEndpoint.h>
14#include <aws/appstream/model/AppBlockBuilderAttribute.h>
15#include <utility>
16
17namespace Aws
18{
19namespace AppStream
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_APPSTREAM_API UpdateAppBlockBuilderRequest();
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 "UpdateAppBlockBuilder"; }
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 UpdateAppBlockBuilderRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline UpdateAppBlockBuilderRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline UpdateAppBlockBuilderRequest& 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 UpdateAppBlockBuilderRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline UpdateAppBlockBuilderRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline UpdateAppBlockBuilderRequest& 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 UpdateAppBlockBuilderRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
80 inline UpdateAppBlockBuilderRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
81 inline UpdateAppBlockBuilderRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
83
85
89 inline const PlatformType& GetPlatform() const{ return m_platform; }
90 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
91 inline void SetPlatform(const PlatformType& value) { m_platformHasBeenSet = true; m_platform = value; }
92 inline void SetPlatform(PlatformType&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
93 inline UpdateAppBlockBuilderRequest& WithPlatform(const PlatformType& value) { SetPlatform(value); return *this;}
94 inline UpdateAppBlockBuilderRequest& WithPlatform(PlatformType&& value) { SetPlatform(std::move(value)); return *this;}
96
98
105 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
106 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
107 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
108 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
109 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
110 inline UpdateAppBlockBuilderRequest& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
111 inline UpdateAppBlockBuilderRequest& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
112 inline UpdateAppBlockBuilderRequest& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
114
116
121 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
122 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
123 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
124 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
125 inline UpdateAppBlockBuilderRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
126 inline UpdateAppBlockBuilderRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
128
130
133 inline bool GetEnableDefaultInternetAccess() const{ return m_enableDefaultInternetAccess; }
134 inline bool EnableDefaultInternetAccessHasBeenSet() const { return m_enableDefaultInternetAccessHasBeenSet; }
135 inline void SetEnableDefaultInternetAccess(bool value) { m_enableDefaultInternetAccessHasBeenSet = true; m_enableDefaultInternetAccess = value; }
138
140
153 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
154 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
155 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
156 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
157 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
158 inline UpdateAppBlockBuilderRequest& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
159 inline UpdateAppBlockBuilderRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
160 inline UpdateAppBlockBuilderRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
162
164
169 inline const Aws::Vector<AccessEndpoint>& GetAccessEndpoints() const{ return m_accessEndpoints; }
170 inline bool AccessEndpointsHasBeenSet() const { return m_accessEndpointsHasBeenSet; }
171 inline void SetAccessEndpoints(const Aws::Vector<AccessEndpoint>& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints = value; }
172 inline void SetAccessEndpoints(Aws::Vector<AccessEndpoint>&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints = std::move(value); }
175 inline UpdateAppBlockBuilderRequest& AddAccessEndpoints(const AccessEndpoint& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(value); return *this; }
176 inline UpdateAppBlockBuilderRequest& AddAccessEndpoints(AccessEndpoint&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(std::move(value)); return *this; }
178
180
183 inline const Aws::Vector<AppBlockBuilderAttribute>& GetAttributesToDelete() const{ return m_attributesToDelete; }
184 inline bool AttributesToDeleteHasBeenSet() const { return m_attributesToDeleteHasBeenSet; }
185 inline void SetAttributesToDelete(const Aws::Vector<AppBlockBuilderAttribute>& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete = value; }
186 inline void SetAttributesToDelete(Aws::Vector<AppBlockBuilderAttribute>&& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete = std::move(value); }
189 inline UpdateAppBlockBuilderRequest& AddAttributesToDelete(const AppBlockBuilderAttribute& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete.push_back(value); return *this; }
190 inline UpdateAppBlockBuilderRequest& AddAttributesToDelete(AppBlockBuilderAttribute&& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete.push_back(std::move(value)); return *this; }
192 private:
193
194 Aws::String m_name;
195 bool m_nameHasBeenSet = false;
196
197 Aws::String m_description;
198 bool m_descriptionHasBeenSet = false;
199
200 Aws::String m_displayName;
201 bool m_displayNameHasBeenSet = false;
202
203 PlatformType m_platform;
204 bool m_platformHasBeenSet = false;
205
206 Aws::String m_instanceType;
207 bool m_instanceTypeHasBeenSet = false;
208
209 VpcConfig m_vpcConfig;
210 bool m_vpcConfigHasBeenSet = false;
211
212 bool m_enableDefaultInternetAccess;
213 bool m_enableDefaultInternetAccessHasBeenSet = false;
214
215 Aws::String m_iamRoleArn;
216 bool m_iamRoleArnHasBeenSet = false;
217
218 Aws::Vector<AccessEndpoint> m_accessEndpoints;
219 bool m_accessEndpointsHasBeenSet = false;
220
221 Aws::Vector<AppBlockBuilderAttribute> m_attributesToDelete;
222 bool m_attributesToDeleteHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace AppStream
227} // namespace Aws
AWS_APPSTREAM_API Aws::String SerializePayload() const override
UpdateAppBlockBuilderRequest & WithAttributesToDelete(Aws::Vector< AppBlockBuilderAttribute > &&value)
UpdateAppBlockBuilderRequest & WithVpcConfig(VpcConfig &&value)
UpdateAppBlockBuilderRequest & WithPlatform(const PlatformType &value)
void SetAccessEndpoints(Aws::Vector< AccessEndpoint > &&value)
UpdateAppBlockBuilderRequest & AddAccessEndpoints(AccessEndpoint &&value)
UpdateAppBlockBuilderRequest & WithIamRoleArn(const char *value)
UpdateAppBlockBuilderRequest & WithAccessEndpoints(Aws::Vector< AccessEndpoint > &&value)
UpdateAppBlockBuilderRequest & WithName(const Aws::String &value)
UpdateAppBlockBuilderRequest & WithEnableDefaultInternetAccess(bool value)
void SetAccessEndpoints(const Aws::Vector< AccessEndpoint > &value)
UpdateAppBlockBuilderRequest & WithIamRoleArn(const Aws::String &value)
UpdateAppBlockBuilderRequest & WithDescription(const Aws::String &value)
UpdateAppBlockBuilderRequest & AddAttributesToDelete(const AppBlockBuilderAttribute &value)
UpdateAppBlockBuilderRequest & WithVpcConfig(const VpcConfig &value)
UpdateAppBlockBuilderRequest & WithDisplayName(Aws::String &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAttributesToDelete(const Aws::Vector< AppBlockBuilderAttribute > &value)
const Aws::Vector< AccessEndpoint > & GetAccessEndpoints() const
UpdateAppBlockBuilderRequest & WithInstanceType(const Aws::String &value)
UpdateAppBlockBuilderRequest & WithAccessEndpoints(const Aws::Vector< AccessEndpoint > &value)
UpdateAppBlockBuilderRequest & WithAttributesToDelete(const Aws::Vector< AppBlockBuilderAttribute > &value)
const Aws::Vector< AppBlockBuilderAttribute > & GetAttributesToDelete() const
UpdateAppBlockBuilderRequest & AddAttributesToDelete(AppBlockBuilderAttribute &&value)
UpdateAppBlockBuilderRequest & WithIamRoleArn(Aws::String &&value)
UpdateAppBlockBuilderRequest & WithDescription(const char *value)
UpdateAppBlockBuilderRequest & WithDisplayName(const Aws::String &value)
UpdateAppBlockBuilderRequest & WithDisplayName(const char *value)
void SetAttributesToDelete(Aws::Vector< AppBlockBuilderAttribute > &&value)
UpdateAppBlockBuilderRequest & WithName(const char *value)
UpdateAppBlockBuilderRequest & WithInstanceType(Aws::String &&value)
UpdateAppBlockBuilderRequest & WithName(Aws::String &&value)
UpdateAppBlockBuilderRequest & WithDescription(Aws::String &&value)
UpdateAppBlockBuilderRequest & WithInstanceType(const char *value)
UpdateAppBlockBuilderRequest & AddAccessEndpoints(const AccessEndpoint &value)
UpdateAppBlockBuilderRequest & WithPlatform(PlatformType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector