/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The currently active data capture configuration used by your
* Endpoint.See Also:
AWS
* API Reference
Whether data capture is enabled or disabled.
*/ inline bool GetEnableCapture() const{ return m_enableCapture; } /** *Whether data capture is enabled or disabled.
*/ inline bool EnableCaptureHasBeenSet() const { return m_enableCaptureHasBeenSet; } /** *Whether data capture is enabled or disabled.
*/ inline void SetEnableCapture(bool value) { m_enableCaptureHasBeenSet = true; m_enableCapture = value; } /** *Whether data capture is enabled or disabled.
*/ inline DataCaptureConfigSummary& WithEnableCapture(bool value) { SetEnableCapture(value); return *this;} /** *Whether data capture is currently functional.
*/ inline const CaptureStatus& GetCaptureStatus() const{ return m_captureStatus; } /** *Whether data capture is currently functional.
*/ inline bool CaptureStatusHasBeenSet() const { return m_captureStatusHasBeenSet; } /** *Whether data capture is currently functional.
*/ inline void SetCaptureStatus(const CaptureStatus& value) { m_captureStatusHasBeenSet = true; m_captureStatus = value; } /** *Whether data capture is currently functional.
*/ inline void SetCaptureStatus(CaptureStatus&& value) { m_captureStatusHasBeenSet = true; m_captureStatus = std::move(value); } /** *Whether data capture is currently functional.
*/ inline DataCaptureConfigSummary& WithCaptureStatus(const CaptureStatus& value) { SetCaptureStatus(value); return *this;} /** *Whether data capture is currently functional.
*/ inline DataCaptureConfigSummary& WithCaptureStatus(CaptureStatus&& value) { SetCaptureStatus(std::move(value)); return *this;} /** *The percentage of requests being captured by your Endpoint.
*/ inline int GetCurrentSamplingPercentage() const{ return m_currentSamplingPercentage; } /** *The percentage of requests being captured by your Endpoint.
*/ inline bool CurrentSamplingPercentageHasBeenSet() const { return m_currentSamplingPercentageHasBeenSet; } /** *The percentage of requests being captured by your Endpoint.
*/ inline void SetCurrentSamplingPercentage(int value) { m_currentSamplingPercentageHasBeenSet = true; m_currentSamplingPercentage = value; } /** *The percentage of requests being captured by your Endpoint.
*/ inline DataCaptureConfigSummary& WithCurrentSamplingPercentage(int value) { SetCurrentSamplingPercentage(value); return *this;} /** *The Amazon S3 location being used to capture the data.
*/ inline const Aws::String& GetDestinationS3Uri() const{ return m_destinationS3Uri; } /** *The Amazon S3 location being used to capture the data.
*/ inline bool DestinationS3UriHasBeenSet() const { return m_destinationS3UriHasBeenSet; } /** *The Amazon S3 location being used to capture the data.
*/ inline void SetDestinationS3Uri(const Aws::String& value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri = value; } /** *The Amazon S3 location being used to capture the data.
*/ inline void SetDestinationS3Uri(Aws::String&& value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri = std::move(value); } /** *The Amazon S3 location being used to capture the data.
*/ inline void SetDestinationS3Uri(const char* value) { m_destinationS3UriHasBeenSet = true; m_destinationS3Uri.assign(value); } /** *The Amazon S3 location being used to capture the data.
*/ inline DataCaptureConfigSummary& WithDestinationS3Uri(const Aws::String& value) { SetDestinationS3Uri(value); return *this;} /** *The Amazon S3 location being used to capture the data.
*/ inline DataCaptureConfigSummary& WithDestinationS3Uri(Aws::String&& value) { SetDestinationS3Uri(std::move(value)); return *this;} /** *The Amazon S3 location being used to capture the data.
*/ inline DataCaptureConfigSummary& WithDestinationS3Uri(const char* value) { SetDestinationS3Uri(value); return *this;} /** *The KMS key being used to encrypt the data in Amazon S3.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *The KMS key being used to encrypt the data in Amazon S3.
*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *The KMS key being used to encrypt the data in Amazon S3.
*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *The KMS key being used to encrypt the data in Amazon S3.
*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *The KMS key being used to encrypt the data in Amazon S3.
*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *The KMS key being used to encrypt the data in Amazon S3.
*/ inline DataCaptureConfigSummary& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *The KMS key being used to encrypt the data in Amazon S3.
*/ inline DataCaptureConfigSummary& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *The KMS key being used to encrypt the data in Amazon S3.
*/ inline DataCaptureConfigSummary& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} private: bool m_enableCapture; bool m_enableCaptureHasBeenSet = false; CaptureStatus m_captureStatus; bool m_captureStatusHasBeenSet = false; int m_currentSamplingPercentage; bool m_currentSamplingPercentageHasBeenSet = false; Aws::String m_destinationS3Uri; bool m_destinationS3UriHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws