AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Nameserver.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_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 Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Route53Domains
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ROUTE53DOMAINS_API Nameserver() = default;
36 AWS_ROUTE53DOMAINS_API Nameserver(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROUTE53DOMAINS_API Nameserver& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 Nameserver& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_glueIpsHasBeenSet = true; m_glueIps = std::forward<GlueIpsT>(value); }
66 template<typename GlueIpsT = Aws::Vector<Aws::String>>
67 Nameserver& WithGlueIps(GlueIpsT&& value) { SetGlueIps(std::forward<GlueIpsT>(value)); return *this;}
68 template<typename GlueIpsT = Aws::String>
69 Nameserver& AddGlueIps(GlueIpsT&& value) { m_glueIpsHasBeenSet = true; m_glueIps.emplace_back(std::forward<GlueIpsT>(value)); return *this; }
71 private:
72
73 Aws::String m_name;
74 bool m_nameHasBeenSet = false;
75
77 bool m_glueIpsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Route53Domains
82} // 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:51
const Aws::String & GetName() const
Definition Nameserver.h:46
AWS_ROUTE53DOMAINS_API Nameserver()=default
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const
Nameserver & AddGlueIps(GlueIpsT &&value)
Definition Nameserver.h:69
Nameserver & WithGlueIps(GlueIpsT &&value)
Definition Nameserver.h:67
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