AWS SDK for C++  1.9.158
AWS SDK for C++
ColumnSchema.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace QuickSight
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetName() const{ return m_name; }
44 
48  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 
53  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 
58  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 
63  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 
68  inline ColumnSchema& WithName(const Aws::String& value) { SetName(value); return *this;}
69 
73  inline ColumnSchema& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 
78  inline ColumnSchema& WithName(const char* value) { SetName(value); return *this;}
79 
80 
84  inline const Aws::String& GetDataType() const{ return m_dataType; }
85 
89  inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
90 
94  inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
95 
99  inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
100 
104  inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
105 
109  inline ColumnSchema& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
110 
114  inline ColumnSchema& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
115 
119  inline ColumnSchema& WithDataType(const char* value) { SetDataType(value); return *this;}
120 
121 
125  inline const Aws::String& GetGeographicRole() const{ return m_geographicRole; }
126 
130  inline bool GeographicRoleHasBeenSet() const { return m_geographicRoleHasBeenSet; }
131 
135  inline void SetGeographicRole(const Aws::String& value) { m_geographicRoleHasBeenSet = true; m_geographicRole = value; }
136 
140  inline void SetGeographicRole(Aws::String&& value) { m_geographicRoleHasBeenSet = true; m_geographicRole = std::move(value); }
141 
145  inline void SetGeographicRole(const char* value) { m_geographicRoleHasBeenSet = true; m_geographicRole.assign(value); }
146 
150  inline ColumnSchema& WithGeographicRole(const Aws::String& value) { SetGeographicRole(value); return *this;}
151 
155  inline ColumnSchema& WithGeographicRole(Aws::String&& value) { SetGeographicRole(std::move(value)); return *this;}
156 
160  inline ColumnSchema& WithGeographicRole(const char* value) { SetGeographicRole(value); return *this;}
161 
162  private:
163 
164  Aws::String m_name;
165  bool m_nameHasBeenSet;
166 
167  Aws::String m_dataType;
168  bool m_dataTypeHasBeenSet;
169 
170  Aws::String m_geographicRole;
171  bool m_geographicRoleHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace QuickSight
176 } // namespace Aws
Aws::QuickSight::Model::ColumnSchema::ColumnSchema
ColumnSchema()
Aws::QuickSight::Model::ColumnSchema::WithGeographicRole
ColumnSchema & WithGeographicRole(const Aws::String &value)
Definition: ColumnSchema.h:150
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ColumnSchema::WithName
ColumnSchema & WithName(const char *value)
Definition: ColumnSchema.h:78
Aws::QuickSight::Model::ColumnSchema::SetDataType
void SetDataType(const char *value)
Definition: ColumnSchema.h:104
Aws::QuickSight::Model::ColumnSchema::WithGeographicRole
ColumnSchema & WithGeographicRole(Aws::String &&value)
Definition: ColumnSchema.h:155
Aws::QuickSight::Model::ColumnSchema::SetName
void SetName(const char *value)
Definition: ColumnSchema.h:63
Aws::QuickSight::Model::ColumnSchema::GetGeographicRole
const Aws::String & GetGeographicRole() const
Definition: ColumnSchema.h:125
Aws::QuickSight::Model::ColumnSchema::GetDataType
const Aws::String & GetDataType() const
Definition: ColumnSchema.h:84
Aws::QuickSight::Model::ColumnSchema
Definition: ColumnSchema.h:32
Aws::QuickSight::Model::ColumnSchema::SetName
void SetName(Aws::String &&value)
Definition: ColumnSchema.h:58
Aws::QuickSight::Model::ColumnSchema::DataTypeHasBeenSet
bool DataTypeHasBeenSet() const
Definition: ColumnSchema.h:89
Aws::QuickSight::Model::ColumnSchema::GetName
const Aws::String & GetName() const
Definition: ColumnSchema.h:43
Aws::QuickSight::Model::ColumnSchema::GeographicRoleHasBeenSet
bool GeographicRoleHasBeenSet() const
Definition: ColumnSchema.h:130
Aws::QuickSight::Model::ColumnSchema::SetGeographicRole
void SetGeographicRole(const Aws::String &value)
Definition: ColumnSchema.h:135
Aws::QuickSight::Model::ColumnSchema::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::ColumnSchema::SetDataType
void SetDataType(Aws::String &&value)
Definition: ColumnSchema.h:99
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::ColumnSchema::WithName
ColumnSchema & WithName(const Aws::String &value)
Definition: ColumnSchema.h:68
Aws::QuickSight::Model::ColumnSchema::WithDataType
ColumnSchema & WithDataType(const char *value)
Definition: ColumnSchema.h:119
Aws::QuickSight::Model::ColumnSchema::WithGeographicRole
ColumnSchema & WithGeographicRole(const char *value)
Definition: ColumnSchema.h:160
Aws::QuickSight::Model::ColumnSchema::SetGeographicRole
void SetGeographicRole(const char *value)
Definition: ColumnSchema.h:145
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::ColumnSchema::WithDataType
ColumnSchema & WithDataType(const Aws::String &value)
Definition: ColumnSchema.h:109
Aws::QuickSight::Model::ColumnSchema::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ColumnSchema.h:48
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ColumnSchema::WithDataType
ColumnSchema & WithDataType(Aws::String &&value)
Definition: ColumnSchema.h:114
Aws::QuickSight::Model::ColumnSchema::ColumnSchema
ColumnSchema(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::ColumnSchema::operator=
ColumnSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::ColumnSchema::SetDataType
void SetDataType(const Aws::String &value)
Definition: ColumnSchema.h:94
Aws::QuickSight::Model::ColumnSchema::WithName
ColumnSchema & WithName(Aws::String &&value)
Definition: ColumnSchema.h:73
Aws::QuickSight::Model::ColumnSchema::SetName
void SetName(const Aws::String &value)
Definition: ColumnSchema.h:53
Aws::QuickSight::Model::ColumnSchema::SetGeographicRole
void SetGeographicRole(Aws::String &&value)
Definition: ColumnSchema.h:140