AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExcelOptions.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GlueDataBrew
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_GLUEDATABREW_API ExcelOptions();
38 AWS_GLUEDATABREW_API ExcelOptions(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLUEDATABREW_API ExcelOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<Aws::String>& GetSheetNames() const{ return m_sheetNames; }
49 inline bool SheetNamesHasBeenSet() const { return m_sheetNamesHasBeenSet; }
50 inline void SetSheetNames(const Aws::Vector<Aws::String>& value) { m_sheetNamesHasBeenSet = true; m_sheetNames = value; }
51 inline void SetSheetNames(Aws::Vector<Aws::String>&& value) { m_sheetNamesHasBeenSet = true; m_sheetNames = std::move(value); }
52 inline ExcelOptions& WithSheetNames(const Aws::Vector<Aws::String>& value) { SetSheetNames(value); return *this;}
53 inline ExcelOptions& WithSheetNames(Aws::Vector<Aws::String>&& value) { SetSheetNames(std::move(value)); return *this;}
54 inline ExcelOptions& AddSheetNames(const Aws::String& value) { m_sheetNamesHasBeenSet = true; m_sheetNames.push_back(value); return *this; }
55 inline ExcelOptions& AddSheetNames(Aws::String&& value) { m_sheetNamesHasBeenSet = true; m_sheetNames.push_back(std::move(value)); return *this; }
56 inline ExcelOptions& AddSheetNames(const char* value) { m_sheetNamesHasBeenSet = true; m_sheetNames.push_back(value); return *this; }
58
60
64 inline const Aws::Vector<int>& GetSheetIndexes() const{ return m_sheetIndexes; }
65 inline bool SheetIndexesHasBeenSet() const { return m_sheetIndexesHasBeenSet; }
66 inline void SetSheetIndexes(const Aws::Vector<int>& value) { m_sheetIndexesHasBeenSet = true; m_sheetIndexes = value; }
67 inline void SetSheetIndexes(Aws::Vector<int>&& value) { m_sheetIndexesHasBeenSet = true; m_sheetIndexes = std::move(value); }
68 inline ExcelOptions& WithSheetIndexes(const Aws::Vector<int>& value) { SetSheetIndexes(value); return *this;}
69 inline ExcelOptions& WithSheetIndexes(Aws::Vector<int>&& value) { SetSheetIndexes(std::move(value)); return *this;}
70 inline ExcelOptions& AddSheetIndexes(int value) { m_sheetIndexesHasBeenSet = true; m_sheetIndexes.push_back(value); return *this; }
72
74
78 inline bool GetHeaderRow() const{ return m_headerRow; }
79 inline bool HeaderRowHasBeenSet() const { return m_headerRowHasBeenSet; }
80 inline void SetHeaderRow(bool value) { m_headerRowHasBeenSet = true; m_headerRow = value; }
81 inline ExcelOptions& WithHeaderRow(bool value) { SetHeaderRow(value); return *this;}
83 private:
84
85 Aws::Vector<Aws::String> m_sheetNames;
86 bool m_sheetNamesHasBeenSet = false;
87
88 Aws::Vector<int> m_sheetIndexes;
89 bool m_sheetIndexesHasBeenSet = false;
90
91 bool m_headerRow;
92 bool m_headerRowHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace GlueDataBrew
97} // namespace Aws
const Aws::Vector< int > & GetSheetIndexes() const
ExcelOptions & AddSheetNames(Aws::String &&value)
ExcelOptions & WithHeaderRow(bool value)
ExcelOptions & WithSheetIndexes(const Aws::Vector< int > &value)
const Aws::Vector< Aws::String > & GetSheetNames() const
ExcelOptions & WithSheetNames(Aws::Vector< Aws::String > &&value)
AWS_GLUEDATABREW_API ExcelOptions(Aws::Utils::Json::JsonView jsonValue)
ExcelOptions & AddSheetIndexes(int value)
void SetSheetNames(const Aws::Vector< Aws::String > &value)
void SetSheetNames(Aws::Vector< Aws::String > &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
ExcelOptions & WithSheetIndexes(Aws::Vector< int > &&value)
AWS_GLUEDATABREW_API ExcelOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
ExcelOptions & AddSheetNames(const char *value)
void SetSheetIndexes(Aws::Vector< int > &&value)
ExcelOptions & AddSheetNames(const Aws::String &value)
ExcelOptions & WithSheetNames(const Aws::Vector< Aws::String > &value)
void SetSheetIndexes(const Aws::Vector< int > &value)
AWS_GLUEDATABREW_API ExcelOptions()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue