AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataReplicationSettings.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/model/DataReplication.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WorkSpaces
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WORKSPACES_API DataReplicationSettings();
38 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const DataReplication& GetDataReplication() const{ return m_dataReplication; }
47 inline bool DataReplicationHasBeenSet() const { return m_dataReplicationHasBeenSet; }
48 inline void SetDataReplication(const DataReplication& value) { m_dataReplicationHasBeenSet = true; m_dataReplication = value; }
49 inline void SetDataReplication(DataReplication&& value) { m_dataReplicationHasBeenSet = true; m_dataReplication = std::move(value); }
51 inline DataReplicationSettings& WithDataReplication(DataReplication&& value) { SetDataReplication(std::move(value)); return *this;}
53
55
59 inline const Aws::Utils::DateTime& GetRecoverySnapshotTime() const{ return m_recoverySnapshotTime; }
60 inline bool RecoverySnapshotTimeHasBeenSet() const { return m_recoverySnapshotTimeHasBeenSet; }
61 inline void SetRecoverySnapshotTime(const Aws::Utils::DateTime& value) { m_recoverySnapshotTimeHasBeenSet = true; m_recoverySnapshotTime = value; }
62 inline void SetRecoverySnapshotTime(Aws::Utils::DateTime&& value) { m_recoverySnapshotTimeHasBeenSet = true; m_recoverySnapshotTime = std::move(value); }
66 private:
67
68 DataReplication m_dataReplication;
69 bool m_dataReplicationHasBeenSet = false;
70
71 Aws::Utils::DateTime m_recoverySnapshotTime;
72 bool m_recoverySnapshotTimeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace WorkSpaces
77} // namespace Aws
DataReplicationSettings & WithDataReplication(DataReplication &&value)
DataReplicationSettings & WithRecoverySnapshotTime(Aws::Utils::DateTime &&value)
AWS_WORKSPACES_API DataReplicationSettings(Aws::Utils::Json::JsonView jsonValue)
DataReplicationSettings & WithRecoverySnapshotTime(const Aws::Utils::DateTime &value)
AWS_WORKSPACES_API DataReplicationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
DataReplicationSettings & WithDataReplication(const DataReplication &value)
void SetDataReplication(const DataReplication &value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRecoverySnapshotTime(Aws::Utils::DateTime &&value)
void SetRecoverySnapshotTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetRecoverySnapshotTime() const
Aws::Utils::Json::JsonValue JsonValue