AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3SourceConfig.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 S3SourceConfig() = default;
38 AWS_LOOKOUTMETRICS_API S3SourceConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTMETRICS_API S3SourceConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
49 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
50 template<typename RoleArnT = Aws::String>
51 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
52 template<typename RoleArnT = Aws::String>
53 S3SourceConfig& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetTemplatedPathList() const { return m_templatedPathList; }
61 inline bool TemplatedPathListHasBeenSet() const { return m_templatedPathListHasBeenSet; }
62 template<typename TemplatedPathListT = Aws::Vector<Aws::String>>
63 void SetTemplatedPathList(TemplatedPathListT&& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList = std::forward<TemplatedPathListT>(value); }
64 template<typename TemplatedPathListT = Aws::Vector<Aws::String>>
65 S3SourceConfig& WithTemplatedPathList(TemplatedPathListT&& value) { SetTemplatedPathList(std::forward<TemplatedPathListT>(value)); return *this;}
66 template<typename TemplatedPathListT = Aws::String>
67 S3SourceConfig& AddTemplatedPathList(TemplatedPathListT&& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList.emplace_back(std::forward<TemplatedPathListT>(value)); return *this; }
69
71
74 inline const Aws::Vector<Aws::String>& GetHistoricalDataPathList() const { return m_historicalDataPathList; }
75 inline bool HistoricalDataPathListHasBeenSet() const { return m_historicalDataPathListHasBeenSet; }
76 template<typename HistoricalDataPathListT = Aws::Vector<Aws::String>>
77 void SetHistoricalDataPathList(HistoricalDataPathListT&& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList = std::forward<HistoricalDataPathListT>(value); }
78 template<typename HistoricalDataPathListT = Aws::Vector<Aws::String>>
79 S3SourceConfig& WithHistoricalDataPathList(HistoricalDataPathListT&& value) { SetHistoricalDataPathList(std::forward<HistoricalDataPathListT>(value)); return *this;}
80 template<typename HistoricalDataPathListT = Aws::String>
81 S3SourceConfig& AddHistoricalDataPathList(HistoricalDataPathListT&& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList.emplace_back(std::forward<HistoricalDataPathListT>(value)); return *this; }
83
85
88 inline const FileFormatDescriptor& GetFileFormatDescriptor() const { return m_fileFormatDescriptor; }
89 inline bool FileFormatDescriptorHasBeenSet() const { return m_fileFormatDescriptorHasBeenSet; }
90 template<typename FileFormatDescriptorT = FileFormatDescriptor>
91 void SetFileFormatDescriptor(FileFormatDescriptorT&& value) { m_fileFormatDescriptorHasBeenSet = true; m_fileFormatDescriptor = std::forward<FileFormatDescriptorT>(value); }
92 template<typename FileFormatDescriptorT = FileFormatDescriptor>
93 S3SourceConfig& WithFileFormatDescriptor(FileFormatDescriptorT&& value) { SetFileFormatDescriptor(std::forward<FileFormatDescriptorT>(value)); return *this;}
95 private:
96
97 Aws::String m_roleArn;
98 bool m_roleArnHasBeenSet = false;
99
100 Aws::Vector<Aws::String> m_templatedPathList;
101 bool m_templatedPathListHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_historicalDataPathList;
104 bool m_historicalDataPathListHasBeenSet = false;
105
106 FileFormatDescriptor m_fileFormatDescriptor;
107 bool m_fileFormatDescriptorHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace LookoutMetrics
112} // namespace Aws
void SetFileFormatDescriptor(FileFormatDescriptorT &&value)
S3SourceConfig & WithHistoricalDataPathList(HistoricalDataPathListT &&value)
const Aws::Vector< Aws::String > & GetHistoricalDataPathList() const
S3SourceConfig & WithRoleArn(RoleArnT &&value)
const FileFormatDescriptor & GetFileFormatDescriptor() const
const Aws::String & GetRoleArn() const
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetHistoricalDataPathList(HistoricalDataPathListT &&value)
const Aws::Vector< Aws::String > & GetTemplatedPathList() const
S3SourceConfig & WithTemplatedPathList(TemplatedPathListT &&value)
AWS_LOOKOUTMETRICS_API S3SourceConfig(Aws::Utils::Json::JsonView jsonValue)
S3SourceConfig & AddHistoricalDataPathList(HistoricalDataPathListT &&value)
AWS_LOOKOUTMETRICS_API S3SourceConfig()=default
S3SourceConfig & AddTemplatedPathList(TemplatedPathListT &&value)
void SetTemplatedPathList(TemplatedPathListT &&value)
S3SourceConfig & WithFileFormatDescriptor(FileFormatDescriptorT &&value)
AWS_LOOKOUTMETRICS_API S3SourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue