AWS SDK for C++  1.9.158
AWS SDK for C++
UploadSettings.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace QuickSight
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const FileFormat& GetFormat() const{ return m_format; }
47 
51  inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
52 
56  inline void SetFormat(const FileFormat& value) { m_formatHasBeenSet = true; m_format = value; }
57 
61  inline void SetFormat(FileFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
62 
66  inline UploadSettings& WithFormat(const FileFormat& value) { SetFormat(value); return *this;}
67 
71  inline UploadSettings& WithFormat(FileFormat&& value) { SetFormat(std::move(value)); return *this;}
72 
73 
77  inline int GetStartFromRow() const{ return m_startFromRow; }
78 
82  inline bool StartFromRowHasBeenSet() const { return m_startFromRowHasBeenSet; }
83 
87  inline void SetStartFromRow(int value) { m_startFromRowHasBeenSet = true; m_startFromRow = value; }
88 
92  inline UploadSettings& WithStartFromRow(int value) { SetStartFromRow(value); return *this;}
93 
94 
98  inline bool GetContainsHeader() const{ return m_containsHeader; }
99 
103  inline bool ContainsHeaderHasBeenSet() const { return m_containsHeaderHasBeenSet; }
104 
108  inline void SetContainsHeader(bool value) { m_containsHeaderHasBeenSet = true; m_containsHeader = value; }
109 
113  inline UploadSettings& WithContainsHeader(bool value) { SetContainsHeader(value); return *this;}
114 
115 
119  inline const TextQualifier& GetTextQualifier() const{ return m_textQualifier; }
120 
124  inline bool TextQualifierHasBeenSet() const { return m_textQualifierHasBeenSet; }
125 
129  inline void SetTextQualifier(const TextQualifier& value) { m_textQualifierHasBeenSet = true; m_textQualifier = value; }
130 
134  inline void SetTextQualifier(TextQualifier&& value) { m_textQualifierHasBeenSet = true; m_textQualifier = std::move(value); }
135 
139  inline UploadSettings& WithTextQualifier(const TextQualifier& value) { SetTextQualifier(value); return *this;}
140 
144  inline UploadSettings& WithTextQualifier(TextQualifier&& value) { SetTextQualifier(std::move(value)); return *this;}
145 
146 
150  inline const Aws::String& GetDelimiter() const{ return m_delimiter; }
151 
155  inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; }
156 
160  inline void SetDelimiter(const Aws::String& value) { m_delimiterHasBeenSet = true; m_delimiter = value; }
161 
165  inline void SetDelimiter(Aws::String&& value) { m_delimiterHasBeenSet = true; m_delimiter = std::move(value); }
166 
170  inline void SetDelimiter(const char* value) { m_delimiterHasBeenSet = true; m_delimiter.assign(value); }
171 
175  inline UploadSettings& WithDelimiter(const Aws::String& value) { SetDelimiter(value); return *this;}
176 
180  inline UploadSettings& WithDelimiter(Aws::String&& value) { SetDelimiter(std::move(value)); return *this;}
181 
185  inline UploadSettings& WithDelimiter(const char* value) { SetDelimiter(value); return *this;}
186 
187  private:
188 
189  FileFormat m_format;
190  bool m_formatHasBeenSet;
191 
192  int m_startFromRow;
193  bool m_startFromRowHasBeenSet;
194 
195  bool m_containsHeader;
196  bool m_containsHeaderHasBeenSet;
197 
198  TextQualifier m_textQualifier;
199  bool m_textQualifierHasBeenSet;
200 
201  Aws::String m_delimiter;
202  bool m_delimiterHasBeenSet;
203  };
204 
205 } // namespace Model
206 } // namespace QuickSight
207 } // namespace Aws
Aws::QuickSight::Model::UploadSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::UploadSettings::StartFromRowHasBeenSet
bool StartFromRowHasBeenSet() const
Definition: UploadSettings.h:82
Aws::QuickSight::Model::UploadSettings::GetContainsHeader
bool GetContainsHeader() const
Definition: UploadSettings.h:98
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UploadSettings::ContainsHeaderHasBeenSet
bool ContainsHeaderHasBeenSet() const
Definition: UploadSettings.h:103
Aws::QuickSight::Model::UploadSettings::WithStartFromRow
UploadSettings & WithStartFromRow(int value)
Definition: UploadSettings.h:92
Aws::QuickSight::Model::UploadSettings::SetStartFromRow
void SetStartFromRow(int value)
Definition: UploadSettings.h:87
Aws::QuickSight::Model::FileFormat
FileFormat
Definition: FileFormat.h:17
Aws::QuickSight::Model::UploadSettings::WithDelimiter
UploadSettings & WithDelimiter(const Aws::String &value)
Definition: UploadSettings.h:175
Aws::QuickSight::Model::UploadSettings::WithFormat
UploadSettings & WithFormat(FileFormat &&value)
Definition: UploadSettings.h:71
Aws::QuickSight::Model::UploadSettings::SetFormat
void SetFormat(const FileFormat &value)
Definition: UploadSettings.h:56
Aws::QuickSight::Model::UploadSettings::UploadSettings
UploadSettings()
Aws::QuickSight::Model::UploadSettings::WithTextQualifier
UploadSettings & WithTextQualifier(TextQualifier &&value)
Definition: UploadSettings.h:144
Aws::QuickSight::Model::UploadSettings::GetStartFromRow
int GetStartFromRow() const
Definition: UploadSettings.h:77
Aws::QuickSight::Model::UploadSettings::WithTextQualifier
UploadSettings & WithTextQualifier(const TextQualifier &value)
Definition: UploadSettings.h:139
Aws::QuickSight::Model::UploadSettings::SetContainsHeader
void SetContainsHeader(bool value)
Definition: UploadSettings.h:108
Aws::QuickSight::Model::UploadSettings::WithFormat
UploadSettings & WithFormat(const FileFormat &value)
Definition: UploadSettings.h:66
Aws::QuickSight::Model::UploadSettings::DelimiterHasBeenSet
bool DelimiterHasBeenSet() const
Definition: UploadSettings.h:155
Aws::QuickSight::Model::TextQualifier
TextQualifier
Definition: TextQualifier.h:17
Aws::QuickSight::Model::UploadSettings::SetTextQualifier
void SetTextQualifier(const TextQualifier &value)
Definition: UploadSettings.h:129
TextQualifier.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::QuickSight::Model::UploadSettings::GetTextQualifier
const TextQualifier & GetTextQualifier() const
Definition: UploadSettings.h:119
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::UploadSettings::GetFormat
const FileFormat & GetFormat() const
Definition: UploadSettings.h:46
Aws::QuickSight::Model::UploadSettings::FormatHasBeenSet
bool FormatHasBeenSet() const
Definition: UploadSettings.h:51
Aws::QuickSight::Model::UploadSettings::WithContainsHeader
UploadSettings & WithContainsHeader(bool value)
Definition: UploadSettings.h:113
Aws::QuickSight::Model::UploadSettings::WithDelimiter
UploadSettings & WithDelimiter(Aws::String &&value)
Definition: UploadSettings.h:180
Aws::QuickSight::Model::UploadSettings::operator=
UploadSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::UploadSettings::WithDelimiter
UploadSettings & WithDelimiter(const char *value)
Definition: UploadSettings.h:185
Aws::QuickSight::Model::UploadSettings::SetTextQualifier
void SetTextQualifier(TextQualifier &&value)
Definition: UploadSettings.h:134
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UploadSettings::SetDelimiter
void SetDelimiter(const Aws::String &value)
Definition: UploadSettings.h:160
Aws::QuickSight::Model::UploadSettings::SetDelimiter
void SetDelimiter(Aws::String &&value)
Definition: UploadSettings.h:165
Aws::QuickSight::Model::UploadSettings::SetFormat
void SetFormat(FileFormat &&value)
Definition: UploadSettings.h:61
Aws::QuickSight::Model::UploadSettings::GetDelimiter
const Aws::String & GetDelimiter() const
Definition: UploadSettings.h:150
FileFormat.h
Aws::QuickSight::Model::UploadSettings::UploadSettings
UploadSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::UploadSettings
Definition: UploadSettings.h:35
Aws::QuickSight::Model::UploadSettings::SetDelimiter
void SetDelimiter(const char *value)
Definition: UploadSettings.h:170
Aws::QuickSight::Model::UploadSettings::TextQualifierHasBeenSet
bool TextQualifierHasBeenSet() const
Definition: UploadSettings.h:124