AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
DeleteBackupPlanResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Backup {
24namespace Model {
26 public:
27 AWS_BACKUP_API DeleteBackupPlanResult() = default;
30
32
35 inline const Aws::String& GetBackupPlanId() const { return m_backupPlanId; }
36 template <typename BackupPlanIdT = Aws::String>
37 void SetBackupPlanId(BackupPlanIdT&& value) {
38 m_backupPlanIdHasBeenSet = true;
39 m_backupPlanId = std::forward<BackupPlanIdT>(value);
40 }
41 template <typename BackupPlanIdT = Aws::String>
42 DeleteBackupPlanResult& WithBackupPlanId(BackupPlanIdT&& value) {
43 SetBackupPlanId(std::forward<BackupPlanIdT>(value));
44 return *this;
45 }
47
49
54 inline const Aws::String& GetBackupPlanArn() const { return m_backupPlanArn; }
55 template <typename BackupPlanArnT = Aws::String>
56 void SetBackupPlanArn(BackupPlanArnT&& value) {
57 m_backupPlanArnHasBeenSet = true;
58 m_backupPlanArn = std::forward<BackupPlanArnT>(value);
59 }
60 template <typename BackupPlanArnT = Aws::String>
61 DeleteBackupPlanResult& WithBackupPlanArn(BackupPlanArnT&& value) {
62 SetBackupPlanArn(std::forward<BackupPlanArnT>(value));
63 return *this;
64 }
66
68
74 inline const Aws::Utils::DateTime& GetDeletionDate() const { return m_deletionDate; }
75 template <typename DeletionDateT = Aws::Utils::DateTime>
76 void SetDeletionDate(DeletionDateT&& value) {
77 m_deletionDateHasBeenSet = true;
78 m_deletionDate = std::forward<DeletionDateT>(value);
79 }
80 template <typename DeletionDateT = Aws::Utils::DateTime>
81 DeleteBackupPlanResult& WithDeletionDate(DeletionDateT&& value) {
82 SetDeletionDate(std::forward<DeletionDateT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::String& GetVersionId() const { return m_versionId; }
93 template <typename VersionIdT = Aws::String>
94 void SetVersionId(VersionIdT&& value) {
95 m_versionIdHasBeenSet = true;
96 m_versionId = std::forward<VersionIdT>(value);
97 }
98 template <typename VersionIdT = Aws::String>
100 SetVersionId(std::forward<VersionIdT>(value));
101 return *this;
102 }
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template <typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) {
110 m_requestIdHasBeenSet = true;
111 m_requestId = std::forward<RequestIdT>(value);
112 }
113 template <typename RequestIdT = Aws::String>
115 SetRequestId(std::forward<RequestIdT>(value));
116 return *this;
117 }
119 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
120
121 private:
122 Aws::String m_backupPlanId;
123
124 Aws::String m_backupPlanArn;
125
126 Aws::Utils::DateTime m_deletionDate{};
127
128 Aws::String m_versionId;
129
130 Aws::String m_requestId;
131 Aws::Http::HttpResponseCode m_HttpResponseCode;
132 bool m_backupPlanIdHasBeenSet = false;
133 bool m_backupPlanArnHasBeenSet = false;
134 bool m_deletionDateHasBeenSet = false;
135 bool m_versionIdHasBeenSet = false;
136 bool m_requestIdHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace Backup
141} // namespace Aws
DeleteBackupPlanResult & WithRequestId(RequestIdT &&value)
AWS_BACKUP_API DeleteBackupPlanResult()=default
DeleteBackupPlanResult & WithVersionId(VersionIdT &&value)
DeleteBackupPlanResult & WithBackupPlanArn(BackupPlanArnT &&value)
DeleteBackupPlanResult & WithBackupPlanId(BackupPlanIdT &&value)
const Aws::Utils::DateTime & GetDeletionDate() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_BACKUP_API DeleteBackupPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BACKUP_API DeleteBackupPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteBackupPlanResult & WithDeletionDate(DeletionDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue