7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
19namespace AmplifyGen3 {
44 m_storageBytesHasBeenSet =
true;
45 m_storageBytes = value;
61 m_connectionsHasBeenSet =
true;
62 m_connections = value;
78 template <
typename LastUsedAtT = Aws::Utils::DateTime>
80 m_lastUsedAtHasBeenSet =
true;
81 m_lastUsedAt = std::forward<LastUsedAtT>(value);
83 template <
typename LastUsedAtT = Aws::Utils::DateTime>
98 template <
typename SampledAtT = Aws::Utils::DateTime>
100 m_sampledAtHasBeenSet =
true;
101 m_sampledAt = std::forward<SampledAtT>(value);
103 template <
typename SampledAtT = Aws::Utils::DateTime>
122 m_monthlyBackendCapacityUnitHoursHasBeenSet =
true;
123 m_monthlyBackendCapacityUnitHours = value;
131 long long m_storageBytes{0};
133 int m_connections{0};
139 double m_monthlyBackendCapacityUnitHours{0.0};
140 bool m_storageBytesHasBeenSet =
false;
141 bool m_connectionsHasBeenSet =
false;
142 bool m_lastUsedAtHasBeenSet =
false;
143 bool m_sampledAtHasBeenSet =
false;
144 bool m_monthlyBackendCapacityUnitHoursHasBeenSet =
false;
long long GetStorageBytes() const
void SetSampledAt(SampledAtT &&value)
int GetConnections() const
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
BranchDatabaseUsage & WithStorageBytes(long long value)
void SetLastUsedAt(LastUsedAtT &&value)
void SetStorageBytes(long long value)
AWS_AMPLIFYGEN3_API BranchDatabaseUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastUsedAtHasBeenSet() const
BranchDatabaseUsage & WithLastUsedAt(LastUsedAtT &&value)
const Aws::Utils::DateTime & GetSampledAt() const
void SetMonthlyBackendCapacityUnitHours(double value)
bool ConnectionsHasBeenSet() const
bool SampledAtHasBeenSet() const
bool MonthlyBackendCapacityUnitHoursHasBeenSet() const
void SetConnections(int value)
BranchDatabaseUsage & WithSampledAt(SampledAtT &&value)
bool StorageBytesHasBeenSet() const
BranchDatabaseUsage & WithMonthlyBackendCapacityUnitHours(double value)
const Aws::Utils::DateTime & GetLastUsedAt() const
BranchDatabaseUsage & WithConnections(int value)
AWS_AMPLIFYGEN3_API BranchDatabaseUsage()=default
AWS_AMPLIFYGEN3_API BranchDatabaseUsage(Aws::Utils::Json::JsonView jsonValue)
double GetMonthlyBackendCapacityUnitHours() const
Aws::Utils::Json::JsonValue JsonValue