AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
DeleteBackupPlanResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Backup {
23namespace Model {
25 public:
26 AWS_BACKUP_API DeleteBackupPlanResult() = default;
29
31
34 inline const Aws::String& GetBackupPlanId() const { return m_backupPlanId; }
35 template <typename BackupPlanIdT = Aws::String>
36 void SetBackupPlanId(BackupPlanIdT&& value) {
37 m_backupPlanIdHasBeenSet = true;
38 m_backupPlanId = std::forward<BackupPlanIdT>(value);
39 }
40 template <typename BackupPlanIdT = Aws::String>
41 DeleteBackupPlanResult& WithBackupPlanId(BackupPlanIdT&& value) {
42 SetBackupPlanId(std::forward<BackupPlanIdT>(value));
43 return *this;
44 }
46
48
53 inline const Aws::String& GetBackupPlanArn() const { return m_backupPlanArn; }
54 template <typename BackupPlanArnT = Aws::String>
55 void SetBackupPlanArn(BackupPlanArnT&& value) {
56 m_backupPlanArnHasBeenSet = true;
57 m_backupPlanArn = std::forward<BackupPlanArnT>(value);
58 }
59 template <typename BackupPlanArnT = Aws::String>
60 DeleteBackupPlanResult& WithBackupPlanArn(BackupPlanArnT&& value) {
61 SetBackupPlanArn(std::forward<BackupPlanArnT>(value));
62 return *this;
63 }
65
67
73 inline const Aws::Utils::DateTime& GetDeletionDate() const { return m_deletionDate; }
74 template <typename DeletionDateT = Aws::Utils::DateTime>
75 void SetDeletionDate(DeletionDateT&& value) {
76 m_deletionDateHasBeenSet = true;
77 m_deletionDate = std::forward<DeletionDateT>(value);
78 }
79 template <typename DeletionDateT = Aws::Utils::DateTime>
80 DeleteBackupPlanResult& WithDeletionDate(DeletionDateT&& value) {
81 SetDeletionDate(std::forward<DeletionDateT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::String& GetVersionId() const { return m_versionId; }
92 template <typename VersionIdT = Aws::String>
93 void SetVersionId(VersionIdT&& value) {
94 m_versionIdHasBeenSet = true;
95 m_versionId = std::forward<VersionIdT>(value);
96 }
97 template <typename VersionIdT = Aws::String>
99 SetVersionId(std::forward<VersionIdT>(value));
100 return *this;
101 }
103
105
106 inline const Aws::String& GetRequestId() const { return m_requestId; }
107 template <typename RequestIdT = Aws::String>
108 void SetRequestId(RequestIdT&& value) {
109 m_requestIdHasBeenSet = true;
110 m_requestId = std::forward<RequestIdT>(value);
111 }
112 template <typename RequestIdT = Aws::String>
114 SetRequestId(std::forward<RequestIdT>(value));
115 return *this;
116 }
118 private:
119 Aws::String m_backupPlanId;
120
121 Aws::String m_backupPlanArn;
122
123 Aws::Utils::DateTime m_deletionDate{};
124
125 Aws::String m_versionId;
126
127 Aws::String m_requestId;
128 bool m_backupPlanIdHasBeenSet = false;
129 bool m_backupPlanArnHasBeenSet = false;
130 bool m_deletionDateHasBeenSet = false;
131 bool m_versionIdHasBeenSet = false;
132 bool m_requestIdHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace Backup
137} // 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_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