AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecoveryPointCreator.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 Backup
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BACKUP_API RecoveryPointCreator();
38 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBackupPlanId() const{ return m_backupPlanId; }
46 inline bool BackupPlanIdHasBeenSet() const { return m_backupPlanIdHasBeenSet; }
47 inline void SetBackupPlanId(const Aws::String& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = value; }
48 inline void SetBackupPlanId(Aws::String&& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = std::move(value); }
49 inline void SetBackupPlanId(const char* value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId.assign(value); }
50 inline RecoveryPointCreator& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
51 inline RecoveryPointCreator& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
52 inline RecoveryPointCreator& WithBackupPlanId(const char* value) { SetBackupPlanId(value); return *this;}
54
56
61 inline const Aws::String& GetBackupPlanArn() const{ return m_backupPlanArn; }
62 inline bool BackupPlanArnHasBeenSet() const { return m_backupPlanArnHasBeenSet; }
63 inline void SetBackupPlanArn(const Aws::String& value) { m_backupPlanArnHasBeenSet = true; m_backupPlanArn = value; }
64 inline void SetBackupPlanArn(Aws::String&& value) { m_backupPlanArnHasBeenSet = true; m_backupPlanArn = std::move(value); }
65 inline void SetBackupPlanArn(const char* value) { m_backupPlanArnHasBeenSet = true; m_backupPlanArn.assign(value); }
66 inline RecoveryPointCreator& WithBackupPlanArn(const Aws::String& value) { SetBackupPlanArn(value); return *this;}
67 inline RecoveryPointCreator& WithBackupPlanArn(Aws::String&& value) { SetBackupPlanArn(std::move(value)); return *this;}
68 inline RecoveryPointCreator& WithBackupPlanArn(const char* value) { SetBackupPlanArn(value); return *this;}
70
72
76 inline const Aws::String& GetBackupPlanVersion() const{ return m_backupPlanVersion; }
77 inline bool BackupPlanVersionHasBeenSet() const { return m_backupPlanVersionHasBeenSet; }
78 inline void SetBackupPlanVersion(const Aws::String& value) { m_backupPlanVersionHasBeenSet = true; m_backupPlanVersion = value; }
79 inline void SetBackupPlanVersion(Aws::String&& value) { m_backupPlanVersionHasBeenSet = true; m_backupPlanVersion = std::move(value); }
80 inline void SetBackupPlanVersion(const char* value) { m_backupPlanVersionHasBeenSet = true; m_backupPlanVersion.assign(value); }
81 inline RecoveryPointCreator& WithBackupPlanVersion(const Aws::String& value) { SetBackupPlanVersion(value); return *this;}
82 inline RecoveryPointCreator& WithBackupPlanVersion(Aws::String&& value) { SetBackupPlanVersion(std::move(value)); return *this;}
83 inline RecoveryPointCreator& WithBackupPlanVersion(const char* value) { SetBackupPlanVersion(value); return *this;}
85
87
91 inline const Aws::String& GetBackupRuleId() const{ return m_backupRuleId; }
92 inline bool BackupRuleIdHasBeenSet() const { return m_backupRuleIdHasBeenSet; }
93 inline void SetBackupRuleId(const Aws::String& value) { m_backupRuleIdHasBeenSet = true; m_backupRuleId = value; }
94 inline void SetBackupRuleId(Aws::String&& value) { m_backupRuleIdHasBeenSet = true; m_backupRuleId = std::move(value); }
95 inline void SetBackupRuleId(const char* value) { m_backupRuleIdHasBeenSet = true; m_backupRuleId.assign(value); }
96 inline RecoveryPointCreator& WithBackupRuleId(const Aws::String& value) { SetBackupRuleId(value); return *this;}
97 inline RecoveryPointCreator& WithBackupRuleId(Aws::String&& value) { SetBackupRuleId(std::move(value)); return *this;}
98 inline RecoveryPointCreator& WithBackupRuleId(const char* value) { SetBackupRuleId(value); return *this;}
100 private:
101
102 Aws::String m_backupPlanId;
103 bool m_backupPlanIdHasBeenSet = false;
104
105 Aws::String m_backupPlanArn;
106 bool m_backupPlanArnHasBeenSet = false;
107
108 Aws::String m_backupPlanVersion;
109 bool m_backupPlanVersionHasBeenSet = false;
110
111 Aws::String m_backupRuleId;
112 bool m_backupRuleIdHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Backup
117} // namespace Aws
RecoveryPointCreator & WithBackupRuleId(const Aws::String &value)
RecoveryPointCreator & WithBackupPlanId(const char *value)
RecoveryPointCreator & WithBackupPlanArn(Aws::String &&value)
void SetBackupRuleId(const Aws::String &value)
RecoveryPointCreator & WithBackupPlanId(Aws::String &&value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
RecoveryPointCreator & WithBackupPlanArn(const char *value)
RecoveryPointCreator & WithBackupPlanVersion(const Aws::String &value)
RecoveryPointCreator & WithBackupRuleId(Aws::String &&value)
RecoveryPointCreator & WithBackupPlanArn(const Aws::String &value)
RecoveryPointCreator & WithBackupPlanVersion(const char *value)
const Aws::String & GetBackupPlanVersion() const
RecoveryPointCreator & WithBackupPlanId(const Aws::String &value)
RecoveryPointCreator & WithBackupPlanVersion(Aws::String &&value)
void SetBackupPlanVersion(const Aws::String &value)
AWS_BACKUP_API RecoveryPointCreator(Aws::Utils::Json::JsonView jsonValue)
RecoveryPointCreator & WithBackupRuleId(const char *value)
void SetBackupPlanArn(const Aws::String &value)
void SetBackupPlanId(const Aws::String &value)
AWS_BACKUP_API RecoveryPointCreator & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue