AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TargetAction.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/model/CreateSnapshotScheduleActionParameters.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace RedshiftServerless
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_REDSHIFTSERVERLESS_API TargetAction();
39 AWS_REDSHIFTSERVERLESS_API TargetAction(Aws::Utils::Json::JsonView jsonValue);
40 AWS_REDSHIFTSERVERLESS_API TargetAction& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
46 inline const CreateSnapshotScheduleActionParameters& GetCreateSnapshot() const{ return m_createSnapshot; }
47 inline bool CreateSnapshotHasBeenSet() const { return m_createSnapshotHasBeenSet; }
48 inline void SetCreateSnapshot(const CreateSnapshotScheduleActionParameters& value) { m_createSnapshotHasBeenSet = true; m_createSnapshot = value; }
49 inline void SetCreateSnapshot(CreateSnapshotScheduleActionParameters&& value) { m_createSnapshotHasBeenSet = true; m_createSnapshot = std::move(value); }
53 private:
54
56 bool m_createSnapshotHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace RedshiftServerless
61} // namespace Aws
AWS_REDSHIFTSERVERLESS_API TargetAction(Aws::Utils::Json::JsonView jsonValue)
void SetCreateSnapshot(CreateSnapshotScheduleActionParameters &&value)
TargetAction & WithCreateSnapshot(const CreateSnapshotScheduleActionParameters &value)
void SetCreateSnapshot(const CreateSnapshotScheduleActionParameters &value)
TargetAction & WithCreateSnapshot(CreateSnapshotScheduleActionParameters &&value)
AWS_REDSHIFTSERVERLESS_API TargetAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const CreateSnapshotScheduleActionParameters & GetCreateSnapshot() const
AWS_REDSHIFTSERVERLESS_API TargetAction()
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue