AWS SDK for C++  1.9.4
AWS SDK for C++
DeleteBackupSelectionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Backup
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteBackupSelection"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetBackupPlanId() const{ return m_backupPlanId; }
39 
43  inline bool BackupPlanIdHasBeenSet() const { return m_backupPlanIdHasBeenSet; }
44 
48  inline void SetBackupPlanId(const Aws::String& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = value; }
49 
53  inline void SetBackupPlanId(Aws::String&& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = std::move(value); }
54 
58  inline void SetBackupPlanId(const char* value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId.assign(value); }
59 
63  inline DeleteBackupSelectionRequest& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
64 
68  inline DeleteBackupSelectionRequest& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
69 
73  inline DeleteBackupSelectionRequest& WithBackupPlanId(const char* value) { SetBackupPlanId(value); return *this;}
74 
75 
80  inline const Aws::String& GetSelectionId() const{ return m_selectionId; }
81 
86  inline bool SelectionIdHasBeenSet() const { return m_selectionIdHasBeenSet; }
87 
92  inline void SetSelectionId(const Aws::String& value) { m_selectionIdHasBeenSet = true; m_selectionId = value; }
93 
98  inline void SetSelectionId(Aws::String&& value) { m_selectionIdHasBeenSet = true; m_selectionId = std::move(value); }
99 
104  inline void SetSelectionId(const char* value) { m_selectionIdHasBeenSet = true; m_selectionId.assign(value); }
105 
110  inline DeleteBackupSelectionRequest& WithSelectionId(const Aws::String& value) { SetSelectionId(value); return *this;}
111 
116  inline DeleteBackupSelectionRequest& WithSelectionId(Aws::String&& value) { SetSelectionId(std::move(value)); return *this;}
117 
122  inline DeleteBackupSelectionRequest& WithSelectionId(const char* value) { SetSelectionId(value); return *this;}
123 
124  private:
125 
126  Aws::String m_backupPlanId;
127  bool m_backupPlanIdHasBeenSet;
128 
129  Aws::String m_selectionId;
130  bool m_selectionIdHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace Backup
135 } // namespace Aws
Aws::Backup::Model::DeleteBackupSelectionRequest::SetSelectionId
void SetSelectionId(const char *value)
Definition: DeleteBackupSelectionRequest.h:104
Aws::Backup::Model::DeleteBackupSelectionRequest::GetSelectionId
const Aws::String & GetSelectionId() const
Definition: DeleteBackupSelectionRequest.h:80
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
Aws::Backup::Model::DeleteBackupSelectionRequest::SelectionIdHasBeenSet
bool SelectionIdHasBeenSet() const
Definition: DeleteBackupSelectionRequest.h:86
Aws::Backup::Model::DeleteBackupSelectionRequest::WithBackupPlanId
DeleteBackupSelectionRequest & WithBackupPlanId(const Aws::String &value)
Definition: DeleteBackupSelectionRequest.h:63
Aws::Backup::Model::DeleteBackupSelectionRequest::WithSelectionId
DeleteBackupSelectionRequest & WithSelectionId(Aws::String &&value)
Definition: DeleteBackupSelectionRequest.h:116
Aws::Backup::Model::DeleteBackupSelectionRequest::WithSelectionId
DeleteBackupSelectionRequest & WithSelectionId(const char *value)
Definition: DeleteBackupSelectionRequest.h:122
BackupRequest.h
Aws::Backup::Model::DeleteBackupSelectionRequest::WithSelectionId
DeleteBackupSelectionRequest & WithSelectionId(const Aws::String &value)
Definition: DeleteBackupSelectionRequest.h:110
Aws::Backup::Model::DeleteBackupSelectionRequest::BackupPlanIdHasBeenSet
bool BackupPlanIdHasBeenSet() const
Definition: DeleteBackupSelectionRequest.h:43
Aws::Backup::Model::DeleteBackupSelectionRequest::DeleteBackupSelectionRequest
DeleteBackupSelectionRequest()
Aws::Backup::Model::DeleteBackupSelectionRequest::WithBackupPlanId
DeleteBackupSelectionRequest & WithBackupPlanId(const char *value)
Definition: DeleteBackupSelectionRequest.h:73
Aws::Backup::Model::DeleteBackupSelectionRequest::SetSelectionId
void SetSelectionId(Aws::String &&value)
Definition: DeleteBackupSelectionRequest.h:98
Aws::Backup::BackupRequest
Definition: BackupRequest.h:17
Aws::Backup::Model::DeleteBackupSelectionRequest::WithBackupPlanId
DeleteBackupSelectionRequest & WithBackupPlanId(Aws::String &&value)
Definition: DeleteBackupSelectionRequest.h:68
AWSString.h
Aws::Backup::Model::DeleteBackupSelectionRequest::SetSelectionId
void SetSelectionId(const Aws::String &value)
Definition: DeleteBackupSelectionRequest.h:92
Aws::Backup::Model::DeleteBackupSelectionRequest::SetBackupPlanId
void SetBackupPlanId(const char *value)
Definition: DeleteBackupSelectionRequest.h:58
Backup_EXPORTS.h
Aws::Backup::Model::DeleteBackupSelectionRequest::GetBackupPlanId
const Aws::String & GetBackupPlanId() const
Definition: DeleteBackupSelectionRequest.h:38
Aws::Backup::Model::DeleteBackupSelectionRequest
Definition: DeleteBackupSelectionRequest.h:22
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Backup::Model::DeleteBackupSelectionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Backup::Model::DeleteBackupSelectionRequest::SetBackupPlanId
void SetBackupPlanId(const Aws::String &value)
Definition: DeleteBackupSelectionRequest.h:48
Aws::Backup::Model::DeleteBackupSelectionRequest::SetBackupPlanId
void SetBackupPlanId(Aws::String &&value)
Definition: DeleteBackupSelectionRequest.h:53
Aws::Backup::Model::DeleteBackupSelectionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteBackupSelectionRequest.h:30