AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteBackupResult.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/model/BackupLifecycle.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace FSx
25{
26namespace Model
27{
35 {
36 public:
37 AWS_FSX_API DeleteBackupResult();
40
41
43
46 inline const Aws::String& GetBackupId() const{ return m_backupId; }
47 inline void SetBackupId(const Aws::String& value) { m_backupId = value; }
48 inline void SetBackupId(Aws::String&& value) { m_backupId = std::move(value); }
49 inline void SetBackupId(const char* value) { m_backupId.assign(value); }
50 inline DeleteBackupResult& WithBackupId(const Aws::String& value) { SetBackupId(value); return *this;}
51 inline DeleteBackupResult& WithBackupId(Aws::String&& value) { SetBackupId(std::move(value)); return *this;}
52 inline DeleteBackupResult& WithBackupId(const char* value) { SetBackupId(value); return *this;}
54
56
60 inline const BackupLifecycle& GetLifecycle() const{ return m_lifecycle; }
61 inline void SetLifecycle(const BackupLifecycle& value) { m_lifecycle = value; }
62 inline void SetLifecycle(BackupLifecycle&& value) { m_lifecycle = std::move(value); }
63 inline DeleteBackupResult& WithLifecycle(const BackupLifecycle& value) { SetLifecycle(value); return *this;}
64 inline DeleteBackupResult& WithLifecycle(BackupLifecycle&& value) { SetLifecycle(std::move(value)); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline DeleteBackupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline DeleteBackupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline DeleteBackupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::String m_backupId;
80
81 BackupLifecycle m_lifecycle;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace FSx
88} // namespace Aws
DeleteBackupResult & WithRequestId(const char *value)
void SetBackupId(Aws::String &&value)
DeleteBackupResult & WithBackupId(const char *value)
DeleteBackupResult & WithBackupId(const Aws::String &value)
const Aws::String & GetRequestId() const
AWS_FSX_API DeleteBackupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteBackupResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
void SetLifecycle(BackupLifecycle &&value)
void SetLifecycle(const BackupLifecycle &value)
AWS_FSX_API DeleteBackupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteBackupResult & WithBackupId(Aws::String &&value)
DeleteBackupResult & WithLifecycle(const BackupLifecycle &value)
void SetBackupId(const Aws::String &value)
DeleteBackupResult & WithLifecycle(BackupLifecycle &&value)
const BackupLifecycle & GetLifecycle() const
DeleteBackupResult & WithRequestId(Aws::String &&value)
const Aws::String & GetBackupId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue