/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the sample size and sampling type for DataBrew to use for
* interactive data analysis.See Also:
AWS API
* Reference
The number of rows in the sample.
*/ inline int GetSize() const{ return m_size; } /** *The number of rows in the sample.
*/ inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } /** *The number of rows in the sample.
*/ inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; } /** *The number of rows in the sample.
*/ inline Sample& WithSize(int value) { SetSize(value); return *this;} /** *The way in which DataBrew obtains rows from a dataset.
*/ inline const SampleType& GetType() const{ return m_type; } /** *The way in which DataBrew obtains rows from a dataset.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The way in which DataBrew obtains rows from a dataset.
*/ inline void SetType(const SampleType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The way in which DataBrew obtains rows from a dataset.
*/ inline void SetType(SampleType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The way in which DataBrew obtains rows from a dataset.
*/ inline Sample& WithType(const SampleType& value) { SetType(value); return *this;} /** *The way in which DataBrew obtains rows from a dataset.
*/ inline Sample& WithType(SampleType&& value) { SetType(std::move(value)); return *this;} private: int m_size; bool m_sizeHasBeenSet = false; SampleType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws