7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/firehose/model/SnapshotRequestedBy.h>
11#include <aws/firehose/model/SnapshotStatus.h>
12#include <aws/firehose/model/FailureDescription.h>
54 template<
typename IdT = Aws::String>
55 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
56 template<
typename IdT = Aws::String>
68 template<
typename TableT = Aws::String>
69 void SetTable(TableT&& value) { m_tableHasBeenSet =
true; m_table = std::forward<TableT>(value); }
70 template<
typename TableT = Aws::String>
81 template<
typename RequestTimestampT = Aws::Utils::DateTime>
82 void SetRequestTimestamp(RequestTimestampT&& value) { m_requestTimestampHasBeenSet =
true; m_requestTimestamp = std::forward<RequestTimestampT>(value); }
83 template<
typename RequestTimestampT = Aws::Utils::DateTime>
114 template<
typename FailureDescriptionT = FailureDescription>
115 void SetFailureDescription(FailureDescriptionT&& value) { m_failureDescriptionHasBeenSet =
true; m_failureDescription = std::forward<FailureDescriptionT>(value); }
116 template<
typename FailureDescriptionT = FailureDescription>
122 bool m_idHasBeenSet =
false;
125 bool m_tableHasBeenSet =
false;
128 bool m_requestTimestampHasBeenSet =
false;
131 bool m_requestedByHasBeenSet =
false;
134 bool m_statusHasBeenSet =
false;
136 FailureDescription m_failureDescription;
137 bool m_failureDescriptionHasBeenSet =
false;
const FailureDescription & GetFailureDescription() const
bool StatusHasBeenSet() const
DatabaseSnapshotInfo & WithId(IdT &&value)
bool IdHasBeenSet() const
DatabaseSnapshotInfo & WithRequestTimestamp(RequestTimestampT &&value)
void SetTable(TableT &&value)
DatabaseSnapshotInfo & WithRequestedBy(SnapshotRequestedBy value)
DatabaseSnapshotInfo & WithStatus(SnapshotStatus value)
bool RequestTimestampHasBeenSet() const
bool FailureDescriptionHasBeenSet() const
const Aws::String & GetTable() const
const Aws::String & GetId() const
SnapshotStatus GetStatus() const
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRequestTimestamp(RequestTimestampT &&value)
void SetStatus(SnapshotStatus value)
bool RequestedByHasBeenSet() const
DatabaseSnapshotInfo & WithFailureDescription(FailureDescriptionT &&value)
AWS_FIREHOSE_API DatabaseSnapshotInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API DatabaseSnapshotInfo()=default
bool TableHasBeenSet() const
void SetRequestedBy(SnapshotRequestedBy value)
const Aws::Utils::DateTime & GetRequestTimestamp() const
AWS_FIREHOSE_API DatabaseSnapshotInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFailureDescription(FailureDescriptionT &&value)
SnapshotRequestedBy GetRequestedBy() const
DatabaseSnapshotInfo & WithTable(TableT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue