AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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
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) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
52 template<typename DisplayNameT = Aws::String>
53 UpdateStackRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetDescription() const { return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 template<typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
64 template<typename DescriptionT = Aws::String>
65 UpdateStackRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
67
69
72 inline const Aws::String& GetName() const { return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 template<typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
76 template<typename NameT = Aws::String>
77 UpdateStackRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
79
81
84 inline const Aws::Vector<StorageConnector>& GetStorageConnectors() const { return m_storageConnectors; }
85 inline bool StorageConnectorsHasBeenSet() const { return m_storageConnectorsHasBeenSet; }
86 template<typename StorageConnectorsT = Aws::Vector<StorageConnector>>
87 void SetStorageConnectors(StorageConnectorsT&& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors = std::forward<StorageConnectorsT>(value); }
88 template<typename StorageConnectorsT = Aws::Vector<StorageConnector>>
89 UpdateStackRequest& WithStorageConnectors(StorageConnectorsT&& value) { SetStorageConnectors(std::forward<StorageConnectorsT>(value)); return *this;}
90 template<typename StorageConnectorsT = StorageConnector>
91 UpdateStackRequest& AddStorageConnectors(StorageConnectorsT&& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors.emplace_back(std::forward<StorageConnectorsT>(value)); return *this; }
93
95
98 inline const Aws::String& GetRedirectURL() const { return m_redirectURL; }
99 inline bool RedirectURLHasBeenSet() const { return m_redirectURLHasBeenSet; }
100 template<typename RedirectURLT = Aws::String>
101 void SetRedirectURL(RedirectURLT&& value) { m_redirectURLHasBeenSet = true; m_redirectURL = std::forward<RedirectURLT>(value); }
102 template<typename RedirectURLT = Aws::String>
103 UpdateStackRequest& WithRedirectURL(RedirectURLT&& value) { SetRedirectURL(std::forward<RedirectURLT>(value)); return *this;}
105
107
111 inline const Aws::String& GetFeedbackURL() const { return m_feedbackURL; }
112 inline bool FeedbackURLHasBeenSet() const { return m_feedbackURLHasBeenSet; }
113 template<typename FeedbackURLT = Aws::String>
114 void SetFeedbackURL(FeedbackURLT&& value) { m_feedbackURLHasBeenSet = true; m_feedbackURL = std::forward<FeedbackURLT>(value); }
115 template<typename FeedbackURLT = Aws::String>
116 UpdateStackRequest& WithFeedbackURL(FeedbackURLT&& value) { SetFeedbackURL(std::forward<FeedbackURLT>(value)); return *this;}
118
120
123 inline const Aws::Vector<StackAttribute>& GetAttributesToDelete() const { return m_attributesToDelete; }
124 inline bool AttributesToDeleteHasBeenSet() const { return m_attributesToDeleteHasBeenSet; }
125 template<typename AttributesToDeleteT = Aws::Vector<StackAttribute>>
126 void SetAttributesToDelete(AttributesToDeleteT&& value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete = std::forward<AttributesToDeleteT>(value); }
127 template<typename AttributesToDeleteT = Aws::Vector<StackAttribute>>
128 UpdateStackRequest& WithAttributesToDelete(AttributesToDeleteT&& value) { SetAttributesToDelete(std::forward<AttributesToDeleteT>(value)); return *this;}
129 inline UpdateStackRequest& AddAttributesToDelete(StackAttribute value) { m_attributesToDeleteHasBeenSet = true; m_attributesToDelete.push_back(value); return *this; }
131
133
137 inline const Aws::Vector<UserSetting>& GetUserSettings() const { return m_userSettings; }
138 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
139 template<typename UserSettingsT = Aws::Vector<UserSetting>>
140 void SetUserSettings(UserSettingsT&& value) { m_userSettingsHasBeenSet = true; m_userSettings = std::forward<UserSettingsT>(value); }
141 template<typename UserSettingsT = Aws::Vector<UserSetting>>
142 UpdateStackRequest& WithUserSettings(UserSettingsT&& value) { SetUserSettings(std::forward<UserSettingsT>(value)); return *this;}
143 template<typename UserSettingsT = UserSetting>
144 UpdateStackRequest& AddUserSettings(UserSettingsT&& value) { m_userSettingsHasBeenSet = true; m_userSettings.emplace_back(std::forward<UserSettingsT>(value)); return *this; }
146
148
153 inline const ApplicationSettings& GetApplicationSettings() const { return m_applicationSettings; }
154 inline bool ApplicationSettingsHasBeenSet() const { return m_applicationSettingsHasBeenSet; }
155 template<typename ApplicationSettingsT = ApplicationSettings>
156 void SetApplicationSettings(ApplicationSettingsT&& value) { m_applicationSettingsHasBeenSet = true; m_applicationSettings = std::forward<ApplicationSettingsT>(value); }
157 template<typename ApplicationSettingsT = ApplicationSettings>
158 UpdateStackRequest& WithApplicationSettings(ApplicationSettingsT&& value) { SetApplicationSettings(std::forward<ApplicationSettingsT>(value)); return *this;}
160
162
166 inline const Aws::Vector<AccessEndpoint>& GetAccessEndpoints() const { return m_accessEndpoints; }
167 inline bool AccessEndpointsHasBeenSet() const { return m_accessEndpointsHasBeenSet; }
168 template<typename AccessEndpointsT = Aws::Vector<AccessEndpoint>>
169 void SetAccessEndpoints(AccessEndpointsT&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints = std::forward<AccessEndpointsT>(value); }
170 template<typename AccessEndpointsT = Aws::Vector<AccessEndpoint>>
171 UpdateStackRequest& WithAccessEndpoints(AccessEndpointsT&& value) { SetAccessEndpoints(std::forward<AccessEndpointsT>(value)); return *this;}
172 template<typename AccessEndpointsT = AccessEndpoint>
173 UpdateStackRequest& AddAccessEndpoints(AccessEndpointsT&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.emplace_back(std::forward<AccessEndpointsT>(value)); return *this; }
175
177
182 inline const Aws::Vector<Aws::String>& GetEmbedHostDomains() const { return m_embedHostDomains; }
183 inline bool EmbedHostDomainsHasBeenSet() const { return m_embedHostDomainsHasBeenSet; }
184 template<typename EmbedHostDomainsT = Aws::Vector<Aws::String>>
185 void SetEmbedHostDomains(EmbedHostDomainsT&& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains = std::forward<EmbedHostDomainsT>(value); }
186 template<typename EmbedHostDomainsT = Aws::Vector<Aws::String>>
187 UpdateStackRequest& WithEmbedHostDomains(EmbedHostDomainsT&& value) { SetEmbedHostDomains(std::forward<EmbedHostDomainsT>(value)); return *this;}
188 template<typename EmbedHostDomainsT = Aws::String>
189 UpdateStackRequest& AddEmbedHostDomains(EmbedHostDomainsT&& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains.emplace_back(std::forward<EmbedHostDomainsT>(value)); return *this; }
191
193
197 inline const StreamingExperienceSettings& GetStreamingExperienceSettings() const { return m_streamingExperienceSettings; }
198 inline bool StreamingExperienceSettingsHasBeenSet() const { return m_streamingExperienceSettingsHasBeenSet; }
199 template<typename StreamingExperienceSettingsT = StreamingExperienceSettings>
200 void SetStreamingExperienceSettings(StreamingExperienceSettingsT&& value) { m_streamingExperienceSettingsHasBeenSet = true; m_streamingExperienceSettings = std::forward<StreamingExperienceSettingsT>(value); }
201 template<typename StreamingExperienceSettingsT = StreamingExperienceSettings>
202 UpdateStackRequest& WithStreamingExperienceSettings(StreamingExperienceSettingsT&& value) { SetStreamingExperienceSettings(std::forward<StreamingExperienceSettingsT>(value)); return *this;}
204 private:
205
206 Aws::String m_displayName;
207 bool m_displayNameHasBeenSet = false;
208
209 Aws::String m_description;
210 bool m_descriptionHasBeenSet = false;
211
212 Aws::String m_name;
213 bool m_nameHasBeenSet = false;
214
215 Aws::Vector<StorageConnector> m_storageConnectors;
216 bool m_storageConnectorsHasBeenSet = false;
217
218 Aws::String m_redirectURL;
219 bool m_redirectURLHasBeenSet = false;
220
221 Aws::String m_feedbackURL;
222 bool m_feedbackURLHasBeenSet = false;
223
224 Aws::Vector<StackAttribute> m_attributesToDelete;
225 bool m_attributesToDeleteHasBeenSet = false;
226
227 Aws::Vector<UserSetting> m_userSettings;
228 bool m_userSettingsHasBeenSet = false;
229
230 ApplicationSettings m_applicationSettings;
231 bool m_applicationSettingsHasBeenSet = false;
232
233 Aws::Vector<AccessEndpoint> m_accessEndpoints;
234 bool m_accessEndpointsHasBeenSet = false;
235
236 Aws::Vector<Aws::String> m_embedHostDomains;
237 bool m_embedHostDomainsHasBeenSet = false;
238
239 StreamingExperienceSettings m_streamingExperienceSettings;
240 bool m_streamingExperienceSettingsHasBeenSet = false;
241 };
242
243} // namespace Model
244} // namespace AppStream
245} // 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