AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DateTimeDefaultValues.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/DynamicDefaultValue.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/RollingDateConfiguration.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QUICKSIGHT_API DateTimeDefaultValues();
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const DynamicDefaultValue& GetDynamicValue() const{ return m_dynamicValue; }
50 inline bool DynamicValueHasBeenSet() const { return m_dynamicValueHasBeenSet; }
51 inline void SetDynamicValue(const DynamicDefaultValue& value) { m_dynamicValueHasBeenSet = true; m_dynamicValue = value; }
52 inline void SetDynamicValue(DynamicDefaultValue&& value) { m_dynamicValueHasBeenSet = true; m_dynamicValue = std::move(value); }
53 inline DateTimeDefaultValues& WithDynamicValue(const DynamicDefaultValue& value) { SetDynamicValue(value); return *this;}
54 inline DateTimeDefaultValues& WithDynamicValue(DynamicDefaultValue&& value) { SetDynamicValue(std::move(value)); return *this;}
56
58
61 inline const Aws::Vector<Aws::Utils::DateTime>& GetStaticValues() const{ return m_staticValues; }
62 inline bool StaticValuesHasBeenSet() const { return m_staticValuesHasBeenSet; }
63 inline void SetStaticValues(const Aws::Vector<Aws::Utils::DateTime>& value) { m_staticValuesHasBeenSet = true; m_staticValues = value; }
64 inline void SetStaticValues(Aws::Vector<Aws::Utils::DateTime>&& value) { m_staticValuesHasBeenSet = true; m_staticValues = std::move(value); }
67 inline DateTimeDefaultValues& AddStaticValues(const Aws::Utils::DateTime& value) { m_staticValuesHasBeenSet = true; m_staticValues.push_back(value); return *this; }
68 inline DateTimeDefaultValues& AddStaticValues(Aws::Utils::DateTime&& value) { m_staticValuesHasBeenSet = true; m_staticValues.push_back(std::move(value)); return *this; }
70
72
76 inline const RollingDateConfiguration& GetRollingDate() const{ return m_rollingDate; }
77 inline bool RollingDateHasBeenSet() const { return m_rollingDateHasBeenSet; }
78 inline void SetRollingDate(const RollingDateConfiguration& value) { m_rollingDateHasBeenSet = true; m_rollingDate = value; }
79 inline void SetRollingDate(RollingDateConfiguration&& value) { m_rollingDateHasBeenSet = true; m_rollingDate = std::move(value); }
81 inline DateTimeDefaultValues& WithRollingDate(RollingDateConfiguration&& value) { SetRollingDate(std::move(value)); return *this;}
83 private:
84
85 DynamicDefaultValue m_dynamicValue;
86 bool m_dynamicValueHasBeenSet = false;
87
89 bool m_staticValuesHasBeenSet = false;
90
91 RollingDateConfiguration m_rollingDate;
92 bool m_rollingDateHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace QuickSight
97} // namespace Aws
void SetDynamicValue(DynamicDefaultValue &&value)
AWS_QUICKSIGHT_API DateTimeDefaultValues(Aws::Utils::Json::JsonView jsonValue)
void SetRollingDate(const RollingDateConfiguration &value)
void SetDynamicValue(const DynamicDefaultValue &value)
DateTimeDefaultValues & AddStaticValues(Aws::Utils::DateTime &&value)
DateTimeDefaultValues & WithDynamicValue(DynamicDefaultValue &&value)
const RollingDateConfiguration & GetRollingDate() const
void SetStaticValues(Aws::Vector< Aws::Utils::DateTime > &&value)
DateTimeDefaultValues & WithRollingDate(RollingDateConfiguration &&value)
void SetStaticValues(const Aws::Vector< Aws::Utils::DateTime > &value)
const DynamicDefaultValue & GetDynamicValue() const
DateTimeDefaultValues & WithDynamicValue(const DynamicDefaultValue &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::Utils::DateTime > & GetStaticValues() const
DateTimeDefaultValues & WithStaticValues(Aws::Vector< Aws::Utils::DateTime > &&value)
AWS_QUICKSIGHT_API DateTimeDefaultValues & operator=(Aws::Utils::Json::JsonView jsonValue)
DateTimeDefaultValues & AddStaticValues(const Aws::Utils::DateTime &value)
DateTimeDefaultValues & WithRollingDate(const RollingDateConfiguration &value)
DateTimeDefaultValues & WithStaticValues(const Aws::Vector< Aws::Utils::DateTime > &value)
void SetRollingDate(RollingDateConfiguration &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue