AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteBackupRequest.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace FSx
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_FSX_API DeleteBackupRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteBackup"; }
36
37 AWS_FSX_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetBackupId() const{ return m_backupId; }
47 inline bool BackupIdHasBeenSet() const { return m_backupIdHasBeenSet; }
48 inline void SetBackupId(const Aws::String& value) { m_backupIdHasBeenSet = true; m_backupId = value; }
49 inline void SetBackupId(Aws::String&& value) { m_backupIdHasBeenSet = true; m_backupId = std::move(value); }
50 inline void SetBackupId(const char* value) { m_backupIdHasBeenSet = true; m_backupId.assign(value); }
51 inline DeleteBackupRequest& WithBackupId(const Aws::String& value) { SetBackupId(value); return *this;}
52 inline DeleteBackupRequest& WithBackupId(Aws::String&& value) { SetBackupId(std::move(value)); return *this;}
53 inline DeleteBackupRequest& WithBackupId(const char* value) { SetBackupId(value); return *this;}
55
57
62 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
63 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
64 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
65 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
66 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
67 inline DeleteBackupRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
68 inline DeleteBackupRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
69 inline DeleteBackupRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
71 private:
72
73 Aws::String m_backupId;
74 bool m_backupIdHasBeenSet = false;
75
76 Aws::String m_clientRequestToken;
77 bool m_clientRequestTokenHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace FSx
82} // namespace Aws
DeleteBackupRequest & WithClientRequestToken(const Aws::String &value)
void SetClientRequestToken(const char *value)
AWS_FSX_API Aws::String SerializePayload() const override
void SetBackupId(const Aws::String &value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetBackupId() const
DeleteBackupRequest & WithBackupId(Aws::String &&value)
DeleteBackupRequest & WithBackupId(const Aws::String &value)
void SetClientRequestToken(const Aws::String &value)
DeleteBackupRequest & WithClientRequestToken(const char *value)
DeleteBackupRequest & WithBackupId(const char *value)
DeleteBackupRequest & WithClientRequestToken(Aws::String &&value)
void SetClientRequestToken(Aws::String &&value)
const Aws::String & GetClientRequestToken() const
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String