AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Timezone.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace Neptune
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_NEPTUNE_API Timezone();
35 AWS_NEPTUNE_API Timezone(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_NEPTUNE_API Timezone& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetTimezoneName() const{ return m_timezoneName; }
47 inline bool TimezoneNameHasBeenSet() const { return m_timezoneNameHasBeenSet; }
48 inline void SetTimezoneName(const Aws::String& value) { m_timezoneNameHasBeenSet = true; m_timezoneName = value; }
49 inline void SetTimezoneName(Aws::String&& value) { m_timezoneNameHasBeenSet = true; m_timezoneName = std::move(value); }
50 inline void SetTimezoneName(const char* value) { m_timezoneNameHasBeenSet = true; m_timezoneName.assign(value); }
51 inline Timezone& WithTimezoneName(const Aws::String& value) { SetTimezoneName(value); return *this;}
52 inline Timezone& WithTimezoneName(Aws::String&& value) { SetTimezoneName(std::move(value)); return *this;}
53 inline Timezone& WithTimezoneName(const char* value) { SetTimezoneName(value); return *this;}
55 private:
56
57 Aws::String m_timezoneName;
58 bool m_timezoneNameHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Neptune
63} // namespace Aws
Timezone & WithTimezoneName(Aws::String &&value)
Definition Timezone.h:52
AWS_NEPTUNE_API Timezone(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTimezoneName(Aws::String &&value)
Definition Timezone.h:49
Timezone & WithTimezoneName(const char *value)
Definition Timezone.h:53
const Aws::String & GetTimezoneName() const
Definition Timezone.h:46
void SetTimezoneName(const char *value)
Definition Timezone.h:50
bool TimezoneNameHasBeenSet() const
Definition Timezone.h:47
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)
void SetTimezoneName(const Aws::String &value)
Definition Timezone.h:48
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Timezone & WithTimezoneName(const Aws::String &value)
Definition Timezone.h:51
AWS_NEPTUNE_API Timezone()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream