AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DelegationSet.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 DelegationSet();
37 AWS_ROUTE53_API DelegationSet(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ROUTE53_API DelegationSet& operator=(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& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline DelegationSet& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline DelegationSet& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline DelegationSet& WithId(const char* value) { SetId(value); return *this;}
56
58
62 inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
63 inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
64 inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
65 inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
66 inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
67 inline DelegationSet& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
68 inline DelegationSet& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
69 inline DelegationSet& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
71
73
77 inline const Aws::Vector<Aws::String>& GetNameServers() const{ return m_nameServers; }
78 inline bool NameServersHasBeenSet() const { return m_nameServersHasBeenSet; }
79 inline void SetNameServers(const Aws::Vector<Aws::String>& value) { m_nameServersHasBeenSet = true; m_nameServers = value; }
80 inline void SetNameServers(Aws::Vector<Aws::String>&& value) { m_nameServersHasBeenSet = true; m_nameServers = std::move(value); }
81 inline DelegationSet& WithNameServers(const Aws::Vector<Aws::String>& value) { SetNameServers(value); return *this;}
82 inline DelegationSet& WithNameServers(Aws::Vector<Aws::String>&& value) { SetNameServers(std::move(value)); return *this;}
83 inline DelegationSet& AddNameServers(const Aws::String& value) { m_nameServersHasBeenSet = true; m_nameServers.push_back(value); return *this; }
84 inline DelegationSet& AddNameServers(Aws::String&& value) { m_nameServersHasBeenSet = true; m_nameServers.push_back(std::move(value)); return *this; }
85 inline DelegationSet& AddNameServers(const char* value) { m_nameServersHasBeenSet = true; m_nameServers.push_back(value); return *this; }
87 private:
88
89 Aws::String m_id;
90 bool m_idHasBeenSet = false;
91
92 Aws::String m_callerReference;
93 bool m_callerReferenceHasBeenSet = false;
94
95 Aws::Vector<Aws::String> m_nameServers;
96 bool m_nameServersHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Route53
101} // namespace Aws
DelegationSet & AddNameServers(const char *value)
DelegationSet & WithId(const Aws::String &value)
AWS_ROUTE53_API DelegationSet & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCallerReference(Aws::String &&value)
DelegationSet & WithId(const char *value)
void SetId(const char *value)
DelegationSet & WithCallerReference(const Aws::String &value)
void SetNameServers(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetNameServers() const
void SetNameServers(const Aws::Vector< Aws::String > &value)
DelegationSet & WithNameServers(Aws::Vector< Aws::String > &&value)
AWS_ROUTE53_API DelegationSet(const Aws::Utils::Xml::XmlNode &xmlNode)
DelegationSet & WithId(Aws::String &&value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
DelegationSet & WithCallerReference(Aws::String &&value)
const Aws::String & GetCallerReference() const
DelegationSet & AddNameServers(const Aws::String &value)
void SetCallerReference(const Aws::String &value)
void SetId(Aws::String &&value)
DelegationSet & WithCallerReference(const char *value)
DelegationSet & AddNameServers(Aws::String &&value)
void SetId(const Aws::String &value)
void SetCallerReference(const char *value)
DelegationSet & WithNameServers(const Aws::Vector< Aws::String > &value)
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector