AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Timezone.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptune/Neptune_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace Neptune {
20namespace Model {
21
27class Timezone {
28 public:
29 AWS_NEPTUNE_API Timezone() = default;
30 AWS_NEPTUNE_API Timezone(const Aws::Utils::Xml::XmlNode& xmlNode);
31 AWS_NEPTUNE_API Timezone& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
37
40 inline const Aws::String& GetTimezoneName() const { return m_timezoneName; }
41 inline bool TimezoneNameHasBeenSet() const { return m_timezoneNameHasBeenSet; }
42 template <typename TimezoneNameT = Aws::String>
43 void SetTimezoneName(TimezoneNameT&& value) {
44 m_timezoneNameHasBeenSet = true;
45 m_timezoneName = std::forward<TimezoneNameT>(value);
46 }
47 template <typename TimezoneNameT = Aws::String>
48 Timezone& WithTimezoneName(TimezoneNameT&& value) {
49 SetTimezoneName(std::forward<TimezoneNameT>(value));
50 return *this;
51 }
53 private:
54 Aws::String m_timezoneName;
55 bool m_timezoneNameHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace Neptune
60} // namespace Aws
AWS_NEPTUNE_API Timezone(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTimezoneName(TimezoneNameT &&value)
Definition Timezone.h:43
const Aws::String & GetTimezoneName() const
Definition Timezone.h:40
bool TimezoneNameHasBeenSet() const
Definition Timezone.h:41
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_NEPTUNE_API Timezone & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Timezone & WithTimezoneName(TimezoneNameT &&value)
Definition Timezone.h:48
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_NEPTUNE_API Timezone()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream