AWS SDK for C++  1.9.1
AWS SDK for C++
UpdateConditionalForwarderRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace DirectoryService
16 {
17 namespace Model
18 {
19 
26  {
27  public:
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::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
46 
51  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
52 
57  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
58 
63  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
64 
69  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
70 
75  inline UpdateConditionalForwarderRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
76 
81  inline UpdateConditionalForwarderRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
82 
87  inline UpdateConditionalForwarderRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
88 
89 
94  inline const Aws::String& GetRemoteDomainName() const{ return m_remoteDomainName; }
95 
100  inline bool RemoteDomainNameHasBeenSet() const { return m_remoteDomainNameHasBeenSet; }
101 
106  inline void SetRemoteDomainName(const Aws::String& value) { m_remoteDomainNameHasBeenSet = true; m_remoteDomainName = value; }
107 
112  inline void SetRemoteDomainName(Aws::String&& value) { m_remoteDomainNameHasBeenSet = true; m_remoteDomainName = std::move(value); }
113 
118  inline void SetRemoteDomainName(const char* value) { m_remoteDomainNameHasBeenSet = true; m_remoteDomainName.assign(value); }
119 
124  inline UpdateConditionalForwarderRequest& WithRemoteDomainName(const Aws::String& value) { SetRemoteDomainName(value); return *this;}
125 
130  inline UpdateConditionalForwarderRequest& WithRemoteDomainName(Aws::String&& value) { SetRemoteDomainName(std::move(value)); return *this;}
131 
136  inline UpdateConditionalForwarderRequest& WithRemoteDomainName(const char* value) { SetRemoteDomainName(value); return *this;}
137 
138 
143  inline const Aws::Vector<Aws::String>& GetDnsIpAddrs() const{ return m_dnsIpAddrs; }
144 
149  inline bool DnsIpAddrsHasBeenSet() const { return m_dnsIpAddrsHasBeenSet; }
150 
155  inline void SetDnsIpAddrs(const Aws::Vector<Aws::String>& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs = value; }
156 
161  inline void SetDnsIpAddrs(Aws::Vector<Aws::String>&& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs = std::move(value); }
162 
167  inline UpdateConditionalForwarderRequest& WithDnsIpAddrs(const Aws::Vector<Aws::String>& value) { SetDnsIpAddrs(value); return *this;}
168 
173  inline UpdateConditionalForwarderRequest& WithDnsIpAddrs(Aws::Vector<Aws::String>&& value) { SetDnsIpAddrs(std::move(value)); return *this;}
174 
179  inline UpdateConditionalForwarderRequest& AddDnsIpAddrs(const Aws::String& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs.push_back(value); return *this; }
180 
185  inline UpdateConditionalForwarderRequest& AddDnsIpAddrs(Aws::String&& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs.push_back(std::move(value)); return *this; }
186 
191  inline UpdateConditionalForwarderRequest& AddDnsIpAddrs(const char* value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs.push_back(value); return *this; }
192 
193  private:
194 
195  Aws::String m_directoryId;
196  bool m_directoryIdHasBeenSet;
197 
198  Aws::String m_remoteDomainName;
199  bool m_remoteDomainNameHasBeenSet;
200 
201  Aws::Vector<Aws::String> m_dnsIpAddrs;
202  bool m_dnsIpAddrsHasBeenSet;
203  };
204 
205 } // namespace Model
206 } // namespace DirectoryService
207 } // namespace Aws
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::SetDnsIpAddrs
void SetDnsIpAddrs(Aws::Vector< Aws::String > &&value)
Definition: UpdateConditionalForwarderRequest.h:161
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::WithDirectoryId
UpdateConditionalForwarderRequest & WithDirectoryId(const Aws::String &value)
Definition: UpdateConditionalForwarderRequest.h:75
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::SetRemoteDomainName
void SetRemoteDomainName(Aws::String &&value)
Definition: UpdateConditionalForwarderRequest.h:112
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::SetDnsIpAddrs
void SetDnsIpAddrs(const Aws::Vector< Aws::String > &value)
Definition: UpdateConditionalForwarderRequest.h:155
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::SetRemoteDomainName
void SetRemoteDomainName(const char *value)
Definition: UpdateConditionalForwarderRequest.h:118
DirectoryService_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: UpdateConditionalForwarderRequest.h:63
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: UpdateConditionalForwarderRequest.h:57
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::WithDirectoryId
UpdateConditionalForwarderRequest & WithDirectoryId(const char *value)
Definition: UpdateConditionalForwarderRequest.h:87
AWSVector.h
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::AddDnsIpAddrs
UpdateConditionalForwarderRequest & AddDnsIpAddrs(Aws::String &&value)
Definition: UpdateConditionalForwarderRequest.h:185
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: UpdateConditionalForwarderRequest.h:69
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::WithRemoteDomainName
UpdateConditionalForwarderRequest & WithRemoteDomainName(const char *value)
Definition: UpdateConditionalForwarderRequest.h:136
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::AddDnsIpAddrs
UpdateConditionalForwarderRequest & AddDnsIpAddrs(const char *value)
Definition: UpdateConditionalForwarderRequest.h:191
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::AddDnsIpAddrs
UpdateConditionalForwarderRequest & AddDnsIpAddrs(const Aws::String &value)
Definition: UpdateConditionalForwarderRequest.h:179
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: UpdateConditionalForwarderRequest.h:51
AWSString.h
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::WithDnsIpAddrs
UpdateConditionalForwarderRequest & WithDnsIpAddrs(Aws::Vector< Aws::String > &&value)
Definition: UpdateConditionalForwarderRequest.h:173
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::GetDnsIpAddrs
const Aws::Vector< Aws::String > & GetDnsIpAddrs() const
Definition: UpdateConditionalForwarderRequest.h:143
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::WithDirectoryId
UpdateConditionalForwarderRequest & WithDirectoryId(Aws::String &&value)
Definition: UpdateConditionalForwarderRequest.h:81
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::SetRemoteDomainName
void SetRemoteDomainName(const Aws::String &value)
Definition: UpdateConditionalForwarderRequest.h:106
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::DnsIpAddrsHasBeenSet
bool DnsIpAddrsHasBeenSet() const
Definition: UpdateConditionalForwarderRequest.h:149
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateConditionalForwarderRequest.h:34
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::WithRemoteDomainName
UpdateConditionalForwarderRequest & WithRemoteDomainName(Aws::String &&value)
Definition: UpdateConditionalForwarderRequest.h:130
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::GetRemoteDomainName
const Aws::String & GetRemoteDomainName() const
Definition: UpdateConditionalForwarderRequest.h:94
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::WithRemoteDomainName
UpdateConditionalForwarderRequest & WithRemoteDomainName(const Aws::String &value)
Definition: UpdateConditionalForwarderRequest.h:124
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::RemoteDomainNameHasBeenSet
bool RemoteDomainNameHasBeenSet() const
Definition: UpdateConditionalForwarderRequest.h:100
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest
Definition: UpdateConditionalForwarderRequest.h:26
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::WithDnsIpAddrs
UpdateConditionalForwarderRequest & WithDnsIpAddrs(const Aws::Vector< Aws::String > &value)
Definition: UpdateConditionalForwarderRequest.h:167
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::UpdateConditionalForwarderRequest
UpdateConditionalForwarderRequest()
DirectoryServiceRequest.h
Aws::DirectoryService::Model::UpdateConditionalForwarderRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: UpdateConditionalForwarderRequest.h:45