/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The model registry settings for the SageMaker Canvas
* application.See Also:
AWS
* API Reference
Describes whether the integration to the model registry is enabled or * disabled in the Canvas application.
*/ inline const FeatureStatus& GetStatus() const{ return m_status; } /** *Describes whether the integration to the model registry is enabled or * disabled in the Canvas application.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Describes whether the integration to the model registry is enabled or * disabled in the Canvas application.
*/ inline void SetStatus(const FeatureStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Describes whether the integration to the model registry is enabled or * disabled in the Canvas application.
*/ inline void SetStatus(FeatureStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Describes whether the integration to the model registry is enabled or * disabled in the Canvas application.
*/ inline ModelRegisterSettings& WithStatus(const FeatureStatus& value) { SetStatus(value); return *this;} /** *Describes whether the integration to the model registry is enabled or * disabled in the Canvas application.
*/ inline ModelRegisterSettings& WithStatus(FeatureStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the SageMaker model registry account. * Required only to register model versions created by a different SageMaker Canvas * Amazon Web Services account than the Amazon Web Services account in which * SageMaker model registry is set up.
*/ inline const Aws::String& GetCrossAccountModelRegisterRoleArn() const{ return m_crossAccountModelRegisterRoleArn; } /** *The Amazon Resource Name (ARN) of the SageMaker model registry account. * Required only to register model versions created by a different SageMaker Canvas * Amazon Web Services account than the Amazon Web Services account in which * SageMaker model registry is set up.
*/ inline bool CrossAccountModelRegisterRoleArnHasBeenSet() const { return m_crossAccountModelRegisterRoleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the SageMaker model registry account. * Required only to register model versions created by a different SageMaker Canvas * Amazon Web Services account than the Amazon Web Services account in which * SageMaker model registry is set up.
*/ inline void SetCrossAccountModelRegisterRoleArn(const Aws::String& value) { m_crossAccountModelRegisterRoleArnHasBeenSet = true; m_crossAccountModelRegisterRoleArn = value; } /** *The Amazon Resource Name (ARN) of the SageMaker model registry account. * Required only to register model versions created by a different SageMaker Canvas * Amazon Web Services account than the Amazon Web Services account in which * SageMaker model registry is set up.
*/ inline void SetCrossAccountModelRegisterRoleArn(Aws::String&& value) { m_crossAccountModelRegisterRoleArnHasBeenSet = true; m_crossAccountModelRegisterRoleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the SageMaker model registry account. * Required only to register model versions created by a different SageMaker Canvas * Amazon Web Services account than the Amazon Web Services account in which * SageMaker model registry is set up.
*/ inline void SetCrossAccountModelRegisterRoleArn(const char* value) { m_crossAccountModelRegisterRoleArnHasBeenSet = true; m_crossAccountModelRegisterRoleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the SageMaker model registry account. * Required only to register model versions created by a different SageMaker Canvas * Amazon Web Services account than the Amazon Web Services account in which * SageMaker model registry is set up.
*/ inline ModelRegisterSettings& WithCrossAccountModelRegisterRoleArn(const Aws::String& value) { SetCrossAccountModelRegisterRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the SageMaker model registry account. * Required only to register model versions created by a different SageMaker Canvas * Amazon Web Services account than the Amazon Web Services account in which * SageMaker model registry is set up.
*/ inline ModelRegisterSettings& WithCrossAccountModelRegisterRoleArn(Aws::String&& value) { SetCrossAccountModelRegisterRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the SageMaker model registry account. * Required only to register model versions created by a different SageMaker Canvas * Amazon Web Services account than the Amazon Web Services account in which * SageMaker model registry is set up.
*/ inline ModelRegisterSettings& WithCrossAccountModelRegisterRoleArn(const char* value) { SetCrossAccountModelRegisterRoleArn(value); return *this;} private: FeatureStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_crossAccountModelRegisterRoleArn; bool m_crossAccountModelRegisterRoleArnHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws