AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
UniqueValuesComputation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/DimensionField.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
29 public:
30 AWS_QUICKSIGHT_API UniqueValuesComputation() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetComputationId() const { return m_computationId; }
40 inline bool ComputationIdHasBeenSet() const { return m_computationIdHasBeenSet; }
41 template <typename ComputationIdT = Aws::String>
42 void SetComputationId(ComputationIdT&& value) {
43 m_computationIdHasBeenSet = true;
44 m_computationId = std::forward<ComputationIdT>(value);
45 }
46 template <typename ComputationIdT = Aws::String>
47 UniqueValuesComputation& WithComputationId(ComputationIdT&& value) {
48 SetComputationId(std::forward<ComputationIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline const DimensionField& GetCategory() const { return m_category; }
76 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
77 template <typename CategoryT = DimensionField>
78 void SetCategory(CategoryT&& value) {
79 m_categoryHasBeenSet = true;
80 m_category = std::forward<CategoryT>(value);
81 }
82 template <typename CategoryT = DimensionField>
84 SetCategory(std::forward<CategoryT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_computationId;
90
91 Aws::String m_name;
92
93 DimensionField m_category;
94 bool m_computationIdHasBeenSet = false;
95 bool m_nameHasBeenSet = false;
96 bool m_categoryHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace QuickSight
101} // namespace Aws
UniqueValuesComputation & WithCategory(CategoryT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API UniqueValuesComputation(Aws::Utils::Json::JsonView jsonValue)
UniqueValuesComputation & WithComputationId(ComputationIdT &&value)
AWS_QUICKSIGHT_API UniqueValuesComputation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API UniqueValuesComputation()=default
UniqueValuesComputation & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue