AWS SDK for C++

AWS SDK for C++ Version 1.11.939

Loading...
Searching...
No Matches
UpdateStackRequest.h
1
6#pragma once
7#include <aws/appstream/AppStreamRequest.h>
8#include <aws/appstream/AppStream_EXPORTS.h>
9#include <aws/appstream/model/AccessEndpoint.h>
10#include <aws/appstream/model/AgentAccessConfigForUpdate.h>
11#include <aws/appstream/model/ApplicationSettings.h>
12#include <aws/appstream/model/ContentRedirection.h>
13#include <aws/appstream/model/StackAttribute.h>
14#include <aws/appstream/model/StorageConnector.h>
15#include <aws/appstream/model/StorageConnectorAuthentication.h>
16#include <aws/appstream/model/StreamingExperienceSettings.h>
17#include <aws/appstream/model/UserSetting.h>
18#include <aws/appstream/model/WebAuthnRedirection.h>
19#include <aws/core/utils/memory/stl/AWSString.h>
20#include <aws/core/utils/memory/stl/AWSVector.h>
21
22#include <utility>
23
24namespace Aws {
25namespace AppStream {
26namespace Model {
27
31 public:
32 AWS_APPSTREAM_API UpdateStackRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "UpdateStack"; }
39
40 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
41
43
45
48 inline const Aws::String& GetDisplayName() const { return m_displayName; }
49 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
50 template <typename DisplayNameT = Aws::String>
51 void SetDisplayName(DisplayNameT&& value) {
52 m_displayNameHasBeenSet = true;
53 m_displayName = std::forward<DisplayNameT>(value);
54 }
55 template <typename DisplayNameT = Aws::String>
56 UpdateStackRequest& WithDisplayName(DisplayNameT&& value) {
57 SetDisplayName(std::forward<DisplayNameT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetDescription() const { return m_description; }
67 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
68 template <typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) {
70 m_descriptionHasBeenSet = true;
71 m_description = std::forward<DescriptionT>(value);
72 }
73 template <typename DescriptionT = Aws::String>
74 UpdateStackRequest& WithDescription(DescriptionT&& value) {
75 SetDescription(std::forward<DescriptionT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetName() const { return m_name; }
85 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
86 template <typename NameT = Aws::String>
87 void SetName(NameT&& value) {
88 m_nameHasBeenSet = true;
89 m_name = std::forward<NameT>(value);
90 }
91 template <typename NameT = Aws::String>
92 UpdateStackRequest& WithName(NameT&& value) {
93 SetName(std::forward<NameT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::Vector<StorageConnector>& GetStorageConnectors() const { return m_storageConnectors; }
103 inline bool StorageConnectorsHasBeenSet() const { return m_storageConnectorsHasBeenSet; }
104 template <typename StorageConnectorsT = Aws::Vector<StorageConnector>>
105 void SetStorageConnectors(StorageConnectorsT&& value) {
106 m_storageConnectorsHasBeenSet = true;
107 m_storageConnectors = std::forward<StorageConnectorsT>(value);
108 }
109 template <typename StorageConnectorsT = Aws::Vector<StorageConnector>>
110 UpdateStackRequest& WithStorageConnectors(StorageConnectorsT&& value) {
111 SetStorageConnectors(std::forward<StorageConnectorsT>(value));
112 return *this;
113 }
114 template <typename StorageConnectorsT = StorageConnector>
115 UpdateStackRequest& AddStorageConnectors(StorageConnectorsT&& value) {
116 m_storageConnectorsHasBeenSet = true;
117 m_storageConnectors.emplace_back(std::forward<StorageConnectorsT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::String& GetRedirectURL() const { return m_redirectURL; }
127 inline bool RedirectURLHasBeenSet() const { return m_redirectURLHasBeenSet; }
128 template <typename RedirectURLT = Aws::String>
129 void SetRedirectURL(RedirectURLT&& value) {
130 m_redirectURLHasBeenSet = true;
131 m_redirectURL = std::forward<RedirectURLT>(value);
132 }
133 template <typename RedirectURLT = Aws::String>
134 UpdateStackRequest& WithRedirectURL(RedirectURLT&& value) {
135 SetRedirectURL(std::forward<RedirectURLT>(value));
136 return *this;
137 }
139
141
145 inline const Aws::String& GetFeedbackURL() const { return m_feedbackURL; }
146 inline bool FeedbackURLHasBeenSet() const { return m_feedbackURLHasBeenSet; }
147 template <typename FeedbackURLT = Aws::String>
148 void SetFeedbackURL(FeedbackURLT&& value) {
149 m_feedbackURLHasBeenSet = true;
150 m_feedbackURL = std::forward<FeedbackURLT>(value);
151 }
152 template <typename FeedbackURLT = Aws::String>
153 UpdateStackRequest& WithFeedbackURL(FeedbackURLT&& value) {
154 SetFeedbackURL(std::forward<FeedbackURLT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::Vector<StackAttribute>& GetAttributesToDelete() const { return m_attributesToDelete; }
164 inline bool AttributesToDeleteHasBeenSet() const { return m_attributesToDeleteHasBeenSet; }
165 template <typename AttributesToDeleteT = Aws::Vector<StackAttribute>>
166 void SetAttributesToDelete(AttributesToDeleteT&& value) {
167 m_attributesToDeleteHasBeenSet = true;
168 m_attributesToDelete = std::forward<AttributesToDeleteT>(value);
169 }
170 template <typename AttributesToDeleteT = Aws::Vector<StackAttribute>>
171 UpdateStackRequest& WithAttributesToDelete(AttributesToDeleteT&& value) {
172 SetAttributesToDelete(std::forward<AttributesToDeleteT>(value));
173 return *this;
174 }
176 m_attributesToDeleteHasBeenSet = true;
177 m_attributesToDelete.push_back(value);
178 return *this;
179 }
181
183
187 inline const Aws::Vector<UserSetting>& GetUserSettings() const { return m_userSettings; }
188 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
189 template <typename UserSettingsT = Aws::Vector<UserSetting>>
190 void SetUserSettings(UserSettingsT&& value) {
191 m_userSettingsHasBeenSet = true;
192 m_userSettings = std::forward<UserSettingsT>(value);
193 }
194 template <typename UserSettingsT = Aws::Vector<UserSetting>>
195 UpdateStackRequest& WithUserSettings(UserSettingsT&& value) {
196 SetUserSettings(std::forward<UserSettingsT>(value));
197 return *this;
198 }
199 template <typename UserSettingsT = UserSetting>
200 UpdateStackRequest& AddUserSettings(UserSettingsT&& value) {
201 m_userSettingsHasBeenSet = true;
202 m_userSettings.emplace_back(std::forward<UserSettingsT>(value));
203 return *this;
204 }
206
208
213 inline const ApplicationSettings& GetApplicationSettings() const { return m_applicationSettings; }
214 inline bool ApplicationSettingsHasBeenSet() const { return m_applicationSettingsHasBeenSet; }
215 template <typename ApplicationSettingsT = ApplicationSettings>
216 void SetApplicationSettings(ApplicationSettingsT&& value) {
217 m_applicationSettingsHasBeenSet = true;
218 m_applicationSettings = std::forward<ApplicationSettingsT>(value);
219 }
220 template <typename ApplicationSettingsT = ApplicationSettings>
221 UpdateStackRequest& WithApplicationSettings(ApplicationSettingsT&& value) {
222 SetApplicationSettings(std::forward<ApplicationSettingsT>(value));
223 return *this;
224 }
226
228
233 inline const Aws::Vector<AccessEndpoint>& GetAccessEndpoints() const { return m_accessEndpoints; }
234 inline bool AccessEndpointsHasBeenSet() const { return m_accessEndpointsHasBeenSet; }
235 template <typename AccessEndpointsT = Aws::Vector<AccessEndpoint>>
236 void SetAccessEndpoints(AccessEndpointsT&& value) {
237 m_accessEndpointsHasBeenSet = true;
238 m_accessEndpoints = std::forward<AccessEndpointsT>(value);
239 }
240 template <typename AccessEndpointsT = Aws::Vector<AccessEndpoint>>
241 UpdateStackRequest& WithAccessEndpoints(AccessEndpointsT&& value) {
242 SetAccessEndpoints(std::forward<AccessEndpointsT>(value));
243 return *this;
244 }
245 template <typename AccessEndpointsT = AccessEndpoint>
246 UpdateStackRequest& AddAccessEndpoints(AccessEndpointsT&& value) {
247 m_accessEndpointsHasBeenSet = true;
248 m_accessEndpoints.emplace_back(std::forward<AccessEndpointsT>(value));
249 return *this;
250 }
252
254
259 inline const Aws::Vector<Aws::String>& GetEmbedHostDomains() const { return m_embedHostDomains; }
260 inline bool EmbedHostDomainsHasBeenSet() const { return m_embedHostDomainsHasBeenSet; }
261 template <typename EmbedHostDomainsT = Aws::Vector<Aws::String>>
262 void SetEmbedHostDomains(EmbedHostDomainsT&& value) {
263 m_embedHostDomainsHasBeenSet = true;
264 m_embedHostDomains = std::forward<EmbedHostDomainsT>(value);
265 }
266 template <typename EmbedHostDomainsT = Aws::Vector<Aws::String>>
267 UpdateStackRequest& WithEmbedHostDomains(EmbedHostDomainsT&& value) {
268 SetEmbedHostDomains(std::forward<EmbedHostDomainsT>(value));
269 return *this;
270 }
271 template <typename EmbedHostDomainsT = Aws::String>
272 UpdateStackRequest& AddEmbedHostDomains(EmbedHostDomainsT&& value) {
273 m_embedHostDomainsHasBeenSet = true;
274 m_embedHostDomains.emplace_back(std::forward<EmbedHostDomainsT>(value));
275 return *this;
276 }
278
280
284 inline const StreamingExperienceSettings& GetStreamingExperienceSettings() const { return m_streamingExperienceSettings; }
285 inline bool StreamingExperienceSettingsHasBeenSet() const { return m_streamingExperienceSettingsHasBeenSet; }
286 template <typename StreamingExperienceSettingsT = StreamingExperienceSettings>
287 void SetStreamingExperienceSettings(StreamingExperienceSettingsT&& value) {
288 m_streamingExperienceSettingsHasBeenSet = true;
289 m_streamingExperienceSettings = std::forward<StreamingExperienceSettingsT>(value);
290 }
291 template <typename StreamingExperienceSettingsT = StreamingExperienceSettings>
292 UpdateStackRequest& WithStreamingExperienceSettings(StreamingExperienceSettingsT&& value) {
293 SetStreamingExperienceSettings(std::forward<StreamingExperienceSettingsT>(value));
294 return *this;
295 }
297
299
300 inline const ContentRedirection& GetContentRedirection() const { return m_contentRedirection; }
301 inline bool ContentRedirectionHasBeenSet() const { return m_contentRedirectionHasBeenSet; }
302 template <typename ContentRedirectionT = ContentRedirection>
303 void SetContentRedirection(ContentRedirectionT&& value) {
304 m_contentRedirectionHasBeenSet = true;
305 m_contentRedirection = std::forward<ContentRedirectionT>(value);
306 }
307 template <typename ContentRedirectionT = ContentRedirection>
308 UpdateStackRequest& WithContentRedirection(ContentRedirectionT&& value) {
309 SetContentRedirection(std::forward<ContentRedirectionT>(value));
310 return *this;
311 }
313
315
321 inline const WebAuthnRedirection& GetWebAuthnRedirection() const { return m_webAuthnRedirection; }
322 inline bool WebAuthnRedirectionHasBeenSet() const { return m_webAuthnRedirectionHasBeenSet; }
323 template <typename WebAuthnRedirectionT = WebAuthnRedirection>
324 void SetWebAuthnRedirection(WebAuthnRedirectionT&& value) {
325 m_webAuthnRedirectionHasBeenSet = true;
326 m_webAuthnRedirection = std::forward<WebAuthnRedirectionT>(value);
327 }
328 template <typename WebAuthnRedirectionT = WebAuthnRedirection>
329 UpdateStackRequest& WithWebAuthnRedirection(WebAuthnRedirectionT&& value) {
330 SetWebAuthnRedirection(std::forward<WebAuthnRedirectionT>(value));
331 return *this;
332 }
334
336
341 inline const AgentAccessConfigForUpdate& GetAgentAccessConfig() const { return m_agentAccessConfig; }
342 inline bool AgentAccessConfigHasBeenSet() const { return m_agentAccessConfigHasBeenSet; }
343 template <typename AgentAccessConfigT = AgentAccessConfigForUpdate>
344 void SetAgentAccessConfig(AgentAccessConfigT&& value) {
345 m_agentAccessConfigHasBeenSet = true;
346 m_agentAccessConfig = std::forward<AgentAccessConfigT>(value);
347 }
348 template <typename AgentAccessConfigT = AgentAccessConfigForUpdate>
349 UpdateStackRequest& WithAgentAccessConfig(AgentAccessConfigT&& value) {
350 SetAgentAccessConfig(std::forward<AgentAccessConfigT>(value));
351 return *this;
352 }
354
356
364 inline StorageConnectorAuthentication GetStorageConnectorAuthentication() const { return m_storageConnectorAuthentication; }
365 inline bool StorageConnectorAuthenticationHasBeenSet() const { return m_storageConnectorAuthenticationHasBeenSet; }
367 m_storageConnectorAuthenticationHasBeenSet = true;
368 m_storageConnectorAuthentication = value;
369 }
375 private:
376 Aws::String m_displayName;
377
378 Aws::String m_description;
379
380 Aws::String m_name;
381
382 Aws::Vector<StorageConnector> m_storageConnectors;
383
384 Aws::String m_redirectURL;
385
386 Aws::String m_feedbackURL;
387
388 Aws::Vector<StackAttribute> m_attributesToDelete;
389
390 Aws::Vector<UserSetting> m_userSettings;
391
392 ApplicationSettings m_applicationSettings;
393
394 Aws::Vector<AccessEndpoint> m_accessEndpoints;
395
396 Aws::Vector<Aws::String> m_embedHostDomains;
397
398 StreamingExperienceSettings m_streamingExperienceSettings;
399
400 ContentRedirection m_contentRedirection;
401
402 WebAuthnRedirection m_webAuthnRedirection;
403
404 AgentAccessConfigForUpdate m_agentAccessConfig;
405
407 bool m_displayNameHasBeenSet = false;
408 bool m_descriptionHasBeenSet = false;
409 bool m_nameHasBeenSet = false;
410 bool m_storageConnectorsHasBeenSet = false;
411 bool m_redirectURLHasBeenSet = false;
412 bool m_feedbackURLHasBeenSet = false;
413 bool m_attributesToDeleteHasBeenSet = false;
414 bool m_userSettingsHasBeenSet = false;
415 bool m_applicationSettingsHasBeenSet = false;
416 bool m_accessEndpointsHasBeenSet = false;
417 bool m_embedHostDomainsHasBeenSet = false;
418 bool m_streamingExperienceSettingsHasBeenSet = false;
419 bool m_contentRedirectionHasBeenSet = false;
420 bool m_webAuthnRedirectionHasBeenSet = false;
421 bool m_agentAccessConfigHasBeenSet = false;
422 bool m_storageConnectorAuthenticationHasBeenSet = false;
423};
424
425} // namespace Model
426} // namespace AppStream
427} // namespace Aws
UpdateStackRequest & WithAgentAccessConfig(AgentAccessConfigT &&value)
const Aws::Vector< UserSetting > & GetUserSettings() const
const Aws::Vector< StorageConnector > & GetStorageConnectors() const
UpdateStackRequest & WithStorageConnectors(StorageConnectorsT &&value)
UpdateStackRequest & AddEmbedHostDomains(EmbedHostDomainsT &&value)
UpdateStackRequest & WithContentRedirection(ContentRedirectionT &&value)
void SetAttributesToDelete(AttributesToDeleteT &&value)
UpdateStackRequest & WithStreamingExperienceSettings(StreamingExperienceSettingsT &&value)
virtual const char * GetServiceRequestName() const override
void SetApplicationSettings(ApplicationSettingsT &&value)
UpdateStackRequest & WithName(NameT &&value)
UpdateStackRequest & WithEmbedHostDomains(EmbedHostDomainsT &&value)
StorageConnectorAuthentication GetStorageConnectorAuthentication() const
void SetStorageConnectors(StorageConnectorsT &&value)
const ApplicationSettings & GetApplicationSettings() const
UpdateStackRequest & AddStorageConnectors(StorageConnectorsT &&value)
void SetEmbedHostDomains(EmbedHostDomainsT &&value)
UpdateStackRequest & AddUserSettings(UserSettingsT &&value)
AWS_APPSTREAM_API UpdateStackRequest()=default
UpdateStackRequest & WithRedirectURL(RedirectURLT &&value)
const WebAuthnRedirection & GetWebAuthnRedirection() const
UpdateStackRequest & WithAttributesToDelete(AttributesToDeleteT &&value)
UpdateStackRequest & WithWebAuthnRedirection(WebAuthnRedirectionT &&value)
UpdateStackRequest & WithApplicationSettings(ApplicationSettingsT &&value)
UpdateStackRequest & AddAttributesToDelete(StackAttribute value)
UpdateStackRequest & WithAccessEndpoints(AccessEndpointsT &&value)
UpdateStackRequest & WithDescription(DescriptionT &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const StreamingExperienceSettings & GetStreamingExperienceSettings() const
UpdateStackRequest & WithUserSettings(UserSettingsT &&value)
void SetAccessEndpoints(AccessEndpointsT &&value)
void SetWebAuthnRedirection(WebAuthnRedirectionT &&value)
const AgentAccessConfigForUpdate & GetAgentAccessConfig() const
const Aws::Vector< StackAttribute > & GetAttributesToDelete() const
void SetStreamingExperienceSettings(StreamingExperienceSettingsT &&value)
UpdateStackRequest & WithDisplayName(DisplayNameT &&value)
UpdateStackRequest & WithStorageConnectorAuthentication(StorageConnectorAuthentication value)
UpdateStackRequest & AddAccessEndpoints(AccessEndpointsT &&value)
const ContentRedirection & GetContentRedirection() const
AWS_APPSTREAM_API Aws::String SerializePayload() const override
const Aws::Vector< AccessEndpoint > & GetAccessEndpoints() const
void SetContentRedirection(ContentRedirectionT &&value)
void SetStorageConnectorAuthentication(StorageConnectorAuthentication value)
UpdateStackRequest & WithFeedbackURL(FeedbackURLT &&value)
void SetAgentAccessConfig(AgentAccessConfigT &&value)
const Aws::Vector< Aws::String > & GetEmbedHostDomains() const
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