AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
CellValueSynonym.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API CellValueSynonym() = default;
32 AWS_QUICKSIGHT_API CellValueSynonym(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetCellValue() const { return m_cellValue; }
41 inline bool CellValueHasBeenSet() const { return m_cellValueHasBeenSet; }
42 template <typename CellValueT = Aws::String>
43 void SetCellValue(CellValueT&& value) {
44 m_cellValueHasBeenSet = true;
45 m_cellValue = std::forward<CellValueT>(value);
46 }
47 template <typename CellValueT = Aws::String>
48 CellValueSynonym& WithCellValue(CellValueT&& value) {
49 SetCellValue(std::forward<CellValueT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<Aws::String>& GetSynonyms() const { return m_synonyms; }
59 inline bool SynonymsHasBeenSet() const { return m_synonymsHasBeenSet; }
60 template <typename SynonymsT = Aws::Vector<Aws::String>>
61 void SetSynonyms(SynonymsT&& value) {
62 m_synonymsHasBeenSet = true;
63 m_synonyms = std::forward<SynonymsT>(value);
64 }
65 template <typename SynonymsT = Aws::Vector<Aws::String>>
66 CellValueSynonym& WithSynonyms(SynonymsT&& value) {
67 SetSynonyms(std::forward<SynonymsT>(value));
68 return *this;
69 }
70 template <typename SynonymsT = Aws::String>
71 CellValueSynonym& AddSynonyms(SynonymsT&& value) {
72 m_synonymsHasBeenSet = true;
73 m_synonyms.emplace_back(std::forward<SynonymsT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_cellValue;
79
80 Aws::Vector<Aws::String> m_synonyms;
81 bool m_cellValueHasBeenSet = false;
82 bool m_synonymsHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace QuickSight
87} // namespace Aws
const Aws::Vector< Aws::String > & GetSynonyms() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API CellValueSynonym(Aws::Utils::Json::JsonView jsonValue)
CellValueSynonym & WithCellValue(CellValueT &&value)
const Aws::String & GetCellValue() const
CellValueSynonym & AddSynonyms(SynonymsT &&value)
AWS_QUICKSIGHT_API CellValueSynonym()=default
AWS_QUICKSIGHT_API CellValueSynonym & operator=(Aws::Utils::Json::JsonView jsonValue)
CellValueSynonym & WithSynonyms(SynonymsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue