AWS SDK for C++

AWS SDK for C++ Version 1.11.807

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/StreamingExperienceSettings.h>
16#include <aws/appstream/model/UserSetting.h>
17#include <aws/core/utils/memory/stl/AWSString.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19
20#include <utility>
21
22namespace Aws {
23namespace AppStream {
24namespace Model {
25
29 public:
30 AWS_APPSTREAM_API UpdateStackRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateStack"; }
37
38 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
39
41
43
46 inline const Aws::String& GetDisplayName() const { return m_displayName; }
47 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
48 template <typename DisplayNameT = Aws::String>
49 void SetDisplayName(DisplayNameT&& value) {
50 m_displayNameHasBeenSet = true;
51 m_displayName = std::forward<DisplayNameT>(value);
52 }
53 template <typename DisplayNameT = Aws::String>
54 UpdateStackRequest& WithDisplayName(DisplayNameT&& value) {
55 SetDisplayName(std::forward<DisplayNameT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetDescription() const { return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 template <typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) {
68 m_descriptionHasBeenSet = true;
69 m_description = std::forward<DescriptionT>(value);
70 }
71 template <typename DescriptionT = Aws::String>
72 UpdateStackRequest& WithDescription(DescriptionT&& value) {
73 SetDescription(std::forward<DescriptionT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetName() const { return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 template <typename NameT = Aws::String>
85 void SetName(NameT&& value) {
86 m_nameHasBeenSet = true;
87 m_name = std::forward<NameT>(value);
88 }
89 template <typename NameT = Aws::String>
90 UpdateStackRequest& WithName(NameT&& value) {
91 SetName(std::forward<NameT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::Vector<StorageConnector>& GetStorageConnectors() const { return m_storageConnectors; }
101 inline bool StorageConnectorsHasBeenSet() const { return m_storageConnectorsHasBeenSet; }
102 template <typename StorageConnectorsT = Aws::Vector<StorageConnector>>
103 void SetStorageConnectors(StorageConnectorsT&& value) {
104 m_storageConnectorsHasBeenSet = true;
105 m_storageConnectors = std::forward<StorageConnectorsT>(value);
106 }
107 template <typename StorageConnectorsT = Aws::Vector<StorageConnector>>
108 UpdateStackRequest& WithStorageConnectors(StorageConnectorsT&& value) {
109 SetStorageConnectors(std::forward<StorageConnectorsT>(value));
110 return *this;
111 }
112 template <typename StorageConnectorsT = StorageConnector>
113 UpdateStackRequest& AddStorageConnectors(StorageConnectorsT&& value) {
114 m_storageConnectorsHasBeenSet = true;
115 m_storageConnectors.emplace_back(std::forward<StorageConnectorsT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetRedirectURL() const { return m_redirectURL; }
125 inline bool RedirectURLHasBeenSet() const { return m_redirectURLHasBeenSet; }
126 template <typename RedirectURLT = Aws::String>
127 void SetRedirectURL(RedirectURLT&& value) {
128 m_redirectURLHasBeenSet = true;
129 m_redirectURL = std::forward<RedirectURLT>(value);
130 }
131 template <typename RedirectURLT = Aws::String>
132 UpdateStackRequest& WithRedirectURL(RedirectURLT&& value) {
133 SetRedirectURL(std::forward<RedirectURLT>(value));
134 return *this;
135 }
137
139
143 inline const Aws::String& GetFeedbackURL() const { return m_feedbackURL; }
144 inline bool FeedbackURLHasBeenSet() const { return m_feedbackURLHasBeenSet; }
145 template <typename FeedbackURLT = Aws::String>
146 void SetFeedbackURL(FeedbackURLT&& value) {
147 m_feedbackURLHasBeenSet = true;
148 m_feedbackURL = std::forward<FeedbackURLT>(value);
149 }
150 template <typename FeedbackURLT = Aws::String>
151 UpdateStackRequest& WithFeedbackURL(FeedbackURLT&& value) {
152 SetFeedbackURL(std::forward<FeedbackURLT>(value));
153 return *this;
154 }
156
158
161 inline const Aws::Vector<StackAttribute>& GetAttributesToDelete() const { return m_attributesToDelete; }
162 inline bool AttributesToDeleteHasBeenSet() const { return m_attributesToDeleteHasBeenSet; }
163 template <typename AttributesToDeleteT = Aws::Vector<StackAttribute>>
164 void SetAttributesToDelete(AttributesToDeleteT&& value) {
165 m_attributesToDeleteHasBeenSet = true;
166 m_attributesToDelete = std::forward<AttributesToDeleteT>(value);
167 }
168 template <typename AttributesToDeleteT = Aws::Vector<StackAttribute>>
169 UpdateStackRequest& WithAttributesToDelete(AttributesToDeleteT&& value) {
170 SetAttributesToDelete(std::forward<AttributesToDeleteT>(value));
171 return *this;
172 }
174 m_attributesToDeleteHasBeenSet = true;
175 m_attributesToDelete.push_back(value);
176 return *this;
177 }
179
181
185 inline const Aws::Vector<UserSetting>& GetUserSettings() const { return m_userSettings; }
186 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
187 template <typename UserSettingsT = Aws::Vector<UserSetting>>
188 void SetUserSettings(UserSettingsT&& value) {
189 m_userSettingsHasBeenSet = true;
190 m_userSettings = std::forward<UserSettingsT>(value);
191 }
192 template <typename UserSettingsT = Aws::Vector<UserSetting>>
193 UpdateStackRequest& WithUserSettings(UserSettingsT&& value) {
194 SetUserSettings(std::forward<UserSettingsT>(value));
195 return *this;
196 }
197 template <typename UserSettingsT = UserSetting>
198 UpdateStackRequest& AddUserSettings(UserSettingsT&& value) {
199 m_userSettingsHasBeenSet = true;
200 m_userSettings.emplace_back(std::forward<UserSettingsT>(value));
201 return *this;
202 }
204
206
211 inline const ApplicationSettings& GetApplicationSettings() const { return m_applicationSettings; }
212 inline bool ApplicationSettingsHasBeenSet() const { return m_applicationSettingsHasBeenSet; }
213 template <typename ApplicationSettingsT = ApplicationSettings>
214 void SetApplicationSettings(ApplicationSettingsT&& value) {
215 m_applicationSettingsHasBeenSet = true;
216 m_applicationSettings = std::forward<ApplicationSettingsT>(value);
217 }
218 template <typename ApplicationSettingsT = ApplicationSettings>
219 UpdateStackRequest& WithApplicationSettings(ApplicationSettingsT&& value) {
220 SetApplicationSettings(std::forward<ApplicationSettingsT>(value));
221 return *this;
222 }
224
226
231 inline const Aws::Vector<AccessEndpoint>& GetAccessEndpoints() const { return m_accessEndpoints; }
232 inline bool AccessEndpointsHasBeenSet() const { return m_accessEndpointsHasBeenSet; }
233 template <typename AccessEndpointsT = Aws::Vector<AccessEndpoint>>
234 void SetAccessEndpoints(AccessEndpointsT&& value) {
235 m_accessEndpointsHasBeenSet = true;
236 m_accessEndpoints = std::forward<AccessEndpointsT>(value);
237 }
238 template <typename AccessEndpointsT = Aws::Vector<AccessEndpoint>>
239 UpdateStackRequest& WithAccessEndpoints(AccessEndpointsT&& value) {
240 SetAccessEndpoints(std::forward<AccessEndpointsT>(value));
241 return *this;
242 }
243 template <typename AccessEndpointsT = AccessEndpoint>
244 UpdateStackRequest& AddAccessEndpoints(AccessEndpointsT&& value) {
245 m_accessEndpointsHasBeenSet = true;
246 m_accessEndpoints.emplace_back(std::forward<AccessEndpointsT>(value));
247 return *this;
248 }
250
252
257 inline const Aws::Vector<Aws::String>& GetEmbedHostDomains() const { return m_embedHostDomains; }
258 inline bool EmbedHostDomainsHasBeenSet() const { return m_embedHostDomainsHasBeenSet; }
259 template <typename EmbedHostDomainsT = Aws::Vector<Aws::String>>
260 void SetEmbedHostDomains(EmbedHostDomainsT&& value) {
261 m_embedHostDomainsHasBeenSet = true;
262 m_embedHostDomains = std::forward<EmbedHostDomainsT>(value);
263 }
264 template <typename EmbedHostDomainsT = Aws::Vector<Aws::String>>
265 UpdateStackRequest& WithEmbedHostDomains(EmbedHostDomainsT&& value) {
266 SetEmbedHostDomains(std::forward<EmbedHostDomainsT>(value));
267 return *this;
268 }
269 template <typename EmbedHostDomainsT = Aws::String>
270 UpdateStackRequest& AddEmbedHostDomains(EmbedHostDomainsT&& value) {
271 m_embedHostDomainsHasBeenSet = true;
272 m_embedHostDomains.emplace_back(std::forward<EmbedHostDomainsT>(value));
273 return *this;
274 }
276
278
282 inline const StreamingExperienceSettings& GetStreamingExperienceSettings() const { return m_streamingExperienceSettings; }
283 inline bool StreamingExperienceSettingsHasBeenSet() const { return m_streamingExperienceSettingsHasBeenSet; }
284 template <typename StreamingExperienceSettingsT = StreamingExperienceSettings>
285 void SetStreamingExperienceSettings(StreamingExperienceSettingsT&& value) {
286 m_streamingExperienceSettingsHasBeenSet = true;
287 m_streamingExperienceSettings = std::forward<StreamingExperienceSettingsT>(value);
288 }
289 template <typename StreamingExperienceSettingsT = StreamingExperienceSettings>
290 UpdateStackRequest& WithStreamingExperienceSettings(StreamingExperienceSettingsT&& value) {
291 SetStreamingExperienceSettings(std::forward<StreamingExperienceSettingsT>(value));
292 return *this;
293 }
295
297
298 inline const ContentRedirection& GetContentRedirection() const { return m_contentRedirection; }
299 inline bool ContentRedirectionHasBeenSet() const { return m_contentRedirectionHasBeenSet; }
300 template <typename ContentRedirectionT = ContentRedirection>
301 void SetContentRedirection(ContentRedirectionT&& value) {
302 m_contentRedirectionHasBeenSet = true;
303 m_contentRedirection = std::forward<ContentRedirectionT>(value);
304 }
305 template <typename ContentRedirectionT = ContentRedirection>
306 UpdateStackRequest& WithContentRedirection(ContentRedirectionT&& value) {
307 SetContentRedirection(std::forward<ContentRedirectionT>(value));
308 return *this;
309 }
311
313
318 inline const AgentAccessConfigForUpdate& GetAgentAccessConfig() const { return m_agentAccessConfig; }
319 inline bool AgentAccessConfigHasBeenSet() const { return m_agentAccessConfigHasBeenSet; }
320 template <typename AgentAccessConfigT = AgentAccessConfigForUpdate>
321 void SetAgentAccessConfig(AgentAccessConfigT&& value) {
322 m_agentAccessConfigHasBeenSet = true;
323 m_agentAccessConfig = std::forward<AgentAccessConfigT>(value);
324 }
325 template <typename AgentAccessConfigT = AgentAccessConfigForUpdate>
326 UpdateStackRequest& WithAgentAccessConfig(AgentAccessConfigT&& value) {
327 SetAgentAccessConfig(std::forward<AgentAccessConfigT>(value));
328 return *this;
329 }
331 private:
332 Aws::String m_displayName;
333
334 Aws::String m_description;
335
336 Aws::String m_name;
337
338 Aws::Vector<StorageConnector> m_storageConnectors;
339
340 Aws::String m_redirectURL;
341
342 Aws::String m_feedbackURL;
343
344 Aws::Vector<StackAttribute> m_attributesToDelete;
345
346 Aws::Vector<UserSetting> m_userSettings;
347
348 ApplicationSettings m_applicationSettings;
349
350 Aws::Vector<AccessEndpoint> m_accessEndpoints;
351
352 Aws::Vector<Aws::String> m_embedHostDomains;
353
354 StreamingExperienceSettings m_streamingExperienceSettings;
355
356 ContentRedirection m_contentRedirection;
357
358 AgentAccessConfigForUpdate m_agentAccessConfig;
359 bool m_displayNameHasBeenSet = false;
360 bool m_descriptionHasBeenSet = false;
361 bool m_nameHasBeenSet = false;
362 bool m_storageConnectorsHasBeenSet = false;
363 bool m_redirectURLHasBeenSet = false;
364 bool m_feedbackURLHasBeenSet = false;
365 bool m_attributesToDeleteHasBeenSet = false;
366 bool m_userSettingsHasBeenSet = false;
367 bool m_applicationSettingsHasBeenSet = false;
368 bool m_accessEndpointsHasBeenSet = false;
369 bool m_embedHostDomainsHasBeenSet = false;
370 bool m_streamingExperienceSettingsHasBeenSet = false;
371 bool m_contentRedirectionHasBeenSet = false;
372 bool m_agentAccessConfigHasBeenSet = false;
373};
374
375} // namespace Model
376} // namespace AppStream
377} // 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)
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 & 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)
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