/** * 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 SageMaker { namespace Model { /** *

A collection of settings that update the current configuration for the * RStudioServerPro Domain-level app.

See Also:

AWS * API Reference

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

The execution role for the RStudioServerPro Domain-level * app.

*/ inline const Aws::String& GetDomainExecutionRoleArn() const{ return m_domainExecutionRoleArn; } /** *

The execution role for the RStudioServerPro Domain-level * app.

*/ inline bool DomainExecutionRoleArnHasBeenSet() const { return m_domainExecutionRoleArnHasBeenSet; } /** *

The execution role for the RStudioServerPro Domain-level * app.

*/ inline void SetDomainExecutionRoleArn(const Aws::String& value) { m_domainExecutionRoleArnHasBeenSet = true; m_domainExecutionRoleArn = value; } /** *

The execution role for the RStudioServerPro Domain-level * app.

*/ inline void SetDomainExecutionRoleArn(Aws::String&& value) { m_domainExecutionRoleArnHasBeenSet = true; m_domainExecutionRoleArn = std::move(value); } /** *

The execution role for the RStudioServerPro Domain-level * app.

*/ inline void SetDomainExecutionRoleArn(const char* value) { m_domainExecutionRoleArnHasBeenSet = true; m_domainExecutionRoleArn.assign(value); } /** *

The execution role for the RStudioServerPro Domain-level * app.

*/ inline RStudioServerProDomainSettingsForUpdate& WithDomainExecutionRoleArn(const Aws::String& value) { SetDomainExecutionRoleArn(value); return *this;} /** *

The execution role for the RStudioServerPro Domain-level * app.

*/ inline RStudioServerProDomainSettingsForUpdate& WithDomainExecutionRoleArn(Aws::String&& value) { SetDomainExecutionRoleArn(std::move(value)); return *this;} /** *

The execution role for the RStudioServerPro Domain-level * app.

*/ inline RStudioServerProDomainSettingsForUpdate& WithDomainExecutionRoleArn(const char* value) { SetDomainExecutionRoleArn(value); return *this;} inline const ResourceSpec& GetDefaultResourceSpec() const{ return m_defaultResourceSpec; } inline bool DefaultResourceSpecHasBeenSet() const { return m_defaultResourceSpecHasBeenSet; } inline void SetDefaultResourceSpec(const ResourceSpec& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = value; } inline void SetDefaultResourceSpec(ResourceSpec&& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = std::move(value); } inline RStudioServerProDomainSettingsForUpdate& WithDefaultResourceSpec(const ResourceSpec& value) { SetDefaultResourceSpec(value); return *this;} inline RStudioServerProDomainSettingsForUpdate& WithDefaultResourceSpec(ResourceSpec&& value) { SetDefaultResourceSpec(std::move(value)); return *this;} /** *

A URL pointing to an RStudio Connect server.

*/ inline const Aws::String& GetRStudioConnectUrl() const{ return m_rStudioConnectUrl; } /** *

A URL pointing to an RStudio Connect server.

*/ inline bool RStudioConnectUrlHasBeenSet() const { return m_rStudioConnectUrlHasBeenSet; } /** *

A URL pointing to an RStudio Connect server.

*/ inline void SetRStudioConnectUrl(const Aws::String& value) { m_rStudioConnectUrlHasBeenSet = true; m_rStudioConnectUrl = value; } /** *

A URL pointing to an RStudio Connect server.

*/ inline void SetRStudioConnectUrl(Aws::String&& value) { m_rStudioConnectUrlHasBeenSet = true; m_rStudioConnectUrl = std::move(value); } /** *

A URL pointing to an RStudio Connect server.

*/ inline void SetRStudioConnectUrl(const char* value) { m_rStudioConnectUrlHasBeenSet = true; m_rStudioConnectUrl.assign(value); } /** *

A URL pointing to an RStudio Connect server.

*/ inline RStudioServerProDomainSettingsForUpdate& WithRStudioConnectUrl(const Aws::String& value) { SetRStudioConnectUrl(value); return *this;} /** *

A URL pointing to an RStudio Connect server.

*/ inline RStudioServerProDomainSettingsForUpdate& WithRStudioConnectUrl(Aws::String&& value) { SetRStudioConnectUrl(std::move(value)); return *this;} /** *

A URL pointing to an RStudio Connect server.

*/ inline RStudioServerProDomainSettingsForUpdate& WithRStudioConnectUrl(const char* value) { SetRStudioConnectUrl(value); return *this;} /** *

A URL pointing to an RStudio Package Manager server.

*/ inline const Aws::String& GetRStudioPackageManagerUrl() const{ return m_rStudioPackageManagerUrl; } /** *

A URL pointing to an RStudio Package Manager server.

*/ inline bool RStudioPackageManagerUrlHasBeenSet() const { return m_rStudioPackageManagerUrlHasBeenSet; } /** *

A URL pointing to an RStudio Package Manager server.

*/ inline void SetRStudioPackageManagerUrl(const Aws::String& value) { m_rStudioPackageManagerUrlHasBeenSet = true; m_rStudioPackageManagerUrl = value; } /** *

A URL pointing to an RStudio Package Manager server.

*/ inline void SetRStudioPackageManagerUrl(Aws::String&& value) { m_rStudioPackageManagerUrlHasBeenSet = true; m_rStudioPackageManagerUrl = std::move(value); } /** *

A URL pointing to an RStudio Package Manager server.

*/ inline void SetRStudioPackageManagerUrl(const char* value) { m_rStudioPackageManagerUrlHasBeenSet = true; m_rStudioPackageManagerUrl.assign(value); } /** *

A URL pointing to an RStudio Package Manager server.

*/ inline RStudioServerProDomainSettingsForUpdate& WithRStudioPackageManagerUrl(const Aws::String& value) { SetRStudioPackageManagerUrl(value); return *this;} /** *

A URL pointing to an RStudio Package Manager server.

*/ inline RStudioServerProDomainSettingsForUpdate& WithRStudioPackageManagerUrl(Aws::String&& value) { SetRStudioPackageManagerUrl(std::move(value)); return *this;} /** *

A URL pointing to an RStudio Package Manager server.

*/ inline RStudioServerProDomainSettingsForUpdate& WithRStudioPackageManagerUrl(const char* value) { SetRStudioPackageManagerUrl(value); return *this;} private: Aws::String m_domainExecutionRoleArn; bool m_domainExecutionRoleArnHasBeenSet = false; ResourceSpec m_defaultResourceSpec; bool m_defaultResourceSpecHasBeenSet = false; Aws::String m_rStudioConnectUrl; bool m_rStudioConnectUrlHasBeenSet = false; Aws::String m_rStudioPackageManagerUrl; bool m_rStudioPackageManagerUrlHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws