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

Contains information about the source configuration in Amazon * S3.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the role.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The Amazon Resource Name (ARN) of the role.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the role.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

The Amazon Resource Name (ARN) of the role.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the role.

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the role.

*/ inline SampleDataS3SourceConfig& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the role.

*/ inline SampleDataS3SourceConfig& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the role.

*/ inline SampleDataS3SourceConfig& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

An array of strings containing the list of templated paths.

*/ inline const Aws::Vector& GetTemplatedPathList() const{ return m_templatedPathList; } /** *

An array of strings containing the list of templated paths.

*/ inline bool TemplatedPathListHasBeenSet() const { return m_templatedPathListHasBeenSet; } /** *

An array of strings containing the list of templated paths.

*/ inline void SetTemplatedPathList(const Aws::Vector& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList = value; } /** *

An array of strings containing the list of templated paths.

*/ inline void SetTemplatedPathList(Aws::Vector&& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList = std::move(value); } /** *

An array of strings containing the list of templated paths.

*/ inline SampleDataS3SourceConfig& WithTemplatedPathList(const Aws::Vector& value) { SetTemplatedPathList(value); return *this;} /** *

An array of strings containing the list of templated paths.

*/ inline SampleDataS3SourceConfig& WithTemplatedPathList(Aws::Vector&& value) { SetTemplatedPathList(std::move(value)); return *this;} /** *

An array of strings containing the list of templated paths.

*/ inline SampleDataS3SourceConfig& AddTemplatedPathList(const Aws::String& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList.push_back(value); return *this; } /** *

An array of strings containing the list of templated paths.

*/ inline SampleDataS3SourceConfig& AddTemplatedPathList(Aws::String&& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList.push_back(std::move(value)); return *this; } /** *

An array of strings containing the list of templated paths.

*/ inline SampleDataS3SourceConfig& AddTemplatedPathList(const char* value) { m_templatedPathListHasBeenSet = true; m_templatedPathList.push_back(value); return *this; } /** *

An array of strings containing the historical set of data paths.

*/ inline const Aws::Vector& GetHistoricalDataPathList() const{ return m_historicalDataPathList; } /** *

An array of strings containing the historical set of data paths.

*/ inline bool HistoricalDataPathListHasBeenSet() const { return m_historicalDataPathListHasBeenSet; } /** *

An array of strings containing the historical set of data paths.

*/ inline void SetHistoricalDataPathList(const Aws::Vector& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList = value; } /** *

An array of strings containing the historical set of data paths.

*/ inline void SetHistoricalDataPathList(Aws::Vector&& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList = std::move(value); } /** *

An array of strings containing the historical set of data paths.

*/ inline SampleDataS3SourceConfig& WithHistoricalDataPathList(const Aws::Vector& value) { SetHistoricalDataPathList(value); return *this;} /** *

An array of strings containing the historical set of data paths.

*/ inline SampleDataS3SourceConfig& WithHistoricalDataPathList(Aws::Vector&& value) { SetHistoricalDataPathList(std::move(value)); return *this;} /** *

An array of strings containing the historical set of data paths.

*/ inline SampleDataS3SourceConfig& AddHistoricalDataPathList(const Aws::String& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList.push_back(value); return *this; } /** *

An array of strings containing the historical set of data paths.

*/ inline SampleDataS3SourceConfig& AddHistoricalDataPathList(Aws::String&& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList.push_back(std::move(value)); return *this; } /** *

An array of strings containing the historical set of data paths.

*/ inline SampleDataS3SourceConfig& AddHistoricalDataPathList(const char* value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList.push_back(value); return *this; } inline const FileFormatDescriptor& GetFileFormatDescriptor() const{ return m_fileFormatDescriptor; } inline bool FileFormatDescriptorHasBeenSet() const { return m_fileFormatDescriptorHasBeenSet; } inline void SetFileFormatDescriptor(const FileFormatDescriptor& value) { m_fileFormatDescriptorHasBeenSet = true; m_fileFormatDescriptor = value; } inline void SetFileFormatDescriptor(FileFormatDescriptor&& value) { m_fileFormatDescriptorHasBeenSet = true; m_fileFormatDescriptor = std::move(value); } inline SampleDataS3SourceConfig& WithFileFormatDescriptor(const FileFormatDescriptor& value) { SetFileFormatDescriptor(value); return *this;} inline SampleDataS3SourceConfig& WithFileFormatDescriptor(FileFormatDescriptor&& value) { SetFileFormatDescriptor(std::move(value)); return *this;} private: Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::Vector m_templatedPathList; bool m_templatedPathListHasBeenSet = false; Aws::Vector m_historicalDataPathList; bool m_historicalDataPathListHasBeenSet = false; FileFormatDescriptor m_fileFormatDescriptor; bool m_fileFormatDescriptorHasBeenSet = false; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws