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

The output configuration for monitoring jobs.

See Also:

AWS * API Reference

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

Monitoring outputs for monitoring jobs. This is where the output of the * periodic monitoring jobs is uploaded.

*/ inline const Aws::Vector& GetMonitoringOutputs() const{ return m_monitoringOutputs; } /** *

Monitoring outputs for monitoring jobs. This is where the output of the * periodic monitoring jobs is uploaded.

*/ inline bool MonitoringOutputsHasBeenSet() const { return m_monitoringOutputsHasBeenSet; } /** *

Monitoring outputs for monitoring jobs. This is where the output of the * periodic monitoring jobs is uploaded.

*/ inline void SetMonitoringOutputs(const Aws::Vector& value) { m_monitoringOutputsHasBeenSet = true; m_monitoringOutputs = value; } /** *

Monitoring outputs for monitoring jobs. This is where the output of the * periodic monitoring jobs is uploaded.

*/ inline void SetMonitoringOutputs(Aws::Vector&& value) { m_monitoringOutputsHasBeenSet = true; m_monitoringOutputs = std::move(value); } /** *

Monitoring outputs for monitoring jobs. This is where the output of the * periodic monitoring jobs is uploaded.

*/ inline MonitoringOutputConfig& WithMonitoringOutputs(const Aws::Vector& value) { SetMonitoringOutputs(value); return *this;} /** *

Monitoring outputs for monitoring jobs. This is where the output of the * periodic monitoring jobs is uploaded.

*/ inline MonitoringOutputConfig& WithMonitoringOutputs(Aws::Vector&& value) { SetMonitoringOutputs(std::move(value)); return *this;} /** *

Monitoring outputs for monitoring jobs. This is where the output of the * periodic monitoring jobs is uploaded.

*/ inline MonitoringOutputConfig& AddMonitoringOutputs(const MonitoringOutput& value) { m_monitoringOutputsHasBeenSet = true; m_monitoringOutputs.push_back(value); return *this; } /** *

Monitoring outputs for monitoring jobs. This is where the output of the * periodic monitoring jobs is uploaded.

*/ inline MonitoringOutputConfig& AddMonitoringOutputs(MonitoringOutput&& value) { m_monitoringOutputsHasBeenSet = true; m_monitoringOutputs.push_back(std::move(value)); return *this; } /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon * S3 server-side encryption.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon * S3 server-side encryption.

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon * S3 server-side encryption.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon * S3 server-side encryption.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon * S3 server-side encryption.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon * S3 server-side encryption.

*/ inline MonitoringOutputConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon * S3 server-side encryption.

*/ inline MonitoringOutputConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key * that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon * S3 server-side encryption.

*/ inline MonitoringOutputConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} private: Aws::Vector m_monitoringOutputs; bool m_monitoringOutputsHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws