AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
TransposedTableOption.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/TransposedColumnType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
29 public:
30 AWS_QUICKSIGHT_API TransposedTableOption() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline int GetColumnIndex() const { return m_columnIndex; }
40 inline bool ColumnIndexHasBeenSet() const { return m_columnIndexHasBeenSet; }
41 inline void SetColumnIndex(int value) {
42 m_columnIndexHasBeenSet = true;
43 m_columnIndex = value;
44 }
46 SetColumnIndex(value);
47 return *this;
48 }
50
52
55 inline const Aws::String& GetColumnWidth() const { return m_columnWidth; }
56 inline bool ColumnWidthHasBeenSet() const { return m_columnWidthHasBeenSet; }
57 template <typename ColumnWidthT = Aws::String>
58 void SetColumnWidth(ColumnWidthT&& value) {
59 m_columnWidthHasBeenSet = true;
60 m_columnWidth = std::forward<ColumnWidthT>(value);
61 }
62 template <typename ColumnWidthT = Aws::String>
63 TransposedTableOption& WithColumnWidth(ColumnWidthT&& value) {
64 SetColumnWidth(std::forward<ColumnWidthT>(value));
65 return *this;
66 }
68
70
77 inline TransposedColumnType GetColumnType() const { return m_columnType; }
78 inline bool ColumnTypeHasBeenSet() const { return m_columnTypeHasBeenSet; }
80 m_columnTypeHasBeenSet = true;
81 m_columnType = value;
82 }
84 SetColumnType(value);
85 return *this;
86 }
88 private:
89 int m_columnIndex{0};
90
91 Aws::String m_columnWidth;
92
94 bool m_columnIndexHasBeenSet = false;
95 bool m_columnWidthHasBeenSet = false;
96 bool m_columnTypeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace QuickSight
101} // namespace Aws
TransposedTableOption & WithColumnWidth(ColumnWidthT &&value)
AWS_QUICKSIGHT_API TransposedTableOption(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API TransposedTableOption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API TransposedTableOption()=default
TransposedTableOption & WithColumnType(TransposedColumnType value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TransposedTableOption & WithColumnIndex(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue