AWS SDK for C++

AWS SDK for C++ Version 1.11.817

Loading...
Searching...
No Matches
SharedColumnSemanticMetadata.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/ColumnSemanticProperty.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 SharedColumnSemanticMetadata() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<Aws::String>& GetColumnNames() const { return m_columnNames; }
42 inline bool ColumnNamesHasBeenSet() const { return m_columnNamesHasBeenSet; }
43 template <typename ColumnNamesT = Aws::Vector<Aws::String>>
44 void SetColumnNames(ColumnNamesT&& value) {
45 m_columnNamesHasBeenSet = true;
46 m_columnNames = std::forward<ColumnNamesT>(value);
47 }
48 template <typename ColumnNamesT = Aws::Vector<Aws::String>>
50 SetColumnNames(std::forward<ColumnNamesT>(value));
51 return *this;
52 }
53 template <typename ColumnNamesT = Aws::String>
55 m_columnNamesHasBeenSet = true;
56 m_columnNames.emplace_back(std::forward<ColumnNamesT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::Vector<ColumnSemanticProperty>& GetColumnProperties() const { return m_columnProperties; }
66 inline bool ColumnPropertiesHasBeenSet() const { return m_columnPropertiesHasBeenSet; }
67 template <typename ColumnPropertiesT = Aws::Vector<ColumnSemanticProperty>>
68 void SetColumnProperties(ColumnPropertiesT&& value) {
69 m_columnPropertiesHasBeenSet = true;
70 m_columnProperties = std::forward<ColumnPropertiesT>(value);
71 }
72 template <typename ColumnPropertiesT = Aws::Vector<ColumnSemanticProperty>>
74 SetColumnProperties(std::forward<ColumnPropertiesT>(value));
75 return *this;
76 }
77 template <typename ColumnPropertiesT = ColumnSemanticProperty>
79 m_columnPropertiesHasBeenSet = true;
80 m_columnProperties.emplace_back(std::forward<ColumnPropertiesT>(value));
81 return *this;
82 }
84 private:
85 Aws::Vector<Aws::String> m_columnNames;
86
87 Aws::Vector<ColumnSemanticProperty> m_columnProperties;
88 bool m_columnNamesHasBeenSet = false;
89 bool m_columnPropertiesHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace QuickSight
94} // namespace Aws
SharedColumnSemanticMetadata & WithColumnProperties(ColumnPropertiesT &&value)
const Aws::Vector< ColumnSemanticProperty > & GetColumnProperties() const
SharedColumnSemanticMetadata & AddColumnProperties(ColumnPropertiesT &&value)
const Aws::Vector< Aws::String > & GetColumnNames() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API SharedColumnSemanticMetadata(Aws::Utils::Json::JsonView jsonValue)
SharedColumnSemanticMetadata & WithColumnNames(ColumnNamesT &&value)
SharedColumnSemanticMetadata & AddColumnNames(ColumnNamesT &&value)
AWS_QUICKSIGHT_API SharedColumnSemanticMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API SharedColumnSemanticMetadata()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue