AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
51 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
52 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
53 inline S3SourceConfig& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
54 inline S3SourceConfig& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
55 inline S3SourceConfig& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetTemplatedPathList() const{ return m_templatedPathList; }
63 inline bool TemplatedPathListHasBeenSet() const { return m_templatedPathListHasBeenSet; }
64 inline void SetTemplatedPathList(const Aws::Vector<Aws::String>& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList = value; }
65 inline void SetTemplatedPathList(Aws::Vector<Aws::String>&& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList = std::move(value); }
67 inline S3SourceConfig& WithTemplatedPathList(Aws::Vector<Aws::String>&& value) { SetTemplatedPathList(std::move(value)); return *this;}
68 inline S3SourceConfig& AddTemplatedPathList(const Aws::String& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList.push_back(value); return *this; }
69 inline S3SourceConfig& AddTemplatedPathList(Aws::String&& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList.push_back(std::move(value)); return *this; }
70 inline S3SourceConfig& AddTemplatedPathList(const char* value) { m_templatedPathListHasBeenSet = true; m_templatedPathList.push_back(value); return *this; }
72
74
77 inline const Aws::Vector<Aws::String>& GetHistoricalDataPathList() const{ return m_historicalDataPathList; }
78 inline bool HistoricalDataPathListHasBeenSet() const { return m_historicalDataPathListHasBeenSet; }
79 inline void SetHistoricalDataPathList(const Aws::Vector<Aws::String>& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList = value; }
80 inline void SetHistoricalDataPathList(Aws::Vector<Aws::String>&& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList = std::move(value); }
83 inline S3SourceConfig& AddHistoricalDataPathList(const Aws::String& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList.push_back(value); return *this; }
84 inline S3SourceConfig& AddHistoricalDataPathList(Aws::String&& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList.push_back(std::move(value)); return *this; }
85 inline S3SourceConfig& AddHistoricalDataPathList(const char* value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList.push_back(value); return *this; }
87
89
92 inline const FileFormatDescriptor& GetFileFormatDescriptor() const{ return m_fileFormatDescriptor; }
93 inline bool FileFormatDescriptorHasBeenSet() const { return m_fileFormatDescriptorHasBeenSet; }
94 inline void SetFileFormatDescriptor(const FileFormatDescriptor& value) { m_fileFormatDescriptorHasBeenSet = true; m_fileFormatDescriptor = value; }
95 inline void SetFileFormatDescriptor(FileFormatDescriptor&& value) { m_fileFormatDescriptorHasBeenSet = true; m_fileFormatDescriptor = std::move(value); }
97 inline S3SourceConfig& WithFileFormatDescriptor(FileFormatDescriptor&& value) { SetFileFormatDescriptor(std::move(value)); return *this;}
99 private:
100
101 Aws::String m_roleArn;
102 bool m_roleArnHasBeenSet = false;
103
104 Aws::Vector<Aws::String> m_templatedPathList;
105 bool m_templatedPathListHasBeenSet = false;
106
107 Aws::Vector<Aws::String> m_historicalDataPathList;
108 bool m_historicalDataPathListHasBeenSet = false;
109
110 FileFormatDescriptor m_fileFormatDescriptor;
111 bool m_fileFormatDescriptorHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace LookoutMetrics
116} // namespace Aws
S3SourceConfig & AddTemplatedPathList(const Aws::String &value)
AWS_LOOKOUTMETRICS_API S3SourceConfig()
void SetFileFormatDescriptor(FileFormatDescriptor &&value)
S3SourceConfig & WithRoleArn(const char *value)
const Aws::Vector< Aws::String > & GetHistoricalDataPathList() const
const FileFormatDescriptor & GetFileFormatDescriptor() const
const Aws::String & GetRoleArn() const
void SetTemplatedPathList(Aws::Vector< Aws::String > &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetTemplatedPathList() const
AWS_LOOKOUTMETRICS_API S3SourceConfig(Aws::Utils::Json::JsonView jsonValue)
S3SourceConfig & AddTemplatedPathList(Aws::String &&value)
S3SourceConfig & WithHistoricalDataPathList(const Aws::Vector< Aws::String > &value)
S3SourceConfig & WithTemplatedPathList(const Aws::Vector< Aws::String > &value)
void SetHistoricalDataPathList(Aws::Vector< Aws::String > &&value)
S3SourceConfig & WithTemplatedPathList(Aws::Vector< Aws::String > &&value)
S3SourceConfig & AddTemplatedPathList(const char *value)
void SetHistoricalDataPathList(const Aws::Vector< Aws::String > &value)
S3SourceConfig & WithRoleArn(Aws::String &&value)
S3SourceConfig & AddHistoricalDataPathList(Aws::String &&value)
AWS_LOOKOUTMETRICS_API S3SourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
S3SourceConfig & WithHistoricalDataPathList(Aws::Vector< Aws::String > &&value)
S3SourceConfig & WithRoleArn(const Aws::String &value)
S3SourceConfig & AddHistoricalDataPathList(const Aws::String &value)
void SetTemplatedPathList(const Aws::Vector< Aws::String > &value)
void SetRoleArn(const Aws::String &value)
S3SourceConfig & WithFileFormatDescriptor(const FileFormatDescriptor &value)
S3SourceConfig & WithFileFormatDescriptor(FileFormatDescriptor &&value)
void SetFileFormatDescriptor(const FileFormatDescriptor &value)
S3SourceConfig & AddHistoricalDataPathList(const char *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