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/rds/RDS_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 RDS
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_RDS_API Timezone();
38 AWS_RDS_API Timezone(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_RDS_API Timezone& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetTimezoneName() const{ return m_timezoneName; }
50 inline bool TimezoneNameHasBeenSet() const { return m_timezoneNameHasBeenSet; }
51 inline void SetTimezoneName(const Aws::String& value) { m_timezoneNameHasBeenSet = true; m_timezoneName = value; }
52 inline void SetTimezoneName(Aws::String&& value) { m_timezoneNameHasBeenSet = true; m_timezoneName = std::move(value); }
53 inline void SetTimezoneName(const char* value) { m_timezoneNameHasBeenSet = true; m_timezoneName.assign(value); }
54 inline Timezone& WithTimezoneName(const Aws::String& value) { SetTimezoneName(value); return *this;}
55 inline Timezone& WithTimezoneName(Aws::String&& value) { SetTimezoneName(std::move(value)); return *this;}
56 inline Timezone& WithTimezoneName(const char* value) { SetTimezoneName(value); return *this;}
58 private:
59
60 Aws::String m_timezoneName;
61 bool m_timezoneNameHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace RDS
66} // namespace Aws
AWS_RDS_API Timezone & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTimezoneName(const char *value)
Definition Timezone.h:53
Timezone & WithTimezoneName(const char *value)
Definition Timezone.h:56
const Aws::String & GetTimezoneName() const
Definition Timezone.h:49
void SetTimezoneName(Aws::String &&value)
Definition Timezone.h:52
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTimezoneName(const Aws::String &value)
Definition Timezone.h:51
AWS_RDS_API Timezone(const Aws::Utils::Xml::XmlNode &xmlNode)
Timezone & WithTimezoneName(const Aws::String &value)
Definition Timezone.h:54
bool TimezoneNameHasBeenSet() const
Definition Timezone.h:50
Timezone & WithTimezoneName(Aws::String &&value)
Definition Timezone.h:55
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream