AWS SDK for C++  1.9.108
AWS SDK for C++
Timezone.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace RDS
22 {
23 namespace Model
24 {
25 
35  {
36  public:
40 
41  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42  void OutputToStream(Aws::OStream& oStream, const char* location) const;
43 
44 
48  inline const Aws::String& GetTimezoneName() const{ return m_timezoneName; }
49 
53  inline bool TimezoneNameHasBeenSet() const { return m_timezoneNameHasBeenSet; }
54 
58  inline void SetTimezoneName(const Aws::String& value) { m_timezoneNameHasBeenSet = true; m_timezoneName = value; }
59 
63  inline void SetTimezoneName(Aws::String&& value) { m_timezoneNameHasBeenSet = true; m_timezoneName = std::move(value); }
64 
68  inline void SetTimezoneName(const char* value) { m_timezoneNameHasBeenSet = true; m_timezoneName.assign(value); }
69 
73  inline Timezone& WithTimezoneName(const Aws::String& value) { SetTimezoneName(value); return *this;}
74 
78  inline Timezone& WithTimezoneName(Aws::String&& value) { SetTimezoneName(std::move(value)); return *this;}
79 
83  inline Timezone& WithTimezoneName(const char* value) { SetTimezoneName(value); return *this;}
84 
85  private:
86 
87  Aws::String m_timezoneName;
88  bool m_timezoneNameHasBeenSet;
89  };
90 
91 } // namespace Model
92 } // namespace RDS
93 } // namespace Aws
Aws::RDS::Model::Timezone::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::Timezone::TimezoneNameHasBeenSet
bool TimezoneNameHasBeenSet() const
Definition: Timezone.h:53
AWSStreamFwd.h
Aws::RDS::Model::Timezone::Timezone
Timezone()
Aws::RDS::Model::Timezone::SetTimezoneName
void SetTimezoneName(Aws::String &&value)
Definition: Timezone.h:63
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::Timezone::WithTimezoneName
Timezone & WithTimezoneName(const Aws::String &value)
Definition: Timezone.h:73
Aws::RDS::Model::Timezone::operator=
Timezone & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::Timezone::GetTimezoneName
const Aws::String & GetTimezoneName() const
Definition: Timezone.h:48
Aws::RDS::Model::Timezone
Definition: Timezone.h:35
Aws::RDS::Model::Timezone::WithTimezoneName
Timezone & WithTimezoneName(const char *value)
Definition: Timezone.h:83
AWSString.h
Aws::RDS::Model::Timezone::Timezone
Timezone(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::Timezone::WithTimezoneName
Timezone & WithTimezoneName(Aws::String &&value)
Definition: Timezone.h:78
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::Timezone::SetTimezoneName
void SetTimezoneName(const char *value)
Definition: Timezone.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::Timezone::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::Timezone::SetTimezoneName
void SetTimezoneName(const Aws::String &value)
Definition: Timezone.h:58