/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a data source.See Also:
AWS
* API Reference
The name of the data source.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the data source.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the data source.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the data source.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the data source.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the data source.
*/ inline DataSource& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the data source.
*/ inline DataSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the data source.
*/ inline DataSource& WithName(const char* value) { SetName(value); return *this;} /** *The S3 bucket where the data files are located.
*/ inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; } /** *The S3 bucket where the data files are located.
*/ inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; } /** *The S3 bucket where the data files are located.
*/ inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; } /** *The S3 bucket where the data files are located.
*/ inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); } /** *The S3 bucket where the data files are located.
*/ inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); } /** *The S3 bucket where the data files are located.
*/ inline DataSource& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;} /** *The S3 bucket where the data files are located.
*/ inline DataSource& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;} /** *The S3 bucket where the data files are located.
*/ inline DataSource& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;} /** *The list of S3 keys identifying the data source files.
*/ inline const Aws::VectorThe list of S3 keys identifying the data source files.
*/ inline bool S3KeysHasBeenSet() const { return m_s3KeysHasBeenSet; } /** *The list of S3 keys identifying the data source files.
*/ inline void SetS3Keys(const Aws::VectorThe list of S3 keys identifying the data source files.
*/ inline void SetS3Keys(Aws::VectorThe list of S3 keys identifying the data source files.
*/ inline DataSource& WithS3Keys(const Aws::VectorThe list of S3 keys identifying the data source files.
*/ inline DataSource& WithS3Keys(Aws::VectorThe list of S3 keys identifying the data source files.
*/ inline DataSource& AddS3Keys(const S3KeyOutput& value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(value); return *this; } /** *The list of S3 keys identifying the data source files.
*/ inline DataSource& AddS3Keys(S3KeyOutput&& value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(std::move(value)); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_s3Bucket; bool m_s3BucketHasBeenSet; Aws::Vector