AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline ColumnSchema& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline ColumnSchema& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline ColumnSchema& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::String& GetDataType() const{ return m_dataType; }
59 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
60 inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
61 inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
62 inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
63 inline ColumnSchema& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
64 inline ColumnSchema& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
65 inline ColumnSchema& WithDataType(const char* value) { SetDataType(value); return *this;}
67
69
72 inline const Aws::String& GetGeographicRole() const{ return m_geographicRole; }
73 inline bool GeographicRoleHasBeenSet() const { return m_geographicRoleHasBeenSet; }
74 inline void SetGeographicRole(const Aws::String& value) { m_geographicRoleHasBeenSet = true; m_geographicRole = value; }
75 inline void SetGeographicRole(Aws::String&& value) { m_geographicRoleHasBeenSet = true; m_geographicRole = std::move(value); }
76 inline void SetGeographicRole(const char* value) { m_geographicRoleHasBeenSet = true; m_geographicRole.assign(value); }
77 inline ColumnSchema& WithGeographicRole(const Aws::String& value) { SetGeographicRole(value); return *this;}
78 inline ColumnSchema& WithGeographicRole(Aws::String&& value) { SetGeographicRole(std::move(value)); return *this;}
79 inline ColumnSchema& WithGeographicRole(const char* value) { SetGeographicRole(value); return *this;}
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 Aws::String m_dataType;
87 bool m_dataTypeHasBeenSet = false;
88
89 Aws::String m_geographicRole;
90 bool m_geographicRoleHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace QuickSight
95} // namespace Aws
ColumnSchema & WithGeographicRole(const char *value)
const Aws::String & GetDataType() const
ColumnSchema & WithDataType(Aws::String &&value)
void SetName(Aws::String &&value)
void SetDataType(const char *value)
ColumnSchema & WithDataType(const char *value)
void SetDataType(const Aws::String &value)
void SetDataType(Aws::String &&value)
ColumnSchema & WithName(const Aws::String &value)
const Aws::String & GetGeographicRole() const
ColumnSchema & WithDataType(const Aws::String &value)
void SetGeographicRole(const char *value)
void SetGeographicRole(Aws::String &&value)
ColumnSchema & WithGeographicRole(const Aws::String &value)
AWS_QUICKSIGHT_API ColumnSchema(Aws::Utils::Json::JsonView jsonValue)
void SetGeographicRole(const Aws::String &value)
void SetName(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ColumnSchema & WithName(Aws::String &&value)
ColumnSchema & WithName(const char *value)
void SetName(const Aws::String &value)
AWS_QUICKSIGHT_API ColumnSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
ColumnSchema & WithGeographicRole(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue