AWS SDK for C++  1.9.158
AWS SDK for C++
GeoSpatialColumnGroup.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace QuickSight
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetName() const{ return m_name; }
47 
51  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 
56  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 
61  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 
66  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 
71  inline GeoSpatialColumnGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
72 
76  inline GeoSpatialColumnGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 
81  inline GeoSpatialColumnGroup& WithName(const char* value) { SetName(value); return *this;}
82 
83 
87  inline const GeoSpatialCountryCode& GetCountryCode() const{ return m_countryCode; }
88 
92  inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
93 
97  inline void SetCountryCode(const GeoSpatialCountryCode& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; }
98 
102  inline void SetCountryCode(GeoSpatialCountryCode&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); }
103 
107  inline GeoSpatialColumnGroup& WithCountryCode(const GeoSpatialCountryCode& value) { SetCountryCode(value); return *this;}
108 
112  inline GeoSpatialColumnGroup& WithCountryCode(GeoSpatialCountryCode&& value) { SetCountryCode(std::move(value)); return *this;}
113 
114 
118  inline const Aws::Vector<Aws::String>& GetColumns() const{ return m_columns; }
119 
123  inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; }
124 
128  inline void SetColumns(const Aws::Vector<Aws::String>& value) { m_columnsHasBeenSet = true; m_columns = value; }
129 
133  inline void SetColumns(Aws::Vector<Aws::String>&& value) { m_columnsHasBeenSet = true; m_columns = std::move(value); }
134 
138  inline GeoSpatialColumnGroup& WithColumns(const Aws::Vector<Aws::String>& value) { SetColumns(value); return *this;}
139 
143  inline GeoSpatialColumnGroup& WithColumns(Aws::Vector<Aws::String>&& value) { SetColumns(std::move(value)); return *this;}
144 
148  inline GeoSpatialColumnGroup& AddColumns(const Aws::String& value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; }
149 
153  inline GeoSpatialColumnGroup& AddColumns(Aws::String&& value) { m_columnsHasBeenSet = true; m_columns.push_back(std::move(value)); return *this; }
154 
158  inline GeoSpatialColumnGroup& AddColumns(const char* value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; }
159 
160  private:
161 
162  Aws::String m_name;
163  bool m_nameHasBeenSet;
164 
165  GeoSpatialCountryCode m_countryCode;
166  bool m_countryCodeHasBeenSet;
167 
168  Aws::Vector<Aws::String> m_columns;
169  bool m_columnsHasBeenSet;
170  };
171 
172 } // namespace Model
173 } // namespace QuickSight
174 } // namespace Aws
Aws::QuickSight::Model::GeoSpatialColumnGroup::GeoSpatialColumnGroup
GeoSpatialColumnGroup()
Aws::QuickSight::Model::GeoSpatialColumnGroup::GetColumns
const Aws::Vector< Aws::String > & GetColumns() const
Definition: GeoSpatialColumnGroup.h:118
Aws::QuickSight::Model::GeoSpatialCountryCode
GeoSpatialCountryCode
Definition: GeoSpatialCountryCode.h:17
QuickSight_EXPORTS.h
Aws::QuickSight::Model::GeoSpatialColumnGroup::WithName
GeoSpatialColumnGroup & WithName(const char *value)
Definition: GeoSpatialColumnGroup.h:81
Aws::QuickSight::Model::GeoSpatialColumnGroup::WithCountryCode
GeoSpatialColumnGroup & WithCountryCode(GeoSpatialCountryCode &&value)
Definition: GeoSpatialColumnGroup.h:112
Aws::QuickSight::Model::GeoSpatialColumnGroup::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::GeoSpatialColumnGroup
Definition: GeoSpatialColumnGroup.h:35
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
GeoSpatialCountryCode.h
Aws::QuickSight::Model::GeoSpatialColumnGroup::AddColumns
GeoSpatialColumnGroup & AddColumns(const char *value)
Definition: GeoSpatialColumnGroup.h:158
AWSVector.h
Aws::QuickSight::Model::GeoSpatialColumnGroup::SetName
void SetName(const char *value)
Definition: GeoSpatialColumnGroup.h:66
Aws::QuickSight::Model::GeoSpatialColumnGroup::SetColumns
void SetColumns(Aws::Vector< Aws::String > &&value)
Definition: GeoSpatialColumnGroup.h:133
Aws::QuickSight::Model::GeoSpatialColumnGroup::GeoSpatialColumnGroup
GeoSpatialColumnGroup(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::GeoSpatialColumnGroup::AddColumns
GeoSpatialColumnGroup & AddColumns(Aws::String &&value)
Definition: GeoSpatialColumnGroup.h:153
Aws::QuickSight::Model::GeoSpatialColumnGroup::SetColumns
void SetColumns(const Aws::Vector< Aws::String > &value)
Definition: GeoSpatialColumnGroup.h:128
Aws::QuickSight::Model::GeoSpatialColumnGroup::WithColumns
GeoSpatialColumnGroup & WithColumns(Aws::Vector< Aws::String > &&value)
Definition: GeoSpatialColumnGroup.h:143
Aws::QuickSight::Model::GeoSpatialColumnGroup::CountryCodeHasBeenSet
bool CountryCodeHasBeenSet() const
Definition: GeoSpatialColumnGroup.h:92
Aws::QuickSight::Model::GeoSpatialColumnGroup::SetName
void SetName(Aws::String &&value)
Definition: GeoSpatialColumnGroup.h:61
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::QuickSight::Model::GeoSpatialColumnGroup::SetCountryCode
void SetCountryCode(const GeoSpatialCountryCode &value)
Definition: GeoSpatialColumnGroup.h:97
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::GeoSpatialColumnGroup::WithName
GeoSpatialColumnGroup & WithName(Aws::String &&value)
Definition: GeoSpatialColumnGroup.h:76
Aws::QuickSight::Model::GeoSpatialColumnGroup::SetName
void SetName(const Aws::String &value)
Definition: GeoSpatialColumnGroup.h:56
Aws::QuickSight::Model::GeoSpatialColumnGroup::AddColumns
GeoSpatialColumnGroup & AddColumns(const Aws::String &value)
Definition: GeoSpatialColumnGroup.h:148
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws::QuickSight::Model::GeoSpatialColumnGroup::NameHasBeenSet
bool NameHasBeenSet() const
Definition: GeoSpatialColumnGroup.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::GeoSpatialColumnGroup::GetCountryCode
const GeoSpatialCountryCode & GetCountryCode() const
Definition: GeoSpatialColumnGroup.h:87
Aws::QuickSight::Model::GeoSpatialColumnGroup::SetCountryCode
void SetCountryCode(GeoSpatialCountryCode &&value)
Definition: GeoSpatialColumnGroup.h:102
Aws::QuickSight::Model::GeoSpatialColumnGroup::WithColumns
GeoSpatialColumnGroup & WithColumns(const Aws::Vector< Aws::String > &value)
Definition: GeoSpatialColumnGroup.h:138
Aws::QuickSight::Model::GeoSpatialColumnGroup::GetName
const Aws::String & GetName() const
Definition: GeoSpatialColumnGroup.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::GeoSpatialColumnGroup::operator=
GeoSpatialColumnGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::GeoSpatialColumnGroup::WithName
GeoSpatialColumnGroup & WithName(const Aws::String &value)
Definition: GeoSpatialColumnGroup.h:71
Aws::QuickSight::Model::GeoSpatialColumnGroup::ColumnsHasBeenSet
bool ColumnsHasBeenSet() const
Definition: GeoSpatialColumnGroup.h:123
Aws::QuickSight::Model::GeoSpatialColumnGroup::WithCountryCode
GeoSpatialColumnGroup & WithCountryCode(const GeoSpatialCountryCode &value)
Definition: GeoSpatialColumnGroup.h:107