/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a transform that writes samples of the data to an Amazon S3
* bucket.See Also:
AWS API
* Reference
The name of the transform node.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the transform node.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the transform node.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the transform node.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the transform node.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the transform node.
*/ inline Spigot& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the transform node.
*/ inline Spigot& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the transform node.
*/ inline Spigot& WithName(const char* value) { SetName(value); return *this;} /** *The data inputs identified by their node names.
*/ inline const Aws::VectorThe data inputs identified by their node names.
*/ inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; } /** *The data inputs identified by their node names.
*/ inline void SetInputs(const Aws::VectorThe data inputs identified by their node names.
*/ inline void SetInputs(Aws::VectorThe data inputs identified by their node names.
*/ inline Spigot& WithInputs(const Aws::VectorThe data inputs identified by their node names.
*/ inline Spigot& WithInputs(Aws::VectorThe data inputs identified by their node names.
*/ inline Spigot& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; } /** *The data inputs identified by their node names.
*/ inline Spigot& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; } /** *The data inputs identified by their node names.
*/ inline Spigot& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; } /** *A path in Amazon S3 where the transform will write a subset of records from * the dataset to a JSON file in an Amazon S3 bucket.
*/ inline const Aws::String& GetPath() const{ return m_path; } /** *A path in Amazon S3 where the transform will write a subset of records from * the dataset to a JSON file in an Amazon S3 bucket.
*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *A path in Amazon S3 where the transform will write a subset of records from * the dataset to a JSON file in an Amazon S3 bucket.
*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *A path in Amazon S3 where the transform will write a subset of records from * the dataset to a JSON file in an Amazon S3 bucket.
*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *A path in Amazon S3 where the transform will write a subset of records from * the dataset to a JSON file in an Amazon S3 bucket.
*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *A path in Amazon S3 where the transform will write a subset of records from * the dataset to a JSON file in an Amazon S3 bucket.
*/ inline Spigot& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *A path in Amazon S3 where the transform will write a subset of records from * the dataset to a JSON file in an Amazon S3 bucket.
*/ inline Spigot& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *A path in Amazon S3 where the transform will write a subset of records from * the dataset to a JSON file in an Amazon S3 bucket.
*/ inline Spigot& WithPath(const char* value) { SetPath(value); return *this;} /** *Specifies a number of records to write starting from the beginning of the * dataset.
*/ inline int GetTopk() const{ return m_topk; } /** *Specifies a number of records to write starting from the beginning of the * dataset.
*/ inline bool TopkHasBeenSet() const { return m_topkHasBeenSet; } /** *Specifies a number of records to write starting from the beginning of the * dataset.
*/ inline void SetTopk(int value) { m_topkHasBeenSet = true; m_topk = value; } /** *Specifies a number of records to write starting from the beginning of the * dataset.
*/ inline Spigot& WithTopk(int value) { SetTopk(value); return *this;} /** *The probability (a decimal value with a maximum value of 1) of picking any * given record. A value of 1 indicates that each row read from the dataset should * be included in the sample output.
*/ inline double GetProb() const{ return m_prob; } /** *The probability (a decimal value with a maximum value of 1) of picking any * given record. A value of 1 indicates that each row read from the dataset should * be included in the sample output.
*/ inline bool ProbHasBeenSet() const { return m_probHasBeenSet; } /** *The probability (a decimal value with a maximum value of 1) of picking any * given record. A value of 1 indicates that each row read from the dataset should * be included in the sample output.
*/ inline void SetProb(double value) { m_probHasBeenSet = true; m_prob = value; } /** *The probability (a decimal value with a maximum value of 1) of picking any * given record. A value of 1 indicates that each row read from the dataset should * be included in the sample output.
*/ inline Spigot& WithProb(double value) { SetProb(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector