AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PivotTableFieldCollapseStateOption.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/PivotTableFieldCollapseStateTarget.h>
9#include <aws/quicksight/model/PivotTableFieldCollapseState.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 PivotTableFieldCollapseStateOption() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const PivotTableFieldCollapseStateTarget& GetTarget() const { return m_target; }
47 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
48 template<typename TargetT = PivotTableFieldCollapseStateTarget>
49 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
50 template<typename TargetT = PivotTableFieldCollapseStateTarget>
51 PivotTableFieldCollapseStateOption& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
53
55
60 inline PivotTableFieldCollapseState GetState() const { return m_state; }
61 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
62 inline void SetState(PivotTableFieldCollapseState value) { m_stateHasBeenSet = true; m_state = value; }
65 private:
66
68 bool m_targetHasBeenSet = false;
69
71 bool m_stateHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QuickSight
76} // namespace Aws
PivotTableFieldCollapseStateOption & WithTarget(TargetT &&value)
PivotTableFieldCollapseStateOption & WithState(PivotTableFieldCollapseState value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API PivotTableFieldCollapseStateOption()=default
AWS_QUICKSIGHT_API PivotTableFieldCollapseStateOption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API PivotTableFieldCollapseStateOption(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue