AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const FileFormat& GetFormat() const{ return m_format; }
48 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
49 inline void SetFormat(const FileFormat& value) { m_formatHasBeenSet = true; m_format = value; }
50 inline void SetFormat(FileFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
51 inline UploadSettings& WithFormat(const FileFormat& value) { SetFormat(value); return *this;}
52 inline UploadSettings& WithFormat(FileFormat&& value) { SetFormat(std::move(value)); return *this;}
54
56
59 inline int GetStartFromRow() const{ return m_startFromRow; }
60 inline bool StartFromRowHasBeenSet() const { return m_startFromRowHasBeenSet; }
61 inline void SetStartFromRow(int value) { m_startFromRowHasBeenSet = true; m_startFromRow = value; }
62 inline UploadSettings& WithStartFromRow(int value) { SetStartFromRow(value); return *this;}
64
66
69 inline bool GetContainsHeader() const{ return m_containsHeader; }
70 inline bool ContainsHeaderHasBeenSet() const { return m_containsHeaderHasBeenSet; }
71 inline void SetContainsHeader(bool value) { m_containsHeaderHasBeenSet = true; m_containsHeader = value; }
72 inline UploadSettings& WithContainsHeader(bool value) { SetContainsHeader(value); return *this;}
74
76
79 inline const TextQualifier& GetTextQualifier() const{ return m_textQualifier; }
80 inline bool TextQualifierHasBeenSet() const { return m_textQualifierHasBeenSet; }
81 inline void SetTextQualifier(const TextQualifier& value) { m_textQualifierHasBeenSet = true; m_textQualifier = value; }
82 inline void SetTextQualifier(TextQualifier&& value) { m_textQualifierHasBeenSet = true; m_textQualifier = std::move(value); }
83 inline UploadSettings& WithTextQualifier(const TextQualifier& value) { SetTextQualifier(value); return *this;}
84 inline UploadSettings& WithTextQualifier(TextQualifier&& value) { SetTextQualifier(std::move(value)); return *this;}
86
88
91 inline const Aws::String& GetDelimiter() const{ return m_delimiter; }
92 inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; }
93 inline void SetDelimiter(const Aws::String& value) { m_delimiterHasBeenSet = true; m_delimiter = value; }
94 inline void SetDelimiter(Aws::String&& value) { m_delimiterHasBeenSet = true; m_delimiter = std::move(value); }
95 inline void SetDelimiter(const char* value) { m_delimiterHasBeenSet = true; m_delimiter.assign(value); }
96 inline UploadSettings& WithDelimiter(const Aws::String& value) { SetDelimiter(value); return *this;}
97 inline UploadSettings& WithDelimiter(Aws::String&& value) { SetDelimiter(std::move(value)); return *this;}
98 inline UploadSettings& WithDelimiter(const char* value) { SetDelimiter(value); return *this;}
100 private:
101
102 FileFormat m_format;
103 bool m_formatHasBeenSet = false;
104
105 int m_startFromRow;
106 bool m_startFromRowHasBeenSet = false;
107
108 bool m_containsHeader;
109 bool m_containsHeaderHasBeenSet = false;
110
111 TextQualifier m_textQualifier;
112 bool m_textQualifierHasBeenSet = false;
113
114 Aws::String m_delimiter;
115 bool m_delimiterHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace QuickSight
120} // namespace Aws
UploadSettings & WithDelimiter(Aws::String &&value)
AWS_QUICKSIGHT_API UploadSettings(Aws::Utils::Json::JsonView jsonValue)
UploadSettings & WithContainsHeader(bool value)
const TextQualifier & GetTextQualifier() const
UploadSettings & WithDelimiter(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDelimiter(Aws::String &&value)
UploadSettings & WithStartFromRow(int value)
UploadSettings & WithTextQualifier(const TextQualifier &value)
void SetFormat(const FileFormat &value)
UploadSettings & WithFormat(FileFormat &&value)
UploadSettings & WithFormat(const FileFormat &value)
void SetTextQualifier(TextQualifier &&value)
void SetDelimiter(const Aws::String &value)
void SetTextQualifier(const TextQualifier &value)
AWS_QUICKSIGHT_API UploadSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDelimiter() const
const FileFormat & GetFormat() const
UploadSettings & WithDelimiter(const Aws::String &value)
UploadSettings & WithTextQualifier(TextQualifier &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue