AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateStackRequest.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/core/utils/memory/stl/AWSMap.h>
13#include <aws/appstream/model/StreamingExperienceSettings.h>
14#include <aws/appstream/model/StorageConnector.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 CreateStackRequest();
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 "CreateStack"; }
38
39 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
40
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline CreateStackRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline CreateStackRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline CreateStackRequest& WithName(const char* value) { SetName(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 CreateStackRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 inline CreateStackRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
69 inline CreateStackRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
71
73
76 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
77 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
78 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
79 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
80 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
81 inline CreateStackRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
82 inline CreateStackRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
83 inline CreateStackRequest& WithDisplayName(const char* value) { SetDisplayName(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 CreateStackRequest& AddStorageConnectors(const StorageConnector& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors.push_back(value); return *this; }
97 inline CreateStackRequest& 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 CreateStackRequest& WithRedirectURL(const Aws::String& value) { SetRedirectURL(value); return *this;}
110 inline CreateStackRequest& WithRedirectURL(Aws::String&& value) { SetRedirectURL(std::move(value)); return *this;}
111 inline CreateStackRequest& 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 CreateStackRequest& WithFeedbackURL(const Aws::String& value) { SetFeedbackURL(value); return *this;}
125 inline CreateStackRequest& WithFeedbackURL(Aws::String&& value) { SetFeedbackURL(std::move(value)); return *this;}
126 inline CreateStackRequest& WithFeedbackURL(const char* value) { SetFeedbackURL(value); return *this;}
128
130
134 inline const Aws::Vector<UserSetting>& GetUserSettings() const{ return m_userSettings; }
135 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
136 inline void SetUserSettings(const Aws::Vector<UserSetting>& value) { m_userSettingsHasBeenSet = true; m_userSettings = value; }
137 inline void SetUserSettings(Aws::Vector<UserSetting>&& value) { m_userSettingsHasBeenSet = true; m_userSettings = std::move(value); }
139 inline CreateStackRequest& WithUserSettings(Aws::Vector<UserSetting>&& value) { SetUserSettings(std::move(value)); return *this;}
140 inline CreateStackRequest& AddUserSettings(const UserSetting& value) { m_userSettingsHasBeenSet = true; m_userSettings.push_back(value); return *this; }
141 inline CreateStackRequest& AddUserSettings(UserSetting&& value) { m_userSettingsHasBeenSet = true; m_userSettings.push_back(std::move(value)); return *this; }
143
145
150 inline const ApplicationSettings& GetApplicationSettings() const{ return m_applicationSettings; }
151 inline bool ApplicationSettingsHasBeenSet() const { return m_applicationSettingsHasBeenSet; }
152 inline void SetApplicationSettings(const ApplicationSettings& value) { m_applicationSettingsHasBeenSet = true; m_applicationSettings = value; }
153 inline void SetApplicationSettings(ApplicationSettings&& value) { m_applicationSettingsHasBeenSet = true; m_applicationSettings = std::move(value); }
157
159
169 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
170 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
171 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
172 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
173 inline CreateStackRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
174 inline CreateStackRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
175 inline CreateStackRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
176 inline CreateStackRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
177 inline CreateStackRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
178 inline CreateStackRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
179 inline CreateStackRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
180 inline CreateStackRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
181 inline CreateStackRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
183
185
189 inline const Aws::Vector<AccessEndpoint>& GetAccessEndpoints() const{ return m_accessEndpoints; }
190 inline bool AccessEndpointsHasBeenSet() const { return m_accessEndpointsHasBeenSet; }
191 inline void SetAccessEndpoints(const Aws::Vector<AccessEndpoint>& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints = value; }
192 inline void SetAccessEndpoints(Aws::Vector<AccessEndpoint>&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints = std::move(value); }
195 inline CreateStackRequest& AddAccessEndpoints(const AccessEndpoint& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(value); return *this; }
196 inline CreateStackRequest& AddAccessEndpoints(AccessEndpoint&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(std::move(value)); return *this; }
198
200
205 inline const Aws::Vector<Aws::String>& GetEmbedHostDomains() const{ return m_embedHostDomains; }
206 inline bool EmbedHostDomainsHasBeenSet() const { return m_embedHostDomainsHasBeenSet; }
207 inline void SetEmbedHostDomains(const Aws::Vector<Aws::String>& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains = value; }
208 inline void SetEmbedHostDomains(Aws::Vector<Aws::String>&& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains = std::move(value); }
210 inline CreateStackRequest& WithEmbedHostDomains(Aws::Vector<Aws::String>&& value) { SetEmbedHostDomains(std::move(value)); return *this;}
211 inline CreateStackRequest& AddEmbedHostDomains(const Aws::String& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains.push_back(value); return *this; }
212 inline CreateStackRequest& AddEmbedHostDomains(Aws::String&& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains.push_back(std::move(value)); return *this; }
213 inline CreateStackRequest& AddEmbedHostDomains(const char* value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains.push_back(value); return *this; }
215
217
221 inline const StreamingExperienceSettings& GetStreamingExperienceSettings() const{ return m_streamingExperienceSettings; }
222 inline bool StreamingExperienceSettingsHasBeenSet() const { return m_streamingExperienceSettingsHasBeenSet; }
223 inline void SetStreamingExperienceSettings(const StreamingExperienceSettings& value) { m_streamingExperienceSettingsHasBeenSet = true; m_streamingExperienceSettings = value; }
224 inline void SetStreamingExperienceSettings(StreamingExperienceSettings&& value) { m_streamingExperienceSettingsHasBeenSet = true; m_streamingExperienceSettings = std::move(value); }
228 private:
229
230 Aws::String m_name;
231 bool m_nameHasBeenSet = false;
232
233 Aws::String m_description;
234 bool m_descriptionHasBeenSet = false;
235
236 Aws::String m_displayName;
237 bool m_displayNameHasBeenSet = false;
238
239 Aws::Vector<StorageConnector> m_storageConnectors;
240 bool m_storageConnectorsHasBeenSet = false;
241
242 Aws::String m_redirectURL;
243 bool m_redirectURLHasBeenSet = false;
244
245 Aws::String m_feedbackURL;
246 bool m_feedbackURLHasBeenSet = false;
247
248 Aws::Vector<UserSetting> m_userSettings;
249 bool m_userSettingsHasBeenSet = false;
250
251 ApplicationSettings m_applicationSettings;
252 bool m_applicationSettingsHasBeenSet = false;
253
255 bool m_tagsHasBeenSet = false;
256
257 Aws::Vector<AccessEndpoint> m_accessEndpoints;
258 bool m_accessEndpointsHasBeenSet = false;
259
260 Aws::Vector<Aws::String> m_embedHostDomains;
261 bool m_embedHostDomainsHasBeenSet = false;
262
263 StreamingExperienceSettings m_streamingExperienceSettings;
264 bool m_streamingExperienceSettingsHasBeenSet = false;
265 };
266
267} // namespace Model
268} // namespace AppStream
269} // namespace Aws
CreateStackRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateStackRequest & AddTags(const char *key, Aws::String &&value)
const Aws::Vector< Aws::String > & GetEmbedHostDomains() const
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateStackRequest & AddEmbedHostDomains(const char *value)
void SetAccessEndpoints(const Aws::Vector< AccessEndpoint > &value)
void SetDisplayName(const Aws::String &value)
CreateStackRequest & AddEmbedHostDomains(const Aws::String &value)
CreateStackRequest & WithDisplayName(const Aws::String &value)
CreateStackRequest & WithStorageConnectors(Aws::Vector< StorageConnector > &&value)
CreateStackRequest & WithEmbedHostDomains(Aws::Vector< Aws::String > &&value)
void SetUserSettings(const Aws::Vector< UserSetting > &value)
void SetAccessEndpoints(Aws::Vector< AccessEndpoint > &&value)
const Aws::Vector< AccessEndpoint > & GetAccessEndpoints() const
void SetFeedbackURL(const Aws::String &value)
CreateStackRequest & WithDisplayName(const char *value)
CreateStackRequest & WithFeedbackURL(const char *value)
void SetStreamingExperienceSettings(StreamingExperienceSettings &&value)
CreateStackRequest & WithStreamingExperienceSettings(StreamingExperienceSettings &&value)
CreateStackRequest & WithRedirectURL(Aws::String &&value)
const Aws::Vector< StorageConnector > & GetStorageConnectors() const
CreateStackRequest & WithAccessEndpoints(Aws::Vector< AccessEndpoint > &&value)
CreateStackRequest & AddUserSettings(const UserSetting &value)
void SetName(const Aws::String &value)
CreateStackRequest & WithApplicationSettings(ApplicationSettings &&value)
virtual const char * GetServiceRequestName() const override
CreateStackRequest & AddEmbedHostDomains(Aws::String &&value)
void SetApplicationSettings(const ApplicationSettings &value)
CreateStackRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateStackRequest & WithAccessEndpoints(const Aws::Vector< AccessEndpoint > &value)
void SetDescription(const Aws::String &value)
void SetRedirectURL(const Aws::String &value)
CreateStackRequest & AddStorageConnectors(StorageConnector &&value)
void SetStorageConnectors(const Aws::Vector< StorageConnector > &value)
CreateStackRequest & AddTags(Aws::String &&key, const char *value)
CreateStackRequest & WithStreamingExperienceSettings(const StreamingExperienceSettings &value)
CreateStackRequest & AddAccessEndpoints(AccessEndpoint &&value)
void SetUserSettings(Aws::Vector< UserSetting > &&value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
void SetApplicationSettings(ApplicationSettings &&value)
void SetEmbedHostDomains(const Aws::Vector< Aws::String > &value)
const ApplicationSettings & GetApplicationSettings() const
CreateStackRequest & WithName(const char *value)
CreateStackRequest & AddUserSettings(UserSetting &&value)
void SetStreamingExperienceSettings(const StreamingExperienceSettings &value)
CreateStackRequest & WithDisplayName(Aws::String &&value)
CreateStackRequest & WithRedirectURL(const Aws::String &value)
void SetStorageConnectors(Aws::Vector< StorageConnector > &&value)
CreateStackRequest & WithFeedbackURL(const Aws::String &value)
CreateStackRequest & WithName(Aws::String &&value)
CreateStackRequest & WithEmbedHostDomains(const Aws::Vector< Aws::String > &value)
CreateStackRequest & AddStorageConnectors(const StorageConnector &value)
CreateStackRequest & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Vector< UserSetting > & GetUserSettings() const
CreateStackRequest & WithUserSettings(Aws::Vector< UserSetting > &&value)
CreateStackRequest & WithDescription(Aws::String &&value)
CreateStackRequest & WithUserSettings(const Aws::Vector< UserSetting > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateStackRequest & AddAccessEndpoints(const AccessEndpoint &value)
CreateStackRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetEmbedHostDomains(Aws::Vector< Aws::String > &&value)
CreateStackRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateStackRequest & WithApplicationSettings(const ApplicationSettings &value)
const StreamingExperienceSettings & GetStreamingExperienceSettings() const
CreateStackRequest & WithDescription(const char *value)
CreateStackRequest & WithDescription(const Aws::String &value)
CreateStackRequest & WithFeedbackURL(Aws::String &&value)
CreateStackRequest & WithName(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateStackRequest & AddTags(const char *key, const char *value)
CreateStackRequest & WithStorageConnectors(const Aws::Vector< StorageConnector > &value)
CreateStackRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateStackRequest & WithRedirectURL(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector