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/ds/model/TrustDirection.h>
11#include <aws/ds/model/TrustType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ds/model/SelectiveAuth.h>
18namespace DirectoryService
58 template<
typename DirectoryIdT = Aws::String>
59 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet =
true; m_directoryId = std::forward<DirectoryIdT>(value); }
60 template<
typename DirectoryIdT = Aws::String>
71 template<
typename RemoteDomainNameT = Aws::String>
72 void SetRemoteDomainName(RemoteDomainNameT&& value) { m_remoteDomainNameHasBeenSet =
true; m_remoteDomainName = std::forward<RemoteDomainNameT>(value); }
73 template<
typename RemoteDomainNameT = Aws::String>
84 template<
typename TrustPasswordT = Aws::String>
85 void SetTrustPassword(TrustPasswordT&& value) { m_trustPasswordHasBeenSet =
true; m_trustPassword = std::forward<TrustPasswordT>(value); }
86 template<
typename TrustPasswordT = Aws::String>
117 template<
typename ConditionalForwarderIpAddrsT = Aws::Vector<Aws::String>>
118 void SetConditionalForwarderIpAddrs(ConditionalForwarderIpAddrsT&& value) { m_conditionalForwarderIpAddrsHasBeenSet =
true; m_conditionalForwarderIpAddrs = std::forward<ConditionalForwarderIpAddrsT>(value); }
119 template<
typename ConditionalForwarderIpAddrsT = Aws::Vector<Aws::String>>
121 template<
typename ConditionalForwarderIpAddrsT = Aws::String>
137 bool m_directoryIdHasBeenSet =
false;
140 bool m_remoteDomainNameHasBeenSet =
false;
143 bool m_trustPasswordHasBeenSet =
false;
146 bool m_trustDirectionHasBeenSet =
false;
149 bool m_trustTypeHasBeenSet =
false;
152 bool m_conditionalForwarderIpAddrsHasBeenSet =
false;
155 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)
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
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
TrustType GetTrustType() const
bool TrustPasswordHasBeenSet() const
CreateTrustRequest & AddConditionalForwarderIpAddrs(ConditionalForwarderIpAddrsT &&value)
CreateTrustRequest & WithTrustPassword(TrustPasswordT &&value)
CreateTrustRequest & WithSelectiveAuth(SelectiveAuth value)
void SetTrustType(TrustType value)
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