AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WhatIfPointScenario.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 WhatIfPointScenario();
36 AWS_QUICKSIGHT_API WhatIfPointScenario(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetDate() const{ return m_date; }
46 inline bool DateHasBeenSet() const { return m_dateHasBeenSet; }
47 inline void SetDate(const Aws::Utils::DateTime& value) { m_dateHasBeenSet = true; m_date = value; }
48 inline void SetDate(Aws::Utils::DateTime&& value) { m_dateHasBeenSet = true; m_date = std::move(value); }
49 inline WhatIfPointScenario& WithDate(const Aws::Utils::DateTime& value) { SetDate(value); return *this;}
50 inline WhatIfPointScenario& WithDate(Aws::Utils::DateTime&& value) { SetDate(std::move(value)); return *this;}
52
54
57 inline double GetValue() const{ return m_value; }
58 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
59 inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
60 inline WhatIfPointScenario& WithValue(double value) { SetValue(value); return *this;}
62 private:
63
65 bool m_dateHasBeenSet = false;
66
67 double m_value;
68 bool m_valueHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace QuickSight
73} // namespace Aws
void SetDate(Aws::Utils::DateTime &&value)
void SetDate(const Aws::Utils::DateTime &value)
WhatIfPointScenario & WithDate(Aws::Utils::DateTime &&value)
WhatIfPointScenario & WithValue(double value)
const Aws::Utils::DateTime & GetDate() const
WhatIfPointScenario & WithDate(const Aws::Utils::DateTime &value)
AWS_QUICKSIGHT_API WhatIfPointScenario(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API WhatIfPointScenario & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue