/** * 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 Domain configuration settings to * update.

See Also:

AWS * API Reference

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

A collection of RStudioServerPro Domain-level app settings to * update. A single RStudioServerPro application is created for a * domain.

*/ inline const RStudioServerProDomainSettingsForUpdate& GetRStudioServerProDomainSettingsForUpdate() const{ return m_rStudioServerProDomainSettingsForUpdate; } /** *

A collection of RStudioServerPro Domain-level app settings to * update. A single RStudioServerPro application is created for a * domain.

*/ inline bool RStudioServerProDomainSettingsForUpdateHasBeenSet() const { return m_rStudioServerProDomainSettingsForUpdateHasBeenSet; } /** *

A collection of RStudioServerPro Domain-level app settings to * update. A single RStudioServerPro application is created for a * domain.

*/ inline void SetRStudioServerProDomainSettingsForUpdate(const RStudioServerProDomainSettingsForUpdate& value) { m_rStudioServerProDomainSettingsForUpdateHasBeenSet = true; m_rStudioServerProDomainSettingsForUpdate = value; } /** *

A collection of RStudioServerPro Domain-level app settings to * update. A single RStudioServerPro application is created for a * domain.

*/ inline void SetRStudioServerProDomainSettingsForUpdate(RStudioServerProDomainSettingsForUpdate&& value) { m_rStudioServerProDomainSettingsForUpdateHasBeenSet = true; m_rStudioServerProDomainSettingsForUpdate = std::move(value); } /** *

A collection of RStudioServerPro Domain-level app settings to * update. A single RStudioServerPro application is created for a * domain.

*/ inline DomainSettingsForUpdate& WithRStudioServerProDomainSettingsForUpdate(const RStudioServerProDomainSettingsForUpdate& value) { SetRStudioServerProDomainSettingsForUpdate(value); return *this;} /** *

A collection of RStudioServerPro Domain-level app settings to * update. A single RStudioServerPro application is created for a * domain.

*/ inline DomainSettingsForUpdate& WithRStudioServerProDomainSettingsForUpdate(RStudioServerProDomainSettingsForUpdate&& value) { SetRStudioServerProDomainSettingsForUpdate(std::move(value)); return *this;} /** *

The configuration for attaching a SageMaker user profile name to the * execution role as a sts:SourceIdentity * key. This configuration can only be modified if there are no apps in the * InService or Pending state.

*/ 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. This configuration can only be modified if there are no apps in the * InService or Pending state.

*/ 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. This configuration can only be modified if there are no apps in the * InService or Pending state.

*/ 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. This configuration can only be modified if there are no apps in the * InService or Pending state.

*/ 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. This configuration can only be modified if there are no apps in the * InService or Pending state.

*/ inline DomainSettingsForUpdate& 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. This configuration can only be modified if there are no apps in the * InService or Pending state.

*/ inline DomainSettingsForUpdate& WithExecutionRoleIdentityConfig(ExecutionRoleIdentityConfig&& value) { SetExecutionRoleIdentityConfig(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 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 DomainSettingsForUpdate& 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 DomainSettingsForUpdate& 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 DomainSettingsForUpdate& 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 DomainSettingsForUpdate& 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 DomainSettingsForUpdate& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } private: RStudioServerProDomainSettingsForUpdate m_rStudioServerProDomainSettingsForUpdate; bool m_rStudioServerProDomainSettingsForUpdateHasBeenSet = false; ExecutionRoleIdentityConfig m_executionRoleIdentityConfig; bool m_executionRoleIdentityConfigHasBeenSet = false; Aws::Vector m_securityGroupIds; bool m_securityGroupIdsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws