AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
ScanJobCreator.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Backup {
20namespace Model {
21
29 public:
30 AWS_BACKUP_API ScanJobCreator() = default;
31 AWS_BACKUP_API ScanJobCreator(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetBackupPlanArn() const { return m_backupPlanArn; }
42 inline bool BackupPlanArnHasBeenSet() const { return m_backupPlanArnHasBeenSet; }
43 template <typename BackupPlanArnT = Aws::String>
44 void SetBackupPlanArn(BackupPlanArnT&& value) {
45 m_backupPlanArnHasBeenSet = true;
46 m_backupPlanArn = std::forward<BackupPlanArnT>(value);
47 }
48 template <typename BackupPlanArnT = Aws::String>
49 ScanJobCreator& WithBackupPlanArn(BackupPlanArnT&& value) {
50 SetBackupPlanArn(std::forward<BackupPlanArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetBackupPlanId() const { return m_backupPlanId; }
60 inline bool BackupPlanIdHasBeenSet() const { return m_backupPlanIdHasBeenSet; }
61 template <typename BackupPlanIdT = Aws::String>
62 void SetBackupPlanId(BackupPlanIdT&& value) {
63 m_backupPlanIdHasBeenSet = true;
64 m_backupPlanId = std::forward<BackupPlanIdT>(value);
65 }
66 template <typename BackupPlanIdT = Aws::String>
67 ScanJobCreator& WithBackupPlanId(BackupPlanIdT&& value) {
68 SetBackupPlanId(std::forward<BackupPlanIdT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetBackupPlanVersion() const { return m_backupPlanVersion; }
79 inline bool BackupPlanVersionHasBeenSet() const { return m_backupPlanVersionHasBeenSet; }
80 template <typename BackupPlanVersionT = Aws::String>
81 void SetBackupPlanVersion(BackupPlanVersionT&& value) {
82 m_backupPlanVersionHasBeenSet = true;
83 m_backupPlanVersion = std::forward<BackupPlanVersionT>(value);
84 }
85 template <typename BackupPlanVersionT = Aws::String>
86 ScanJobCreator& WithBackupPlanVersion(BackupPlanVersionT&& value) {
87 SetBackupPlanVersion(std::forward<BackupPlanVersionT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetBackupRuleId() const { return m_backupRuleId; }
97 inline bool BackupRuleIdHasBeenSet() const { return m_backupRuleIdHasBeenSet; }
98 template <typename BackupRuleIdT = Aws::String>
99 void SetBackupRuleId(BackupRuleIdT&& value) {
100 m_backupRuleIdHasBeenSet = true;
101 m_backupRuleId = std::forward<BackupRuleIdT>(value);
102 }
103 template <typename BackupRuleIdT = Aws::String>
104 ScanJobCreator& WithBackupRuleId(BackupRuleIdT&& value) {
105 SetBackupRuleId(std::forward<BackupRuleIdT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_backupPlanArn;
111
112 Aws::String m_backupPlanId;
113
114 Aws::String m_backupPlanVersion;
115
116 Aws::String m_backupRuleId;
117 bool m_backupPlanArnHasBeenSet = false;
118 bool m_backupPlanIdHasBeenSet = false;
119 bool m_backupPlanVersionHasBeenSet = false;
120 bool m_backupRuleIdHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace Backup
125} // namespace Aws
void SetBackupPlanArn(BackupPlanArnT &&value)
const Aws::String & GetBackupRuleId() const
ScanJobCreator & WithBackupPlanId(BackupPlanIdT &&value)
ScanJobCreator & WithBackupPlanArn(BackupPlanArnT &&value)
void SetBackupRuleId(BackupRuleIdT &&value)
void SetBackupPlanVersion(BackupPlanVersionT &&value)
void SetBackupPlanId(BackupPlanIdT &&value)
AWS_BACKUP_API ScanJobCreator(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
ScanJobCreator & WithBackupPlanVersion(BackupPlanVersionT &&value)
const Aws::String & GetBackupPlanVersion() const
AWS_BACKUP_API ScanJobCreator()=default
const Aws::String & GetBackupPlanArn() const
const Aws::String & GetBackupPlanId() const
ScanJobCreator & WithBackupRuleId(BackupRuleIdT &&value)
AWS_BACKUP_API ScanJobCreator & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue