AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ColumnSchema.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_QUICKSIGHT_API ColumnSchema() = default;
35 AWS_QUICKSIGHT_API ColumnSchema(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API ColumnSchema& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetName() const { return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 template<typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
48 template<typename NameT = Aws::String>
49 ColumnSchema& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_dataTypeHasBeenSet = true; m_dataType = std::forward<DataTypeT>(value); }
60 template<typename DataTypeT = Aws::String>
61 ColumnSchema& WithDataType(DataTypeT&& value) { SetDataType(std::forward<DataTypeT>(value)); return *this;}
63
65
68 inline const Aws::String& GetGeographicRole() const { return m_geographicRole; }
69 inline bool GeographicRoleHasBeenSet() const { return m_geographicRoleHasBeenSet; }
70 template<typename GeographicRoleT = Aws::String>
71 void SetGeographicRole(GeographicRoleT&& value) { m_geographicRoleHasBeenSet = true; m_geographicRole = std::forward<GeographicRoleT>(value); }
72 template<typename GeographicRoleT = Aws::String>
73 ColumnSchema& WithGeographicRole(GeographicRoleT&& value) { SetGeographicRole(std::forward<GeographicRoleT>(value)); return *this;}
75 private:
76
77 Aws::String m_name;
78 bool m_nameHasBeenSet = false;
79
80 Aws::String m_dataType;
81 bool m_dataTypeHasBeenSet = false;
82
83 Aws::String m_geographicRole;
84 bool m_geographicRoleHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace QuickSight
89} // 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