AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CidrCollection.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace Route53
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_ROUTE53_API CidrCollection();
35 AWS_ROUTE53_API CidrCollection(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_ROUTE53_API CidrCollection& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline CidrCollection& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline CidrCollection& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline CidrCollection& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetId() const{ return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
63 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 inline CidrCollection& WithId(const Aws::String& value) { SetId(value); return *this;}
66 inline CidrCollection& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
67 inline CidrCollection& WithId(const char* value) { SetId(value); return *this;}
69
71
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline CidrCollection& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline CidrCollection& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline CidrCollection& WithName(const char* value) { SetName(value); return *this;}
83
85
90 inline long long GetVersion() const{ return m_version; }
91 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
92 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
93 inline CidrCollection& WithVersion(long long value) { SetVersion(value); return *this;}
95 private:
96
97 Aws::String m_arn;
98 bool m_arnHasBeenSet = false;
99
100 Aws::String m_id;
101 bool m_idHasBeenSet = false;
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = false;
105
106 long long m_version;
107 bool m_versionHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Route53
112} // namespace Aws
AWS_ROUTE53_API CidrCollection(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetArn(const Aws::String &value)
void SetName(const char *value)
CidrCollection & WithArn(const char *value)
CidrCollection & WithName(const char *value)
CidrCollection & WithId(const char *value)
void SetName(const Aws::String &value)
const Aws::String & GetName() const
const Aws::String & GetArn() const
const Aws::String & GetId() const
void SetId(Aws::String &&value)
CidrCollection & WithVersion(long long value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetId(const Aws::String &value)
CidrCollection & WithArn(const Aws::String &value)
void SetArn(Aws::String &&value)
CidrCollection & WithName(Aws::String &&value)
CidrCollection & WithId(const Aws::String &value)
CidrCollection & WithId(Aws::String &&value)
CidrCollection & WithName(const Aws::String &value)
void SetName(Aws::String &&value)
CidrCollection & WithArn(Aws::String &&value)
AWS_ROUTE53_API CidrCollection & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String