AWS SDK for C++

AWS SDK for C++ Version 1.11.855

Loading...
Searching...
No Matches
RecoveryPointDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/ScanConfigurationContinuousScanDetails.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GuardDuty {
21namespace Model {
22
30 public:
31 AWS_GUARDDUTY_API RecoveryPointDetails() = default;
34 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetRecoveryPointArn() const { return m_recoveryPointArn; }
41 inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; }
42 template <typename RecoveryPointArnT = Aws::String>
43 void SetRecoveryPointArn(RecoveryPointArnT&& value) {
44 m_recoveryPointArnHasBeenSet = true;
45 m_recoveryPointArn = std::forward<RecoveryPointArnT>(value);
46 }
47 template <typename RecoveryPointArnT = Aws::String>
48 RecoveryPointDetails& WithRecoveryPointArn(RecoveryPointArnT&& value) {
49 SetRecoveryPointArn(std::forward<RecoveryPointArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetBackupVaultName() const { return m_backupVaultName; }
59 inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; }
60 template <typename BackupVaultNameT = Aws::String>
61 void SetBackupVaultName(BackupVaultNameT&& value) {
62 m_backupVaultNameHasBeenSet = true;
63 m_backupVaultName = std::forward<BackupVaultNameT>(value);
64 }
65 template <typename BackupVaultNameT = Aws::String>
66 RecoveryPointDetails& WithBackupVaultName(BackupVaultNameT&& value) {
67 SetBackupVaultName(std::forward<BackupVaultNameT>(value));
68 return *this;
69 }
71
73
74 inline const ScanConfigurationContinuousScanDetails& GetContinuousScanDetails() const { return m_continuousScanDetails; }
75 inline bool ContinuousScanDetailsHasBeenSet() const { return m_continuousScanDetailsHasBeenSet; }
76 template <typename ContinuousScanDetailsT = ScanConfigurationContinuousScanDetails>
77 void SetContinuousScanDetails(ContinuousScanDetailsT&& value) {
78 m_continuousScanDetailsHasBeenSet = true;
79 m_continuousScanDetails = std::forward<ContinuousScanDetailsT>(value);
80 }
81 template <typename ContinuousScanDetailsT = ScanConfigurationContinuousScanDetails>
82 RecoveryPointDetails& WithContinuousScanDetails(ContinuousScanDetailsT&& value) {
83 SetContinuousScanDetails(std::forward<ContinuousScanDetailsT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_recoveryPointArn;
89
90 Aws::String m_backupVaultName;
91
92 ScanConfigurationContinuousScanDetails m_continuousScanDetails;
93 bool m_recoveryPointArnHasBeenSet = false;
94 bool m_backupVaultNameHasBeenSet = false;
95 bool m_continuousScanDetailsHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace GuardDuty
100} // namespace Aws
void SetContinuousScanDetails(ContinuousScanDetailsT &&value)
RecoveryPointDetails & WithBackupVaultName(BackupVaultNameT &&value)
void SetRecoveryPointArn(RecoveryPointArnT &&value)
RecoveryPointDetails & WithRecoveryPointArn(RecoveryPointArnT &&value)
AWS_GUARDDUTY_API RecoveryPointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const ScanConfigurationContinuousScanDetails & GetContinuousScanDetails() const
void SetBackupVaultName(BackupVaultNameT &&value)
RecoveryPointDetails & WithContinuousScanDetails(ContinuousScanDetailsT &&value)
AWS_GUARDDUTY_API RecoveryPointDetails()=default
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API RecoveryPointDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue