AWS SDK for C++

AWS SDK for C++ Version 1.11.695

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/ApplicationSettings.h>
11#include <aws/appstream/model/StackAttribute.h>
12#include <aws/appstream/model/StorageConnector.h>
13#include <aws/appstream/model/StreamingExperienceSettings.h>
14#include <aws/appstream/model/UserSetting.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17
18#include <utility>
19
20namespace Aws {
21namespace AppStream {
22namespace Model {
23
27 public:
28 AWS_APPSTREAM_API UpdateStackRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateStack"; }
35
36 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
37
39
41
44 inline const Aws::String& GetDisplayName() const { return m_displayName; }
45 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
46 template <typename DisplayNameT = Aws::String>
47 void SetDisplayName(DisplayNameT&& value) {
48 m_displayNameHasBeenSet = true;
49 m_displayName = std::forward<DisplayNameT>(value);
50 }
51 template <typename DisplayNameT = Aws::String>
52 UpdateStackRequest& WithDisplayName(DisplayNameT&& value) {
53 SetDisplayName(std::forward<DisplayNameT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetDescription() const { return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 template <typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) {
66 m_descriptionHasBeenSet = true;
67 m_description = std::forward<DescriptionT>(value);
68 }
69 template <typename DescriptionT = Aws::String>
70 UpdateStackRequest& WithDescription(DescriptionT&& value) {
71 SetDescription(std::forward<DescriptionT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetName() const { return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 template <typename NameT = Aws::String>
83 void SetName(NameT&& value) {
84 m_nameHasBeenSet = true;
85 m_name = std::forward<NameT>(value);
86 }
87 template <typename NameT = Aws::String>
88 UpdateStackRequest& WithName(NameT&& value) {
89 SetName(std::forward<NameT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Vector<StorageConnector>& GetStorageConnectors() const { return m_storageConnectors; }
99 inline bool StorageConnectorsHasBeenSet() const { return m_storageConnectorsHasBeenSet; }
100 template <typename StorageConnectorsT = Aws::Vector<StorageConnector>>
101 void SetStorageConnectors(StorageConnectorsT&& value) {
102 m_storageConnectorsHasBeenSet = true;
103 m_storageConnectors = std::forward<StorageConnectorsT>(value);
104 }
105 template <typename StorageConnectorsT = Aws::Vector<StorageConnector>>
106 UpdateStackRequest& WithStorageConnectors(StorageConnectorsT&& value) {
107 SetStorageConnectors(std::forward<StorageConnectorsT>(value));
108 return *this;
109 }
110 template <typename StorageConnectorsT = StorageConnector>
111 UpdateStackRequest& AddStorageConnectors(StorageConnectorsT&& value) {
112 m_storageConnectorsHasBeenSet = true;
113 m_storageConnectors.emplace_back(std::forward<StorageConnectorsT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetRedirectURL() const { return m_redirectURL; }
123 inline bool RedirectURLHasBeenSet() const { return m_redirectURLHasBeenSet; }
124 template <typename RedirectURLT = Aws::String>
125 void SetRedirectURL(RedirectURLT&& value) {
126 m_redirectURLHasBeenSet = true;
127 m_redirectURL = std::forward<RedirectURLT>(value);
128 }
129 template <typename RedirectURLT = Aws::String>
130 UpdateStackRequest& WithRedirectURL(RedirectURLT&& value) {
131 SetRedirectURL(std::forward<RedirectURLT>(value));
132 return *this;
133 }
135
137
141 inline const Aws::String& GetFeedbackURL() const { return m_feedbackURL; }
142 inline bool FeedbackURLHasBeenSet() const { return m_feedbackURLHasBeenSet; }
143 template <typename FeedbackURLT = Aws::String>
144 void SetFeedbackURL(FeedbackURLT&& value) {
145 m_feedbackURLHasBeenSet = true;
146 m_feedbackURL = std::forward<FeedbackURLT>(value);
147 }
148 template <typename FeedbackURLT = Aws::String>
149 UpdateStackRequest& WithFeedbackURL(FeedbackURLT&& value) {
150 SetFeedbackURL(std::forward<FeedbackURLT>(value));
151 return *this;
152 }
154
156
159 inline const Aws::Vector<StackAttribute>& GetAttributesToDelete() const { return m_attributesToDelete; }
160 inline bool AttributesToDeleteHasBeenSet() const { return m_attributesToDeleteHasBeenSet; }
161 template <typename AttributesToDeleteT = Aws::Vector<StackAttribute>>
162 void SetAttributesToDelete(AttributesToDeleteT&& value) {
163 m_attributesToDeleteHasBeenSet = true;
164 m_attributesToDelete = std::forward<AttributesToDeleteT>(value);
165 }
166 template <typename AttributesToDeleteT = Aws::Vector<StackAttribute>>
167 UpdateStackRequest& WithAttributesToDelete(AttributesToDeleteT&& value) {
168 SetAttributesToDelete(std::forward<AttributesToDeleteT>(value));
169 return *this;
170 }
172 m_attributesToDeleteHasBeenSet = true;
173 m_attributesToDelete.push_back(value);
174 return *this;
175 }
177
179
183 inline const Aws::Vector<UserSetting>& GetUserSettings() const { return m_userSettings; }
184 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
185 template <typename UserSettingsT = Aws::Vector<UserSetting>>
186 void SetUserSettings(UserSettingsT&& value) {
187 m_userSettingsHasBeenSet = true;
188 m_userSettings = std::forward<UserSettingsT>(value);
189 }
190 template <typename UserSettingsT = Aws::Vector<UserSetting>>
191 UpdateStackRequest& WithUserSettings(UserSettingsT&& value) {
192 SetUserSettings(std::forward<UserSettingsT>(value));
193 return *this;
194 }
195 template <typename UserSettingsT = UserSetting>
196 UpdateStackRequest& AddUserSettings(UserSettingsT&& value) {
197 m_userSettingsHasBeenSet = true;
198 m_userSettings.emplace_back(std::forward<UserSettingsT>(value));
199 return *this;
200 }
202
204
209 inline const ApplicationSettings& GetApplicationSettings() const { return m_applicationSettings; }
210 inline bool ApplicationSettingsHasBeenSet() const { return m_applicationSettingsHasBeenSet; }
211 template <typename ApplicationSettingsT = ApplicationSettings>
212 void SetApplicationSettings(ApplicationSettingsT&& value) {
213 m_applicationSettingsHasBeenSet = true;
214 m_applicationSettings = std::forward<ApplicationSettingsT>(value);
215 }
216 template <typename ApplicationSettingsT = ApplicationSettings>
217 UpdateStackRequest& WithApplicationSettings(ApplicationSettingsT&& value) {
218 SetApplicationSettings(std::forward<ApplicationSettingsT>(value));
219 return *this;
220 }
222
224
229 inline const Aws::Vector<AccessEndpoint>& GetAccessEndpoints() const { return m_accessEndpoints; }
230 inline bool AccessEndpointsHasBeenSet() const { return m_accessEndpointsHasBeenSet; }
231 template <typename AccessEndpointsT = Aws::Vector<AccessEndpoint>>
232 void SetAccessEndpoints(AccessEndpointsT&& value) {
233 m_accessEndpointsHasBeenSet = true;
234 m_accessEndpoints = std::forward<AccessEndpointsT>(value);
235 }
236 template <typename AccessEndpointsT = Aws::Vector<AccessEndpoint>>
237 UpdateStackRequest& WithAccessEndpoints(AccessEndpointsT&& value) {
238 SetAccessEndpoints(std::forward<AccessEndpointsT>(value));
239 return *this;
240 }
241 template <typename AccessEndpointsT = AccessEndpoint>
242 UpdateStackRequest& AddAccessEndpoints(AccessEndpointsT&& value) {
243 m_accessEndpointsHasBeenSet = true;
244 m_accessEndpoints.emplace_back(std::forward<AccessEndpointsT>(value));
245 return *this;
246 }
248
250
255 inline const Aws::Vector<Aws::String>& GetEmbedHostDomains() const { return m_embedHostDomains; }
256 inline bool EmbedHostDomainsHasBeenSet() const { return m_embedHostDomainsHasBeenSet; }
257 template <typename EmbedHostDomainsT = Aws::Vector<Aws::String>>
258 void SetEmbedHostDomains(EmbedHostDomainsT&& value) {
259 m_embedHostDomainsHasBeenSet = true;
260 m_embedHostDomains = std::forward<EmbedHostDomainsT>(value);
261 }
262 template <typename EmbedHostDomainsT = Aws::Vector<Aws::String>>
263 UpdateStackRequest& WithEmbedHostDomains(EmbedHostDomainsT&& value) {
264 SetEmbedHostDomains(std::forward<EmbedHostDomainsT>(value));
265 return *this;
266 }
267 template <typename EmbedHostDomainsT = Aws::String>
268 UpdateStackRequest& AddEmbedHostDomains(EmbedHostDomainsT&& value) {
269 m_embedHostDomainsHasBeenSet = true;
270 m_embedHostDomains.emplace_back(std::forward<EmbedHostDomainsT>(value));
271 return *this;
272 }
274
276
280 inline const StreamingExperienceSettings& GetStreamingExperienceSettings() const { return m_streamingExperienceSettings; }
281 inline bool StreamingExperienceSettingsHasBeenSet() const { return m_streamingExperienceSettingsHasBeenSet; }
282 template <typename StreamingExperienceSettingsT = StreamingExperienceSettings>
283 void SetStreamingExperienceSettings(StreamingExperienceSettingsT&& value) {
284 m_streamingExperienceSettingsHasBeenSet = true;
285 m_streamingExperienceSettings = std::forward<StreamingExperienceSettingsT>(value);
286 }
287 template <typename StreamingExperienceSettingsT = StreamingExperienceSettings>
288 UpdateStackRequest& WithStreamingExperienceSettings(StreamingExperienceSettingsT&& value) {
289 SetStreamingExperienceSettings(std::forward<StreamingExperienceSettingsT>(value));
290 return *this;
291 }
293 private:
294 Aws::String m_displayName;
295 bool m_displayNameHasBeenSet = false;
296
297 Aws::String m_description;
298 bool m_descriptionHasBeenSet = false;
299
300 Aws::String m_name;
301 bool m_nameHasBeenSet = false;
302
303 Aws::Vector<StorageConnector> m_storageConnectors;
304 bool m_storageConnectorsHasBeenSet = false;
305
306 Aws::String m_redirectURL;
307 bool m_redirectURLHasBeenSet = false;
308
309 Aws::String m_feedbackURL;
310 bool m_feedbackURLHasBeenSet = false;
311
312 Aws::Vector<StackAttribute> m_attributesToDelete;
313 bool m_attributesToDeleteHasBeenSet = false;
314
315 Aws::Vector<UserSetting> m_userSettings;
316 bool m_userSettingsHasBeenSet = false;
317
318 ApplicationSettings m_applicationSettings;
319 bool m_applicationSettingsHasBeenSet = false;
320
321 Aws::Vector<AccessEndpoint> m_accessEndpoints;
322 bool m_accessEndpointsHasBeenSet = false;
323
324 Aws::Vector<Aws::String> m_embedHostDomains;
325 bool m_embedHostDomainsHasBeenSet = false;
326
327 StreamingExperienceSettings m_streamingExperienceSettings;
328 bool m_streamingExperienceSettingsHasBeenSet = false;
329};
330
331} // namespace Model
332} // namespace AppStream
333} // namespace Aws
const Aws::Vector< UserSetting > & GetUserSettings() const
const Aws::Vector< StorageConnector > & GetStorageConnectors() const
UpdateStackRequest & WithStorageConnectors(StorageConnectorsT &&value)
UpdateStackRequest & AddEmbedHostDomains(EmbedHostDomainsT &&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 Aws::Vector< StackAttribute > & GetAttributesToDelete() const
void SetStreamingExperienceSettings(StreamingExperienceSettingsT &&value)
UpdateStackRequest & WithDisplayName(DisplayNameT &&value)
UpdateStackRequest & AddAccessEndpoints(AccessEndpointsT &&value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
const Aws::Vector< AccessEndpoint > & GetAccessEndpoints() const
UpdateStackRequest & WithFeedbackURL(FeedbackURLT &&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