AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 CloudWatchRegion GetRegion() const { return m_region; }
53 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
54 inline void SetRegion(CloudWatchRegion value) { m_regionHasBeenSet = true; m_region = value; }
55 inline AlarmIdentifier& WithRegion(CloudWatchRegion value) { SetRegion(value); return *this;}
57
59
70 inline const Aws::String& GetName() const { return m_name; }
71 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
72 template<typename NameT = Aws::String>
73 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
74 template<typename NameT = Aws::String>
75 AlarmIdentifier& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
77 private:
78
80 bool m_regionHasBeenSet = false;
81
82 Aws::String m_name;
83 bool m_nameHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Route53
88} // namespace Aws
AlarmIdentifier & WithName(NameT &&value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AlarmIdentifier & WithRegion(CloudWatchRegion value)
CloudWatchRegion GetRegion() const
AWS_ROUTE53_API AlarmIdentifier()=default
AWS_ROUTE53_API AlarmIdentifier & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetName() const
void SetRegion(CloudWatchRegion value)
AWS_ROUTE53_API AlarmIdentifier(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String