AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline Nameserver& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline Nameserver& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline Nameserver& WithName(const char* value) { SetName(value); return *this;}
55
57
64 inline const Aws::Vector<Aws::String>& GetGlueIps() const{ return m_glueIps; }
65 inline bool GlueIpsHasBeenSet() const { return m_glueIpsHasBeenSet; }
66 inline void SetGlueIps(const Aws::Vector<Aws::String>& value) { m_glueIpsHasBeenSet = true; m_glueIps = value; }
67 inline void SetGlueIps(Aws::Vector<Aws::String>&& value) { m_glueIpsHasBeenSet = true; m_glueIps = std::move(value); }
68 inline Nameserver& WithGlueIps(const Aws::Vector<Aws::String>& value) { SetGlueIps(value); return *this;}
69 inline Nameserver& WithGlueIps(Aws::Vector<Aws::String>&& value) { SetGlueIps(std::move(value)); return *this;}
70 inline Nameserver& AddGlueIps(const Aws::String& value) { m_glueIpsHasBeenSet = true; m_glueIps.push_back(value); return *this; }
71 inline Nameserver& AddGlueIps(Aws::String&& value) { m_glueIpsHasBeenSet = true; m_glueIps.push_back(std::move(value)); return *this; }
72 inline Nameserver& AddGlueIps(const char* value) { m_glueIpsHasBeenSet = true; m_glueIps.push_back(value); return *this; }
74 private:
75
76 Aws::String m_name;
77 bool m_nameHasBeenSet = false;
78
80 bool m_glueIpsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Route53Domains
85} // namespace Aws
Nameserver & WithName(Aws::String &&value)
Definition Nameserver.h:52
Nameserver & AddGlueIps(const char *value)
Definition Nameserver.h:72
AWS_ROUTE53DOMAINS_API Nameserver()
AWS_ROUTE53DOMAINS_API Nameserver & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition Nameserver.h:46
Nameserver & WithName(const char *value)
Definition Nameserver.h:53
void SetName(const Aws::String &value)
Definition Nameserver.h:48
void SetName(Aws::String &&value)
Definition Nameserver.h:49
void SetGlueIps(const Aws::Vector< Aws::String > &value)
Definition Nameserver.h:66
Nameserver & AddGlueIps(Aws::String &&value)
Definition Nameserver.h:71
void SetName(const char *value)
Definition Nameserver.h:50
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const
Nameserver & WithName(const Aws::String &value)
Definition Nameserver.h:51
void SetGlueIps(Aws::Vector< Aws::String > &&value)
Definition Nameserver.h:67
Nameserver & WithGlueIps(const Aws::Vector< Aws::String > &value)
Definition Nameserver.h:68
Nameserver & AddGlueIps(const Aws::String &value)
Definition Nameserver.h:70
Nameserver & WithGlueIps(Aws::Vector< Aws::String > &&value)
Definition Nameserver.h:69
const Aws::Vector< Aws::String > & GetGlueIps() const
Definition Nameserver.h:64
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