AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Change.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/model/ChangeAction.h>
9#include <aws/route53/model/ResourceRecordSet.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
32 class Change
33 {
34 public:
35 AWS_ROUTE53_API Change();
36 AWS_ROUTE53_API Change(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ROUTE53_API Change& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
58 inline const ChangeAction& GetAction() const{ return m_action; }
59 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
60 inline void SetAction(const ChangeAction& value) { m_actionHasBeenSet = true; m_action = value; }
61 inline void SetAction(ChangeAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
62 inline Change& WithAction(const ChangeAction& value) { SetAction(value); return *this;}
63 inline Change& WithAction(ChangeAction&& value) { SetAction(std::move(value)); return *this;}
65
67
70 inline const ResourceRecordSet& GetResourceRecordSet() const{ return m_resourceRecordSet; }
71 inline bool ResourceRecordSetHasBeenSet() const { return m_resourceRecordSetHasBeenSet; }
72 inline void SetResourceRecordSet(const ResourceRecordSet& value) { m_resourceRecordSetHasBeenSet = true; m_resourceRecordSet = value; }
73 inline void SetResourceRecordSet(ResourceRecordSet&& value) { m_resourceRecordSetHasBeenSet = true; m_resourceRecordSet = std::move(value); }
74 inline Change& WithResourceRecordSet(const ResourceRecordSet& value) { SetResourceRecordSet(value); return *this;}
75 inline Change& WithResourceRecordSet(ResourceRecordSet&& value) { SetResourceRecordSet(std::move(value)); return *this;}
77 private:
78
79 ChangeAction m_action;
80 bool m_actionHasBeenSet = false;
81
82 ResourceRecordSet m_resourceRecordSet;
83 bool m_resourceRecordSetHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Route53
88} // namespace Aws
const ResourceRecordSet & GetResourceRecordSet() const
Definition Change.h:70
void SetAction(const ChangeAction &value)
Definition Change.h:60
void SetResourceRecordSet(const ResourceRecordSet &value)
Definition Change.h:72
void SetResourceRecordSet(ResourceRecordSet &&value)
Definition Change.h:73
const ChangeAction & GetAction() const
Definition Change.h:58
void SetAction(ChangeAction &&value)
Definition Change.h:61
Change & WithResourceRecordSet(const ResourceRecordSet &value)
Definition Change.h:74
bool ResourceRecordSetHasBeenSet() const
Definition Change.h:71
AWS_ROUTE53_API Change & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Change & WithAction(ChangeAction &&value)
Definition Change.h:63
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_ROUTE53_API Change()
bool ActionHasBeenSet() const
Definition Change.h:59
Change & WithResourceRecordSet(ResourceRecordSet &&value)
Definition Change.h:75
Change & WithAction(const ChangeAction &value)
Definition Change.h:62
AWS_ROUTE53_API Change(const Aws::Utils::Xml::XmlNode &xmlNode)