AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LabelOptions.h
1
6#pragma once
7#include <aws/monitoring/CloudWatch_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 CloudWatch
22{
23namespace Model
24{
25
39 {
40 public:
41 AWS_CLOUDWATCH_API LabelOptions();
42 AWS_CLOUDWATCH_API LabelOptions(const Aws::Utils::Xml::XmlNode& xmlNode);
43 AWS_CLOUDWATCH_API LabelOptions& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
44
45 AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
57 inline const Aws::String& GetTimezone() const{ return m_timezone; }
58 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
59 inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
60 inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
61 inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); }
62 inline LabelOptions& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
63 inline LabelOptions& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
64 inline LabelOptions& WithTimezone(const char* value) { SetTimezone(value); return *this;}
66 private:
67
68 Aws::String m_timezone;
69 bool m_timezoneHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CloudWatch
74} // namespace Aws
LabelOptions & WithTimezone(const char *value)
AWS_CLOUDWATCH_API LabelOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetTimezone() const
LabelOptions & WithTimezone(const Aws::String &value)
void SetTimezone(Aws::String &&value)
LabelOptions & WithTimezone(Aws::String &&value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTimezone(const char *value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTimezone(const Aws::String &value)
AWS_CLOUDWATCH_API LabelOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream