/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace WorkSpacesWeb { namespace Model { /** *

The browser settings resource that can be associated with a web portal. Once * associated with a web portal, browser settings control how the browser will * behave once a user starts a streaming session for the web portal.

See * Also:

AWS * API Reference

*/ class BrowserSettings { public: AWS_WORKSPACESWEB_API BrowserSettings(); AWS_WORKSPACESWEB_API BrowserSettings(Aws::Utils::Json::JsonView jsonValue); AWS_WORKSPACESWEB_API BrowserSettings& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A list of web portal ARNs that this browser settings is associated with.

*/ inline const Aws::Vector& GetAssociatedPortalArns() const{ return m_associatedPortalArns; } /** *

A list of web portal ARNs that this browser settings is associated with.

*/ inline bool AssociatedPortalArnsHasBeenSet() const { return m_associatedPortalArnsHasBeenSet; } /** *

A list of web portal ARNs that this browser settings is associated with.

*/ inline void SetAssociatedPortalArns(const Aws::Vector& value) { m_associatedPortalArnsHasBeenSet = true; m_associatedPortalArns = value; } /** *

A list of web portal ARNs that this browser settings is associated with.

*/ inline void SetAssociatedPortalArns(Aws::Vector&& value) { m_associatedPortalArnsHasBeenSet = true; m_associatedPortalArns = std::move(value); } /** *

A list of web portal ARNs that this browser settings is associated with.

*/ inline BrowserSettings& WithAssociatedPortalArns(const Aws::Vector& value) { SetAssociatedPortalArns(value); return *this;} /** *

A list of web portal ARNs that this browser settings is associated with.

*/ inline BrowserSettings& WithAssociatedPortalArns(Aws::Vector&& value) { SetAssociatedPortalArns(std::move(value)); return *this;} /** *

A list of web portal ARNs that this browser settings is associated with.

*/ inline BrowserSettings& AddAssociatedPortalArns(const Aws::String& value) { m_associatedPortalArnsHasBeenSet = true; m_associatedPortalArns.push_back(value); return *this; } /** *

A list of web portal ARNs that this browser settings is associated with.

*/ inline BrowserSettings& AddAssociatedPortalArns(Aws::String&& value) { m_associatedPortalArnsHasBeenSet = true; m_associatedPortalArns.push_back(std::move(value)); return *this; } /** *

A list of web portal ARNs that this browser settings is associated with.

*/ inline BrowserSettings& AddAssociatedPortalArns(const char* value) { m_associatedPortalArnsHasBeenSet = true; m_associatedPortalArns.push_back(value); return *this; } /** *

A JSON string containing Chrome Enterprise policies that will be applied to * all streaming sessions.

*/ inline const Aws::String& GetBrowserPolicy() const{ return m_browserPolicy; } /** *

A JSON string containing Chrome Enterprise policies that will be applied to * all streaming sessions.

*/ inline bool BrowserPolicyHasBeenSet() const { return m_browserPolicyHasBeenSet; } /** *

A JSON string containing Chrome Enterprise policies that will be applied to * all streaming sessions.

*/ inline void SetBrowserPolicy(const Aws::String& value) { m_browserPolicyHasBeenSet = true; m_browserPolicy = value; } /** *

A JSON string containing Chrome Enterprise policies that will be applied to * all streaming sessions.

*/ inline void SetBrowserPolicy(Aws::String&& value) { m_browserPolicyHasBeenSet = true; m_browserPolicy = std::move(value); } /** *

A JSON string containing Chrome Enterprise policies that will be applied to * all streaming sessions.

*/ inline void SetBrowserPolicy(const char* value) { m_browserPolicyHasBeenSet = true; m_browserPolicy.assign(value); } /** *

A JSON string containing Chrome Enterprise policies that will be applied to * all streaming sessions.

*/ inline BrowserSettings& WithBrowserPolicy(const Aws::String& value) { SetBrowserPolicy(value); return *this;} /** *

A JSON string containing Chrome Enterprise policies that will be applied to * all streaming sessions.

*/ inline BrowserSettings& WithBrowserPolicy(Aws::String&& value) { SetBrowserPolicy(std::move(value)); return *this;} /** *

A JSON string containing Chrome Enterprise policies that will be applied to * all streaming sessions.

*/ inline BrowserSettings& WithBrowserPolicy(const char* value) { SetBrowserPolicy(value); return *this;} /** *

The ARN of the browser settings.

*/ inline const Aws::String& GetBrowserSettingsArn() const{ return m_browserSettingsArn; } /** *

The ARN of the browser settings.

*/ inline bool BrowserSettingsArnHasBeenSet() const { return m_browserSettingsArnHasBeenSet; } /** *

The ARN of the browser settings.

*/ inline void SetBrowserSettingsArn(const Aws::String& value) { m_browserSettingsArnHasBeenSet = true; m_browserSettingsArn = value; } /** *

The ARN of the browser settings.

*/ inline void SetBrowserSettingsArn(Aws::String&& value) { m_browserSettingsArnHasBeenSet = true; m_browserSettingsArn = std::move(value); } /** *

The ARN of the browser settings.

*/ inline void SetBrowserSettingsArn(const char* value) { m_browserSettingsArnHasBeenSet = true; m_browserSettingsArn.assign(value); } /** *

The ARN of the browser settings.

*/ inline BrowserSettings& WithBrowserSettingsArn(const Aws::String& value) { SetBrowserSettingsArn(value); return *this;} /** *

The ARN of the browser settings.

*/ inline BrowserSettings& WithBrowserSettingsArn(Aws::String&& value) { SetBrowserSettingsArn(std::move(value)); return *this;} /** *

The ARN of the browser settings.

*/ inline BrowserSettings& WithBrowserSettingsArn(const char* value) { SetBrowserSettingsArn(value); return *this;} private: Aws::Vector m_associatedPortalArns; bool m_associatedPortalArnsHasBeenSet = false; Aws::String m_browserPolicy; bool m_browserPolicyHasBeenSet = false; Aws::String m_browserSettingsArn; bool m_browserSettingsArnHasBeenSet = false; }; } // namespace Model } // namespace WorkSpacesWeb } // namespace Aws