AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WhatIfRangeScenario.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_QUICKSIGHT_API WhatIfRangeScenario();
36 AWS_QUICKSIGHT_API WhatIfRangeScenario(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
46 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
47 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
48 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
49 inline WhatIfRangeScenario& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
50 inline WhatIfRangeScenario& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetEndDate() const{ return m_endDate; }
58 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
59 inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDateHasBeenSet = true; m_endDate = value; }
60 inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); }
61 inline WhatIfRangeScenario& WithEndDate(const Aws::Utils::DateTime& value) { SetEndDate(value); return *this;}
62 inline WhatIfRangeScenario& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(value)); return *this;}
64
66
69 inline double GetValue() const{ return m_value; }
70 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
71 inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
72 inline WhatIfRangeScenario& WithValue(double value) { SetValue(value); return *this;}
74 private:
75
76 Aws::Utils::DateTime m_startDate;
77 bool m_startDateHasBeenSet = false;
78
79 Aws::Utils::DateTime m_endDate;
80 bool m_endDateHasBeenSet = false;
81
82 double m_value;
83 bool m_valueHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace QuickSight
88} // namespace Aws
void SetStartDate(Aws::Utils::DateTime &&value)
AWS_QUICKSIGHT_API WhatIfRangeScenario & operator=(Aws::Utils::Json::JsonView jsonValue)
WhatIfRangeScenario & WithEndDate(Aws::Utils::DateTime &&value)
void SetEndDate(Aws::Utils::DateTime &&value)
void SetStartDate(const Aws::Utils::DateTime &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndDate(const Aws::Utils::DateTime &value)
WhatIfRangeScenario & WithValue(double value)
const Aws::Utils::DateTime & GetEndDate() const
WhatIfRangeScenario & WithStartDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartDate() const
AWS_QUICKSIGHT_API WhatIfRangeScenario(Aws::Utils::Json::JsonView jsonValue)
WhatIfRangeScenario & WithEndDate(const Aws::Utils::DateTime &value)
WhatIfRangeScenario & WithStartDate(Aws::Utils::DateTime &&value)
Aws::Utils::Json::JsonValue JsonValue