AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
AlarmIdentifier.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53/Route53_EXPORTS.h>
9#include <aws/route53/model/CloudWatchRegion.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace Route53 {
20namespace Model {
21
30 public:
31 AWS_ROUTE53_API AlarmIdentifier() = default;
32 AWS_ROUTE53_API AlarmIdentifier(const Aws::Utils::Xml::XmlNode& xmlNode);
33 AWS_ROUTE53_API AlarmIdentifier& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
46 inline CloudWatchRegion GetRegion() const { return m_region; }
47 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
48 inline void SetRegion(CloudWatchRegion value) {
49 m_regionHasBeenSet = true;
50 m_region = value;
51 }
53 SetRegion(value);
54 return *this;
55 }
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) {
74 m_nameHasBeenSet = true;
75 m_name = std::forward<NameT>(value);
76 }
77 template <typename NameT = Aws::String>
78 AlarmIdentifier& WithName(NameT&& value) {
79 SetName(std::forward<NameT>(value));
80 return *this;
81 }
83 private:
85
86 Aws::String m_name;
87 bool m_regionHasBeenSet = false;
88 bool m_nameHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace Route53
93} // 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