AWS SDK for C++  1.9.159
AWS SDK for C++
Timezone.h
Go to the documentation of this file.
1 
6 #pragma once
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 Neptune
22 {
23 namespace Model
24 {
25 
32  {
33  public:
37 
38  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39  void OutputToStream(Aws::OStream& oStream, const char* location) const;
40 
41 
45  inline const Aws::String& GetTimezoneName() const{ return m_timezoneName; }
46 
50  inline bool TimezoneNameHasBeenSet() const { return m_timezoneNameHasBeenSet; }
51 
55  inline void SetTimezoneName(const Aws::String& value) { m_timezoneNameHasBeenSet = true; m_timezoneName = value; }
56 
60  inline void SetTimezoneName(Aws::String&& value) { m_timezoneNameHasBeenSet = true; m_timezoneName = std::move(value); }
61 
65  inline void SetTimezoneName(const char* value) { m_timezoneNameHasBeenSet = true; m_timezoneName.assign(value); }
66 
70  inline Timezone& WithTimezoneName(const Aws::String& value) { SetTimezoneName(value); return *this;}
71 
75  inline Timezone& WithTimezoneName(Aws::String&& value) { SetTimezoneName(std::move(value)); return *this;}
76 
80  inline Timezone& WithTimezoneName(const char* value) { SetTimezoneName(value); return *this;}
81 
82  private:
83 
84  Aws::String m_timezoneName;
85  bool m_timezoneNameHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace Neptune
90 } // namespace Aws
Aws::Neptune::Model::Timezone::operator=
Timezone & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Neptune_EXPORTS.h
AWS_NEPTUNE_API
#define AWS_NEPTUNE_API
Definition: Neptune_EXPORTS.h:28
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Neptune::Model::Timezone
Definition: Timezone.h:32
Aws::Neptune::Model::Timezone::GetTimezoneName
const Aws::String & GetTimezoneName() const
Definition: Timezone.h:45
Aws::Neptune::Model::Timezone::WithTimezoneName
Timezone & WithTimezoneName(const Aws::String &value)
Definition: Timezone.h:70
Aws::Neptune::Model::Timezone::SetTimezoneName
void SetTimezoneName(Aws::String &&value)
Definition: Timezone.h:60
Aws::Neptune::Model::Timezone::SetTimezoneName
void SetTimezoneName(const char *value)
Definition: Timezone.h:65
AWSString.h
Aws::Neptune::Model::Timezone::Timezone
Timezone(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Neptune::Model::Timezone::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Neptune::Model::Timezone::WithTimezoneName
Timezone & WithTimezoneName(Aws::String &&value)
Definition: Timezone.h:75
Aws::Neptune::Model::Timezone::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Neptune::Model::Timezone::SetTimezoneName
void SetTimezoneName(const Aws::String &value)
Definition: Timezone.h:55
Aws::Neptune::Model::Timezone::TimezoneNameHasBeenSet
bool TimezoneNameHasBeenSet() const
Definition: Timezone.h:50
Aws
Definition: AccessManagementClient.h:15
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::Neptune::Model::Timezone::WithTimezoneName
Timezone & WithTimezoneName(const char *value)
Definition: Timezone.h:80
Aws::Neptune::Model::Timezone::Timezone
Timezone()