7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/AddOnType.h>
9#include <aws/lightsail/model/AutoSnapshotAddOnRequest.h>
10#include <aws/lightsail/model/StopInstanceOnIdleRequest.h>
87 bool m_addOnTypeHasBeenSet =
false;
90 bool m_autoSnapshotAddOnRequestHasBeenSet =
false;
93 bool m_stopInstanceOnIdleRequestHasBeenSet =
false;
AddOnRequest & WithAutoSnapshotAddOnRequest(AutoSnapshotAddOnRequest &&value)
void SetAddOnType(AddOnType &&value)
AWS_LIGHTSAIL_API AddOnRequest(Aws::Utils::Json::JsonView jsonValue)
void SetStopInstanceOnIdleRequest(const StopInstanceOnIdleRequest &value)
const AutoSnapshotAddOnRequest & GetAutoSnapshotAddOnRequest() const
AddOnRequest & WithStopInstanceOnIdleRequest(const StopInstanceOnIdleRequest &value)
void SetStopInstanceOnIdleRequest(StopInstanceOnIdleRequest &&value)
AddOnRequest & WithAddOnType(const AddOnType &value)
void SetAutoSnapshotAddOnRequest(const AutoSnapshotAddOnRequest &value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
bool AutoSnapshotAddOnRequestHasBeenSet() const
bool AddOnTypeHasBeenSet() const
AWS_LIGHTSAIL_API AddOnRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API AddOnRequest()
AddOnRequest & WithAutoSnapshotAddOnRequest(const AutoSnapshotAddOnRequest &value)
const AddOnType & GetAddOnType() const
AddOnRequest & WithStopInstanceOnIdleRequest(StopInstanceOnIdleRequest &&value)
const StopInstanceOnIdleRequest & GetStopInstanceOnIdleRequest() const
void SetAutoSnapshotAddOnRequest(AutoSnapshotAddOnRequest &&value)
AddOnRequest & WithAddOnType(AddOnType &&value)
void SetAddOnType(const AddOnType &value)
bool StopInstanceOnIdleRequestHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue