AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TableFieldOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/model/TablePinnedFieldOptions.h>
10#include <aws/quicksight/model/TableFieldOption.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API TableFieldOptions();
38 AWS_QUICKSIGHT_API TableFieldOptions(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<TableFieldOption>& GetSelectedFieldOptions() const{ return m_selectedFieldOptions; }
48 inline bool SelectedFieldOptionsHasBeenSet() const { return m_selectedFieldOptionsHasBeenSet; }
49 inline void SetSelectedFieldOptions(const Aws::Vector<TableFieldOption>& value) { m_selectedFieldOptionsHasBeenSet = true; m_selectedFieldOptions = value; }
50 inline void SetSelectedFieldOptions(Aws::Vector<TableFieldOption>&& value) { m_selectedFieldOptionsHasBeenSet = true; m_selectedFieldOptions = std::move(value); }
53 inline TableFieldOptions& AddSelectedFieldOptions(const TableFieldOption& value) { m_selectedFieldOptionsHasBeenSet = true; m_selectedFieldOptions.push_back(value); return *this; }
54 inline TableFieldOptions& AddSelectedFieldOptions(TableFieldOption&& value) { m_selectedFieldOptionsHasBeenSet = true; m_selectedFieldOptions.push_back(std::move(value)); return *this; }
56
58
62 inline const Aws::Vector<Aws::String>& GetOrder() const{ return m_order; }
63 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
64 inline void SetOrder(const Aws::Vector<Aws::String>& value) { m_orderHasBeenSet = true; m_order = value; }
65 inline void SetOrder(Aws::Vector<Aws::String>&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
66 inline TableFieldOptions& WithOrder(const Aws::Vector<Aws::String>& value) { SetOrder(value); return *this;}
67 inline TableFieldOptions& WithOrder(Aws::Vector<Aws::String>&& value) { SetOrder(std::move(value)); return *this;}
68 inline TableFieldOptions& AddOrder(const Aws::String& value) { m_orderHasBeenSet = true; m_order.push_back(value); return *this; }
69 inline TableFieldOptions& AddOrder(Aws::String&& value) { m_orderHasBeenSet = true; m_order.push_back(std::move(value)); return *this; }
70 inline TableFieldOptions& AddOrder(const char* value) { m_orderHasBeenSet = true; m_order.push_back(value); return *this; }
72
74
77 inline const TablePinnedFieldOptions& GetPinnedFieldOptions() const{ return m_pinnedFieldOptions; }
78 inline bool PinnedFieldOptionsHasBeenSet() const { return m_pinnedFieldOptionsHasBeenSet; }
79 inline void SetPinnedFieldOptions(const TablePinnedFieldOptions& value) { m_pinnedFieldOptionsHasBeenSet = true; m_pinnedFieldOptions = value; }
80 inline void SetPinnedFieldOptions(TablePinnedFieldOptions&& value) { m_pinnedFieldOptionsHasBeenSet = true; m_pinnedFieldOptions = std::move(value); }
84 private:
85
86 Aws::Vector<TableFieldOption> m_selectedFieldOptions;
87 bool m_selectedFieldOptionsHasBeenSet = false;
88
90 bool m_orderHasBeenSet = false;
91
92 TablePinnedFieldOptions m_pinnedFieldOptions;
93 bool m_pinnedFieldOptionsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace QuickSight
98} // namespace Aws
TableFieldOptions & AddSelectedFieldOptions(TableFieldOption &&value)
TableFieldOptions & WithSelectedFieldOptions(Aws::Vector< TableFieldOption > &&value)
void SetPinnedFieldOptions(const TablePinnedFieldOptions &value)
TableFieldOptions & WithPinnedFieldOptions(TablePinnedFieldOptions &&value)
void SetOrder(const Aws::Vector< Aws::String > &value)
void SetSelectedFieldOptions(const Aws::Vector< TableFieldOption > &value)
const TablePinnedFieldOptions & GetPinnedFieldOptions() const
const Aws::Vector< Aws::String > & GetOrder() const
void SetSelectedFieldOptions(Aws::Vector< TableFieldOption > &&value)
void SetOrder(Aws::Vector< Aws::String > &&value)
void SetPinnedFieldOptions(TablePinnedFieldOptions &&value)
TableFieldOptions & AddOrder(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TableFieldOptions & WithOrder(Aws::Vector< Aws::String > &&value)
AWS_QUICKSIGHT_API TableFieldOptions(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TableFieldOption > & GetSelectedFieldOptions() const
TableFieldOptions & WithPinnedFieldOptions(const TablePinnedFieldOptions &value)
TableFieldOptions & WithSelectedFieldOptions(const Aws::Vector< TableFieldOption > &value)
TableFieldOptions & AddOrder(const Aws::String &value)
TableFieldOptions & AddOrder(Aws::String &&value)
AWS_QUICKSIGHT_API TableFieldOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
TableFieldOptions & WithOrder(const Aws::Vector< Aws::String > &value)
TableFieldOptions & AddSelectedFieldOptions(const TableFieldOption &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue