/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #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 apply to the SageMaker Domain. * These settings are specified through the CreateDomain API * call.

See Also:

AWS * API Reference

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

The security groups for the Amazon Virtual Private Cloud that the * Domain uses for communication between Domain-level apps and user * apps.

*/ inline const Aws::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } /** *

The security groups for the Amazon Virtual Private Cloud that the * Domain uses for communication between Domain-level apps and user * apps.

*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *

The security groups for the Amazon Virtual Private Cloud that the * Domain uses for communication between Domain-level apps and user * apps.

*/ inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; } /** *

The security groups for the Amazon Virtual Private Cloud that the * Domain uses for communication between Domain-level apps and user * apps.

*/ inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); } /** *

The security groups for the Amazon Virtual Private Cloud that the * Domain uses for communication between Domain-level apps and user * apps.

*/ inline DomainSettings& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} /** *

The security groups for the Amazon Virtual Private Cloud that the * Domain uses for communication between Domain-level apps and user * apps.

*/ inline DomainSettings& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} /** *

The security groups for the Amazon Virtual Private Cloud that the * Domain uses for communication between Domain-level apps and user * apps.

*/ inline DomainSettings& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *

The security groups for the Amazon Virtual Private Cloud that the * Domain uses for communication between Domain-level apps and user * apps.

*/ inline DomainSettings& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *

The security groups for the Amazon Virtual Private Cloud that the * Domain uses for communication between Domain-level apps and user * apps.

*/ inline DomainSettings& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *

A collection of settings that configure the RStudioServerPro * Domain-level app.

*/ inline const RStudioServerProDomainSettings& GetRStudioServerProDomainSettings() const{ return m_rStudioServerProDomainSettings; } /** *

A collection of settings that configure the RStudioServerPro * Domain-level app.

*/ inline bool RStudioServerProDomainSettingsHasBeenSet() const { return m_rStudioServerProDomainSettingsHasBeenSet; } /** *

A collection of settings that configure the RStudioServerPro * Domain-level app.

*/ inline void SetRStudioServerProDomainSettings(const RStudioServerProDomainSettings& value) { m_rStudioServerProDomainSettingsHasBeenSet = true; m_rStudioServerProDomainSettings = value; } /** *

A collection of settings that configure the RStudioServerPro * Domain-level app.

*/ inline void SetRStudioServerProDomainSettings(RStudioServerProDomainSettings&& value) { m_rStudioServerProDomainSettingsHasBeenSet = true; m_rStudioServerProDomainSettings = std::move(value); } /** *

A collection of settings that configure the RStudioServerPro * Domain-level app.

*/ inline DomainSettings& WithRStudioServerProDomainSettings(const RStudioServerProDomainSettings& value) { SetRStudioServerProDomainSettings(value); return *this;} /** *

A collection of settings that configure the RStudioServerPro * Domain-level app.

*/ inline DomainSettings& WithRStudioServerProDomainSettings(RStudioServerProDomainSettings&& value) { SetRStudioServerProDomainSettings(std::move(value)); return *this;} /** *

The configuration for attaching a SageMaker user profile name to the * execution role as a sts:SourceIdentity * key.

*/ inline const ExecutionRoleIdentityConfig& GetExecutionRoleIdentityConfig() const{ return m_executionRoleIdentityConfig; } /** *

The configuration for attaching a SageMaker user profile name to the * execution role as a sts:SourceIdentity * key.

*/ inline bool ExecutionRoleIdentityConfigHasBeenSet() const { return m_executionRoleIdentityConfigHasBeenSet; } /** *

The configuration for attaching a SageMaker user profile name to the * execution role as a sts:SourceIdentity * key.

*/ inline void SetExecutionRoleIdentityConfig(const ExecutionRoleIdentityConfig& value) { m_executionRoleIdentityConfigHasBeenSet = true; m_executionRoleIdentityConfig = value; } /** *

The configuration for attaching a SageMaker user profile name to the * execution role as a sts:SourceIdentity * key.

*/ inline void SetExecutionRoleIdentityConfig(ExecutionRoleIdentityConfig&& value) { m_executionRoleIdentityConfigHasBeenSet = true; m_executionRoleIdentityConfig = std::move(value); } /** *

The configuration for attaching a SageMaker user profile name to the * execution role as a sts:SourceIdentity * key.

*/ inline DomainSettings& WithExecutionRoleIdentityConfig(const ExecutionRoleIdentityConfig& value) { SetExecutionRoleIdentityConfig(value); return *this;} /** *

The configuration for attaching a SageMaker user profile name to the * execution role as a sts:SourceIdentity * key.

*/ inline DomainSettings& WithExecutionRoleIdentityConfig(ExecutionRoleIdentityConfig&& value) { SetExecutionRoleIdentityConfig(std::move(value)); return *this;} private: Aws::Vector m_securityGroupIds; bool m_securityGroupIdsHasBeenSet = false; RStudioServerProDomainSettings m_rStudioServerProDomainSettings; bool m_rStudioServerProDomainSettingsHasBeenSet = false; ExecutionRoleIdentityConfig m_executionRoleIdentityConfig; bool m_executionRoleIdentityConfigHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws