AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDateTimeFormat(const Aws::String& value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat = value; }
50 inline void SetDateTimeFormat(Aws::String&& value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat = std::move(value); }
51 inline void SetDateTimeFormat(const char* value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat.assign(value); }
52 inline DateTimeFormatConfiguration& WithDateTimeFormat(const Aws::String& value) { SetDateTimeFormat(value); return *this;}
53 inline DateTimeFormatConfiguration& WithDateTimeFormat(Aws::String&& value) { SetDateTimeFormat(std::move(value)); return *this;}
54 inline DateTimeFormatConfiguration& WithDateTimeFormat(const char* value) { SetDateTimeFormat(value); return *this;}
56
58
61 inline const NullValueFormatConfiguration& GetNullValueFormatConfiguration() const{ return m_nullValueFormatConfiguration; }
62 inline bool NullValueFormatConfigurationHasBeenSet() const { return m_nullValueFormatConfigurationHasBeenSet; }
63 inline void SetNullValueFormatConfiguration(const NullValueFormatConfiguration& value) { m_nullValueFormatConfigurationHasBeenSet = true; m_nullValueFormatConfiguration = value; }
64 inline void SetNullValueFormatConfiguration(NullValueFormatConfiguration&& value) { m_nullValueFormatConfigurationHasBeenSet = true; m_nullValueFormatConfiguration = std::move(value); }
68
70
73 inline const NumericFormatConfiguration& GetNumericFormatConfiguration() const{ return m_numericFormatConfiguration; }
74 inline bool NumericFormatConfigurationHasBeenSet() const { return m_numericFormatConfigurationHasBeenSet; }
75 inline void SetNumericFormatConfiguration(const NumericFormatConfiguration& value) { m_numericFormatConfigurationHasBeenSet = true; m_numericFormatConfiguration = value; }
76 inline void SetNumericFormatConfiguration(NumericFormatConfiguration&& value) { m_numericFormatConfigurationHasBeenSet = true; m_numericFormatConfiguration = std::move(value); }
80 private:
81
82 Aws::String m_dateTimeFormat;
83 bool m_dateTimeFormatHasBeenSet = false;
84
85 NullValueFormatConfiguration m_nullValueFormatConfiguration;
86 bool m_nullValueFormatConfigurationHasBeenSet = false;
87
88 NumericFormatConfiguration m_numericFormatConfiguration;
89 bool m_numericFormatConfigurationHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace QuickSight
94} // namespace Aws
void SetNumericFormatConfiguration(NumericFormatConfiguration &&value)
DateTimeFormatConfiguration & WithDateTimeFormat(const char *value)
DateTimeFormatConfiguration & WithNullValueFormatConfiguration(const NullValueFormatConfiguration &value)
const NumericFormatConfiguration & GetNumericFormatConfiguration() const
DateTimeFormatConfiguration & WithNumericFormatConfiguration(const NumericFormatConfiguration &value)
void SetNullValueFormatConfiguration(const NullValueFormatConfiguration &value)
DateTimeFormatConfiguration & WithDateTimeFormat(const Aws::String &value)
const NullValueFormatConfiguration & GetNullValueFormatConfiguration() const
void SetNumericFormatConfiguration(const NumericFormatConfiguration &value)
DateTimeFormatConfiguration & WithDateTimeFormat(Aws::String &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DateTimeFormatConfiguration(Aws::Utils::Json::JsonView jsonValue)
DateTimeFormatConfiguration & WithNullValueFormatConfiguration(NullValueFormatConfiguration &&value)
AWS_QUICKSIGHT_API DateTimeFormatConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNullValueFormatConfiguration(NullValueFormatConfiguration &&value)
DateTimeFormatConfiguration & WithNumericFormatConfiguration(NumericFormatConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue