AWS SDK for C++  1.8.152
AWS SDK for C++
ConditionalForwarder.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace DirectoryService
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
48  inline const Aws::String& GetRemoteDomainName() const{ return m_remoteDomainName; }
49 
54  inline bool RemoteDomainNameHasBeenSet() const { return m_remoteDomainNameHasBeenSet; }
55 
60  inline void SetRemoteDomainName(const Aws::String& value) { m_remoteDomainNameHasBeenSet = true; m_remoteDomainName = value; }
61 
66  inline void SetRemoteDomainName(Aws::String&& value) { m_remoteDomainNameHasBeenSet = true; m_remoteDomainName = std::move(value); }
67 
72  inline void SetRemoteDomainName(const char* value) { m_remoteDomainNameHasBeenSet = true; m_remoteDomainName.assign(value); }
73 
78  inline ConditionalForwarder& WithRemoteDomainName(const Aws::String& value) { SetRemoteDomainName(value); return *this;}
79 
84  inline ConditionalForwarder& WithRemoteDomainName(Aws::String&& value) { SetRemoteDomainName(std::move(value)); return *this;}
85 
90  inline ConditionalForwarder& WithRemoteDomainName(const char* value) { SetRemoteDomainName(value); return *this;}
91 
92 
98  inline const Aws::Vector<Aws::String>& GetDnsIpAddrs() const{ return m_dnsIpAddrs; }
99 
105  inline bool DnsIpAddrsHasBeenSet() const { return m_dnsIpAddrsHasBeenSet; }
106 
112  inline void SetDnsIpAddrs(const Aws::Vector<Aws::String>& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs = value; }
113 
119  inline void SetDnsIpAddrs(Aws::Vector<Aws::String>&& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs = std::move(value); }
120 
126  inline ConditionalForwarder& WithDnsIpAddrs(const Aws::Vector<Aws::String>& value) { SetDnsIpAddrs(value); return *this;}
127 
133  inline ConditionalForwarder& WithDnsIpAddrs(Aws::Vector<Aws::String>&& value) { SetDnsIpAddrs(std::move(value)); return *this;}
134 
140  inline ConditionalForwarder& AddDnsIpAddrs(const Aws::String& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs.push_back(value); return *this; }
141 
147  inline ConditionalForwarder& AddDnsIpAddrs(Aws::String&& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs.push_back(std::move(value)); return *this; }
148 
154  inline ConditionalForwarder& AddDnsIpAddrs(const char* value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs.push_back(value); return *this; }
155 
156 
162  inline const ReplicationScope& GetReplicationScope() const{ return m_replicationScope; }
163 
169  inline bool ReplicationScopeHasBeenSet() const { return m_replicationScopeHasBeenSet; }
170 
176  inline void SetReplicationScope(const ReplicationScope& value) { m_replicationScopeHasBeenSet = true; m_replicationScope = value; }
177 
183  inline void SetReplicationScope(ReplicationScope&& value) { m_replicationScopeHasBeenSet = true; m_replicationScope = std::move(value); }
184 
190  inline ConditionalForwarder& WithReplicationScope(const ReplicationScope& value) { SetReplicationScope(value); return *this;}
191 
197  inline ConditionalForwarder& WithReplicationScope(ReplicationScope&& value) { SetReplicationScope(std::move(value)); return *this;}
198 
199  private:
200 
201  Aws::String m_remoteDomainName;
202  bool m_remoteDomainNameHasBeenSet;
203 
204  Aws::Vector<Aws::String> m_dnsIpAddrs;
205  bool m_dnsIpAddrsHasBeenSet;
206 
207  ReplicationScope m_replicationScope;
208  bool m_replicationScopeHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace DirectoryService
213 } // namespace Aws
Aws::DirectoryService::Model::ReplicationScope
ReplicationScope
Definition: ReplicationScope.h:17
Aws::DirectoryService::Model::ConditionalForwarder::AddDnsIpAddrs
ConditionalForwarder & AddDnsIpAddrs(const char *value)
Definition: ConditionalForwarder.h:154
Aws::DirectoryService::Model::ConditionalForwarder::GetDnsIpAddrs
const Aws::Vector< Aws::String > & GetDnsIpAddrs() const
Definition: ConditionalForwarder.h:98
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::ConditionalForwarder::SetRemoteDomainName
void SetRemoteDomainName(Aws::String &&value)
Definition: ConditionalForwarder.h:66
Aws::DirectoryService::Model::ConditionalForwarder::ConditionalForwarder
ConditionalForwarder()
Aws::DirectoryService::Model::ConditionalForwarder::operator=
ConditionalForwarder & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::ConditionalForwarder::DnsIpAddrsHasBeenSet
bool DnsIpAddrsHasBeenSet() const
Definition: ConditionalForwarder.h:105
DirectoryService_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DirectoryService::Model::ConditionalForwarder::WithReplicationScope
ConditionalForwarder & WithReplicationScope(ReplicationScope &&value)
Definition: ConditionalForwarder.h:197
Aws::DirectoryService::Model::ConditionalForwarder::WithRemoteDomainName
ConditionalForwarder & WithRemoteDomainName(const char *value)
Definition: ConditionalForwarder.h:90
AWSVector.h
Aws::DirectoryService::Model::ConditionalForwarder::GetRemoteDomainName
const Aws::String & GetRemoteDomainName() const
Definition: ConditionalForwarder.h:48
Aws::DirectoryService::Model::ConditionalForwarder::AddDnsIpAddrs
ConditionalForwarder & AddDnsIpAddrs(const Aws::String &value)
Definition: ConditionalForwarder.h:140
Aws::DirectoryService::Model::ConditionalForwarder
Definition: ConditionalForwarder.h:36
Aws::DirectoryService::Model::ConditionalForwarder::SetReplicationScope
void SetReplicationScope(ReplicationScope &&value)
Definition: ConditionalForwarder.h:183
Aws::DirectoryService::Model::ConditionalForwarder::SetDnsIpAddrs
void SetDnsIpAddrs(Aws::Vector< Aws::String > &&value)
Definition: ConditionalForwarder.h:119
Aws::DirectoryService::Model::ConditionalForwarder::WithDnsIpAddrs
ConditionalForwarder & WithDnsIpAddrs(const Aws::Vector< Aws::String > &value)
Definition: ConditionalForwarder.h:126
Aws::DirectoryService::Model::ConditionalForwarder::SetRemoteDomainName
void SetRemoteDomainName(const char *value)
Definition: ConditionalForwarder.h:72
Aws::DirectoryService::Model::ConditionalForwarder::WithReplicationScope
ConditionalForwarder & WithReplicationScope(const ReplicationScope &value)
Definition: ConditionalForwarder.h:190
Aws::DirectoryService::Model::ConditionalForwarder::RemoteDomainNameHasBeenSet
bool RemoteDomainNameHasBeenSet() const
Definition: ConditionalForwarder.h:54
Aws::DirectoryService::Model::ConditionalForwarder::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
ReplicationScope.h
Aws::DirectoryService::Model::ConditionalForwarder::SetReplicationScope
void SetReplicationScope(const ReplicationScope &value)
Definition: ConditionalForwarder.h:176
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DirectoryService::Model::ConditionalForwarder::SetDnsIpAddrs
void SetDnsIpAddrs(const Aws::Vector< Aws::String > &value)
Definition: ConditionalForwarder.h:112
Aws::DirectoryService::Model::ConditionalForwarder::WithRemoteDomainName
ConditionalForwarder & WithRemoteDomainName(Aws::String &&value)
Definition: ConditionalForwarder.h:84
Aws::DirectoryService::Model::ConditionalForwarder::WithDnsIpAddrs
ConditionalForwarder & WithDnsIpAddrs(Aws::Vector< Aws::String > &&value)
Definition: ConditionalForwarder.h:133
Aws::DirectoryService::Model::ConditionalForwarder::WithRemoteDomainName
ConditionalForwarder & WithRemoteDomainName(const Aws::String &value)
Definition: ConditionalForwarder.h:78
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::ConditionalForwarder::AddDnsIpAddrs
ConditionalForwarder & AddDnsIpAddrs(Aws::String &&value)
Definition: ConditionalForwarder.h:147
Aws::DirectoryService::Model::ConditionalForwarder::ReplicationScopeHasBeenSet
bool ReplicationScopeHasBeenSet() const
Definition: ConditionalForwarder.h:169
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::ConditionalForwarder::GetReplicationScope
const ReplicationScope & GetReplicationScope() const
Definition: ConditionalForwarder.h:162
Aws::DirectoryService::Model::ConditionalForwarder::ConditionalForwarder
ConditionalForwarder(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::ConditionalForwarder::SetRemoteDomainName
void SetRemoteDomainName(const Aws::String &value)
Definition: ConditionalForwarder.h:60