7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ds/model/TrustType.h>
10#include <aws/ds/model/TrustDirection.h>
11#include <aws/ds/model/TrustState.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/ds/model/SelectiveAuth.h>
26namespace DirectoryService
40 AWS_DIRECTORYSERVICE_API
Trust() =
default;
53 template<
typename DirectoryIdT = Aws::String>
54 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet =
true; m_directoryId = std::forward<DirectoryIdT>(value); }
55 template<
typename DirectoryIdT = Aws::String>
65 template<
typename TrustIdT = Aws::String>
66 void SetTrustId(TrustIdT&& value) { m_trustIdHasBeenSet =
true; m_trustId = std::forward<TrustIdT>(value); }
67 template<
typename TrustIdT = Aws::String>
78 template<
typename RemoteDomainNameT = Aws::String>
79 void SetRemoteDomainName(RemoteDomainNameT&& value) { m_remoteDomainNameHasBeenSet =
true; m_remoteDomainName = std::forward<RemoteDomainNameT>(value); }
80 template<
typename RemoteDomainNameT = Aws::String>
120 template<
typename CreatedDateTimeT = Aws::Utils::DateTime>
121 void SetCreatedDateTime(CreatedDateTimeT&& value) { m_createdDateTimeHasBeenSet =
true; m_createdDateTime = std::forward<CreatedDateTimeT>(value); }
122 template<
typename CreatedDateTimeT = Aws::Utils::DateTime>
132 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
133 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet =
true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
134 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
144 template<
typename StateLastUpdatedDateTimeT = Aws::Utils::DateTime>
145 void SetStateLastUpdatedDateTime(StateLastUpdatedDateTimeT&& value) { m_stateLastUpdatedDateTimeHasBeenSet =
true; m_stateLastUpdatedDateTime = std::forward<StateLastUpdatedDateTimeT>(value); }
146 template<
typename StateLastUpdatedDateTimeT = Aws::Utils::DateTime>
156 template<
typename TrustStateReasonT = Aws::String>
157 void SetTrustStateReason(TrustStateReasonT&& value) { m_trustStateReasonHasBeenSet =
true; m_trustStateReason = std::forward<TrustStateReasonT>(value); }
158 template<
typename TrustStateReasonT = Aws::String>
174 bool m_directoryIdHasBeenSet =
false;
177 bool m_trustIdHasBeenSet =
false;
180 bool m_remoteDomainNameHasBeenSet =
false;
183 bool m_trustTypeHasBeenSet =
false;
186 bool m_trustDirectionHasBeenSet =
false;
189 bool m_trustStateHasBeenSet =
false;
192 bool m_createdDateTimeHasBeenSet =
false;
195 bool m_lastUpdatedDateTimeHasBeenSet =
false;
198 bool m_stateLastUpdatedDateTimeHasBeenSet =
false;
201 bool m_trustStateReasonHasBeenSet =
false;
204 bool m_selectiveAuthHasBeenSet =
false;
void SetTrustType(TrustType value)
SelectiveAuth GetSelectiveAuth() const
const Aws::String & GetRemoteDomainName() const
Trust & WithSelectiveAuth(SelectiveAuth value)
Trust & WithDirectoryId(DirectoryIdT &&value)
const Aws::Utils::DateTime & GetStateLastUpdatedDateTime() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetCreatedDateTime(CreatedDateTimeT &&value)
Trust & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
bool LastUpdatedDateTimeHasBeenSet() const
AWS_DIRECTORYSERVICE_API Trust(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDirectoryId() const
AWS_DIRECTORYSERVICE_API Trust()=default
Trust & WithTrustDirection(TrustDirection value)
void SetDirectoryId(DirectoryIdT &&value)
TrustType GetTrustType() const
bool TrustStateHasBeenSet() const
bool CreatedDateTimeHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedDateTime() const
void SetTrustDirection(TrustDirection value)
Trust & WithCreatedDateTime(CreatedDateTimeT &&value)
bool RemoteDomainNameHasBeenSet() const
void SetStateLastUpdatedDateTime(StateLastUpdatedDateTimeT &&value)
bool TrustDirectionHasBeenSet() const
const Aws::String & GetTrustId() const
Trust & WithRemoteDomainName(RemoteDomainNameT &&value)
bool StateLastUpdatedDateTimeHasBeenSet() const
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool TrustIdHasBeenSet() const
TrustState GetTrustState() const
AWS_DIRECTORYSERVICE_API Trust & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TrustStateReasonHasBeenSet() const
bool SelectiveAuthHasBeenSet() const
Trust & WithTrustStateReason(TrustStateReasonT &&value)
void SetTrustStateReason(TrustStateReasonT &&value)
bool DirectoryIdHasBeenSet() const
bool TrustTypeHasBeenSet() const
TrustDirection GetTrustDirection() const
void SetRemoteDomainName(RemoteDomainNameT &&value)
Trust & WithStateLastUpdatedDateTime(StateLastUpdatedDateTimeT &&value)
const Aws::String & GetTrustStateReason() const
Trust & WithTrustId(TrustIdT &&value)
void SetTrustId(TrustIdT &&value)
Trust & WithTrustState(TrustState value)
Trust & WithTrustType(TrustType value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetSelectiveAuth(SelectiveAuth value)
void SetTrustState(TrustState value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue