AWS SDK for C++

AWS SDK for C++ Version 1.11.916

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/core/utils/memory/stl/AWSString.h>
19#include <aws/core/utils/memory/stl/AWSVector.h>
20
21#include <utility>
22
23namespace Aws {
24namespace AppStream {
25namespace Model {
26
30 public:
31 AWS_APPSTREAM_API UpdateStackRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "UpdateStack"; }
38
39 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
40
42
44
47 inline const Aws::String& GetDisplayName() const { return m_displayName; }
48 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
49 template <typename DisplayNameT = Aws::String>
50 void SetDisplayName(DisplayNameT&& value) {
51 m_displayNameHasBeenSet = true;
52 m_displayName = std::forward<DisplayNameT>(value);
53 }
54 template <typename DisplayNameT = Aws::String>
55 UpdateStackRequest& WithDisplayName(DisplayNameT&& value) {
56 SetDisplayName(std::forward<DisplayNameT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetDescription() const { return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 template <typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) {
69 m_descriptionHasBeenSet = true;
70 m_description = std::forward<DescriptionT>(value);
71 }
72 template <typename DescriptionT = Aws::String>
73 UpdateStackRequest& WithDescription(DescriptionT&& value) {
74 SetDescription(std::forward<DescriptionT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetName() const { return m_name; }
84 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 template <typename NameT = Aws::String>
86 void SetName(NameT&& value) {
87 m_nameHasBeenSet = true;
88 m_name = std::forward<NameT>(value);
89 }
90 template <typename NameT = Aws::String>
91 UpdateStackRequest& WithName(NameT&& value) {
92 SetName(std::forward<NameT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::Vector<StorageConnector>& GetStorageConnectors() const { return m_storageConnectors; }
102 inline bool StorageConnectorsHasBeenSet() const { return m_storageConnectorsHasBeenSet; }
103 template <typename StorageConnectorsT = Aws::Vector<StorageConnector>>
104 void SetStorageConnectors(StorageConnectorsT&& value) {
105 m_storageConnectorsHasBeenSet = true;
106 m_storageConnectors = std::forward<StorageConnectorsT>(value);
107 }
108 template <typename StorageConnectorsT = Aws::Vector<StorageConnector>>
109 UpdateStackRequest& WithStorageConnectors(StorageConnectorsT&& value) {
110 SetStorageConnectors(std::forward<StorageConnectorsT>(value));
111 return *this;
112 }
113 template <typename StorageConnectorsT = StorageConnector>
114 UpdateStackRequest& AddStorageConnectors(StorageConnectorsT&& value) {
115 m_storageConnectorsHasBeenSet = true;
116 m_storageConnectors.emplace_back(std::forward<StorageConnectorsT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::String& GetRedirectURL() const { return m_redirectURL; }
126 inline bool RedirectURLHasBeenSet() const { return m_redirectURLHasBeenSet; }
127 template <typename RedirectURLT = Aws::String>
128 void SetRedirectURL(RedirectURLT&& value) {
129 m_redirectURLHasBeenSet = true;
130 m_redirectURL = std::forward<RedirectURLT>(value);
131 }
132 template <typename RedirectURLT = Aws::String>
133 UpdateStackRequest& WithRedirectURL(RedirectURLT&& value) {
134 SetRedirectURL(std::forward<RedirectURLT>(value));
135 return *this;
136 }
138
140
144 inline const Aws::String& GetFeedbackURL() const { return m_feedbackURL; }
145 inline bool FeedbackURLHasBeenSet() const { return m_feedbackURLHasBeenSet; }
146 template <typename FeedbackURLT = Aws::String>
147 void SetFeedbackURL(FeedbackURLT&& value) {
148 m_feedbackURLHasBeenSet = true;
149 m_feedbackURL = std::forward<FeedbackURLT>(value);
150 }
151 template <typename FeedbackURLT = Aws::String>
152 UpdateStackRequest& WithFeedbackURL(FeedbackURLT&& value) {
153 SetFeedbackURL(std::forward<FeedbackURLT>(value));
154 return *this;
155 }
157
159
162 inline const Aws::Vector<StackAttribute>& GetAttributesToDelete() const { return m_attributesToDelete; }
163 inline bool AttributesToDeleteHasBeenSet() const { return m_attributesToDeleteHasBeenSet; }
164 template <typename AttributesToDeleteT = Aws::Vector<StackAttribute>>
165 void SetAttributesToDelete(AttributesToDeleteT&& value) {
166 m_attributesToDeleteHasBeenSet = true;
167 m_attributesToDelete = std::forward<AttributesToDeleteT>(value);
168 }
169 template <typename AttributesToDeleteT = Aws::Vector<StackAttribute>>
170 UpdateStackRequest& WithAttributesToDelete(AttributesToDeleteT&& value) {
171 SetAttributesToDelete(std::forward<AttributesToDeleteT>(value));
172 return *this;
173 }
175 m_attributesToDeleteHasBeenSet = true;
176 m_attributesToDelete.push_back(value);
177 return *this;
178 }
180
182
186 inline const Aws::Vector<UserSetting>& GetUserSettings() const { return m_userSettings; }
187 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
188 template <typename UserSettingsT = Aws::Vector<UserSetting>>
189 void SetUserSettings(UserSettingsT&& value) {
190 m_userSettingsHasBeenSet = true;
191 m_userSettings = std::forward<UserSettingsT>(value);
192 }
193 template <typename UserSettingsT = Aws::Vector<UserSetting>>
194 UpdateStackRequest& WithUserSettings(UserSettingsT&& value) {
195 SetUserSettings(std::forward<UserSettingsT>(value));
196 return *this;
197 }
198 template <typename UserSettingsT = UserSetting>
199 UpdateStackRequest& AddUserSettings(UserSettingsT&& value) {
200 m_userSettingsHasBeenSet = true;
201 m_userSettings.emplace_back(std::forward<UserSettingsT>(value));
202 return *this;
203 }
205
207
212 inline const ApplicationSettings& GetApplicationSettings() const { return m_applicationSettings; }
213 inline bool ApplicationSettingsHasBeenSet() const { return m_applicationSettingsHasBeenSet; }
214 template <typename ApplicationSettingsT = ApplicationSettings>
215 void SetApplicationSettings(ApplicationSettingsT&& value) {
216 m_applicationSettingsHasBeenSet = true;
217 m_applicationSettings = std::forward<ApplicationSettingsT>(value);
218 }
219 template <typename ApplicationSettingsT = ApplicationSettings>
220 UpdateStackRequest& WithApplicationSettings(ApplicationSettingsT&& value) {
221 SetApplicationSettings(std::forward<ApplicationSettingsT>(value));
222 return *this;
223 }
225
227
232 inline const Aws::Vector<AccessEndpoint>& GetAccessEndpoints() const { return m_accessEndpoints; }
233 inline bool AccessEndpointsHasBeenSet() const { return m_accessEndpointsHasBeenSet; }
234 template <typename AccessEndpointsT = Aws::Vector<AccessEndpoint>>
235 void SetAccessEndpoints(AccessEndpointsT&& value) {
236 m_accessEndpointsHasBeenSet = true;
237 m_accessEndpoints = std::forward<AccessEndpointsT>(value);
238 }
239 template <typename AccessEndpointsT = Aws::Vector<AccessEndpoint>>
240 UpdateStackRequest& WithAccessEndpoints(AccessEndpointsT&& value) {
241 SetAccessEndpoints(std::forward<AccessEndpointsT>(value));
242 return *this;
243 }
244 template <typename AccessEndpointsT = AccessEndpoint>
245 UpdateStackRequest& AddAccessEndpoints(AccessEndpointsT&& value) {
246 m_accessEndpointsHasBeenSet = true;
247 m_accessEndpoints.emplace_back(std::forward<AccessEndpointsT>(value));
248 return *this;
249 }
251
253
258 inline const Aws::Vector<Aws::String>& GetEmbedHostDomains() const { return m_embedHostDomains; }
259 inline bool EmbedHostDomainsHasBeenSet() const { return m_embedHostDomainsHasBeenSet; }
260 template <typename EmbedHostDomainsT = Aws::Vector<Aws::String>>
261 void SetEmbedHostDomains(EmbedHostDomainsT&& value) {
262 m_embedHostDomainsHasBeenSet = true;
263 m_embedHostDomains = std::forward<EmbedHostDomainsT>(value);
264 }
265 template <typename EmbedHostDomainsT = Aws::Vector<Aws::String>>
266 UpdateStackRequest& WithEmbedHostDomains(EmbedHostDomainsT&& value) {
267 SetEmbedHostDomains(std::forward<EmbedHostDomainsT>(value));
268 return *this;
269 }
270 template <typename EmbedHostDomainsT = Aws::String>
271 UpdateStackRequest& AddEmbedHostDomains(EmbedHostDomainsT&& value) {
272 m_embedHostDomainsHasBeenSet = true;
273 m_embedHostDomains.emplace_back(std::forward<EmbedHostDomainsT>(value));
274 return *this;
275 }
277
279
283 inline const StreamingExperienceSettings& GetStreamingExperienceSettings() const { return m_streamingExperienceSettings; }
284 inline bool StreamingExperienceSettingsHasBeenSet() const { return m_streamingExperienceSettingsHasBeenSet; }
285 template <typename StreamingExperienceSettingsT = StreamingExperienceSettings>
286 void SetStreamingExperienceSettings(StreamingExperienceSettingsT&& value) {
287 m_streamingExperienceSettingsHasBeenSet = true;
288 m_streamingExperienceSettings = std::forward<StreamingExperienceSettingsT>(value);
289 }
290 template <typename StreamingExperienceSettingsT = StreamingExperienceSettings>
291 UpdateStackRequest& WithStreamingExperienceSettings(StreamingExperienceSettingsT&& value) {
292 SetStreamingExperienceSettings(std::forward<StreamingExperienceSettingsT>(value));
293 return *this;
294 }
296
298
299 inline const ContentRedirection& GetContentRedirection() const { return m_contentRedirection; }
300 inline bool ContentRedirectionHasBeenSet() const { return m_contentRedirectionHasBeenSet; }
301 template <typename ContentRedirectionT = ContentRedirection>
302 void SetContentRedirection(ContentRedirectionT&& value) {
303 m_contentRedirectionHasBeenSet = true;
304 m_contentRedirection = std::forward<ContentRedirectionT>(value);
305 }
306 template <typename ContentRedirectionT = ContentRedirection>
307 UpdateStackRequest& WithContentRedirection(ContentRedirectionT&& value) {
308 SetContentRedirection(std::forward<ContentRedirectionT>(value));
309 return *this;
310 }
312
314
319 inline const AgentAccessConfigForUpdate& GetAgentAccessConfig() const { return m_agentAccessConfig; }
320 inline bool AgentAccessConfigHasBeenSet() const { return m_agentAccessConfigHasBeenSet; }
321 template <typename AgentAccessConfigT = AgentAccessConfigForUpdate>
322 void SetAgentAccessConfig(AgentAccessConfigT&& value) {
323 m_agentAccessConfigHasBeenSet = true;
324 m_agentAccessConfig = std::forward<AgentAccessConfigT>(value);
325 }
326 template <typename AgentAccessConfigT = AgentAccessConfigForUpdate>
327 UpdateStackRequest& WithAgentAccessConfig(AgentAccessConfigT&& value) {
328 SetAgentAccessConfig(std::forward<AgentAccessConfigT>(value));
329 return *this;
330 }
332
334
342 inline StorageConnectorAuthentication GetStorageConnectorAuthentication() const { return m_storageConnectorAuthentication; }
343 inline bool StorageConnectorAuthenticationHasBeenSet() const { return m_storageConnectorAuthenticationHasBeenSet; }
345 m_storageConnectorAuthenticationHasBeenSet = true;
346 m_storageConnectorAuthentication = value;
347 }
350 return *this;
351 }
353 private:
354 Aws::String m_displayName;
355
356 Aws::String m_description;
357
358 Aws::String m_name;
359
360 Aws::Vector<StorageConnector> m_storageConnectors;
361
362 Aws::String m_redirectURL;
363
364 Aws::String m_feedbackURL;
365
366 Aws::Vector<StackAttribute> m_attributesToDelete;
367
368 Aws::Vector<UserSetting> m_userSettings;
369
370 ApplicationSettings m_applicationSettings;
371
372 Aws::Vector<AccessEndpoint> m_accessEndpoints;
373
374 Aws::Vector<Aws::String> m_embedHostDomains;
375
376 StreamingExperienceSettings m_streamingExperienceSettings;
377
378 ContentRedirection m_contentRedirection;
379
380 AgentAccessConfigForUpdate m_agentAccessConfig;
381
383 bool m_displayNameHasBeenSet = false;
384 bool m_descriptionHasBeenSet = false;
385 bool m_nameHasBeenSet = false;
386 bool m_storageConnectorsHasBeenSet = false;
387 bool m_redirectURLHasBeenSet = false;
388 bool m_feedbackURLHasBeenSet = false;
389 bool m_attributesToDeleteHasBeenSet = false;
390 bool m_userSettingsHasBeenSet = false;
391 bool m_applicationSettingsHasBeenSet = false;
392 bool m_accessEndpointsHasBeenSet = false;
393 bool m_embedHostDomainsHasBeenSet = false;
394 bool m_streamingExperienceSettingsHasBeenSet = false;
395 bool m_contentRedirectionHasBeenSet = false;
396 bool m_agentAccessConfigHasBeenSet = false;
397 bool m_storageConnectorAuthenticationHasBeenSet = false;
398};
399
400} // namespace Model
401} // namespace AppStream
402} // 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)
UpdateStackRequest & WithAttributesToDelete(AttributesToDeleteT &&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)
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