AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteBackupPlanResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 Backup
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BACKUP_API DeleteBackupPlanResult() = default;
34
35
37
40 inline const Aws::String& GetBackupPlanId() const { return m_backupPlanId; }
41 template<typename BackupPlanIdT = Aws::String>
42 void SetBackupPlanId(BackupPlanIdT&& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = std::forward<BackupPlanIdT>(value); }
43 template<typename BackupPlanIdT = Aws::String>
44 DeleteBackupPlanResult& WithBackupPlanId(BackupPlanIdT&& value) { SetBackupPlanId(std::forward<BackupPlanIdT>(value)); return *this;}
46
48
53 inline const Aws::String& GetBackupPlanArn() const { return m_backupPlanArn; }
54 template<typename BackupPlanArnT = Aws::String>
55 void SetBackupPlanArn(BackupPlanArnT&& value) { m_backupPlanArnHasBeenSet = true; m_backupPlanArn = std::forward<BackupPlanArnT>(value); }
56 template<typename BackupPlanArnT = Aws::String>
57 DeleteBackupPlanResult& WithBackupPlanArn(BackupPlanArnT&& value) { SetBackupPlanArn(std::forward<BackupPlanArnT>(value)); return *this;}
59
61
67 inline const Aws::Utils::DateTime& GetDeletionDate() const { return m_deletionDate; }
68 template<typename DeletionDateT = Aws::Utils::DateTime>
69 void SetDeletionDate(DeletionDateT&& value) { m_deletionDateHasBeenSet = true; m_deletionDate = std::forward<DeletionDateT>(value); }
70 template<typename DeletionDateT = Aws::Utils::DateTime>
71 DeleteBackupPlanResult& WithDeletionDate(DeletionDateT&& value) { SetDeletionDate(std::forward<DeletionDateT>(value)); return *this;}
73
75
79 inline const Aws::String& GetVersionId() const { return m_versionId; }
80 template<typename VersionIdT = Aws::String>
81 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet = true; m_versionId = std::forward<VersionIdT>(value); }
82 template<typename VersionIdT = Aws::String>
83 DeleteBackupPlanResult& WithVersionId(VersionIdT&& value) { SetVersionId(std::forward<VersionIdT>(value)); return *this;}
85
87
88 inline const Aws::String& GetRequestId() const { return m_requestId; }
89 template<typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
91 template<typename RequestIdT = Aws::String>
92 DeleteBackupPlanResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
94 private:
95
96 Aws::String m_backupPlanId;
97 bool m_backupPlanIdHasBeenSet = false;
98
99 Aws::String m_backupPlanArn;
100 bool m_backupPlanArnHasBeenSet = false;
101
102 Aws::Utils::DateTime m_deletionDate{};
103 bool m_deletionDateHasBeenSet = false;
104
105 Aws::String m_versionId;
106 bool m_versionIdHasBeenSet = false;
107
108 Aws::String m_requestId;
109 bool m_requestIdHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Backup
114} // 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