7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
10#include <aws/ds/model/ShareMethod.h>
11#include <aws/ds/model/ShareStatus.h>
22namespace DirectoryService {
46 template <
typename OwnerAccountIdT = Aws::String>
48 m_ownerAccountIdHasBeenSet =
true;
49 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
51 template <
typename OwnerAccountIdT = Aws::String>
64 template <
typename OwnerDirectoryIdT = Aws::String>
66 m_ownerDirectoryIdHasBeenSet =
true;
67 m_ownerDirectoryId = std::forward<OwnerDirectoryIdT>(value);
69 template <
typename OwnerDirectoryIdT = Aws::String>
86 m_shareMethodHasBeenSet =
true;
87 m_shareMethod = value;
102 template <
typename SharedAccountIdT = Aws::String>
104 m_sharedAccountIdHasBeenSet =
true;
105 m_sharedAccountId = std::forward<SharedAccountIdT>(value);
107 template <
typename SharedAccountIdT = Aws::String>
121 template <
typename SharedDirectoryIdT = Aws::String>
123 m_sharedDirectoryIdHasBeenSet =
true;
124 m_sharedDirectoryId = std::forward<SharedDirectoryIdT>(value);
126 template <
typename SharedDirectoryIdT = Aws::String>
140 m_shareStatusHasBeenSet =
true;
141 m_shareStatus = value;
158 template <
typename ShareNotesT = Aws::String>
160 m_shareNotesHasBeenSet =
true;
161 m_shareNotes = std::forward<ShareNotesT>(value);
163 template <
typename ShareNotesT = Aws::String>
176 template <
typename CreatedDateTimeT = Aws::Utils::DateTime>
178 m_createdDateTimeHasBeenSet =
true;
179 m_createdDateTime = std::forward<CreatedDateTimeT>(value);
181 template <
typename CreatedDateTimeT = Aws::Utils::DateTime>
194 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
196 m_lastUpdatedDateTimeHasBeenSet =
true;
197 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
199 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
223 bool m_ownerAccountIdHasBeenSet =
false;
224 bool m_ownerDirectoryIdHasBeenSet =
false;
225 bool m_shareMethodHasBeenSet =
false;
226 bool m_sharedAccountIdHasBeenSet =
false;
227 bool m_sharedDirectoryIdHasBeenSet =
false;
228 bool m_shareStatusHasBeenSet =
false;
229 bool m_shareNotesHasBeenSet =
false;
230 bool m_createdDateTimeHasBeenSet =
false;
231 bool m_lastUpdatedDateTimeHasBeenSet =
false;
bool ShareNotesHasBeenSet() const
SharedDirectory & WithCreatedDateTime(CreatedDateTimeT &&value)
bool SharedAccountIdHasBeenSet() const
bool ShareMethodHasBeenSet() const
ShareMethod GetShareMethod() const
const Aws::Utils::DateTime & GetCreatedDateTime() const
void SetShareMethod(ShareMethod value)
SharedDirectory & WithShareMethod(ShareMethod value)
void SetOwnerAccountId(OwnerAccountIdT &&value)
SharedDirectory & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_DIRECTORYSERVICE_API SharedDirectory(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOwnerAccountId() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
bool OwnerAccountIdHasBeenSet() const
SharedDirectory & WithShareNotes(ShareNotesT &&value)
const Aws::String & GetShareNotes() const
SharedDirectory & WithOwnerAccountId(OwnerAccountIdT &&value)
void SetSharedDirectoryId(SharedDirectoryIdT &&value)
bool ShareStatusHasBeenSet() const
SharedDirectory & WithOwnerDirectoryId(OwnerDirectoryIdT &&value)
SharedDirectory & WithSharedAccountId(SharedAccountIdT &&value)
void SetShareNotes(ShareNotesT &&value)
ShareStatus GetShareStatus() const
SharedDirectory & WithShareStatus(ShareStatus value)
bool SharedDirectoryIdHasBeenSet() const
bool LastUpdatedDateTimeHasBeenSet() const
bool CreatedDateTimeHasBeenSet() const
const Aws::String & GetOwnerDirectoryId() const
void SetShareStatus(ShareStatus value)
SharedDirectory & WithSharedDirectoryId(SharedDirectoryIdT &&value)
bool OwnerDirectoryIdHasBeenSet() const
const Aws::String & GetSharedAccountId() const
const Aws::String & GetSharedDirectoryId() const
void SetSharedAccountId(SharedAccountIdT &&value)
AWS_DIRECTORYSERVICE_API SharedDirectory & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOwnerDirectoryId(OwnerDirectoryIdT &&value)
AWS_DIRECTORYSERVICE_API SharedDirectory()=default
void SetCreatedDateTime(CreatedDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue