7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/model/CreateSnapshotScheduleActionParameters.h>
19namespace RedshiftServerless {
42 template <
typename CreateSnapshotT = CreateSnapshotScheduleActionParameters>
44 m_createSnapshotHasBeenSet =
true;
45 m_createSnapshot = std::forward<CreateSnapshotT>(value);
47 template <
typename CreateSnapshotT = CreateSnapshotScheduleActionParameters>
55 bool m_createSnapshotHasBeenSet =
false;
AWS_REDSHIFTSERVERLESS_API TargetAction(Aws::Utils::Json::JsonView jsonValue)
TargetAction & WithCreateSnapshot(CreateSnapshotT &&value)
AWS_REDSHIFTSERVERLESS_API TargetAction & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreateSnapshotHasBeenSet() const
const CreateSnapshotScheduleActionParameters & GetCreateSnapshot() const
void SetCreateSnapshot(CreateSnapshotT &&value)
AWS_REDSHIFTSERVERLESS_API TargetAction()=default
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue