AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline DataReplication GetDataReplication() const { return m_dataReplication; }
47 inline bool DataReplicationHasBeenSet() const { return m_dataReplicationHasBeenSet; }
48 inline void SetDataReplication(DataReplication value) { m_dataReplicationHasBeenSet = true; m_dataReplication = value; }
51
53
57 inline const Aws::Utils::DateTime& GetRecoverySnapshotTime() const { return m_recoverySnapshotTime; }
58 inline bool RecoverySnapshotTimeHasBeenSet() const { return m_recoverySnapshotTimeHasBeenSet; }
59 template<typename RecoverySnapshotTimeT = Aws::Utils::DateTime>
60 void SetRecoverySnapshotTime(RecoverySnapshotTimeT&& value) { m_recoverySnapshotTimeHasBeenSet = true; m_recoverySnapshotTime = std::forward<RecoverySnapshotTimeT>(value); }
61 template<typename RecoverySnapshotTimeT = Aws::Utils::DateTime>
62 DataReplicationSettings& WithRecoverySnapshotTime(RecoverySnapshotTimeT&& value) { SetRecoverySnapshotTime(std::forward<RecoverySnapshotTimeT>(value)); return *this;}
64 private:
65
67 bool m_dataReplicationHasBeenSet = false;
68
69 Aws::Utils::DateTime m_recoverySnapshotTime{};
70 bool m_recoverySnapshotTimeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace WorkSpaces
75} // namespace Aws
AWS_WORKSPACES_API DataReplicationSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API DataReplicationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRecoverySnapshotTime(RecoverySnapshotTimeT &&value)
DataReplicationSettings & WithDataReplication(DataReplication value)
DataReplicationSettings & WithRecoverySnapshotTime(RecoverySnapshotTimeT &&value)
const Aws::Utils::DateTime & GetRecoverySnapshotTime() const
AWS_WORKSPACES_API DataReplicationSettings()=default
Aws::Utils::Json::JsonValue JsonValue