7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ds/DirectoryServiceRequest.h>
10#include <aws/ds/DirectoryService_EXPORTS.h>
11#include <aws/ds/model/SelectiveAuth.h>
12#include <aws/ds/model/TrustDirection.h>
13#include <aws/ds/model/TrustType.h>
18namespace DirectoryService {
54 template <
typename DirectoryIdT = Aws::String>
56 m_directoryIdHasBeenSet =
true;
57 m_directoryId = std::forward<DirectoryIdT>(value);
59 template <
typename DirectoryIdT = Aws::String>
73 template <
typename RemoteDomainNameT = Aws::String>
75 m_remoteDomainNameHasBeenSet =
true;
76 m_remoteDomainName = std::forward<RemoteDomainNameT>(value);
78 template <
typename RemoteDomainNameT = Aws::String>
92 template <
typename TrustPasswordT = Aws::String>
94 m_trustPasswordHasBeenSet =
true;
95 m_trustPassword = std::forward<TrustPasswordT>(value);
97 template <
typename TrustPasswordT = Aws::String>
111 m_trustDirectionHasBeenSet =
true;
112 m_trustDirection = value;
127 m_trustTypeHasBeenSet =
true;
143 template <
typename ConditionalForwarderIpAddrsT = Aws::Vector<Aws::String>>
145 m_conditionalForwarderIpAddrsHasBeenSet =
true;
146 m_conditionalForwarderIpAddrs = std::forward<ConditionalForwarderIpAddrsT>(value);
148 template <
typename ConditionalForwarderIpAddrsT = Aws::Vector<Aws::String>>
153 template <
typename ConditionalForwarderIpAddrsT = Aws::String>
155 m_conditionalForwarderIpAddrsHasBeenSet =
true;
156 m_conditionalForwarderIpAddrs.emplace_back(std::forward<ConditionalForwarderIpAddrsT>(value));
168 template <
typename ConditionalForwarderIpv6AddrsT = Aws::Vector<Aws::String>>
170 m_conditionalForwarderIpv6AddrsHasBeenSet =
true;
171 m_conditionalForwarderIpv6Addrs = std::forward<ConditionalForwarderIpv6AddrsT>(value);
173 template <
typename ConditionalForwarderIpv6AddrsT = Aws::Vector<Aws::String>>
178 template <
typename ConditionalForwarderIpv6AddrsT = Aws::String>
180 m_conditionalForwarderIpv6AddrsHasBeenSet =
true;
181 m_conditionalForwarderIpv6Addrs.emplace_back(std::forward<ConditionalForwarderIpv6AddrsT>(value));
193 m_selectiveAuthHasBeenSet =
true;
194 m_selectiveAuth = value;
217 bool m_directoryIdHasBeenSet =
false;
218 bool m_remoteDomainNameHasBeenSet =
false;
219 bool m_trustPasswordHasBeenSet =
false;
220 bool m_trustDirectionHasBeenSet =
false;
221 bool m_trustTypeHasBeenSet =
false;
222 bool m_conditionalForwarderIpAddrsHasBeenSet =
false;
223 bool m_conditionalForwarderIpv6AddrsHasBeenSet =
false;
224 bool m_selectiveAuthHasBeenSet =
false;
TrustDirection GetTrustDirection() const
void SetRemoteDomainName(RemoteDomainNameT &&value)
CreateTrustRequest & WithTrustDirection(TrustDirection value)
bool ConditionalForwarderIpAddrsHasBeenSet() const
void SetConditionalForwarderIpAddrs(ConditionalForwarderIpAddrsT &&value)
void SetTrustDirection(TrustDirection value)
CreateTrustRequest & AddConditionalForwarderIpv6Addrs(ConditionalForwarderIpv6AddrsT &&value)
void SetSelectiveAuth(SelectiveAuth value)
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTrustRequest & WithTrustType(TrustType value)
const Aws::Vector< Aws::String > & GetConditionalForwarderIpAddrs() const
const Aws::String & GetDirectoryId() const
CreateTrustRequest & WithRemoteDomainName(RemoteDomainNameT &&value)
bool DirectoryIdHasBeenSet() const
void SetConditionalForwarderIpv6Addrs(ConditionalForwarderIpv6AddrsT &&value)
SelectiveAuth GetSelectiveAuth() const
const Aws::String & GetTrustPassword() const
CreateTrustRequest & WithDirectoryId(DirectoryIdT &&value)
bool RemoteDomainNameHasBeenSet() const
bool TrustDirectionHasBeenSet() const
void SetTrustPassword(TrustPasswordT &&value)
void SetDirectoryId(DirectoryIdT &&value)
virtual const char * GetServiceRequestName() const override
CreateTrustRequest & WithConditionalForwarderIpAddrs(ConditionalForwarderIpAddrsT &&value)
AWS_DIRECTORYSERVICE_API CreateTrustRequest()=default
bool TrustTypeHasBeenSet() const
bool ConditionalForwarderIpv6AddrsHasBeenSet() const
CreateTrustRequest & WithConditionalForwarderIpv6Addrs(ConditionalForwarderIpv6AddrsT &&value)
TrustType GetTrustType() const
bool TrustPasswordHasBeenSet() const
CreateTrustRequest & AddConditionalForwarderIpAddrs(ConditionalForwarderIpAddrsT &&value)
CreateTrustRequest & WithTrustPassword(TrustPasswordT &&value)
CreateTrustRequest & WithSelectiveAuth(SelectiveAuth value)
void SetTrustType(TrustType value)
const Aws::Vector< Aws::String > & GetConditionalForwarderIpv6Addrs() const
const Aws::String & GetRemoteDomainName() const
bool SelectiveAuthHasBeenSet() const
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