AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CidrCollectionChange.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/model/CidrCollectionChangeAction.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Route53
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ROUTE53_API CidrCollectionChange();
37 AWS_ROUTE53_API CidrCollectionChange(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
47 inline const Aws::String& GetLocationName() const{ return m_locationName; }
48 inline bool LocationNameHasBeenSet() const { return m_locationNameHasBeenSet; }
49 inline void SetLocationName(const Aws::String& value) { m_locationNameHasBeenSet = true; m_locationName = value; }
50 inline void SetLocationName(Aws::String&& value) { m_locationNameHasBeenSet = true; m_locationName = std::move(value); }
51 inline void SetLocationName(const char* value) { m_locationNameHasBeenSet = true; m_locationName.assign(value); }
52 inline CidrCollectionChange& WithLocationName(const Aws::String& value) { SetLocationName(value); return *this;}
53 inline CidrCollectionChange& WithLocationName(Aws::String&& value) { SetLocationName(std::move(value)); return *this;}
54 inline CidrCollectionChange& WithLocationName(const char* value) { SetLocationName(value); return *this;}
56
58
61 inline const CidrCollectionChangeAction& GetAction() const{ return m_action; }
62 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
63 inline void SetAction(const CidrCollectionChangeAction& value) { m_actionHasBeenSet = true; m_action = value; }
64 inline void SetAction(CidrCollectionChangeAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
65 inline CidrCollectionChange& WithAction(const CidrCollectionChangeAction& value) { SetAction(value); return *this;}
66 inline CidrCollectionChange& WithAction(CidrCollectionChangeAction&& value) { SetAction(std::move(value)); return *this;}
68
70
73 inline const Aws::Vector<Aws::String>& GetCidrList() const{ return m_cidrList; }
74 inline bool CidrListHasBeenSet() const { return m_cidrListHasBeenSet; }
75 inline void SetCidrList(const Aws::Vector<Aws::String>& value) { m_cidrListHasBeenSet = true; m_cidrList = value; }
76 inline void SetCidrList(Aws::Vector<Aws::String>&& value) { m_cidrListHasBeenSet = true; m_cidrList = std::move(value); }
77 inline CidrCollectionChange& WithCidrList(const Aws::Vector<Aws::String>& value) { SetCidrList(value); return *this;}
78 inline CidrCollectionChange& WithCidrList(Aws::Vector<Aws::String>&& value) { SetCidrList(std::move(value)); return *this;}
79 inline CidrCollectionChange& AddCidrList(const Aws::String& value) { m_cidrListHasBeenSet = true; m_cidrList.push_back(value); return *this; }
80 inline CidrCollectionChange& AddCidrList(Aws::String&& value) { m_cidrListHasBeenSet = true; m_cidrList.push_back(std::move(value)); return *this; }
81 inline CidrCollectionChange& AddCidrList(const char* value) { m_cidrListHasBeenSet = true; m_cidrList.push_back(value); return *this; }
83 private:
84
85 Aws::String m_locationName;
86 bool m_locationNameHasBeenSet = false;
87
89 bool m_actionHasBeenSet = false;
90
91 Aws::Vector<Aws::String> m_cidrList;
92 bool m_cidrListHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Route53
97} // namespace Aws
CidrCollectionChange & WithCidrList(const Aws::Vector< Aws::String > &value)
AWS_ROUTE53_API CidrCollectionChange(const Aws::Utils::Xml::XmlNode &xmlNode)
CidrCollectionChange & WithAction(const CidrCollectionChangeAction &value)
const CidrCollectionChangeAction & GetAction() const
CidrCollectionChange & WithCidrList(Aws::Vector< Aws::String > &&value)
void SetCidrList(const Aws::Vector< Aws::String > &value)
CidrCollectionChange & WithLocationName(Aws::String &&value)
CidrCollectionChange & AddCidrList(const char *value)
void SetLocationName(const Aws::String &value)
CidrCollectionChange & WithLocationName(const char *value)
CidrCollectionChange & WithLocationName(const Aws::String &value)
CidrCollectionChange & AddCidrList(Aws::String &&value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
CidrCollectionChange & AddCidrList(const Aws::String &value)
const Aws::Vector< Aws::String > & GetCidrList() const
void SetAction(const CidrCollectionChangeAction &value)
void SetCidrList(Aws::Vector< Aws::String > &&value)
AWS_ROUTE53_API CidrCollectionChange & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAction(CidrCollectionChangeAction &&value)
CidrCollectionChange & WithAction(CidrCollectionChangeAction &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector