AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ColumnSchema.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
28 public:
29 AWS_QUICKSIGHT_API ColumnSchema() = default;
30 AWS_QUICKSIGHT_API ColumnSchema(Aws::Utils::Json::JsonView jsonValue);
31 AWS_QUICKSIGHT_API ColumnSchema& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
46 ColumnSchema& WithName(NameT&& value) {
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDataType() const { return m_dataType; }
57 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
58 template <typename DataTypeT = Aws::String>
59 void SetDataType(DataTypeT&& value) {
60 m_dataTypeHasBeenSet = true;
61 m_dataType = std::forward<DataTypeT>(value);
62 }
63 template <typename DataTypeT = Aws::String>
64 ColumnSchema& WithDataType(DataTypeT&& value) {
65 SetDataType(std::forward<DataTypeT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetGeographicRole() const { return m_geographicRole; }
75 inline bool GeographicRoleHasBeenSet() const { return m_geographicRoleHasBeenSet; }
76 template <typename GeographicRoleT = Aws::String>
77 void SetGeographicRole(GeographicRoleT&& value) {
78 m_geographicRoleHasBeenSet = true;
79 m_geographicRole = std::forward<GeographicRoleT>(value);
80 }
81 template <typename GeographicRoleT = Aws::String>
82 ColumnSchema& WithGeographicRole(GeographicRoleT&& value) {
83 SetGeographicRole(std::forward<GeographicRoleT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_name;
89
90 Aws::String m_dataType;
91
92 Aws::String m_geographicRole;
93 bool m_nameHasBeenSet = false;
94 bool m_dataTypeHasBeenSet = false;
95 bool m_geographicRoleHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace QuickSight
100} // namespace Aws
const Aws::String & GetDataType() const
ColumnSchema & WithGeographicRole(GeographicRoleT &&value)
ColumnSchema & WithDataType(DataTypeT &&value)
void SetGeographicRole(GeographicRoleT &&value)
AWS_QUICKSIGHT_API ColumnSchema()=default
void SetDataType(DataTypeT &&value)
ColumnSchema & WithName(NameT &&value)
const Aws::String & GetGeographicRole() const
AWS_QUICKSIGHT_API ColumnSchema(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ColumnSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue