7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
30 AWS_LIGHTSAIL_API
AddOn() =
default;
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
59 template <
typename StatusT = Aws::String>
61 m_statusHasBeenSet =
true;
62 m_status = std::forward<StatusT>(value);
64 template <
typename StatusT = Aws::String>
80 template <
typename SnapshotTimeOfDayT = Aws::String>
82 m_snapshotTimeOfDayHasBeenSet =
true;
83 m_snapshotTimeOfDay = std::forward<SnapshotTimeOfDayT>(value);
85 template <
typename SnapshotTimeOfDayT = Aws::String>
101 template <
typename NextSnapshotTimeOfDayT = Aws::String>
103 m_nextSnapshotTimeOfDayHasBeenSet =
true;
104 m_nextSnapshotTimeOfDay = std::forward<NextSnapshotTimeOfDayT>(value);
106 template <
typename NextSnapshotTimeOfDayT = Aws::String>
120 template <
typename ThresholdT = Aws::String>
122 m_thresholdHasBeenSet =
true;
123 m_threshold = std::forward<ThresholdT>(value);
125 template <
typename ThresholdT = Aws::String>
140 template <
typename DurationT = Aws::String>
142 m_durationHasBeenSet =
true;
143 m_duration = std::forward<DurationT>(value);
145 template <
typename DurationT = Aws::String>
163 bool m_nameHasBeenSet =
false;
164 bool m_statusHasBeenSet =
false;
165 bool m_snapshotTimeOfDayHasBeenSet =
false;
166 bool m_nextSnapshotTimeOfDayHasBeenSet =
false;
167 bool m_thresholdHasBeenSet =
false;
168 bool m_durationHasBeenSet =
false;
AddOn & WithSnapshotTimeOfDay(SnapshotTimeOfDayT &&value)
const Aws::String & GetDuration() const
bool DurationHasBeenSet() const
void SetSnapshotTimeOfDay(SnapshotTimeOfDayT &&value)
AddOn & WithThreshold(ThresholdT &&value)
AddOn & WithName(NameT &&value)
AddOn & WithNextSnapshotTimeOfDay(NextSnapshotTimeOfDayT &&value)
void SetName(NameT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetThreshold(ThresholdT &&value)
bool StatusHasBeenSet() const
void SetDuration(DurationT &&value)
void SetStatus(StatusT &&value)
const Aws::String & GetSnapshotTimeOfDay() const
AWS_LIGHTSAIL_API AddOn(Aws::Utils::Json::JsonView jsonValue)
bool ThresholdHasBeenSet() const
const Aws::String & GetStatus() const
AddOn & WithStatus(StatusT &&value)
bool SnapshotTimeOfDayHasBeenSet() const
const Aws::String & GetThreshold() const
const Aws::String & GetName() const
void SetNextSnapshotTimeOfDay(NextSnapshotTimeOfDayT &&value)
AWS_LIGHTSAIL_API AddOn()=default
const Aws::String & GetNextSnapshotTimeOfDay() const
AWS_LIGHTSAIL_API AddOn & operator=(Aws::Utils::Json::JsonView jsonValue)
AddOn & WithDuration(DurationT &&value)
bool NameHasBeenSet() const
bool NextSnapshotTimeOfDayHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue