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/SnapshotStatus.h>
11#include <aws/ds/model/SnapshotType.h>
22namespace DirectoryService {
43 template <
typename DirectoryIdT = Aws::String>
45 m_directoryIdHasBeenSet =
true;
46 m_directoryId = std::forward<DirectoryIdT>(value);
48 template <
typename DirectoryIdT = Aws::String>
61 template <
typename SnapshotIdT = Aws::String>
63 m_snapshotIdHasBeenSet =
true;
64 m_snapshotId = std::forward<SnapshotIdT>(value);
66 template <
typename SnapshotIdT = Aws::String>
80 m_typeHasBeenSet =
true;
95 template <
typename NameT = Aws::String>
97 m_nameHasBeenSet =
true;
98 m_name = std::forward<NameT>(value);
100 template <
typename NameT = Aws::String>
102 SetName(std::forward<NameT>(value));
114 m_statusHasBeenSet =
true;
129 template <
typename StartTimeT = Aws::Utils::DateTime>
131 m_startTimeHasBeenSet =
true;
132 m_startTime = std::forward<StartTimeT>(value);
134 template <
typename StartTimeT = Aws::Utils::DateTime>
152 bool m_directoryIdHasBeenSet =
false;
153 bool m_snapshotIdHasBeenSet =
false;
154 bool m_typeHasBeenSet =
false;
155 bool m_nameHasBeenSet =
false;
156 bool m_statusHasBeenSet =
false;
157 bool m_startTimeHasBeenSet =
false;
Snapshot & WithSnapshotId(SnapshotIdT &&value)
bool StatusHasBeenSet() const
bool SnapshotIdHasBeenSet() const
void SetType(SnapshotType value)
bool DirectoryIdHasBeenSet() const
Snapshot & WithType(SnapshotType value)
void SetSnapshotId(SnapshotIdT &&value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::String & GetName() const
void SetStartTime(StartTimeT &&value)
const Aws::String & GetSnapshotId() const
Snapshot & WithName(NameT &&value)
SnapshotType GetType() const
AWS_DIRECTORYSERVICE_API Snapshot & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DIRECTORYSERVICE_API Snapshot()=default
bool StartTimeHasBeenSet() const
Snapshot & WithStatus(SnapshotStatus value)
void SetDirectoryId(DirectoryIdT &&value)
SnapshotStatus GetStatus() const
bool TypeHasBeenSet() const
AWS_DIRECTORYSERVICE_API Snapshot(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDirectoryId() const
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Snapshot & WithDirectoryId(DirectoryIdT &&value)
void SetName(NameT &&value)
void SetStatus(SnapshotStatus value)
Snapshot & WithStartTime(StartTimeT &&value)
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue