AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DateTimeDatasetParameterDefaultValues.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.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
33 {
34 public:
35 AWS_QUICKSIGHT_API DateTimeDatasetParameterDefaultValues() = default;
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<Aws::Utils::DateTime>& GetStaticValues() const { return m_staticValues; }
46 inline bool StaticValuesHasBeenSet() const { return m_staticValuesHasBeenSet; }
47 template<typename StaticValuesT = Aws::Vector<Aws::Utils::DateTime>>
48 void SetStaticValues(StaticValuesT&& value) { m_staticValuesHasBeenSet = true; m_staticValues = std::forward<StaticValuesT>(value); }
49 template<typename StaticValuesT = Aws::Vector<Aws::Utils::DateTime>>
50 DateTimeDatasetParameterDefaultValues& WithStaticValues(StaticValuesT&& value) { SetStaticValues(std::forward<StaticValuesT>(value)); return *this;}
51 template<typename StaticValuesT = Aws::Utils::DateTime>
52 DateTimeDatasetParameterDefaultValues& AddStaticValues(StaticValuesT&& value) { m_staticValuesHasBeenSet = true; m_staticValues.emplace_back(std::forward<StaticValuesT>(value)); return *this; }
54 private:
55
57 bool m_staticValuesHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace QuickSight
62} // namespace Aws
AWS_QUICKSIGHT_API DateTimeDatasetParameterDefaultValues(Aws::Utils::Json::JsonView jsonValue)
DateTimeDatasetParameterDefaultValues & AddStaticValues(StaticValuesT &&value)
DateTimeDatasetParameterDefaultValues & WithStaticValues(StaticValuesT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DateTimeDatasetParameterDefaultValues & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue