AWS SDK for C++  1.9.158
AWS SDK for C++
S3Source.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace QuickSight
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetDataSourceArn() const{ return m_dataSourceArn; }
47 
51  inline bool DataSourceArnHasBeenSet() const { return m_dataSourceArnHasBeenSet; }
52 
56  inline void SetDataSourceArn(const Aws::String& value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn = value; }
57 
61  inline void SetDataSourceArn(Aws::String&& value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn = std::move(value); }
62 
66  inline void SetDataSourceArn(const char* value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn.assign(value); }
67 
71  inline S3Source& WithDataSourceArn(const Aws::String& value) { SetDataSourceArn(value); return *this;}
72 
76  inline S3Source& WithDataSourceArn(Aws::String&& value) { SetDataSourceArn(std::move(value)); return *this;}
77 
81  inline S3Source& WithDataSourceArn(const char* value) { SetDataSourceArn(value); return *this;}
82 
83 
87  inline const UploadSettings& GetUploadSettings() const{ return m_uploadSettings; }
88 
92  inline bool UploadSettingsHasBeenSet() const { return m_uploadSettingsHasBeenSet; }
93 
97  inline void SetUploadSettings(const UploadSettings& value) { m_uploadSettingsHasBeenSet = true; m_uploadSettings = value; }
98 
102  inline void SetUploadSettings(UploadSettings&& value) { m_uploadSettingsHasBeenSet = true; m_uploadSettings = std::move(value); }
103 
107  inline S3Source& WithUploadSettings(const UploadSettings& value) { SetUploadSettings(value); return *this;}
108 
112  inline S3Source& WithUploadSettings(UploadSettings&& value) { SetUploadSettings(std::move(value)); return *this;}
113 
114 
120  inline const Aws::Vector<InputColumn>& GetInputColumns() const{ return m_inputColumns; }
121 
127  inline bool InputColumnsHasBeenSet() const { return m_inputColumnsHasBeenSet; }
128 
134  inline void SetInputColumns(const Aws::Vector<InputColumn>& value) { m_inputColumnsHasBeenSet = true; m_inputColumns = value; }
135 
141  inline void SetInputColumns(Aws::Vector<InputColumn>&& value) { m_inputColumnsHasBeenSet = true; m_inputColumns = std::move(value); }
142 
148  inline S3Source& WithInputColumns(const Aws::Vector<InputColumn>& value) { SetInputColumns(value); return *this;}
149 
155  inline S3Source& WithInputColumns(Aws::Vector<InputColumn>&& value) { SetInputColumns(std::move(value)); return *this;}
156 
162  inline S3Source& AddInputColumns(const InputColumn& value) { m_inputColumnsHasBeenSet = true; m_inputColumns.push_back(value); return *this; }
163 
169  inline S3Source& AddInputColumns(InputColumn&& value) { m_inputColumnsHasBeenSet = true; m_inputColumns.push_back(std::move(value)); return *this; }
170 
171  private:
172 
173  Aws::String m_dataSourceArn;
174  bool m_dataSourceArnHasBeenSet;
175 
176  UploadSettings m_uploadSettings;
177  bool m_uploadSettingsHasBeenSet;
178 
179  Aws::Vector<InputColumn> m_inputColumns;
180  bool m_inputColumnsHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace QuickSight
185 } // namespace Aws
Aws::QuickSight::Model::S3Source::DataSourceArnHasBeenSet
bool DataSourceArnHasBeenSet() const
Definition: S3Source.h:51
Aws::QuickSight::Model::S3Source::SetUploadSettings
void SetUploadSettings(const UploadSettings &value)
Definition: S3Source.h:97
Aws::QuickSight::Model::S3Source::SetInputColumns
void SetInputColumns(Aws::Vector< InputColumn > &&value)
Definition: S3Source.h:141
Aws::QuickSight::Model::S3Source::SetDataSourceArn
void SetDataSourceArn(const char *value)
Definition: S3Source.h:66
Aws::QuickSight::Model::S3Source::SetUploadSettings
void SetUploadSettings(UploadSettings &&value)
Definition: S3Source.h:102
InputColumn.h
QuickSight_EXPORTS.h
Aws::QuickSight::Model::S3Source::WithDataSourceArn
S3Source & WithDataSourceArn(Aws::String &&value)
Definition: S3Source.h:76
Aws::QuickSight::Model::S3Source::AddInputColumns
S3Source & AddInputColumns(InputColumn &&value)
Definition: S3Source.h:169
Aws::QuickSight::Model::S3Source::S3Source
S3Source(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::S3Source::WithDataSourceArn
S3Source & WithDataSourceArn(const char *value)
Definition: S3Source.h:81
Aws::QuickSight::Model::S3Source::S3Source
S3Source()
Aws::QuickSight::Model::S3Source::WithUploadSettings
S3Source & WithUploadSettings(const UploadSettings &value)
Definition: S3Source.h:107
Aws::QuickSight::Model::S3Source::AddInputColumns
S3Source & AddInputColumns(const InputColumn &value)
Definition: S3Source.h:162
Aws::QuickSight::Model::S3Source::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::InputColumn
Definition: InputColumn.h:34
Aws::QuickSight::Model::S3Source
Definition: S3Source.h:35
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::S3Source::WithUploadSettings
S3Source & WithUploadSettings(UploadSettings &&value)
Definition: S3Source.h:112
AWSVector.h
Aws::QuickSight::Model::S3Source::WithInputColumns
S3Source & WithInputColumns(Aws::Vector< InputColumn > &&value)
Definition: S3Source.h:155
Aws::QuickSight::Model::S3Source::WithDataSourceArn
S3Source & WithDataSourceArn(const Aws::String &value)
Definition: S3Source.h:71
UploadSettings.h
Aws::QuickSight::Model::S3Source::InputColumnsHasBeenSet
bool InputColumnsHasBeenSet() const
Definition: S3Source.h:127
Aws::QuickSight::Model::S3Source::operator=
S3Source & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::S3Source::GetUploadSettings
const UploadSettings & GetUploadSettings() const
Definition: S3Source.h:87
Aws::QuickSight::Model::S3Source::SetDataSourceArn
void SetDataSourceArn(Aws::String &&value)
Definition: S3Source.h:61
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::S3Source::UploadSettingsHasBeenSet
bool UploadSettingsHasBeenSet() const
Definition: S3Source.h:92
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws::QuickSight::Model::S3Source::WithInputColumns
S3Source & WithInputColumns(const Aws::Vector< InputColumn > &value)
Definition: S3Source.h:148
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::S3Source::GetDataSourceArn
const Aws::String & GetDataSourceArn() const
Definition: S3Source.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::S3Source::SetInputColumns
void SetInputColumns(const Aws::Vector< InputColumn > &value)
Definition: S3Source.h:134
Aws::QuickSight::Model::S3Source::SetDataSourceArn
void SetDataSourceArn(const Aws::String &value)
Definition: S3Source.h:56
Aws::QuickSight::Model::S3Source::GetInputColumns
const Aws::Vector< InputColumn > & GetInputColumns() const
Definition: S3Source.h:120
Aws::QuickSight::Model::UploadSettings
Definition: UploadSettings.h:35