/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a stack.See Also:
AWS API
* Reference
The ARN of the stack.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the stack.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the stack.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the stack.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the stack.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the stack.
*/ inline Stack& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the stack.
*/ inline Stack& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the stack.
*/ inline Stack& WithArn(const char* value) { SetArn(value); return *this;} /** *The name of the stack.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the stack.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the stack.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the stack.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the stack.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the stack.
*/ inline Stack& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the stack.
*/ inline Stack& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the stack.
*/ inline Stack& WithName(const char* value) { SetName(value); return *this;} /** *The description to display.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description to display.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description to display.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description to display.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description to display.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description to display.
*/ inline Stack& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description to display.
*/ inline Stack& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description to display.
*/ inline Stack& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The stack name to display.
*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *The stack name to display.
*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *The stack name to display.
*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *The stack name to display.
*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *The stack name to display.
*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *The stack name to display.
*/ inline Stack& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *The stack name to display.
*/ inline Stack& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *The stack name to display.
*/ inline Stack& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *The time the stack was created.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *The time the stack was created.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *The time the stack was created.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *The time the stack was created.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *The time the stack was created.
*/ inline Stack& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *The time the stack was created.
*/ inline Stack& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *The storage connectors to enable.
*/ inline const Aws::VectorThe storage connectors to enable.
*/ inline bool StorageConnectorsHasBeenSet() const { return m_storageConnectorsHasBeenSet; } /** *The storage connectors to enable.
*/ inline void SetStorageConnectors(const Aws::VectorThe storage connectors to enable.
*/ inline void SetStorageConnectors(Aws::VectorThe storage connectors to enable.
*/ inline Stack& WithStorageConnectors(const Aws::VectorThe storage connectors to enable.
*/ inline Stack& WithStorageConnectors(Aws::VectorThe storage connectors to enable.
*/ inline Stack& AddStorageConnectors(const StorageConnector& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors.push_back(value); return *this; } /** *The storage connectors to enable.
*/ inline Stack& AddStorageConnectors(StorageConnector&& value) { m_storageConnectorsHasBeenSet = true; m_storageConnectors.push_back(std::move(value)); return *this; } /** *The URL that users are redirected to after their streaming session ends.
*/ inline const Aws::String& GetRedirectURL() const{ return m_redirectURL; } /** *The URL that users are redirected to after their streaming session ends.
*/ inline bool RedirectURLHasBeenSet() const { return m_redirectURLHasBeenSet; } /** *The URL that users are redirected to after their streaming session ends.
*/ inline void SetRedirectURL(const Aws::String& value) { m_redirectURLHasBeenSet = true; m_redirectURL = value; } /** *The URL that users are redirected to after their streaming session ends.
*/ inline void SetRedirectURL(Aws::String&& value) { m_redirectURLHasBeenSet = true; m_redirectURL = std::move(value); } /** *The URL that users are redirected to after their streaming session ends.
*/ inline void SetRedirectURL(const char* value) { m_redirectURLHasBeenSet = true; m_redirectURL.assign(value); } /** *The URL that users are redirected to after their streaming session ends.
*/ inline Stack& WithRedirectURL(const Aws::String& value) { SetRedirectURL(value); return *this;} /** *The URL that users are redirected to after their streaming session ends.
*/ inline Stack& WithRedirectURL(Aws::String&& value) { SetRedirectURL(std::move(value)); return *this;} /** *The URL that users are redirected to after their streaming session ends.
*/ inline Stack& WithRedirectURL(const char* value) { SetRedirectURL(value); return *this;} /** *The URL that users are redirected to after they click the Send Feedback link. * If no URL is specified, no Send Feedback link is displayed.
*/ inline const Aws::String& GetFeedbackURL() const{ return m_feedbackURL; } /** *The URL that users are redirected to after they click the Send Feedback link. * If no URL is specified, no Send Feedback link is displayed.
*/ inline bool FeedbackURLHasBeenSet() const { return m_feedbackURLHasBeenSet; } /** *The URL that users are redirected to after they click the Send Feedback link. * If no URL is specified, no Send Feedback link is displayed.
*/ inline void SetFeedbackURL(const Aws::String& value) { m_feedbackURLHasBeenSet = true; m_feedbackURL = value; } /** *The URL that users are redirected to after they click the Send Feedback link. * If no URL is specified, no Send Feedback link is displayed.
*/ inline void SetFeedbackURL(Aws::String&& value) { m_feedbackURLHasBeenSet = true; m_feedbackURL = std::move(value); } /** *The URL that users are redirected to after they click the Send Feedback link. * If no URL is specified, no Send Feedback link is displayed.
*/ inline void SetFeedbackURL(const char* value) { m_feedbackURLHasBeenSet = true; m_feedbackURL.assign(value); } /** *The URL that users are redirected to after they click the Send Feedback link. * If no URL is specified, no Send Feedback link is displayed.
*/ inline Stack& WithFeedbackURL(const Aws::String& value) { SetFeedbackURL(value); return *this;} /** *The URL that users are redirected to after they click the Send Feedback link. * If no URL is specified, no Send Feedback link is displayed.
*/ inline Stack& WithFeedbackURL(Aws::String&& value) { SetFeedbackURL(std::move(value)); return *this;} /** *The URL that users are redirected to after they click the Send Feedback link. * If no URL is specified, no Send Feedback link is displayed.
*/ inline Stack& WithFeedbackURL(const char* value) { SetFeedbackURL(value); return *this;} /** *The errors for the stack.
*/ inline const Aws::VectorThe errors for the stack.
*/ inline bool StackErrorsHasBeenSet() const { return m_stackErrorsHasBeenSet; } /** *The errors for the stack.
*/ inline void SetStackErrors(const Aws::VectorThe errors for the stack.
*/ inline void SetStackErrors(Aws::VectorThe errors for the stack.
*/ inline Stack& WithStackErrors(const Aws::VectorThe errors for the stack.
*/ inline Stack& WithStackErrors(Aws::VectorThe errors for the stack.
*/ inline Stack& AddStackErrors(const StackError& value) { m_stackErrorsHasBeenSet = true; m_stackErrors.push_back(value); return *this; } /** *The errors for the stack.
*/ inline Stack& AddStackErrors(StackError&& value) { m_stackErrorsHasBeenSet = true; m_stackErrors.push_back(std::move(value)); return *this; } /** *The actions that are enabled or disabled for users during their streaming * sessions. By default these actions are enabled.
*/ inline const Aws::VectorThe actions that are enabled or disabled for users during their streaming * sessions. By default these actions are enabled.
*/ inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; } /** *The actions that are enabled or disabled for users during their streaming * sessions. By default these actions are enabled.
*/ inline void SetUserSettings(const Aws::VectorThe actions that are enabled or disabled for users during their streaming * sessions. By default these actions are enabled.
*/ inline void SetUserSettings(Aws::VectorThe actions that are enabled or disabled for users during their streaming * sessions. By default these actions are enabled.
*/ inline Stack& WithUserSettings(const Aws::VectorThe actions that are enabled or disabled for users during their streaming * sessions. By default these actions are enabled.
*/ inline Stack& WithUserSettings(Aws::VectorThe actions that are enabled or disabled for users during their streaming * sessions. By default these actions are enabled.
*/ inline Stack& AddUserSettings(const UserSetting& value) { m_userSettingsHasBeenSet = true; m_userSettings.push_back(value); return *this; } /** *The actions that are enabled or disabled for users during their streaming * sessions. By default these actions are enabled.
*/ inline Stack& AddUserSettings(UserSetting&& value) { m_userSettingsHasBeenSet = true; m_userSettings.push_back(std::move(value)); return *this; } /** *The persistent application settings for users of the stack.
*/ inline const ApplicationSettingsResponse& GetApplicationSettings() const{ return m_applicationSettings; } /** *The persistent application settings for users of the stack.
*/ inline bool ApplicationSettingsHasBeenSet() const { return m_applicationSettingsHasBeenSet; } /** *The persistent application settings for users of the stack.
*/ inline void SetApplicationSettings(const ApplicationSettingsResponse& value) { m_applicationSettingsHasBeenSet = true; m_applicationSettings = value; } /** *The persistent application settings for users of the stack.
*/ inline void SetApplicationSettings(ApplicationSettingsResponse&& value) { m_applicationSettingsHasBeenSet = true; m_applicationSettings = std::move(value); } /** *The persistent application settings for users of the stack.
*/ inline Stack& WithApplicationSettings(const ApplicationSettingsResponse& value) { SetApplicationSettings(value); return *this;} /** *The persistent application settings for users of the stack.
*/ inline Stack& WithApplicationSettings(ApplicationSettingsResponse&& value) { SetApplicationSettings(std::move(value)); return *this;} /** *The list of virtual private cloud (VPC) interface endpoint objects. Users of * the stack can connect to AppStream 2.0 only through the specified endpoints. *
*/ inline const Aws::VectorThe list of virtual private cloud (VPC) interface endpoint objects. Users of * the stack can connect to AppStream 2.0 only through the specified endpoints. *
*/ inline bool AccessEndpointsHasBeenSet() const { return m_accessEndpointsHasBeenSet; } /** *The list of virtual private cloud (VPC) interface endpoint objects. Users of * the stack can connect to AppStream 2.0 only through the specified endpoints. *
*/ inline void SetAccessEndpoints(const Aws::VectorThe list of virtual private cloud (VPC) interface endpoint objects. Users of * the stack can connect to AppStream 2.0 only through the specified endpoints. *
*/ inline void SetAccessEndpoints(Aws::VectorThe list of virtual private cloud (VPC) interface endpoint objects. Users of * the stack can connect to AppStream 2.0 only through the specified endpoints. *
*/ inline Stack& WithAccessEndpoints(const Aws::VectorThe list of virtual private cloud (VPC) interface endpoint objects. Users of * the stack can connect to AppStream 2.0 only through the specified endpoints. *
*/ inline Stack& WithAccessEndpoints(Aws::VectorThe list of virtual private cloud (VPC) interface endpoint objects. Users of * the stack can connect to AppStream 2.0 only through the specified endpoints. *
*/ inline Stack& AddAccessEndpoints(const AccessEndpoint& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(value); return *this; } /** *The list of virtual private cloud (VPC) interface endpoint objects. Users of * the stack can connect to AppStream 2.0 only through the specified endpoints. *
*/ inline Stack& AddAccessEndpoints(AccessEndpoint&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(std::move(value)); return *this; } /** *The domains where AppStream 2.0 streaming sessions can be embedded in an * iframe. You must approve the domains that you want to host embedded AppStream * 2.0 streaming sessions.
*/ inline const Aws::VectorThe domains where AppStream 2.0 streaming sessions can be embedded in an * iframe. You must approve the domains that you want to host embedded AppStream * 2.0 streaming sessions.
*/ inline bool EmbedHostDomainsHasBeenSet() const { return m_embedHostDomainsHasBeenSet; } /** *The domains where AppStream 2.0 streaming sessions can be embedded in an * iframe. You must approve the domains that you want to host embedded AppStream * 2.0 streaming sessions.
*/ inline void SetEmbedHostDomains(const Aws::VectorThe domains where AppStream 2.0 streaming sessions can be embedded in an * iframe. You must approve the domains that you want to host embedded AppStream * 2.0 streaming sessions.
*/ inline void SetEmbedHostDomains(Aws::VectorThe domains where AppStream 2.0 streaming sessions can be embedded in an * iframe. You must approve the domains that you want to host embedded AppStream * 2.0 streaming sessions.
*/ inline Stack& WithEmbedHostDomains(const Aws::VectorThe domains where AppStream 2.0 streaming sessions can be embedded in an * iframe. You must approve the domains that you want to host embedded AppStream * 2.0 streaming sessions.
*/ inline Stack& WithEmbedHostDomains(Aws::VectorThe domains where AppStream 2.0 streaming sessions can be embedded in an * iframe. You must approve the domains that you want to host embedded AppStream * 2.0 streaming sessions.
*/ inline Stack& AddEmbedHostDomains(const Aws::String& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains.push_back(value); return *this; } /** *The domains where AppStream 2.0 streaming sessions can be embedded in an * iframe. You must approve the domains that you want to host embedded AppStream * 2.0 streaming sessions.
*/ inline Stack& AddEmbedHostDomains(Aws::String&& value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains.push_back(std::move(value)); return *this; } /** *The domains where AppStream 2.0 streaming sessions can be embedded in an * iframe. You must approve the domains that you want to host embedded AppStream * 2.0 streaming sessions.
*/ inline Stack& AddEmbedHostDomains(const char* value) { m_embedHostDomainsHasBeenSet = true; m_embedHostDomains.push_back(value); return *this; } /** *The streaming protocol you want your stack to prefer. This can be UDP or TCP. * Currently, UDP is only supported in the Windows native client.
*/ inline const StreamingExperienceSettings& GetStreamingExperienceSettings() const{ return m_streamingExperienceSettings; } /** *The streaming protocol you want your stack to prefer. This can be UDP or TCP. * Currently, UDP is only supported in the Windows native client.
*/ inline bool StreamingExperienceSettingsHasBeenSet() const { return m_streamingExperienceSettingsHasBeenSet; } /** *The streaming protocol you want your stack to prefer. This can be UDP or TCP. * Currently, UDP is only supported in the Windows native client.
*/ inline void SetStreamingExperienceSettings(const StreamingExperienceSettings& value) { m_streamingExperienceSettingsHasBeenSet = true; m_streamingExperienceSettings = value; } /** *The streaming protocol you want your stack to prefer. This can be UDP or TCP. * Currently, UDP is only supported in the Windows native client.
*/ inline void SetStreamingExperienceSettings(StreamingExperienceSettings&& value) { m_streamingExperienceSettingsHasBeenSet = true; m_streamingExperienceSettings = std::move(value); } /** *The streaming protocol you want your stack to prefer. This can be UDP or TCP. * Currently, UDP is only supported in the Windows native client.
*/ inline Stack& WithStreamingExperienceSettings(const StreamingExperienceSettings& value) { SetStreamingExperienceSettings(value); return *this;} /** *The streaming protocol you want your stack to prefer. This can be UDP or TCP. * Currently, UDP is only supported in the Windows native client.
*/ inline Stack& WithStreamingExperienceSettings(StreamingExperienceSettings&& value) { SetStreamingExperienceSettings(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::Vector