AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatetimeOptions.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GlueDataBrew
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_GLUEDATABREW_API DatetimeOptions();
37 AWS_GLUEDATABREW_API DatetimeOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GLUEDATABREW_API DatetimeOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetFormat() const{ return m_format; }
50 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
51 inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; }
52 inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
53 inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); }
54 inline DatetimeOptions& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
55 inline DatetimeOptions& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
56 inline DatetimeOptions& WithFormat(const char* value) { SetFormat(value); return *this;}
58
60
65 inline const Aws::String& GetTimezoneOffset() const{ return m_timezoneOffset; }
66 inline bool TimezoneOffsetHasBeenSet() const { return m_timezoneOffsetHasBeenSet; }
67 inline void SetTimezoneOffset(const Aws::String& value) { m_timezoneOffsetHasBeenSet = true; m_timezoneOffset = value; }
68 inline void SetTimezoneOffset(Aws::String&& value) { m_timezoneOffsetHasBeenSet = true; m_timezoneOffset = std::move(value); }
69 inline void SetTimezoneOffset(const char* value) { m_timezoneOffsetHasBeenSet = true; m_timezoneOffset.assign(value); }
70 inline DatetimeOptions& WithTimezoneOffset(const Aws::String& value) { SetTimezoneOffset(value); return *this;}
71 inline DatetimeOptions& WithTimezoneOffset(Aws::String&& value) { SetTimezoneOffset(std::move(value)); return *this;}
72 inline DatetimeOptions& WithTimezoneOffset(const char* value) { SetTimezoneOffset(value); return *this;}
74
76
80 inline const Aws::String& GetLocaleCode() const{ return m_localeCode; }
81 inline bool LocaleCodeHasBeenSet() const { return m_localeCodeHasBeenSet; }
82 inline void SetLocaleCode(const Aws::String& value) { m_localeCodeHasBeenSet = true; m_localeCode = value; }
83 inline void SetLocaleCode(Aws::String&& value) { m_localeCodeHasBeenSet = true; m_localeCode = std::move(value); }
84 inline void SetLocaleCode(const char* value) { m_localeCodeHasBeenSet = true; m_localeCode.assign(value); }
85 inline DatetimeOptions& WithLocaleCode(const Aws::String& value) { SetLocaleCode(value); return *this;}
86 inline DatetimeOptions& WithLocaleCode(Aws::String&& value) { SetLocaleCode(std::move(value)); return *this;}
87 inline DatetimeOptions& WithLocaleCode(const char* value) { SetLocaleCode(value); return *this;}
89 private:
90
91 Aws::String m_format;
92 bool m_formatHasBeenSet = false;
93
94 Aws::String m_timezoneOffset;
95 bool m_timezoneOffsetHasBeenSet = false;
96
97 Aws::String m_localeCode;
98 bool m_localeCodeHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace GlueDataBrew
103} // namespace Aws
void SetTimezoneOffset(const Aws::String &value)
void SetFormat(const Aws::String &value)
DatetimeOptions & WithTimezoneOffset(const Aws::String &value)
DatetimeOptions & WithLocaleCode(const char *value)
void SetLocaleCode(const Aws::String &value)
DatetimeOptions & WithLocaleCode(Aws::String &&value)
const Aws::String & GetFormat() const
AWS_GLUEDATABREW_API DatetimeOptions(Aws::Utils::Json::JsonView jsonValue)
DatetimeOptions & WithFormat(Aws::String &&value)
DatetimeOptions & WithTimezoneOffset(Aws::String &&value)
DatetimeOptions & WithFormat(const char *value)
AWS_GLUEDATABREW_API DatetimeOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
DatetimeOptions & WithTimezoneOffset(const char *value)
DatetimeOptions & WithFormat(const Aws::String &value)
const Aws::String & GetLocaleCode() const
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
DatetimeOptions & WithLocaleCode(const Aws::String &value)
const Aws::String & GetTimezoneOffset() const
void SetTimezoneOffset(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue