AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDomainNameserversRequest.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/route53domains/Route53DomainsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/route53domains/model/Nameserver.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Route53Domains
17{
18namespace Model
19{
20
33 {
34 public:
35 AWS_ROUTE53DOMAINS_API UpdateDomainNameserversRequest();
36
37 // Service request name is the Operation name which will send this request out,
38 // each operation should has unique request name, so that we can get operation's name from this request.
39 // Note: this is not true for response, multiple operations may have the same response name,
40 // so we can not get operation's name from response.
41 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainNameservers"; }
42
43 AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override;
44
45 AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
46
47
49
52 inline const Aws::String& GetDomainName() const{ return m_domainName; }
53 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
54 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
55 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
56 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
57 inline UpdateDomainNameserversRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
58 inline UpdateDomainNameserversRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
59 inline UpdateDomainNameserversRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
61
63
66 inline const Aws::Vector<Nameserver>& GetNameservers() const{ return m_nameservers; }
67 inline bool NameserversHasBeenSet() const { return m_nameserversHasBeenSet; }
68 inline void SetNameservers(const Aws::Vector<Nameserver>& value) { m_nameserversHasBeenSet = true; m_nameservers = value; }
69 inline void SetNameservers(Aws::Vector<Nameserver>&& value) { m_nameserversHasBeenSet = true; m_nameservers = std::move(value); }
71 inline UpdateDomainNameserversRequest& WithNameservers(Aws::Vector<Nameserver>&& value) { SetNameservers(std::move(value)); return *this;}
72 inline UpdateDomainNameserversRequest& AddNameservers(const Nameserver& value) { m_nameserversHasBeenSet = true; m_nameservers.push_back(value); return *this; }
73 inline UpdateDomainNameserversRequest& AddNameservers(Nameserver&& value) { m_nameserversHasBeenSet = true; m_nameservers.push_back(std::move(value)); return *this; }
75 private:
76
77 Aws::String m_domainName;
78 bool m_domainNameHasBeenSet = false;
79
80 Aws::Vector<Nameserver> m_nameservers;
81 bool m_nameserversHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Route53Domains
86} // namespace Aws
UpdateDomainNameserversRequest & WithNameservers(Aws::Vector< Nameserver > &&value)
UpdateDomainNameserversRequest & WithDomainName(const char *value)
UpdateDomainNameserversRequest & WithDomainName(Aws::String &&value)
AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDomainNameserversRequest & AddNameservers(const Nameserver &value)
AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override
UpdateDomainNameserversRequest & WithNameservers(const Aws::Vector< Nameserver > &value)
UpdateDomainNameserversRequest & AddNameservers(Nameserver &&value)
UpdateDomainNameserversRequest & WithDomainName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector