AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetTarget(const PivotTableFieldCollapseStateTarget& value) { m_targetHasBeenSet = true; m_target = value; }
49 inline void SetTarget(PivotTableFieldCollapseStateTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
53
55
60 inline const PivotTableFieldCollapseState& GetState() const{ return m_state; }
61 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
62 inline void SetState(const PivotTableFieldCollapseState& value) { m_stateHasBeenSet = true; m_state = value; }
63 inline void SetState(PivotTableFieldCollapseState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
65 inline PivotTableFieldCollapseStateOption& WithState(PivotTableFieldCollapseState&& value) { SetState(std::move(value)); return *this;}
67 private:
68
70 bool m_targetHasBeenSet = false;
71
73 bool m_stateHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QuickSight
78} // namespace Aws
PivotTableFieldCollapseStateOption & WithState(PivotTableFieldCollapseState &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
PivotTableFieldCollapseStateOption & WithTarget(PivotTableFieldCollapseStateTarget &&value)
AWS_QUICKSIGHT_API PivotTableFieldCollapseStateOption & operator=(Aws::Utils::Json::JsonView jsonValue)
PivotTableFieldCollapseStateOption & WithTarget(const PivotTableFieldCollapseStateTarget &value)
AWS_QUICKSIGHT_API PivotTableFieldCollapseStateOption(Aws::Utils::Json::JsonView jsonValue)
void SetTarget(const PivotTableFieldCollapseStateTarget &value)
PivotTableFieldCollapseStateOption & WithState(const PivotTableFieldCollapseState &value)
Aws::Utils::Json::JsonValue JsonValue