AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateConditionalForwarderRequest.h
1
6#pragma once
7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/ds/DirectoryServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DirectoryService
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_DIRECTORYSERVICE_API UpdateConditionalForwarderRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateConditionalForwarder"; }
35
36 AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
46 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
47 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
48 template<typename DirectoryIdT = Aws::String>
49 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::forward<DirectoryIdT>(value); }
50 template<typename DirectoryIdT = Aws::String>
51 UpdateConditionalForwarderRequest& WithDirectoryId(DirectoryIdT&& value) { SetDirectoryId(std::forward<DirectoryIdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetRemoteDomainName() const { return m_remoteDomainName; }
60 inline bool RemoteDomainNameHasBeenSet() const { return m_remoteDomainNameHasBeenSet; }
61 template<typename RemoteDomainNameT = Aws::String>
62 void SetRemoteDomainName(RemoteDomainNameT&& value) { m_remoteDomainNameHasBeenSet = true; m_remoteDomainName = std::forward<RemoteDomainNameT>(value); }
63 template<typename RemoteDomainNameT = Aws::String>
64 UpdateConditionalForwarderRequest& WithRemoteDomainName(RemoteDomainNameT&& value) { SetRemoteDomainName(std::forward<RemoteDomainNameT>(value)); return *this;}
66
68
72 inline const Aws::Vector<Aws::String>& GetDnsIpAddrs() const { return m_dnsIpAddrs; }
73 inline bool DnsIpAddrsHasBeenSet() const { return m_dnsIpAddrsHasBeenSet; }
74 template<typename DnsIpAddrsT = Aws::Vector<Aws::String>>
75 void SetDnsIpAddrs(DnsIpAddrsT&& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs = std::forward<DnsIpAddrsT>(value); }
76 template<typename DnsIpAddrsT = Aws::Vector<Aws::String>>
77 UpdateConditionalForwarderRequest& WithDnsIpAddrs(DnsIpAddrsT&& value) { SetDnsIpAddrs(std::forward<DnsIpAddrsT>(value)); return *this;}
78 template<typename DnsIpAddrsT = Aws::String>
79 UpdateConditionalForwarderRequest& AddDnsIpAddrs(DnsIpAddrsT&& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs.emplace_back(std::forward<DnsIpAddrsT>(value)); return *this; }
81 private:
82
83 Aws::String m_directoryId;
84 bool m_directoryIdHasBeenSet = false;
85
86 Aws::String m_remoteDomainName;
87 bool m_remoteDomainNameHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_dnsIpAddrs;
90 bool m_dnsIpAddrsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace DirectoryService
95} // namespace Aws
AWS_DIRECTORYSERVICE_API UpdateConditionalForwarderRequest()=default
UpdateConditionalForwarderRequest & WithDirectoryId(DirectoryIdT &&value)
UpdateConditionalForwarderRequest & AddDnsIpAddrs(DnsIpAddrsT &&value)
UpdateConditionalForwarderRequest & WithDnsIpAddrs(DnsIpAddrsT &&value)
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateConditionalForwarderRequest & WithRemoteDomainName(RemoteDomainNameT &&value)
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
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