AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3Source.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/UploadSettings.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/quicksight/model/InputColumn.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API S3Source();
38 AWS_QUICKSIGHT_API S3Source(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API S3Source& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDataSourceArn() const{ return m_dataSourceArn; }
48 inline bool DataSourceArnHasBeenSet() const { return m_dataSourceArnHasBeenSet; }
49 inline void SetDataSourceArn(const Aws::String& value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn = value; }
50 inline void SetDataSourceArn(Aws::String&& value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn = std::move(value); }
51 inline void SetDataSourceArn(const char* value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn.assign(value); }
52 inline S3Source& WithDataSourceArn(const Aws::String& value) { SetDataSourceArn(value); return *this;}
53 inline S3Source& WithDataSourceArn(Aws::String&& value) { SetDataSourceArn(std::move(value)); return *this;}
54 inline S3Source& WithDataSourceArn(const char* value) { SetDataSourceArn(value); return *this;}
56
58
61 inline const UploadSettings& GetUploadSettings() const{ return m_uploadSettings; }
62 inline bool UploadSettingsHasBeenSet() const { return m_uploadSettingsHasBeenSet; }
63 inline void SetUploadSettings(const UploadSettings& value) { m_uploadSettingsHasBeenSet = true; m_uploadSettings = value; }
64 inline void SetUploadSettings(UploadSettings&& value) { m_uploadSettingsHasBeenSet = true; m_uploadSettings = std::move(value); }
65 inline S3Source& WithUploadSettings(const UploadSettings& value) { SetUploadSettings(value); return *this;}
66 inline S3Source& WithUploadSettings(UploadSettings&& value) { SetUploadSettings(std::move(value)); return *this;}
68
70
75 inline const Aws::Vector<InputColumn>& GetInputColumns() const{ return m_inputColumns; }
76 inline bool InputColumnsHasBeenSet() const { return m_inputColumnsHasBeenSet; }
77 inline void SetInputColumns(const Aws::Vector<InputColumn>& value) { m_inputColumnsHasBeenSet = true; m_inputColumns = value; }
78 inline void SetInputColumns(Aws::Vector<InputColumn>&& value) { m_inputColumnsHasBeenSet = true; m_inputColumns = std::move(value); }
79 inline S3Source& WithInputColumns(const Aws::Vector<InputColumn>& value) { SetInputColumns(value); return *this;}
80 inline S3Source& WithInputColumns(Aws::Vector<InputColumn>&& value) { SetInputColumns(std::move(value)); return *this;}
81 inline S3Source& AddInputColumns(const InputColumn& value) { m_inputColumnsHasBeenSet = true; m_inputColumns.push_back(value); return *this; }
82 inline S3Source& AddInputColumns(InputColumn&& value) { m_inputColumnsHasBeenSet = true; m_inputColumns.push_back(std::move(value)); return *this; }
84 private:
85
86 Aws::String m_dataSourceArn;
87 bool m_dataSourceArnHasBeenSet = false;
88
89 UploadSettings m_uploadSettings;
90 bool m_uploadSettingsHasBeenSet = false;
91
92 Aws::Vector<InputColumn> m_inputColumns;
93 bool m_inputColumnsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace QuickSight
98} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUploadSettings(UploadSettings &&value)
Definition S3Source.h:64
bool InputColumnsHasBeenSet() const
Definition S3Source.h:76
bool DataSourceArnHasBeenSet() const
Definition S3Source.h:48
S3Source & WithUploadSettings(const UploadSettings &value)
Definition S3Source.h:65
S3Source & WithDataSourceArn(const Aws::String &value)
Definition S3Source.h:52
AWS_QUICKSIGHT_API S3Source & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataSourceArn(const Aws::String &value)
Definition S3Source.h:49
void SetInputColumns(Aws::Vector< InputColumn > &&value)
Definition S3Source.h:78
void SetDataSourceArn(Aws::String &&value)
Definition S3Source.h:50
S3Source & AddInputColumns(InputColumn &&value)
Definition S3Source.h:82
S3Source & WithUploadSettings(UploadSettings &&value)
Definition S3Source.h:66
S3Source & WithInputColumns(const Aws::Vector< InputColumn > &value)
Definition S3Source.h:79
S3Source & WithDataSourceArn(const char *value)
Definition S3Source.h:54
void SetInputColumns(const Aws::Vector< InputColumn > &value)
Definition S3Source.h:77
void SetDataSourceArn(const char *value)
Definition S3Source.h:51
S3Source & WithDataSourceArn(Aws::String &&value)
Definition S3Source.h:53
S3Source & AddInputColumns(const InputColumn &value)
Definition S3Source.h:81
AWS_QUICKSIGHT_API S3Source(Aws::Utils::Json::JsonView jsonValue)
const UploadSettings & GetUploadSettings() const
Definition S3Source.h:61
AWS_QUICKSIGHT_API S3Source()
const Aws::Vector< InputColumn > & GetInputColumns() const
Definition S3Source.h:75
bool UploadSettingsHasBeenSet() const
Definition S3Source.h:62
S3Source & WithInputColumns(Aws::Vector< InputColumn > &&value)
Definition S3Source.h:80
const Aws::String & GetDataSourceArn() const
Definition S3Source.h:47
void SetUploadSettings(const UploadSettings &value)
Definition S3Source.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue