AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Stack.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/appstream/model/ApplicationSettingsResponse.h>
12#include <aws/appstream/model/StreamingExperienceSettings.h>
13#include <aws/appstream/model/StorageConnector.h>
14#include <aws/appstream/model/StackError.h>
15#include <aws/appstream/model/UserSetting.h>
16#include <aws/appstream/model/AccessEndpoint.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace AppStream
30{
31namespace Model
32{
33
39 class Stack
40 {
41 public:
42 AWS_APPSTREAM_API Stack() = default;
43 AWS_APPSTREAM_API Stack(Aws::Utils::Json::JsonView jsonValue);
44 AWS_APPSTREAM_API Stack& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetArn() const { return m_arn; }
53 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
54 template<typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
56 template<typename ArnT = Aws::String>
57 Stack& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
59
61
64 inline const Aws::String& GetName() const { return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 template<typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
68 template<typename NameT = Aws::String>
69 Stack& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template<typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
80 template<typename DescriptionT = Aws::String>
81 Stack& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
83
85
88 inline const Aws::String& GetDisplayName() const { return m_displayName; }
89 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
90 template<typename DisplayNameT = Aws::String>
91 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
92 template<typename DisplayNameT = Aws::String>
93 Stack& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
101 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
102 template<typename CreatedTimeT = Aws::Utils::DateTime>
103 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
104 template<typename CreatedTimeT = Aws::Utils::DateTime>
105 Stack& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
107
109
112 inline const Aws::Vector<StorageConnector>& GetStorageConnectors() const { return m_storageConnectors; }
113 inline bool StorageConnectorsHasBeenSet() const { return m_storageConnectorsHasBeenSet; }
114 template<typename StorageConnectorsT = Aws::Vector<StorageConnector>>
115 void SetStorageConnectors(StorageConnectorsT&& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors = std::forward<StorageConnectorsT>(value); }
116 template<typename StorageConnectorsT = Aws::Vector<StorageConnector>>
117 Stack& WithStorageConnectors(StorageConnectorsT&& value) { SetStorageConnectors(std::forward<StorageConnectorsT>(value)); return *this;}
118 template<typename StorageConnectorsT = StorageConnector>
119 Stack& AddStorageConnectors(StorageConnectorsT&& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors.emplace_back(std::forward<StorageConnectorsT>(value)); return *this; }
121
123
126 inline const Aws::String& GetRedirectURL() const { return m_redirectURL; }
127 inline bool RedirectURLHasBeenSet() const { return m_redirectURLHasBeenSet; }
128 template<typename RedirectURLT = Aws::String>
129 void SetRedirectURL(RedirectURLT&& value) { m_redirectURLHasBeenSet = true; m_redirectURL = std::forward<RedirectURLT>(value); }
130 template<typename RedirectURLT = Aws::String>
131 Stack& WithRedirectURL(RedirectURLT&& value) { SetRedirectURL(std::forward<RedirectURLT>(value)); return *this;}
133
135
139 inline const Aws::String& GetFeedbackURL() const { return m_feedbackURL; }
140 inline bool FeedbackURLHasBeenSet() const { return m_feedbackURLHasBeenSet; }
141 template<typename FeedbackURLT = Aws::String>
142 void SetFeedbackURL(FeedbackURLT&& value) { m_feedbackURLHasBeenSet = true; m_feedbackURL = std::forward<FeedbackURLT>(value); }
143 template<typename FeedbackURLT = Aws::String>
144 Stack& WithFeedbackURL(FeedbackURLT&& value) { SetFeedbackURL(std::forward<FeedbackURLT>(value)); return *this;}
146
148
151 inline const Aws::Vector<StackError>& GetStackErrors() const { return m_stackErrors; }
152 inline bool StackErrorsHasBeenSet() const { return m_stackErrorsHasBeenSet; }
153 template<typename StackErrorsT = Aws::Vector<StackError>>
154 void SetStackErrors(StackErrorsT&& value) { m_stackErrorsHasBeenSet = true; m_stackErrors = std::forward<StackErrorsT>(value); }
155 template<typename StackErrorsT = Aws::Vector<StackError>>
156 Stack& WithStackErrors(StackErrorsT&& value) { SetStackErrors(std::forward<StackErrorsT>(value)); return *this;}
157 template<typename StackErrorsT = StackError>
158 Stack& AddStackErrors(StackErrorsT&& value) { m_stackErrorsHasBeenSet = true; m_stackErrors.emplace_back(std::forward<StackErrorsT>(value)); return *this; }
160
162
166 inline const Aws::Vector<UserSetting>& GetUserSettings() const { return m_userSettings; }
167 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
168 template<typename UserSettingsT = Aws::Vector<UserSetting>>
169 void SetUserSettings(UserSettingsT&& value) { m_userSettingsHasBeenSet = true; m_userSettings = std::forward<UserSettingsT>(value); }
170 template<typename UserSettingsT = Aws::Vector<UserSetting>>
171 Stack& WithUserSettings(UserSettingsT&& value) { SetUserSettings(std::forward<UserSettingsT>(value)); return *this;}
172 template<typename UserSettingsT = UserSetting>
173 Stack& AddUserSettings(UserSettingsT&& value) { m_userSettingsHasBeenSet = true; m_userSettings.emplace_back(std::forward<UserSettingsT>(value)); return *this; }
175
177
180 inline const ApplicationSettingsResponse& GetApplicationSettings() const { return m_applicationSettings; }
181 inline bool ApplicationSettingsHasBeenSet() const { return m_applicationSettingsHasBeenSet; }
182 template<typename ApplicationSettingsT = ApplicationSettingsResponse>
183 void SetApplicationSettings(ApplicationSettingsT&& value) { m_applicationSettingsHasBeenSet = true; m_applicationSettings = std::forward<ApplicationSettingsT>(value); }
184 template<typename ApplicationSettingsT = ApplicationSettingsResponse>
185 Stack& WithApplicationSettings(ApplicationSettingsT&& value) { SetApplicationSettings(std::forward<ApplicationSettingsT>(value)); return *this;}
187
189
194 inline const Aws::Vector<AccessEndpoint>& GetAccessEndpoints() const { return m_accessEndpoints; }
195 inline bool AccessEndpointsHasBeenSet() const { return m_accessEndpointsHasBeenSet; }
196 template<typename AccessEndpointsT = Aws::Vector<AccessEndpoint>>
197 void SetAccessEndpoints(AccessEndpointsT&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints = std::forward<AccessEndpointsT>(value); }
198 template<typename AccessEndpointsT = Aws::Vector<AccessEndpoint>>
199 Stack& WithAccessEndpoints(AccessEndpointsT&& value) { SetAccessEndpoints(std::forward<AccessEndpointsT>(value)); return *this;}
200 template<typename AccessEndpointsT = AccessEndpoint>
201 Stack& AddAccessEndpoints(AccessEndpointsT&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.emplace_back(std::forward<AccessEndpointsT>(value)); return *this; }
203
205
210 inline const Aws::Vector<Aws::String>& GetEmbedHostDomains() const { return m_embedHostDomains; }
211 inline bool EmbedHostDomainsHasBeenSet() const { return m_embedHostDomainsHasBeenSet; }
212 template<typename EmbedHostDomainsT = Aws::Vector<Aws::String>>
213 void SetEmbedHostDomains(EmbedHostDomainsT&& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains = std::forward<EmbedHostDomainsT>(value); }
214 template<typename EmbedHostDomainsT = Aws::Vector<Aws::String>>
215 Stack& WithEmbedHostDomains(EmbedHostDomainsT&& value) { SetEmbedHostDomains(std::forward<EmbedHostDomainsT>(value)); return *this;}
216 template<typename EmbedHostDomainsT = Aws::String>
217 Stack& AddEmbedHostDomains(EmbedHostDomainsT&& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains.emplace_back(std::forward<EmbedHostDomainsT>(value)); return *this; }
219
221
225 inline const StreamingExperienceSettings& GetStreamingExperienceSettings() const { return m_streamingExperienceSettings; }
226 inline bool StreamingExperienceSettingsHasBeenSet() const { return m_streamingExperienceSettingsHasBeenSet; }
227 template<typename StreamingExperienceSettingsT = StreamingExperienceSettings>
228 void SetStreamingExperienceSettings(StreamingExperienceSettingsT&& value) { m_streamingExperienceSettingsHasBeenSet = true; m_streamingExperienceSettings = std::forward<StreamingExperienceSettingsT>(value); }
229 template<typename StreamingExperienceSettingsT = StreamingExperienceSettings>
230 Stack& WithStreamingExperienceSettings(StreamingExperienceSettingsT&& value) { SetStreamingExperienceSettings(std::forward<StreamingExperienceSettingsT>(value)); return *this;}
232 private:
233
234 Aws::String m_arn;
235 bool m_arnHasBeenSet = false;
236
237 Aws::String m_name;
238 bool m_nameHasBeenSet = false;
239
240 Aws::String m_description;
241 bool m_descriptionHasBeenSet = false;
242
243 Aws::String m_displayName;
244 bool m_displayNameHasBeenSet = false;
245
246 Aws::Utils::DateTime m_createdTime{};
247 bool m_createdTimeHasBeenSet = false;
248
249 Aws::Vector<StorageConnector> m_storageConnectors;
250 bool m_storageConnectorsHasBeenSet = false;
251
252 Aws::String m_redirectURL;
253 bool m_redirectURLHasBeenSet = false;
254
255 Aws::String m_feedbackURL;
256 bool m_feedbackURLHasBeenSet = false;
257
258 Aws::Vector<StackError> m_stackErrors;
259 bool m_stackErrorsHasBeenSet = false;
260
261 Aws::Vector<UserSetting> m_userSettings;
262 bool m_userSettingsHasBeenSet = false;
263
264 ApplicationSettingsResponse m_applicationSettings;
265 bool m_applicationSettingsHasBeenSet = false;
266
267 Aws::Vector<AccessEndpoint> m_accessEndpoints;
268 bool m_accessEndpointsHasBeenSet = false;
269
270 Aws::Vector<Aws::String> m_embedHostDomains;
271 bool m_embedHostDomainsHasBeenSet = false;
272
273 StreamingExperienceSettings m_streamingExperienceSettings;
274 bool m_streamingExperienceSettingsHasBeenSet = false;
275 };
276
277} // namespace Model
278} // namespace AppStream
279} // namespace Aws
const Aws::String & GetName() const
Definition Stack.h:64
void SetStackErrors(StackErrorsT &&value)
Definition Stack.h:154
Stack & WithCreatedTime(CreatedTimeT &&value)
Definition Stack.h:105
const Aws::Vector< Aws::String > & GetEmbedHostDomains() const
Definition Stack.h:210
bool RedirectURLHasBeenSet() const
Definition Stack.h:127
void SetDescription(DescriptionT &&value)
Definition Stack.h:79
void SetStreamingExperienceSettings(StreamingExperienceSettingsT &&value)
Definition Stack.h:228
Stack & AddEmbedHostDomains(EmbedHostDomainsT &&value)
Definition Stack.h:217
AWS_APPSTREAM_API Stack & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< StorageConnector > & GetStorageConnectors() const
Definition Stack.h:112
void SetName(NameT &&value)
Definition Stack.h:67
Stack & AddAccessEndpoints(AccessEndpointsT &&value)
Definition Stack.h:201
void SetFeedbackURL(FeedbackURLT &&value)
Definition Stack.h:142
bool AccessEndpointsHasBeenSet() const
Definition Stack.h:195
void SetRedirectURL(RedirectURLT &&value)
Definition Stack.h:129
const ApplicationSettingsResponse & GetApplicationSettings() const
Definition Stack.h:180
Stack & WithAccessEndpoints(AccessEndpointsT &&value)
Definition Stack.h:199
bool DisplayNameHasBeenSet() const
Definition Stack.h:89
void SetAccessEndpoints(AccessEndpointsT &&value)
Definition Stack.h:197
Stack & WithStorageConnectors(StorageConnectorsT &&value)
Definition Stack.h:117
bool StackErrorsHasBeenSet() const
Definition Stack.h:152
const Aws::String & GetFeedbackURL() const
Definition Stack.h:139
void SetDisplayName(DisplayNameT &&value)
Definition Stack.h:91
const StreamingExperienceSettings & GetStreamingExperienceSettings() const
Definition Stack.h:225
Stack & WithStackErrors(StackErrorsT &&value)
Definition Stack.h:156
bool CreatedTimeHasBeenSet() const
Definition Stack.h:101
bool DescriptionHasBeenSet() const
Definition Stack.h:77
const Aws::Vector< StackError > & GetStackErrors() const
Definition Stack.h:151
AWS_APPSTREAM_API Stack()=default
Stack & WithArn(ArnT &&value)
Definition Stack.h:57
const Aws::String & GetRedirectURL() const
Definition Stack.h:126
void SetArn(ArnT &&value)
Definition Stack.h:55
bool StreamingExperienceSettingsHasBeenSet() const
Definition Stack.h:226
const Aws::String & GetDescription() const
Definition Stack.h:76
bool FeedbackURLHasBeenSet() const
Definition Stack.h:140
const Aws::String & GetArn() const
Definition Stack.h:52
const Aws::Vector< UserSetting > & GetUserSettings() const
Definition Stack.h:166
void SetCreatedTime(CreatedTimeT &&value)
Definition Stack.h:103
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
Stack & AddUserSettings(UserSettingsT &&value)
Definition Stack.h:173
bool NameHasBeenSet() const
Definition Stack.h:65
const Aws::Vector< AccessEndpoint > & GetAccessEndpoints() const
Definition Stack.h:194
Stack & WithApplicationSettings(ApplicationSettingsT &&value)
Definition Stack.h:185
AWS_APPSTREAM_API Stack(Aws::Utils::Json::JsonView jsonValue)
Stack & AddStorageConnectors(StorageConnectorsT &&value)
Definition Stack.h:119
Stack & WithDisplayName(DisplayNameT &&value)
Definition Stack.h:93
void SetUserSettings(UserSettingsT &&value)
Definition Stack.h:169
const Aws::String & GetDisplayName() const
Definition Stack.h:88
Stack & WithEmbedHostDomains(EmbedHostDomainsT &&value)
Definition Stack.h:215
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Stack.h:100
void SetApplicationSettings(ApplicationSettingsT &&value)
Definition Stack.h:183
Stack & WithName(NameT &&value)
Definition Stack.h:69
Stack & WithStreamingExperienceSettings(StreamingExperienceSettingsT &&value)
Definition Stack.h:230
bool StorageConnectorsHasBeenSet() const
Definition Stack.h:113
Stack & WithRedirectURL(RedirectURLT &&value)
Definition Stack.h:131
Stack & WithFeedbackURL(FeedbackURLT &&value)
Definition Stack.h:144
Stack & WithUserSettings(UserSettingsT &&value)
Definition Stack.h:171
bool ArnHasBeenSet() const
Definition Stack.h:53
Stack & WithDescription(DescriptionT &&value)
Definition Stack.h:81
Stack & AddStackErrors(StackErrorsT &&value)
Definition Stack.h:158
void SetStorageConnectors(StorageConnectorsT &&value)
Definition Stack.h:115
bool EmbedHostDomainsHasBeenSet() const
Definition Stack.h:211
bool ApplicationSettingsHasBeenSet() const
Definition Stack.h:181
bool UserSettingsHasBeenSet() const
Definition Stack.h:167
void SetEmbedHostDomains(EmbedHostDomainsT &&value)
Definition Stack.h:213
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue