AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SampleDataS3SourceConfig.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lookoutmetrics/model/FileFormatDescriptor.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LookoutMetrics
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LOOKOUTMETRICS_API SampleDataS3SourceConfig() = default;
38 AWS_LOOKOUTMETRICS_API SampleDataS3SourceConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
48 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
49 template<typename RoleArnT = Aws::String>
50 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
51 template<typename RoleArnT = Aws::String>
52 SampleDataS3SourceConfig& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetTemplatedPathList() const { return m_templatedPathList; }
60 inline bool TemplatedPathListHasBeenSet() const { return m_templatedPathListHasBeenSet; }
61 template<typename TemplatedPathListT = Aws::Vector<Aws::String>>
62 void SetTemplatedPathList(TemplatedPathListT&& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList = std::forward<TemplatedPathListT>(value); }
63 template<typename TemplatedPathListT = Aws::Vector<Aws::String>>
64 SampleDataS3SourceConfig& WithTemplatedPathList(TemplatedPathListT&& value) { SetTemplatedPathList(std::forward<TemplatedPathListT>(value)); return *this;}
65 template<typename TemplatedPathListT = Aws::String>
66 SampleDataS3SourceConfig& AddTemplatedPathList(TemplatedPathListT&& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList.emplace_back(std::forward<TemplatedPathListT>(value)); return *this; }
68
70
73 inline const Aws::Vector<Aws::String>& GetHistoricalDataPathList() const { return m_historicalDataPathList; }
74 inline bool HistoricalDataPathListHasBeenSet() const { return m_historicalDataPathListHasBeenSet; }
75 template<typename HistoricalDataPathListT = Aws::Vector<Aws::String>>
76 void SetHistoricalDataPathList(HistoricalDataPathListT&& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList = std::forward<HistoricalDataPathListT>(value); }
77 template<typename HistoricalDataPathListT = Aws::Vector<Aws::String>>
78 SampleDataS3SourceConfig& WithHistoricalDataPathList(HistoricalDataPathListT&& value) { SetHistoricalDataPathList(std::forward<HistoricalDataPathListT>(value)); return *this;}
79 template<typename HistoricalDataPathListT = Aws::String>
80 SampleDataS3SourceConfig& AddHistoricalDataPathList(HistoricalDataPathListT&& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList.emplace_back(std::forward<HistoricalDataPathListT>(value)); return *this; }
82
84
85 inline const FileFormatDescriptor& GetFileFormatDescriptor() const { return m_fileFormatDescriptor; }
86 inline bool FileFormatDescriptorHasBeenSet() const { return m_fileFormatDescriptorHasBeenSet; }
87 template<typename FileFormatDescriptorT = FileFormatDescriptor>
88 void SetFileFormatDescriptor(FileFormatDescriptorT&& value) { m_fileFormatDescriptorHasBeenSet = true; m_fileFormatDescriptor = std::forward<FileFormatDescriptorT>(value); }
89 template<typename FileFormatDescriptorT = FileFormatDescriptor>
90 SampleDataS3SourceConfig& WithFileFormatDescriptor(FileFormatDescriptorT&& value) { SetFileFormatDescriptor(std::forward<FileFormatDescriptorT>(value)); return *this;}
92 private:
93
94 Aws::String m_roleArn;
95 bool m_roleArnHasBeenSet = false;
96
97 Aws::Vector<Aws::String> m_templatedPathList;
98 bool m_templatedPathListHasBeenSet = false;
99
100 Aws::Vector<Aws::String> m_historicalDataPathList;
101 bool m_historicalDataPathListHasBeenSet = false;
102
103 FileFormatDescriptor m_fileFormatDescriptor;
104 bool m_fileFormatDescriptorHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace LookoutMetrics
109} // namespace Aws
SampleDataS3SourceConfig & WithTemplatedPathList(TemplatedPathListT &&value)
const FileFormatDescriptor & GetFileFormatDescriptor() const
const Aws::Vector< Aws::String > & GetHistoricalDataPathList() const
SampleDataS3SourceConfig & AddHistoricalDataPathList(HistoricalDataPathListT &&value)
AWS_LOOKOUTMETRICS_API SampleDataS3SourceConfig()=default
SampleDataS3SourceConfig & AddTemplatedPathList(TemplatedPathListT &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOOKOUTMETRICS_API SampleDataS3SourceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTMETRICS_API SampleDataS3SourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SampleDataS3SourceConfig & WithRoleArn(RoleArnT &&value)
SampleDataS3SourceConfig & WithFileFormatDescriptor(FileFormatDescriptorT &&value)
const Aws::Vector< Aws::String > & GetTemplatedPathList() const
void SetHistoricalDataPathList(HistoricalDataPathListT &&value)
SampleDataS3SourceConfig & WithHistoricalDataPathList(HistoricalDataPathListT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue