7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ds/model/SnapshotType.h>
10#include <aws/ds/model/SnapshotStatus.h>
11#include <aws/core/utils/DateTime.h>
24namespace DirectoryService
49 template<
typename DirectoryIdT = Aws::String>
50 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet =
true; m_directoryId = std::forward<DirectoryIdT>(value); }
51 template<
typename DirectoryIdT = Aws::String>
61 template<
typename SnapshotIdT = Aws::String>
62 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet =
true; m_snapshotId = std::forward<SnapshotIdT>(value); }
63 template<
typename SnapshotIdT = Aws::String>
83 template<
typename NameT = Aws::String>
84 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
85 template<
typename NameT = Aws::String>
105 template<
typename StartTimeT = Aws::Utils::DateTime>
106 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
107 template<
typename StartTimeT = Aws::Utils::DateTime>
113 bool m_directoryIdHasBeenSet =
false;
116 bool m_snapshotIdHasBeenSet =
false;
119 bool m_typeHasBeenSet =
false;
122 bool m_nameHasBeenSet =
false;
125 bool m_statusHasBeenSet =
false;
128 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