AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
Nameserver.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/route53domains/Route53Domains_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Route53Domains {
21namespace Model {
22
29 public:
30 AWS_ROUTE53DOMAINS_API Nameserver() = default;
31 AWS_ROUTE53DOMAINS_API Nameserver(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ROUTE53DOMAINS_API Nameserver& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 Nameserver& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
62 inline const Aws::Vector<Aws::String>& GetGlueIps() const { return m_glueIps; }
63 inline bool GlueIpsHasBeenSet() const { return m_glueIpsHasBeenSet; }
64 template <typename GlueIpsT = Aws::Vector<Aws::String>>
65 void SetGlueIps(GlueIpsT&& value) {
66 m_glueIpsHasBeenSet = true;
67 m_glueIps = std::forward<GlueIpsT>(value);
68 }
69 template <typename GlueIpsT = Aws::Vector<Aws::String>>
70 Nameserver& WithGlueIps(GlueIpsT&& value) {
71 SetGlueIps(std::forward<GlueIpsT>(value));
72 return *this;
73 }
74 template <typename GlueIpsT = Aws::String>
75 Nameserver& AddGlueIps(GlueIpsT&& value) {
76 m_glueIpsHasBeenSet = true;
77 m_glueIps.emplace_back(std::forward<GlueIpsT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_name;
83
85 bool m_nameHasBeenSet = false;
86 bool m_glueIpsHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace Route53Domains
91} // namespace Aws
void SetGlueIps(GlueIpsT &&value)
Definition Nameserver.h:65
AWS_ROUTE53DOMAINS_API Nameserver & operator=(Aws::Utils::Json::JsonView jsonValue)
Nameserver & WithName(NameT &&value)
Definition Nameserver.h:48
const Aws::String & GetName() const
Definition Nameserver.h:40
AWS_ROUTE53DOMAINS_API Nameserver()=default
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const
Nameserver & AddGlueIps(GlueIpsT &&value)
Definition Nameserver.h:75
Nameserver & WithGlueIps(GlueIpsT &&value)
Definition Nameserver.h:70
const Aws::Vector< Aws::String > & GetGlueIps() const
Definition Nameserver.h:62
AWS_ROUTE53DOMAINS_API Nameserver(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue