AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreateStackRequest.h
Go to the documentation of this file.
1
6#pragma once
17#include <utility>
18
19namespace Aws
20{
21namespace AppStream
22{
23namespace Model
24{
25
29 {
30 public:
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
40
42
43
47 inline const Aws::String& GetName() const{ return m_name; }
48
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53
57 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68
72 inline CreateStackRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
73
77 inline CreateStackRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78
82 inline CreateStackRequest& WithName(const char* value) { SetName(value); return *this;}
83
84
88 inline const Aws::String& GetDescription() const{ return m_description; }
89
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94
98 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
99
103 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
104
108 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
109
113 inline CreateStackRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
114
118 inline CreateStackRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
119
123 inline CreateStackRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
124
125
129 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
130
134 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
135
139 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
140
144 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
145
149 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
150
154 inline CreateStackRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
155
159 inline CreateStackRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
160
164 inline CreateStackRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
165
166
170 inline const Aws::Vector<StorageConnector>& GetStorageConnectors() const{ return m_storageConnectors; }
171
175 inline bool StorageConnectorsHasBeenSet() const { return m_storageConnectorsHasBeenSet; }
176
180 inline void SetStorageConnectors(const Aws::Vector<StorageConnector>& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors = value; }
181
185 inline void SetStorageConnectors(Aws::Vector<StorageConnector>&& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors = std::move(value); }
186
191
196
200 inline CreateStackRequest& AddStorageConnectors(const StorageConnector& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors.push_back(value); return *this; }
201
205 inline CreateStackRequest& AddStorageConnectors(StorageConnector&& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors.push_back(std::move(value)); return *this; }
206
207
211 inline const Aws::String& GetRedirectURL() const{ return m_redirectURL; }
212
216 inline bool RedirectURLHasBeenSet() const { return m_redirectURLHasBeenSet; }
217
221 inline void SetRedirectURL(const Aws::String& value) { m_redirectURLHasBeenSet = true; m_redirectURL = value; }
222
226 inline void SetRedirectURL(Aws::String&& value) { m_redirectURLHasBeenSet = true; m_redirectURL = std::move(value); }
227
231 inline void SetRedirectURL(const char* value) { m_redirectURLHasBeenSet = true; m_redirectURL.assign(value); }
232
236 inline CreateStackRequest& WithRedirectURL(const Aws::String& value) { SetRedirectURL(value); return *this;}
237
241 inline CreateStackRequest& WithRedirectURL(Aws::String&& value) { SetRedirectURL(std::move(value)); return *this;}
242
246 inline CreateStackRequest& WithRedirectURL(const char* value) { SetRedirectURL(value); return *this;}
247
248
253 inline const Aws::String& GetFeedbackURL() const{ return m_feedbackURL; }
254
259 inline bool FeedbackURLHasBeenSet() const { return m_feedbackURLHasBeenSet; }
260
265 inline void SetFeedbackURL(const Aws::String& value) { m_feedbackURLHasBeenSet = true; m_feedbackURL = value; }
266
271 inline void SetFeedbackURL(Aws::String&& value) { m_feedbackURLHasBeenSet = true; m_feedbackURL = std::move(value); }
272
277 inline void SetFeedbackURL(const char* value) { m_feedbackURLHasBeenSet = true; m_feedbackURL.assign(value); }
278
283 inline CreateStackRequest& WithFeedbackURL(const Aws::String& value) { SetFeedbackURL(value); return *this;}
284
289 inline CreateStackRequest& WithFeedbackURL(Aws::String&& value) { SetFeedbackURL(std::move(value)); return *this;}
290
295 inline CreateStackRequest& WithFeedbackURL(const char* value) { SetFeedbackURL(value); return *this;}
296
297
302 inline const Aws::Vector<UserSetting>& GetUserSettings() const{ return m_userSettings; }
303
308 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
309
314 inline void SetUserSettings(const Aws::Vector<UserSetting>& value) { m_userSettingsHasBeenSet = true; m_userSettings = value; }
315
320 inline void SetUserSettings(Aws::Vector<UserSetting>&& value) { m_userSettingsHasBeenSet = true; m_userSettings = std::move(value); }
321
327
332 inline CreateStackRequest& WithUserSettings(Aws::Vector<UserSetting>&& value) { SetUserSettings(std::move(value)); return *this;}
333
338 inline CreateStackRequest& AddUserSettings(const UserSetting& value) { m_userSettingsHasBeenSet = true; m_userSettings.push_back(value); return *this; }
339
344 inline CreateStackRequest& AddUserSettings(UserSetting&& value) { m_userSettingsHasBeenSet = true; m_userSettings.push_back(std::move(value)); return *this; }
345
346
352 inline const ApplicationSettings& GetApplicationSettings() const{ return m_applicationSettings; }
353
359 inline bool ApplicationSettingsHasBeenSet() const { return m_applicationSettingsHasBeenSet; }
360
366 inline void SetApplicationSettings(const ApplicationSettings& value) { m_applicationSettingsHasBeenSet = true; m_applicationSettings = value; }
367
373 inline void SetApplicationSettings(ApplicationSettings&& value) { m_applicationSettingsHasBeenSet = true; m_applicationSettings = std::move(value); }
374
381
388
389
400 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
401
412 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
413
424 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
425
436 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
437
448 inline CreateStackRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
449
460 inline CreateStackRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
461
472 inline CreateStackRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
473
484 inline CreateStackRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
485
496 inline CreateStackRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
497
508 inline CreateStackRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
509
520 inline CreateStackRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
521
532 inline CreateStackRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
533
544 inline CreateStackRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
545
546
551 inline const Aws::Vector<AccessEndpoint>& GetAccessEndpoints() const{ return m_accessEndpoints; }
552
557 inline bool AccessEndpointsHasBeenSet() const { return m_accessEndpointsHasBeenSet; }
558
563 inline void SetAccessEndpoints(const Aws::Vector<AccessEndpoint>& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints = value; }
564
569 inline void SetAccessEndpoints(Aws::Vector<AccessEndpoint>&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints = std::move(value); }
570
576
582
587 inline CreateStackRequest& AddAccessEndpoints(const AccessEndpoint& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(value); return *this; }
588
593 inline CreateStackRequest& AddAccessEndpoints(AccessEndpoint&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(std::move(value)); return *this; }
594
595
601 inline const Aws::Vector<Aws::String>& GetEmbedHostDomains() const{ return m_embedHostDomains; }
602
608 inline bool EmbedHostDomainsHasBeenSet() const { return m_embedHostDomainsHasBeenSet; }
609
615 inline void SetEmbedHostDomains(const Aws::Vector<Aws::String>& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains = value; }
616
622 inline void SetEmbedHostDomains(Aws::Vector<Aws::String>&& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains = std::move(value); }
623
630
636 inline CreateStackRequest& WithEmbedHostDomains(Aws::Vector<Aws::String>&& value) { SetEmbedHostDomains(std::move(value)); return *this;}
637
643 inline CreateStackRequest& AddEmbedHostDomains(const Aws::String& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains.push_back(value); return *this; }
644
650 inline CreateStackRequest& AddEmbedHostDomains(Aws::String&& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains.push_back(std::move(value)); return *this; }
651
657 inline CreateStackRequest& AddEmbedHostDomains(const char* value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains.push_back(value); return *this; }
658
659
664 inline const StreamingExperienceSettings& GetStreamingExperienceSettings() const{ return m_streamingExperienceSettings; }
665
670 inline bool StreamingExperienceSettingsHasBeenSet() const { return m_streamingExperienceSettingsHasBeenSet; }
671
676 inline void SetStreamingExperienceSettings(const StreamingExperienceSettings& value) { m_streamingExperienceSettingsHasBeenSet = true; m_streamingExperienceSettings = value; }
677
682 inline void SetStreamingExperienceSettings(StreamingExperienceSettings&& value) { m_streamingExperienceSettingsHasBeenSet = true; m_streamingExperienceSettings = std::move(value); }
683
689
695
696 private:
697
698 Aws::String m_name;
699 bool m_nameHasBeenSet = false;
700
701 Aws::String m_description;
702 bool m_descriptionHasBeenSet = false;
703
704 Aws::String m_displayName;
705 bool m_displayNameHasBeenSet = false;
706
707 Aws::Vector<StorageConnector> m_storageConnectors;
708 bool m_storageConnectorsHasBeenSet = false;
709
710 Aws::String m_redirectURL;
711 bool m_redirectURLHasBeenSet = false;
712
713 Aws::String m_feedbackURL;
714 bool m_feedbackURLHasBeenSet = false;
715
716 Aws::Vector<UserSetting> m_userSettings;
717 bool m_userSettingsHasBeenSet = false;
718
719 ApplicationSettings m_applicationSettings;
720 bool m_applicationSettingsHasBeenSet = false;
721
723 bool m_tagsHasBeenSet = false;
724
725 Aws::Vector<AccessEndpoint> m_accessEndpoints;
726 bool m_accessEndpointsHasBeenSet = false;
727
728 Aws::Vector<Aws::String> m_embedHostDomains;
729 bool m_embedHostDomainsHasBeenSet = false;
730
731 StreamingExperienceSettings m_streamingExperienceSettings;
732 bool m_streamingExperienceSettingsHasBeenSet = false;
733 };
734
735} // namespace Model
736} // namespace AppStream
737} // namespace Aws
#define AWS_APPSTREAM_API
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)
const Aws::String & GetDescription() const
void SetStorageConnectors(Aws::Vector< StorageConnector > &&value)
CreateStackRequest & WithFeedbackURL(const Aws::String &value)
const Aws::String & GetFeedbackURL() const
CreateStackRequest & WithName(Aws::String &&value)
CreateStackRequest & WithEmbedHostDomains(const Aws::Vector< Aws::String > &value)
const Aws::String & GetDisplayName() const
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)
const Aws::String & GetRedirectURL() const
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