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

Specifies data Model Monitor will capture.

See Also:

AWS * API Reference

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

Specify the boundary of data to capture.

*/ inline const CaptureMode& GetCaptureMode() const{ return m_captureMode; } /** *

Specify the boundary of data to capture.

*/ inline bool CaptureModeHasBeenSet() const { return m_captureModeHasBeenSet; } /** *

Specify the boundary of data to capture.

*/ inline void SetCaptureMode(const CaptureMode& value) { m_captureModeHasBeenSet = true; m_captureMode = value; } /** *

Specify the boundary of data to capture.

*/ inline void SetCaptureMode(CaptureMode&& value) { m_captureModeHasBeenSet = true; m_captureMode = std::move(value); } /** *

Specify the boundary of data to capture.

*/ inline CaptureOption& WithCaptureMode(const CaptureMode& value) { SetCaptureMode(value); return *this;} /** *

Specify the boundary of data to capture.

*/ inline CaptureOption& WithCaptureMode(CaptureMode&& value) { SetCaptureMode(std::move(value)); return *this;} private: CaptureMode m_captureMode; bool m_captureModeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws