AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UploadSettings.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/FileFormat.h>
9#include <aws/quicksight/model/TextQualifier.h>
10#include <aws/core/utils/memory/stl/AWSString.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 QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API UploadSettings() = default;
38 AWS_QUICKSIGHT_API UploadSettings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API UploadSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline FileFormat GetFormat() const { return m_format; }
48 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
49 inline void SetFormat(FileFormat value) { m_formatHasBeenSet = true; m_format = value; }
50 inline UploadSettings& WithFormat(FileFormat value) { SetFormat(value); return *this;}
52
54
57 inline int GetStartFromRow() const { return m_startFromRow; }
58 inline bool StartFromRowHasBeenSet() const { return m_startFromRowHasBeenSet; }
59 inline void SetStartFromRow(int value) { m_startFromRowHasBeenSet = true; m_startFromRow = value; }
60 inline UploadSettings& WithStartFromRow(int value) { SetStartFromRow(value); return *this;}
62
64
67 inline bool GetContainsHeader() const { return m_containsHeader; }
68 inline bool ContainsHeaderHasBeenSet() const { return m_containsHeaderHasBeenSet; }
69 inline void SetContainsHeader(bool value) { m_containsHeaderHasBeenSet = true; m_containsHeader = value; }
70 inline UploadSettings& WithContainsHeader(bool value) { SetContainsHeader(value); return *this;}
72
74
77 inline TextQualifier GetTextQualifier() const { return m_textQualifier; }
78 inline bool TextQualifierHasBeenSet() const { return m_textQualifierHasBeenSet; }
79 inline void SetTextQualifier(TextQualifier value) { m_textQualifierHasBeenSet = true; m_textQualifier = value; }
80 inline UploadSettings& WithTextQualifier(TextQualifier value) { SetTextQualifier(value); return *this;}
82
84
87 inline const Aws::String& GetDelimiter() const { return m_delimiter; }
88 inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; }
89 template<typename DelimiterT = Aws::String>
90 void SetDelimiter(DelimiterT&& value) { m_delimiterHasBeenSet = true; m_delimiter = std::forward<DelimiterT>(value); }
91 template<typename DelimiterT = Aws::String>
92 UploadSettings& WithDelimiter(DelimiterT&& value) { SetDelimiter(std::forward<DelimiterT>(value)); return *this;}
94 private:
95
97 bool m_formatHasBeenSet = false;
98
99 int m_startFromRow{0};
100 bool m_startFromRowHasBeenSet = false;
101
102 bool m_containsHeader{false};
103 bool m_containsHeaderHasBeenSet = false;
104
105 TextQualifier m_textQualifier{TextQualifier::NOT_SET};
106 bool m_textQualifierHasBeenSet = false;
107
108 Aws::String m_delimiter;
109 bool m_delimiterHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace QuickSight
114} // namespace Aws
UploadSettings & WithTextQualifier(TextQualifier value)
UploadSettings & WithDelimiter(DelimiterT &&value)
AWS_QUICKSIGHT_API UploadSettings(Aws::Utils::Json::JsonView jsonValue)
UploadSettings & WithContainsHeader(bool value)
UploadSettings & WithFormat(FileFormat value)
void SetTextQualifier(TextQualifier value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
UploadSettings & WithStartFromRow(int value)
AWS_QUICKSIGHT_API UploadSettings()=default
void SetDelimiter(DelimiterT &&value)
AWS_QUICKSIGHT_API UploadSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDelimiter() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue