AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TotalAggregationOption.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/TotalAggregationFunction.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 TotalAggregationOption();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetFieldId() const{ return m_fieldId; }
47 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
48 inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; }
49 inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); }
50 inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); }
51 inline TotalAggregationOption& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;}
52 inline TotalAggregationOption& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;}
53 inline TotalAggregationOption& WithFieldId(const char* value) { SetFieldId(value); return *this;}
55
57
61 inline const TotalAggregationFunction& GetTotalAggregationFunction() const{ return m_totalAggregationFunction; }
62 inline bool TotalAggregationFunctionHasBeenSet() const { return m_totalAggregationFunctionHasBeenSet; }
63 inline void SetTotalAggregationFunction(const TotalAggregationFunction& value) { m_totalAggregationFunctionHasBeenSet = true; m_totalAggregationFunction = value; }
64 inline void SetTotalAggregationFunction(TotalAggregationFunction&& value) { m_totalAggregationFunctionHasBeenSet = true; m_totalAggregationFunction = std::move(value); }
68 private:
69
70 Aws::String m_fieldId;
71 bool m_fieldIdHasBeenSet = false;
72
73 TotalAggregationFunction m_totalAggregationFunction;
74 bool m_totalAggregationFunctionHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
void SetTotalAggregationFunction(TotalAggregationFunction &&value)
TotalAggregationOption & WithTotalAggregationFunction(const TotalAggregationFunction &value)
TotalAggregationOption & WithTotalAggregationFunction(TotalAggregationFunction &&value)
AWS_QUICKSIGHT_API TotalAggregationOption & operator=(Aws::Utils::Json::JsonView jsonValue)
TotalAggregationOption & WithFieldId(const Aws::String &value)
AWS_QUICKSIGHT_API TotalAggregationOption(Aws::Utils::Json::JsonView jsonValue)
const TotalAggregationFunction & GetTotalAggregationFunction() const
TotalAggregationOption & WithFieldId(const char *value)
TotalAggregationOption & WithFieldId(Aws::String &&value)
void SetTotalAggregationFunction(const TotalAggregationFunction &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue