AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CellValueSynonym.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API CellValueSynonym();
37 AWS_QUICKSIGHT_API CellValueSynonym(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetCellValue() const{ return m_cellValue; }
47 inline bool CellValueHasBeenSet() const { return m_cellValueHasBeenSet; }
48 inline void SetCellValue(const Aws::String& value) { m_cellValueHasBeenSet = true; m_cellValue = value; }
49 inline void SetCellValue(Aws::String&& value) { m_cellValueHasBeenSet = true; m_cellValue = std::move(value); }
50 inline void SetCellValue(const char* value) { m_cellValueHasBeenSet = true; m_cellValue.assign(value); }
51 inline CellValueSynonym& WithCellValue(const Aws::String& value) { SetCellValue(value); return *this;}
52 inline CellValueSynonym& WithCellValue(Aws::String&& value) { SetCellValue(std::move(value)); return *this;}
53 inline CellValueSynonym& WithCellValue(const char* value) { SetCellValue(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetSynonyms() const{ return m_synonyms; }
61 inline bool SynonymsHasBeenSet() const { return m_synonymsHasBeenSet; }
62 inline void SetSynonyms(const Aws::Vector<Aws::String>& value) { m_synonymsHasBeenSet = true; m_synonyms = value; }
63 inline void SetSynonyms(Aws::Vector<Aws::String>&& value) { m_synonymsHasBeenSet = true; m_synonyms = std::move(value); }
64 inline CellValueSynonym& WithSynonyms(const Aws::Vector<Aws::String>& value) { SetSynonyms(value); return *this;}
65 inline CellValueSynonym& WithSynonyms(Aws::Vector<Aws::String>&& value) { SetSynonyms(std::move(value)); return *this;}
66 inline CellValueSynonym& AddSynonyms(const Aws::String& value) { m_synonymsHasBeenSet = true; m_synonyms.push_back(value); return *this; }
67 inline CellValueSynonym& AddSynonyms(Aws::String&& value) { m_synonymsHasBeenSet = true; m_synonyms.push_back(std::move(value)); return *this; }
68 inline CellValueSynonym& AddSynonyms(const char* value) { m_synonymsHasBeenSet = true; m_synonyms.push_back(value); return *this; }
70 private:
71
72 Aws::String m_cellValue;
73 bool m_cellValueHasBeenSet = false;
74
75 Aws::Vector<Aws::String> m_synonyms;
76 bool m_synonymsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
void SetCellValue(const Aws::String &value)
CellValueSynonym & WithSynonyms(Aws::Vector< Aws::String > &&value)
void SetSynonyms(Aws::Vector< Aws::String > &&value)
CellValueSynonym & AddSynonyms(const char *value)
CellValueSynonym & AddSynonyms(Aws::String &&value)
void SetSynonyms(const Aws::Vector< Aws::String > &value)
CellValueSynonym & WithCellValue(Aws::String &&value)
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)
const Aws::String & GetCellValue() const
CellValueSynonym & WithCellValue(const char *value)
AWS_QUICKSIGHT_API CellValueSynonym & operator=(Aws::Utils::Json::JsonView jsonValue)
CellValueSynonym & WithSynonyms(const Aws::Vector< Aws::String > &value)
CellValueSynonym & AddSynonyms(const Aws::String &value)
CellValueSynonym & WithCellValue(const Aws::String &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