AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComparisonConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ComparisonMethod.h>
9#include <aws/quicksight/model/ComparisonFormatConfiguration.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 ComparisonConfiguration();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const ComparisonMethod& GetComparisonMethod() const{ return m_comparisonMethod; }
50 inline bool ComparisonMethodHasBeenSet() const { return m_comparisonMethodHasBeenSet; }
51 inline void SetComparisonMethod(const ComparisonMethod& value) { m_comparisonMethodHasBeenSet = true; m_comparisonMethod = value; }
52 inline void SetComparisonMethod(ComparisonMethod&& value) { m_comparisonMethodHasBeenSet = true; m_comparisonMethod = std::move(value); }
54 inline ComparisonConfiguration& WithComparisonMethod(ComparisonMethod&& value) { SetComparisonMethod(std::move(value)); return *this;}
56
58
61 inline const ComparisonFormatConfiguration& GetComparisonFormat() const{ return m_comparisonFormat; }
62 inline bool ComparisonFormatHasBeenSet() const { return m_comparisonFormatHasBeenSet; }
63 inline void SetComparisonFormat(const ComparisonFormatConfiguration& value) { m_comparisonFormatHasBeenSet = true; m_comparisonFormat = value; }
64 inline void SetComparisonFormat(ComparisonFormatConfiguration&& value) { m_comparisonFormatHasBeenSet = true; m_comparisonFormat = std::move(value); }
68 private:
69
70 ComparisonMethod m_comparisonMethod;
71 bool m_comparisonMethodHasBeenSet = false;
72
73 ComparisonFormatConfiguration m_comparisonFormat;
74 bool m_comparisonFormatHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
ComparisonConfiguration & WithComparisonFormat(ComparisonFormatConfiguration &&value)
AWS_QUICKSIGHT_API ComparisonConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const ComparisonFormatConfiguration & GetComparisonFormat() const
void SetComparisonMethod(const ComparisonMethod &value)
ComparisonConfiguration & WithComparisonMethod(const ComparisonMethod &value)
ComparisonConfiguration & WithComparisonMethod(ComparisonMethod &&value)
void SetComparisonFormat(ComparisonFormatConfiguration &&value)
void SetComparisonFormat(const ComparisonFormatConfiguration &value)
AWS_QUICKSIGHT_API ComparisonConfiguration(Aws::Utils::Json::JsonView jsonValue)
ComparisonConfiguration & WithComparisonFormat(const ComparisonFormatConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue