AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UploadSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/FileFormat.h>
10#include <aws/quicksight/model/TextQualifier.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API UploadSettings() = default;
33 AWS_QUICKSIGHT_API UploadSettings(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API UploadSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline FileFormat GetFormat() const { return m_format; }
42 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
43 inline void SetFormat(FileFormat value) {
44 m_formatHasBeenSet = true;
45 m_format = value;
46 }
48 SetFormat(value);
49 return *this;
50 }
52
54
57 inline int GetStartFromRow() const { return m_startFromRow; }
58 inline bool StartFromRowHasBeenSet() const { return m_startFromRowHasBeenSet; }
59 inline void SetStartFromRow(int value) {
60 m_startFromRowHasBeenSet = true;
61 m_startFromRow = value;
62 }
63 inline UploadSettings& WithStartFromRow(int value) {
64 SetStartFromRow(value);
65 return *this;
66 }
68
70
73 inline bool GetContainsHeader() const { return m_containsHeader; }
74 inline bool ContainsHeaderHasBeenSet() const { return m_containsHeaderHasBeenSet; }
75 inline void SetContainsHeader(bool value) {
76 m_containsHeaderHasBeenSet = true;
77 m_containsHeader = value;
78 }
79 inline UploadSettings& WithContainsHeader(bool value) {
80 SetContainsHeader(value);
81 return *this;
82 }
84
86
89 inline TextQualifier GetTextQualifier() const { return m_textQualifier; }
90 inline bool TextQualifierHasBeenSet() const { return m_textQualifierHasBeenSet; }
91 inline void SetTextQualifier(TextQualifier value) {
92 m_textQualifierHasBeenSet = true;
93 m_textQualifier = value;
94 }
96 SetTextQualifier(value);
97 return *this;
98 }
100
102
105 inline const Aws::String& GetDelimiter() const { return m_delimiter; }
106 inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; }
107 template <typename DelimiterT = Aws::String>
108 void SetDelimiter(DelimiterT&& value) {
109 m_delimiterHasBeenSet = true;
110 m_delimiter = std::forward<DelimiterT>(value);
111 }
112 template <typename DelimiterT = Aws::String>
113 UploadSettings& WithDelimiter(DelimiterT&& value) {
114 SetDelimiter(std::forward<DelimiterT>(value));
115 return *this;
116 }
118
120
124 inline const Aws::String& GetCustomCellAddressRange() const { return m_customCellAddressRange; }
125 inline bool CustomCellAddressRangeHasBeenSet() const { return m_customCellAddressRangeHasBeenSet; }
126 template <typename CustomCellAddressRangeT = Aws::String>
127 void SetCustomCellAddressRange(CustomCellAddressRangeT&& value) {
128 m_customCellAddressRangeHasBeenSet = true;
129 m_customCellAddressRange = std::forward<CustomCellAddressRangeT>(value);
130 }
131 template <typename CustomCellAddressRangeT = Aws::String>
132 UploadSettings& WithCustomCellAddressRange(CustomCellAddressRangeT&& value) {
133 SetCustomCellAddressRange(std::forward<CustomCellAddressRangeT>(value));
134 return *this;
135 }
137 private:
139
140 int m_startFromRow{0};
141
142 bool m_containsHeader{false};
143
144 TextQualifier m_textQualifier{TextQualifier::NOT_SET};
145
146 Aws::String m_delimiter;
147
148 Aws::String m_customCellAddressRange;
149 bool m_formatHasBeenSet = false;
150 bool m_startFromRowHasBeenSet = false;
151 bool m_containsHeaderHasBeenSet = false;
152 bool m_textQualifierHasBeenSet = false;
153 bool m_delimiterHasBeenSet = false;
154 bool m_customCellAddressRangeHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace QuickSight
159} // 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 & WithCustomCellAddressRange(CustomCellAddressRangeT &&value)
UploadSettings & WithStartFromRow(int value)
AWS_QUICKSIGHT_API UploadSettings()=default
void SetDelimiter(DelimiterT &&value)
AWS_QUICKSIGHT_API UploadSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCustomCellAddressRange(CustomCellAddressRangeT &&value)
const Aws::String & GetDelimiter() const
const Aws::String & GetCustomCellAddressRange() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue