AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
GeoSpatialColumnGroup.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/GeoSpatialCountryCode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API GeoSpatialColumnGroup() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline GeoSpatialCountryCode GetCountryCode() const { return m_countryCode; }
60 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
62 m_countryCodeHasBeenSet = true;
63 m_countryCode = value;
64 }
66 SetCountryCode(value);
67 return *this;
68 }
70
72
75 inline const Aws::Vector<Aws::String>& GetColumns() const { return m_columns; }
76 inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; }
77 template <typename ColumnsT = Aws::Vector<Aws::String>>
78 void SetColumns(ColumnsT&& value) {
79 m_columnsHasBeenSet = true;
80 m_columns = std::forward<ColumnsT>(value);
81 }
82 template <typename ColumnsT = Aws::Vector<Aws::String>>
84 SetColumns(std::forward<ColumnsT>(value));
85 return *this;
86 }
87 template <typename ColumnsT = Aws::String>
88 GeoSpatialColumnGroup& AddColumns(ColumnsT&& value) {
89 m_columnsHasBeenSet = true;
90 m_columns.emplace_back(std::forward<ColumnsT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_name;
96
98
100 bool m_nameHasBeenSet = false;
101 bool m_countryCodeHasBeenSet = false;
102 bool m_columnsHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace QuickSight
107} // namespace Aws
const Aws::Vector< Aws::String > & GetColumns() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API GeoSpatialColumnGroup()=default
GeoSpatialColumnGroup & WithCountryCode(GeoSpatialCountryCode value)
GeoSpatialColumnGroup & WithName(NameT &&value)
void SetCountryCode(GeoSpatialCountryCode value)
GeoSpatialColumnGroup & WithColumns(ColumnsT &&value)
GeoSpatialColumnGroup & AddColumns(ColumnsT &&value)
AWS_QUICKSIGHT_API GeoSpatialColumnGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API GeoSpatialColumnGroup(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue