AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AlarmIdentifier.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/model/CloudWatchRegion.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 Route53
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_ROUTE53_API AlarmIdentifier();
37 AWS_ROUTE53_API AlarmIdentifier(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ROUTE53_API AlarmIdentifier& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
52 inline const CloudWatchRegion& GetRegion() const{ return m_region; }
53 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
54 inline void SetRegion(const CloudWatchRegion& value) { m_regionHasBeenSet = true; m_region = value; }
55 inline void SetRegion(CloudWatchRegion&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
56 inline AlarmIdentifier& WithRegion(const CloudWatchRegion& value) { SetRegion(value); return *this;}
57 inline AlarmIdentifier& WithRegion(CloudWatchRegion&& value) { SetRegion(std::move(value)); return *this;}
59
61
72 inline const Aws::String& GetName() const{ return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
75 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
76 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
77 inline AlarmIdentifier& WithName(const Aws::String& value) { SetName(value); return *this;}
78 inline AlarmIdentifier& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
79 inline AlarmIdentifier& WithName(const char* value) { SetName(value); return *this;}
81 private:
82
83 CloudWatchRegion m_region;
84 bool m_regionHasBeenSet = false;
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Route53
92} // namespace Aws
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetRegion(const CloudWatchRegion &value)
AlarmIdentifier & WithRegion(CloudWatchRegion &&value)
void SetRegion(CloudWatchRegion &&value)
AlarmIdentifier & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
AWS_ROUTE53_API AlarmIdentifier & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const CloudWatchRegion & GetRegion() const
AlarmIdentifier & WithRegion(const CloudWatchRegion &value)
const Aws::String & GetName() const
void SetName(Aws::String &&value)
AWS_ROUTE53_API AlarmIdentifier(const Aws::Utils::Xml::XmlNode &xmlNode)
AlarmIdentifier & WithName(const char *value)
AlarmIdentifier & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String