AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExcludePeriodConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/TimeGranularity.h>
9#include <aws/quicksight/model/WidgetStatus.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 ExcludePeriodConfiguration();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline int GetAmount() const{ return m_amount; }
47 inline bool AmountHasBeenSet() const { return m_amountHasBeenSet; }
48 inline void SetAmount(int value) { m_amountHasBeenSet = true; m_amount = value; }
49 inline ExcludePeriodConfiguration& WithAmount(int value) { SetAmount(value); return *this;}
51
53
56 inline const TimeGranularity& GetGranularity() const{ return m_granularity; }
57 inline bool GranularityHasBeenSet() const { return m_granularityHasBeenSet; }
58 inline void SetGranularity(const TimeGranularity& value) { m_granularityHasBeenSet = true; m_granularity = value; }
59 inline void SetGranularity(TimeGranularity&& value) { m_granularityHasBeenSet = true; m_granularity = std::move(value); }
60 inline ExcludePeriodConfiguration& WithGranularity(const TimeGranularity& value) { SetGranularity(value); return *this;}
61 inline ExcludePeriodConfiguration& WithGranularity(TimeGranularity&& value) { SetGranularity(std::move(value)); return *this;}
63
65
70 inline const WidgetStatus& GetStatus() const{ return m_status; }
71 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
72 inline void SetStatus(const WidgetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
73 inline void SetStatus(WidgetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
74 inline ExcludePeriodConfiguration& WithStatus(const WidgetStatus& value) { SetStatus(value); return *this;}
75 inline ExcludePeriodConfiguration& WithStatus(WidgetStatus&& value) { SetStatus(std::move(value)); return *this;}
77 private:
78
79 int m_amount;
80 bool m_amountHasBeenSet = false;
81
82 TimeGranularity m_granularity;
83 bool m_granularityHasBeenSet = false;
84
85 WidgetStatus m_status;
86 bool m_statusHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace QuickSight
91} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ExcludePeriodConfiguration & WithGranularity(TimeGranularity &&value)
ExcludePeriodConfiguration & WithGranularity(const TimeGranularity &value)
AWS_QUICKSIGHT_API ExcludePeriodConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API ExcludePeriodConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExcludePeriodConfiguration & WithStatus(const WidgetStatus &value)
ExcludePeriodConfiguration & WithStatus(WidgetStatus &&value)
Aws::Utils::Json::JsonValue JsonValue