AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UniqueValuesComputation.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/DimensionField.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
33 {
34 public:
35 AWS_QUICKSIGHT_API UniqueValuesComputation();
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetComputationId() const{ return m_computationId; }
46 inline bool ComputationIdHasBeenSet() const { return m_computationIdHasBeenSet; }
47 inline void SetComputationId(const Aws::String& value) { m_computationIdHasBeenSet = true; m_computationId = value; }
48 inline void SetComputationId(Aws::String&& value) { m_computationIdHasBeenSet = true; m_computationId = std::move(value); }
49 inline void SetComputationId(const char* value) { m_computationIdHasBeenSet = true; m_computationId.assign(value); }
50 inline UniqueValuesComputation& WithComputationId(const Aws::String& value) { SetComputationId(value); return *this;}
51 inline UniqueValuesComputation& WithComputationId(Aws::String&& value) { SetComputationId(std::move(value)); return *this;}
52 inline UniqueValuesComputation& WithComputationId(const char* value) { SetComputationId(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline UniqueValuesComputation& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline UniqueValuesComputation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline UniqueValuesComputation& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const DimensionField& GetCategory() const{ return m_category; }
74 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
75 inline void SetCategory(const DimensionField& value) { m_categoryHasBeenSet = true; m_category = value; }
76 inline void SetCategory(DimensionField&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
77 inline UniqueValuesComputation& WithCategory(const DimensionField& value) { SetCategory(value); return *this;}
78 inline UniqueValuesComputation& WithCategory(DimensionField&& value) { SetCategory(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_computationId;
83 bool m_computationIdHasBeenSet = false;
84
85 Aws::String m_name;
86 bool m_nameHasBeenSet = false;
87
88 DimensionField m_category;
89 bool m_categoryHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace QuickSight
94} // namespace Aws
UniqueValuesComputation & WithComputationId(const Aws::String &value)
UniqueValuesComputation & WithName(Aws::String &&value)
UniqueValuesComputation & WithComputationId(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
UniqueValuesComputation & WithName(const char *value)
AWS_QUICKSIGHT_API UniqueValuesComputation(Aws::Utils::Json::JsonView jsonValue)
UniqueValuesComputation & WithCategory(DimensionField &&value)
UniqueValuesComputation & WithComputationId(const char *value)
AWS_QUICKSIGHT_API UniqueValuesComputation & operator=(Aws::Utils::Json::JsonView jsonValue)
UniqueValuesComputation & WithName(const Aws::String &value)
UniqueValuesComputation & WithCategory(const DimensionField &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue