AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
50 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
51 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
52 inline SampleDataS3SourceConfig& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
53 inline SampleDataS3SourceConfig& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
54 inline SampleDataS3SourceConfig& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetTemplatedPathList() const{ return m_templatedPathList; }
62 inline bool TemplatedPathListHasBeenSet() const { return m_templatedPathListHasBeenSet; }
63 inline void SetTemplatedPathList(const Aws::Vector<Aws::String>& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList = value; }
64 inline void SetTemplatedPathList(Aws::Vector<Aws::String>&& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList = std::move(value); }
67 inline SampleDataS3SourceConfig& AddTemplatedPathList(const Aws::String& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList.push_back(value); return *this; }
68 inline SampleDataS3SourceConfig& AddTemplatedPathList(Aws::String&& value) { m_templatedPathListHasBeenSet = true; m_templatedPathList.push_back(std::move(value)); return *this; }
69 inline SampleDataS3SourceConfig& AddTemplatedPathList(const char* value) { m_templatedPathListHasBeenSet = true; m_templatedPathList.push_back(value); return *this; }
71
73
76 inline const Aws::Vector<Aws::String>& GetHistoricalDataPathList() const{ return m_historicalDataPathList; }
77 inline bool HistoricalDataPathListHasBeenSet() const { return m_historicalDataPathListHasBeenSet; }
78 inline void SetHistoricalDataPathList(const Aws::Vector<Aws::String>& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList = value; }
79 inline void SetHistoricalDataPathList(Aws::Vector<Aws::String>&& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList = std::move(value); }
82 inline SampleDataS3SourceConfig& AddHistoricalDataPathList(const Aws::String& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList.push_back(value); return *this; }
83 inline SampleDataS3SourceConfig& AddHistoricalDataPathList(Aws::String&& value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList.push_back(std::move(value)); return *this; }
84 inline SampleDataS3SourceConfig& AddHistoricalDataPathList(const char* value) { m_historicalDataPathListHasBeenSet = true; m_historicalDataPathList.push_back(value); return *this; }
86
88
89 inline const FileFormatDescriptor& GetFileFormatDescriptor() const{ return m_fileFormatDescriptor; }
90 inline bool FileFormatDescriptorHasBeenSet() const { return m_fileFormatDescriptorHasBeenSet; }
91 inline void SetFileFormatDescriptor(const FileFormatDescriptor& value) { m_fileFormatDescriptorHasBeenSet = true; m_fileFormatDescriptor = value; }
92 inline void SetFileFormatDescriptor(FileFormatDescriptor&& value) { m_fileFormatDescriptorHasBeenSet = true; m_fileFormatDescriptor = std::move(value); }
96 private:
97
98 Aws::String m_roleArn;
99 bool m_roleArnHasBeenSet = false;
100
101 Aws::Vector<Aws::String> m_templatedPathList;
102 bool m_templatedPathListHasBeenSet = false;
103
104 Aws::Vector<Aws::String> m_historicalDataPathList;
105 bool m_historicalDataPathListHasBeenSet = false;
106
107 FileFormatDescriptor m_fileFormatDescriptor;
108 bool m_fileFormatDescriptorHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace LookoutMetrics
113} // namespace Aws
void SetHistoricalDataPathList(const Aws::Vector< Aws::String > &value)
SampleDataS3SourceConfig & WithRoleArn(const Aws::String &value)
SampleDataS3SourceConfig & WithFileFormatDescriptor(FileFormatDescriptor &&value)
const FileFormatDescriptor & GetFileFormatDescriptor() const
const Aws::Vector< Aws::String > & GetHistoricalDataPathList() const
void SetFileFormatDescriptor(const FileFormatDescriptor &value)
SampleDataS3SourceConfig & WithTemplatedPathList(Aws::Vector< Aws::String > &&value)
SampleDataS3SourceConfig & AddTemplatedPathList(const Aws::String &value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
SampleDataS3SourceConfig & AddHistoricalDataPathList(const char *value)
SampleDataS3SourceConfig & WithTemplatedPathList(const Aws::Vector< Aws::String > &value)
SampleDataS3SourceConfig & WithRoleArn(const char *value)
AWS_LOOKOUTMETRICS_API SampleDataS3SourceConfig(Aws::Utils::Json::JsonView jsonValue)
void SetHistoricalDataPathList(Aws::Vector< Aws::String > &&value)
SampleDataS3SourceConfig & WithFileFormatDescriptor(const FileFormatDescriptor &value)
AWS_LOOKOUTMETRICS_API SampleDataS3SourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SampleDataS3SourceConfig & AddTemplatedPathList(const char *value)
SampleDataS3SourceConfig & WithHistoricalDataPathList(Aws::Vector< Aws::String > &&value)
void SetTemplatedPathList(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetTemplatedPathList() const
SampleDataS3SourceConfig & AddTemplatedPathList(Aws::String &&value)
void SetTemplatedPathList(Aws::Vector< Aws::String > &&value)
SampleDataS3SourceConfig & WithRoleArn(Aws::String &&value)
SampleDataS3SourceConfig & AddHistoricalDataPathList(Aws::String &&value)
SampleDataS3SourceConfig & WithHistoricalDataPathList(const Aws::Vector< Aws::String > &value)
SampleDataS3SourceConfig & AddHistoricalDataPathList(const Aws::String &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