AWS SDK for C++  1.9.1
AWS SDK for C++
GetBackupSelectionRequest.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 "GetBackupSelection"; }
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 GetBackupSelectionRequest& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
64 
68  inline GetBackupSelectionRequest& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
69 
73  inline GetBackupSelectionRequest& 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 GetBackupSelectionRequest& WithSelectionId(const Aws::String& value) { SetSelectionId(value); return *this;}
111 
116  inline GetBackupSelectionRequest& WithSelectionId(Aws::String&& value) { SetSelectionId(std::move(value)); return *this;}
117 
122  inline GetBackupSelectionRequest& 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::GetBackupSelectionRequest::WithBackupPlanId
GetBackupSelectionRequest & WithBackupPlanId(const char *value)
Definition: GetBackupSelectionRequest.h:73
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
Aws::Backup::Model::GetBackupSelectionRequest::SetSelectionId
void SetSelectionId(Aws::String &&value)
Definition: GetBackupSelectionRequest.h:98
Aws::Backup::Model::GetBackupSelectionRequest::WithBackupPlanId
GetBackupSelectionRequest & WithBackupPlanId(Aws::String &&value)
Definition: GetBackupSelectionRequest.h:68
Aws::Backup::Model::GetBackupSelectionRequest::SetSelectionId
void SetSelectionId(const char *value)
Definition: GetBackupSelectionRequest.h:104
Aws::Backup::Model::GetBackupSelectionRequest::SelectionIdHasBeenSet
bool SelectionIdHasBeenSet() const
Definition: GetBackupSelectionRequest.h:86
Aws::Backup::Model::GetBackupSelectionRequest::SetBackupPlanId
void SetBackupPlanId(const char *value)
Definition: GetBackupSelectionRequest.h:58
Aws::Backup::Model::GetBackupSelectionRequest::GetBackupPlanId
const Aws::String & GetBackupPlanId() const
Definition: GetBackupSelectionRequest.h:38
BackupRequest.h
Aws::Backup::Model::GetBackupSelectionRequest::BackupPlanIdHasBeenSet
bool BackupPlanIdHasBeenSet() const
Definition: GetBackupSelectionRequest.h:43
Aws::Backup::Model::GetBackupSelectionRequest::WithSelectionId
GetBackupSelectionRequest & WithSelectionId(const Aws::String &value)
Definition: GetBackupSelectionRequest.h:110
Aws::Backup::BackupRequest
Definition: BackupRequest.h:17
Aws::Backup::Model::GetBackupSelectionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetBackupSelectionRequest.h:30
Aws::Backup::Model::GetBackupSelectionRequest::WithSelectionId
GetBackupSelectionRequest & WithSelectionId(const char *value)
Definition: GetBackupSelectionRequest.h:122
Aws::Backup::Model::GetBackupSelectionRequest::WithSelectionId
GetBackupSelectionRequest & WithSelectionId(Aws::String &&value)
Definition: GetBackupSelectionRequest.h:116
Aws::Backup::Model::GetBackupSelectionRequest::SetSelectionId
void SetSelectionId(const Aws::String &value)
Definition: GetBackupSelectionRequest.h:92
AWSString.h
Backup_EXPORTS.h
Aws::Backup::Model::GetBackupSelectionRequest::WithBackupPlanId
GetBackupSelectionRequest & WithBackupPlanId(const Aws::String &value)
Definition: GetBackupSelectionRequest.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::Backup::Model::GetBackupSelectionRequest
Definition: GetBackupSelectionRequest.h:22
Aws::Backup::Model::GetBackupSelectionRequest::SetBackupPlanId
void SetBackupPlanId(Aws::String &&value)
Definition: GetBackupSelectionRequest.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Backup::Model::GetBackupSelectionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Backup::Model::GetBackupSelectionRequest::GetSelectionId
const Aws::String & GetSelectionId() const
Definition: GetBackupSelectionRequest.h:80
Aws::Backup::Model::GetBackupSelectionRequest::GetBackupSelectionRequest
GetBackupSelectionRequest()
Aws::Backup::Model::GetBackupSelectionRequest::SetBackupPlanId
void SetBackupPlanId(const Aws::String &value)
Definition: GetBackupSelectionRequest.h:48