AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DateTimeValueWhenUnsetConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ValueWhenUnsetOption.h>
9#include <aws/core/utils/DateTime.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 DateTimeValueWhenUnsetConfiguration() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline ValueWhenUnsetOption GetValueWhenUnsetOption() const { return m_valueWhenUnsetOption; }
50 inline bool ValueWhenUnsetOptionHasBeenSet() const { return m_valueWhenUnsetOptionHasBeenSet; }
51 inline void SetValueWhenUnsetOption(ValueWhenUnsetOption value) { m_valueWhenUnsetOptionHasBeenSet = true; m_valueWhenUnsetOption = value; }
54
56
59 inline const Aws::Utils::DateTime& GetCustomValue() const { return m_customValue; }
60 inline bool CustomValueHasBeenSet() const { return m_customValueHasBeenSet; }
61 template<typename CustomValueT = Aws::Utils::DateTime>
62 void SetCustomValue(CustomValueT&& value) { m_customValueHasBeenSet = true; m_customValue = std::forward<CustomValueT>(value); }
63 template<typename CustomValueT = Aws::Utils::DateTime>
64 DateTimeValueWhenUnsetConfiguration& WithCustomValue(CustomValueT&& value) { SetCustomValue(std::forward<CustomValueT>(value)); return *this;}
66 private:
67
69 bool m_valueWhenUnsetOptionHasBeenSet = false;
70
71 Aws::Utils::DateTime m_customValue{};
72 bool m_customValueHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace QuickSight
77} // namespace Aws
DateTimeValueWhenUnsetConfiguration & WithValueWhenUnsetOption(ValueWhenUnsetOption value)
AWS_QUICKSIGHT_API DateTimeValueWhenUnsetConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API DateTimeValueWhenUnsetConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DateTimeValueWhenUnsetConfiguration()=default
DateTimeValueWhenUnsetConfiguration & WithCustomValue(CustomValueT &&value)
Aws::Utils::Json::JsonValue JsonValue