AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
OutputColumn.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/ColumnDataSubType.h>
10#include <aws/quicksight/model/ColumnDataType.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
30 public:
31 AWS_QUICKSIGHT_API OutputColumn() = default;
32 AWS_QUICKSIGHT_API OutputColumn(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API OutputColumn& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 OutputColumn& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template <typename IdT = Aws::String>
61 void SetId(IdT&& value) {
62 m_idHasBeenSet = true;
63 m_id = std::forward<IdT>(value);
64 }
65 template <typename IdT = Aws::String>
66 OutputColumn& WithId(IdT&& value) {
67 SetId(std::forward<IdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
84 OutputColumn& WithDescription(DescriptionT&& value) {
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline ColumnDataType GetType() const { return m_type; }
95 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
96 inline void SetType(ColumnDataType value) {
97 m_typeHasBeenSet = true;
98 m_type = value;
99 }
101 SetType(value);
102 return *this;
103 }
105
107
110 inline ColumnDataSubType GetSubType() const { return m_subType; }
111 inline bool SubTypeHasBeenSet() const { return m_subTypeHasBeenSet; }
112 inline void SetSubType(ColumnDataSubType value) {
113 m_subTypeHasBeenSet = true;
114 m_subType = value;
115 }
117 SetSubType(value);
118 return *this;
119 }
121 private:
122 Aws::String m_name;
123
124 Aws::String m_id;
125
126 Aws::String m_description;
127
129
131 bool m_nameHasBeenSet = false;
132 bool m_idHasBeenSet = false;
133 bool m_descriptionHasBeenSet = false;
134 bool m_typeHasBeenSet = false;
135 bool m_subTypeHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace QuickSight
140} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
void SetSubType(ColumnDataSubType value)
void SetDescription(DescriptionT &&value)
AWS_QUICKSIGHT_API OutputColumn & operator=(Aws::Utils::Json::JsonView jsonValue)
OutputColumn & WithDescription(DescriptionT &&value)
OutputColumn & WithId(IdT &&value)
ColumnDataSubType GetSubType() const
OutputColumn & WithType(ColumnDataType value)
OutputColumn & WithSubType(ColumnDataSubType value)
void SetType(ColumnDataType value)
AWS_QUICKSIGHT_API OutputColumn(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API OutputColumn()=default
OutputColumn & WithName(NameT &&value)
const Aws::String & GetId() const
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue