AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
TotalAggregationOption.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/TotalAggregationFunction.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
30 public:
31 AWS_QUICKSIGHT_API TotalAggregationOption() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetFieldId() const { return m_fieldId; }
41 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
42 template <typename FieldIdT = Aws::String>
43 void SetFieldId(FieldIdT&& value) {
44 m_fieldIdHasBeenSet = true;
45 m_fieldId = std::forward<FieldIdT>(value);
46 }
47 template <typename FieldIdT = Aws::String>
49 SetFieldId(std::forward<FieldIdT>(value));
50 return *this;
51 }
53
55
59 inline const TotalAggregationFunction& GetTotalAggregationFunction() const { return m_totalAggregationFunction; }
60 inline bool TotalAggregationFunctionHasBeenSet() const { return m_totalAggregationFunctionHasBeenSet; }
61 template <typename TotalAggregationFunctionT = TotalAggregationFunction>
62 void SetTotalAggregationFunction(TotalAggregationFunctionT&& value) {
63 m_totalAggregationFunctionHasBeenSet = true;
64 m_totalAggregationFunction = std::forward<TotalAggregationFunctionT>(value);
65 }
66 template <typename TotalAggregationFunctionT = TotalAggregationFunction>
67 TotalAggregationOption& WithTotalAggregationFunction(TotalAggregationFunctionT&& value) {
68 SetTotalAggregationFunction(std::forward<TotalAggregationFunctionT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_fieldId;
74
75 TotalAggregationFunction m_totalAggregationFunction;
76 bool m_fieldIdHasBeenSet = false;
77 bool m_totalAggregationFunctionHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace QuickSight
82} // namespace Aws
TotalAggregationOption & WithFieldId(FieldIdT &&value)
AWS_QUICKSIGHT_API TotalAggregationOption()=default
void SetTotalAggregationFunction(TotalAggregationFunctionT &&value)
TotalAggregationOption & WithTotalAggregationFunction(TotalAggregationFunctionT &&value)
AWS_QUICKSIGHT_API TotalAggregationOption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API TotalAggregationOption(Aws::Utils::Json::JsonView jsonValue)
const TotalAggregationFunction & GetTotalAggregationFunction() const
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