AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateStackRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/appstream/model/ApplicationSettings.h>
12#include <aws/appstream/model/StreamingExperienceSettings.h>
13#include <aws/appstream/model/StorageConnector.h>
14#include <aws/appstream/model/StackAttribute.h>
15#include <aws/appstream/model/UserSetting.h>
16#include <aws/appstream/model/AccessEndpoint.h>
17#include <utility>
18
19namespace Aws
20{
21namespace AppStream
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_APPSTREAM_API UpdateStackRequest();
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
43
45
48 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
49 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
50 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
51 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
52 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
53 inline UpdateStackRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
54 inline UpdateStackRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
55 inline UpdateStackRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
57
59
62 inline const Aws::String& GetDescription() const{ return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
65 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
66 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
67 inline UpdateStackRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 inline UpdateStackRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
69 inline UpdateStackRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
71
73
76 inline const Aws::String& GetName() const{ return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
79 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
80 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
81 inline UpdateStackRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
82 inline UpdateStackRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
83 inline UpdateStackRequest& WithName(const char* value) { SetName(value); return *this;}
85
87
90 inline const Aws::Vector<StorageConnector>& GetStorageConnectors() const{ return m_storageConnectors; }
91 inline bool StorageConnectorsHasBeenSet() const { return m_storageConnectorsHasBeenSet; }
92 inline void SetStorageConnectors(const Aws::Vector<StorageConnector>& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors = value; }
93 inline void SetStorageConnectors(Aws::Vector<StorageConnector>&& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors = std::move(value); }
96 inline UpdateStackRequest& AddStorageConnectors(const StorageConnector& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors.push_back(value); return *this; }
97 inline UpdateStackRequest& AddStorageConnectors(StorageConnector&& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors.push_back(std::move(value)); return *this; }
99
101
104 inline const Aws::String& GetRedirectURL() const{ return m_redirectURL; }
105 inline bool RedirectURLHasBeenSet() const { return m_redirectURLHasBeenSet; }
106 inline void SetRedirectURL(const Aws::String& value) { m_redirectURLHasBeenSet = true; m_redirectURL = value; }
107 inline void SetRedirectURL(Aws::String&& value) { m_redirectURLHasBeenSet = true; m_redirectURL = std::move(value); }
108 inline void SetRedirectURL(const char* value) { m_redirectURLHasBeenSet = true; m_redirectURL.assign(value); }
109 inline UpdateStackRequest& WithRedirectURL(const Aws::String& value) { SetRedirectURL(value); return *this;}
110 inline UpdateStackRequest& WithRedirectURL(Aws::String&& value) { SetRedirectURL(std::move(value)); return *this;}
111 inline UpdateStackRequest& WithRedirectURL(const char* value) { SetRedirectURL(value); return *this;}
113
115
119 inline const Aws::String& GetFeedbackURL() const{ return m_feedbackURL; }
120 inline bool FeedbackURLHasBeenSet() const { return m_feedbackURLHasBeenSet; }
121 inline void SetFeedbackURL(const Aws::String& value) { m_feedbackURLHasBeenSet = true; m_feedbackURL = value; }
122 inline void SetFeedbackURL(Aws::String&& value) { m_feedbackURLHasBeenSet = true; m_feedbackURL = std::move(value); }
123 inline void SetFeedbackURL(const char* value) { m_feedbackURLHasBeenSet = true; m_feedbackURL.assign(value); }
124 inline UpdateStackRequest& WithFeedbackURL(const Aws::String& value) { SetFeedbackURL(value); return *this;}
125 inline UpdateStackRequest& WithFeedbackURL(Aws::String&& value) { SetFeedbackURL(std::move(value)); return *this;}
126 inline UpdateStackRequest& WithFeedbackURL(const char* value) { SetFeedbackURL(value); return *this;}
128
130
133 inline const Aws::Vector<StackAttribute>& GetAttributesToDelete() const{ return m_attributesToDelete; }
134 inline bool AttributesToDeleteHasBeenSet() const { return m_attributesToDeleteHasBeenSet; }
135 inline void SetAttributesToDelete(const Aws::Vector<StackAttribute>& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete = value; }
136 inline void SetAttributesToDelete(Aws::Vector<StackAttribute>&& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete = std::move(value); }
139 inline UpdateStackRequest& AddAttributesToDelete(const StackAttribute& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete.push_back(value); return *this; }
140 inline UpdateStackRequest& AddAttributesToDelete(StackAttribute&& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete.push_back(std::move(value)); return *this; }
142
144
148 inline const Aws::Vector<UserSetting>& GetUserSettings() const{ return m_userSettings; }
149 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
150 inline void SetUserSettings(const Aws::Vector<UserSetting>& value) { m_userSettingsHasBeenSet = true; m_userSettings = value; }
151 inline void SetUserSettings(Aws::Vector<UserSetting>&& value) { m_userSettingsHasBeenSet = true; m_userSettings = std::move(value); }
153 inline UpdateStackRequest& WithUserSettings(Aws::Vector<UserSetting>&& value) { SetUserSettings(std::move(value)); return *this;}
154 inline UpdateStackRequest& AddUserSettings(const UserSetting& value) { m_userSettingsHasBeenSet = true; m_userSettings.push_back(value); return *this; }
155 inline UpdateStackRequest& AddUserSettings(UserSetting&& value) { m_userSettingsHasBeenSet = true; m_userSettings.push_back(std::move(value)); return *this; }
157
159
164 inline const ApplicationSettings& GetApplicationSettings() const{ return m_applicationSettings; }
165 inline bool ApplicationSettingsHasBeenSet() const { return m_applicationSettingsHasBeenSet; }
166 inline void SetApplicationSettings(const ApplicationSettings& value) { m_applicationSettingsHasBeenSet = true; m_applicationSettings = value; }
167 inline void SetApplicationSettings(ApplicationSettings&& value) { m_applicationSettingsHasBeenSet = true; m_applicationSettings = std::move(value); }
171
173
177 inline const Aws::Vector<AccessEndpoint>& GetAccessEndpoints() const{ return m_accessEndpoints; }
178 inline bool AccessEndpointsHasBeenSet() const { return m_accessEndpointsHasBeenSet; }
179 inline void SetAccessEndpoints(const Aws::Vector<AccessEndpoint>& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints = value; }
180 inline void SetAccessEndpoints(Aws::Vector<AccessEndpoint>&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints = std::move(value); }
183 inline UpdateStackRequest& AddAccessEndpoints(const AccessEndpoint& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(value); return *this; }
184 inline UpdateStackRequest& AddAccessEndpoints(AccessEndpoint&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(std::move(value)); return *this; }
186
188
193 inline const Aws::Vector<Aws::String>& GetEmbedHostDomains() const{ return m_embedHostDomains; }
194 inline bool EmbedHostDomainsHasBeenSet() const { return m_embedHostDomainsHasBeenSet; }
195 inline void SetEmbedHostDomains(const Aws::Vector<Aws::String>& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains = value; }
196 inline void SetEmbedHostDomains(Aws::Vector<Aws::String>&& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains = std::move(value); }
198 inline UpdateStackRequest& WithEmbedHostDomains(Aws::Vector<Aws::String>&& value) { SetEmbedHostDomains(std::move(value)); return *this;}
199 inline UpdateStackRequest& AddEmbedHostDomains(const Aws::String& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains.push_back(value); return *this; }
200 inline UpdateStackRequest& AddEmbedHostDomains(Aws::String&& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains.push_back(std::move(value)); return *this; }
201 inline UpdateStackRequest& AddEmbedHostDomains(const char* value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains.push_back(value); return *this; }
203
205
209 inline const StreamingExperienceSettings& GetStreamingExperienceSettings() const{ return m_streamingExperienceSettings; }
210 inline bool StreamingExperienceSettingsHasBeenSet() const { return m_streamingExperienceSettingsHasBeenSet; }
211 inline void SetStreamingExperienceSettings(const StreamingExperienceSettings& value) { m_streamingExperienceSettingsHasBeenSet = true; m_streamingExperienceSettings = value; }
212 inline void SetStreamingExperienceSettings(StreamingExperienceSettings&& value) { m_streamingExperienceSettingsHasBeenSet = true; m_streamingExperienceSettings = std::move(value); }
216 private:
217
218 Aws::String m_displayName;
219 bool m_displayNameHasBeenSet = false;
220
221 Aws::String m_description;
222 bool m_descriptionHasBeenSet = false;
223
224 Aws::String m_name;
225 bool m_nameHasBeenSet = false;
226
227 Aws::Vector<StorageConnector> m_storageConnectors;
228 bool m_storageConnectorsHasBeenSet = false;
229
230 Aws::String m_redirectURL;
231 bool m_redirectURLHasBeenSet = false;
232
233 Aws::String m_feedbackURL;
234 bool m_feedbackURLHasBeenSet = false;
235
236 Aws::Vector<StackAttribute> m_attributesToDelete;
237 bool m_attributesToDeleteHasBeenSet = false;
238
239 Aws::Vector<UserSetting> m_userSettings;
240 bool m_userSettingsHasBeenSet = false;
241
242 ApplicationSettings m_applicationSettings;
243 bool m_applicationSettingsHasBeenSet = false;
244
245 Aws::Vector<AccessEndpoint> m_accessEndpoints;
246 bool m_accessEndpointsHasBeenSet = false;
247
248 Aws::Vector<Aws::String> m_embedHostDomains;
249 bool m_embedHostDomainsHasBeenSet = false;
250
251 StreamingExperienceSettings m_streamingExperienceSettings;
252 bool m_streamingExperienceSettingsHasBeenSet = false;
253 };
254
255} // namespace Model
256} // namespace AppStream
257} // namespace Aws
UpdateStackRequest & AddUserSettings(UserSetting &&value)
UpdateStackRequest & WithRedirectURL(Aws::String &&value)
UpdateStackRequest & WithAccessEndpoints(Aws::Vector< AccessEndpoint > &&value)
UpdateStackRequest & WithApplicationSettings(ApplicationSettings &&value)
UpdateStackRequest & WithDisplayName(const char *value)
const Aws::Vector< UserSetting > & GetUserSettings() const
const Aws::Vector< StorageConnector > & GetStorageConnectors() const
void SetRedirectURL(const Aws::String &value)
UpdateStackRequest & WithRedirectURL(const Aws::String &value)
UpdateStackRequest & WithName(Aws::String &&value)
void SetStorageConnectors(Aws::Vector< StorageConnector > &&value)
UpdateStackRequest & WithName(const Aws::String &value)
UpdateStackRequest & WithFeedbackURL(const Aws::String &value)
UpdateStackRequest & WithStreamingExperienceSettings(const StreamingExperienceSettings &value)
UpdateStackRequest & WithAttributesToDelete(const Aws::Vector< StackAttribute > &value)
UpdateStackRequest & AddEmbedHostDomains(const char *value)
UpdateStackRequest & WithDescription(const Aws::String &value)
UpdateStackRequest & WithUserSettings(Aws::Vector< UserSetting > &&value)
UpdateStackRequest & AddUserSettings(const UserSetting &value)
virtual const char * GetServiceRequestName() const override
void SetStreamingExperienceSettings(const StreamingExperienceSettings &value)
UpdateStackRequest & WithStorageConnectors(Aws::Vector< StorageConnector > &&value)
void SetUserSettings(const Aws::Vector< UserSetting > &value)
void SetAccessEndpoints(const Aws::Vector< AccessEndpoint > &value)
void SetUserSettings(Aws::Vector< UserSetting > &&value)
UpdateStackRequest & WithApplicationSettings(const ApplicationSettings &value)
void SetApplicationSettings(ApplicationSettings &&value)
UpdateStackRequest & AddEmbedHostDomains(Aws::String &&value)
void SetFeedbackURL(const Aws::String &value)
void SetEmbedHostDomains(const Aws::Vector< Aws::String > &value)
UpdateStackRequest & WithEmbedHostDomains(Aws::Vector< Aws::String > &&value)
void SetDisplayName(const Aws::String &value)
void SetApplicationSettings(const ApplicationSettings &value)
UpdateStackRequest & WithStreamingExperienceSettings(StreamingExperienceSettings &&value)
UpdateStackRequest & AddAttributesToDelete(const StackAttribute &value)
UpdateStackRequest & WithAccessEndpoints(const Aws::Vector< AccessEndpoint > &value)
void SetAttributesToDelete(Aws::Vector< StackAttribute > &&value)
const ApplicationSettings & GetApplicationSettings() const
UpdateStackRequest & AddAttributesToDelete(StackAttribute &&value)
UpdateStackRequest & WithName(const char *value)
void SetName(const Aws::String &value)
UpdateStackRequest & WithStorageConnectors(const Aws::Vector< StorageConnector > &value)
void SetStorageConnectors(const Aws::Vector< StorageConnector > &value)
void SetEmbedHostDomains(Aws::Vector< Aws::String > &&value)
UpdateStackRequest & AddEmbedHostDomains(const Aws::String &value)
void SetAttributesToDelete(const Aws::Vector< StackAttribute > &value)
void SetAccessEndpoints(Aws::Vector< AccessEndpoint > &&value)
UpdateStackRequest & WithRedirectURL(const char *value)
void SetStreamingExperienceSettings(StreamingExperienceSettings &&value)
UpdateStackRequest & WithDisplayName(const Aws::String &value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateStackRequest & WithDescription(const char *value)
const StreamingExperienceSettings & GetStreamingExperienceSettings() const
UpdateStackRequest & WithDescription(Aws::String &&value)
UpdateStackRequest & WithEmbedHostDomains(const Aws::Vector< Aws::String > &value)
UpdateStackRequest & AddStorageConnectors(const StorageConnector &value)
UpdateStackRequest & WithUserSettings(const Aws::Vector< UserSetting > &value)
const Aws::Vector< StackAttribute > & GetAttributesToDelete() const
UpdateStackRequest & AddAccessEndpoints(AccessEndpoint &&value)
UpdateStackRequest & WithFeedbackURL(Aws::String &&value)
UpdateStackRequest & AddStorageConnectors(StorageConnector &&value)
UpdateStackRequest & WithAttributesToDelete(Aws::Vector< StackAttribute > &&value)
void SetDescription(const Aws::String &value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
const Aws::Vector< AccessEndpoint > & GetAccessEndpoints() const
UpdateStackRequest & WithDisplayName(Aws::String &&value)
UpdateStackRequest & AddAccessEndpoints(const AccessEndpoint &value)
UpdateStackRequest & WithFeedbackURL(const char *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