AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DateTimeFormatConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/NullValueFormatConfiguration.h>
10#include <aws/quicksight/model/NumericFormatConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API DateTimeFormatConfiguration() = default;
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDateTimeFormat() const { return m_dateTimeFormat; }
48 inline bool DateTimeFormatHasBeenSet() const { return m_dateTimeFormatHasBeenSet; }
49 template<typename DateTimeFormatT = Aws::String>
50 void SetDateTimeFormat(DateTimeFormatT&& value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat = std::forward<DateTimeFormatT>(value); }
51 template<typename DateTimeFormatT = Aws::String>
52 DateTimeFormatConfiguration& WithDateTimeFormat(DateTimeFormatT&& value) { SetDateTimeFormat(std::forward<DateTimeFormatT>(value)); return *this;}
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) { m_nullValueFormatConfigurationHasBeenSet = true; m_nullValueFormatConfiguration = std::forward<NullValueFormatConfigurationT>(value); }
63 template<typename NullValueFormatConfigurationT = NullValueFormatConfiguration>
64 DateTimeFormatConfiguration& WithNullValueFormatConfiguration(NullValueFormatConfigurationT&& value) { SetNullValueFormatConfiguration(std::forward<NullValueFormatConfigurationT>(value)); return *this;}
66
68
71 inline const NumericFormatConfiguration& GetNumericFormatConfiguration() const { return m_numericFormatConfiguration; }
72 inline bool NumericFormatConfigurationHasBeenSet() const { return m_numericFormatConfigurationHasBeenSet; }
73 template<typename NumericFormatConfigurationT = NumericFormatConfiguration>
74 void SetNumericFormatConfiguration(NumericFormatConfigurationT&& value) { m_numericFormatConfigurationHasBeenSet = true; m_numericFormatConfiguration = std::forward<NumericFormatConfigurationT>(value); }
75 template<typename NumericFormatConfigurationT = NumericFormatConfiguration>
76 DateTimeFormatConfiguration& WithNumericFormatConfiguration(NumericFormatConfigurationT&& value) { SetNumericFormatConfiguration(std::forward<NumericFormatConfigurationT>(value)); return *this;}
78 private:
79
80 Aws::String m_dateTimeFormat;
81 bool m_dateTimeFormatHasBeenSet = false;
82
83 NullValueFormatConfiguration m_nullValueFormatConfiguration;
84 bool m_nullValueFormatConfigurationHasBeenSet = false;
85
86 NumericFormatConfiguration m_numericFormatConfiguration;
87 bool m_numericFormatConfigurationHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace QuickSight
92} // 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