AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
DateTimeFormatConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/NullValueFormatConfiguration.h>
10#include <aws/quicksight/model/NumericFormatConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API DateTimeFormatConfiguration() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetDateTimeFormat() const { return m_dateTimeFormat; }
42 inline bool DateTimeFormatHasBeenSet() const { return m_dateTimeFormatHasBeenSet; }
43 template <typename DateTimeFormatT = Aws::String>
44 void SetDateTimeFormat(DateTimeFormatT&& value) {
45 m_dateTimeFormatHasBeenSet = true;
46 m_dateTimeFormat = std::forward<DateTimeFormatT>(value);
47 }
48 template <typename DateTimeFormatT = Aws::String>
50 SetDateTimeFormat(std::forward<DateTimeFormatT>(value));
51 return *this;
52 }
54
56
59 inline const NullValueFormatConfiguration& GetNullValueFormatConfiguration() const { return m_nullValueFormatConfiguration; }
60 inline bool NullValueFormatConfigurationHasBeenSet() const { return m_nullValueFormatConfigurationHasBeenSet; }
61 template <typename NullValueFormatConfigurationT = NullValueFormatConfiguration>
62 void SetNullValueFormatConfiguration(NullValueFormatConfigurationT&& value) {
63 m_nullValueFormatConfigurationHasBeenSet = true;
64 m_nullValueFormatConfiguration = std::forward<NullValueFormatConfigurationT>(value);
65 }
66 template <typename NullValueFormatConfigurationT = NullValueFormatConfiguration>
67 DateTimeFormatConfiguration& WithNullValueFormatConfiguration(NullValueFormatConfigurationT&& value) {
68 SetNullValueFormatConfiguration(std::forward<NullValueFormatConfigurationT>(value));
69 return *this;
70 }
72
74
77 inline const NumericFormatConfiguration& GetNumericFormatConfiguration() const { return m_numericFormatConfiguration; }
78 inline bool NumericFormatConfigurationHasBeenSet() const { return m_numericFormatConfigurationHasBeenSet; }
79 template <typename NumericFormatConfigurationT = NumericFormatConfiguration>
80 void SetNumericFormatConfiguration(NumericFormatConfigurationT&& value) {
81 m_numericFormatConfigurationHasBeenSet = true;
82 m_numericFormatConfiguration = std::forward<NumericFormatConfigurationT>(value);
83 }
84 template <typename NumericFormatConfigurationT = NumericFormatConfiguration>
85 DateTimeFormatConfiguration& WithNumericFormatConfiguration(NumericFormatConfigurationT&& value) {
86 SetNumericFormatConfiguration(std::forward<NumericFormatConfigurationT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_dateTimeFormat;
92
93 NullValueFormatConfiguration m_nullValueFormatConfiguration;
94
95 NumericFormatConfiguration m_numericFormatConfiguration;
96 bool m_dateTimeFormatHasBeenSet = false;
97 bool m_nullValueFormatConfigurationHasBeenSet = false;
98 bool m_numericFormatConfigurationHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace QuickSight
103} // namespace Aws
DateTimeFormatConfiguration & WithNullValueFormatConfiguration(NullValueFormatConfigurationT &&value)
AWS_QUICKSIGHT_API DateTimeFormatConfiguration()=default
const NumericFormatConfiguration & GetNumericFormatConfiguration() const
void SetNumericFormatConfiguration(NumericFormatConfigurationT &&value)
const NullValueFormatConfiguration & GetNullValueFormatConfiguration() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DateTimeFormatConfiguration(Aws::Utils::Json::JsonView jsonValue)
DateTimeFormatConfiguration & WithDateTimeFormat(DateTimeFormatT &&value)
AWS_QUICKSIGHT_API DateTimeFormatConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DateTimeFormatConfiguration & WithNumericFormatConfiguration(NumericFormatConfigurationT &&value)
void SetNullValueFormatConfiguration(NullValueFormatConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue