AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateBackupPlanResult.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/backup/model/AdvancedBackupSetting.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Backup
27{
28namespace Model
29{
31 {
32 public:
33 AWS_BACKUP_API UpdateBackupPlanResult() = default;
36
37
39
42 inline const Aws::String& GetBackupPlanId() const { return m_backupPlanId; }
43 template<typename BackupPlanIdT = Aws::String>
44 void SetBackupPlanId(BackupPlanIdT&& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = std::forward<BackupPlanIdT>(value); }
45 template<typename BackupPlanIdT = Aws::String>
46 UpdateBackupPlanResult& WithBackupPlanId(BackupPlanIdT&& value) { SetBackupPlanId(std::forward<BackupPlanIdT>(value)); return *this;}
48
50
55 inline const Aws::String& GetBackupPlanArn() const { return m_backupPlanArn; }
56 template<typename BackupPlanArnT = Aws::String>
57 void SetBackupPlanArn(BackupPlanArnT&& value) { m_backupPlanArnHasBeenSet = true; m_backupPlanArn = std::forward<BackupPlanArnT>(value); }
58 template<typename BackupPlanArnT = Aws::String>
59 UpdateBackupPlanResult& WithBackupPlanArn(BackupPlanArnT&& value) { SetBackupPlanArn(std::forward<BackupPlanArnT>(value)); return *this;}
61
63
69 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
70 template<typename CreationDateT = Aws::Utils::DateTime>
71 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
72 template<typename CreationDateT = Aws::Utils::DateTime>
73 UpdateBackupPlanResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
75
77
81 inline const Aws::String& GetVersionId() const { return m_versionId; }
82 template<typename VersionIdT = Aws::String>
83 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet = true; m_versionId = std::forward<VersionIdT>(value); }
84 template<typename VersionIdT = Aws::String>
85 UpdateBackupPlanResult& WithVersionId(VersionIdT&& value) { SetVersionId(std::forward<VersionIdT>(value)); return *this;}
87
89
92 inline const Aws::Vector<AdvancedBackupSetting>& GetAdvancedBackupSettings() const { return m_advancedBackupSettings; }
93 template<typename AdvancedBackupSettingsT = Aws::Vector<AdvancedBackupSetting>>
94 void SetAdvancedBackupSettings(AdvancedBackupSettingsT&& value) { m_advancedBackupSettingsHasBeenSet = true; m_advancedBackupSettings = std::forward<AdvancedBackupSettingsT>(value); }
95 template<typename AdvancedBackupSettingsT = Aws::Vector<AdvancedBackupSetting>>
96 UpdateBackupPlanResult& WithAdvancedBackupSettings(AdvancedBackupSettingsT&& value) { SetAdvancedBackupSettings(std::forward<AdvancedBackupSettingsT>(value)); return *this;}
97 template<typename AdvancedBackupSettingsT = AdvancedBackupSetting>
98 UpdateBackupPlanResult& AddAdvancedBackupSettings(AdvancedBackupSettingsT&& value) { m_advancedBackupSettingsHasBeenSet = true; m_advancedBackupSettings.emplace_back(std::forward<AdvancedBackupSettingsT>(value)); return *this; }
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template<typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
106 template<typename RequestIdT = Aws::String>
107 UpdateBackupPlanResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
109 private:
110
111 Aws::String m_backupPlanId;
112 bool m_backupPlanIdHasBeenSet = false;
113
114 Aws::String m_backupPlanArn;
115 bool m_backupPlanArnHasBeenSet = false;
116
117 Aws::Utils::DateTime m_creationDate{};
118 bool m_creationDateHasBeenSet = false;
119
120 Aws::String m_versionId;
121 bool m_versionIdHasBeenSet = false;
122
123 Aws::Vector<AdvancedBackupSetting> m_advancedBackupSettings;
124 bool m_advancedBackupSettingsHasBeenSet = false;
125
126 Aws::String m_requestId;
127 bool m_requestIdHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace Backup
132} // namespace Aws
void SetAdvancedBackupSettings(AdvancedBackupSettingsT &&value)
UpdateBackupPlanResult & WithBackupPlanArn(BackupPlanArnT &&value)
UpdateBackupPlanResult & WithVersionId(VersionIdT &&value)
UpdateBackupPlanResult & WithCreationDate(CreationDateT &&value)
UpdateBackupPlanResult & WithRequestId(RequestIdT &&value)
UpdateBackupPlanResult & WithBackupPlanId(BackupPlanIdT &&value)
AWS_BACKUP_API UpdateBackupPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationDate() const
AWS_BACKUP_API UpdateBackupPlanResult()=default
UpdateBackupPlanResult & AddAdvancedBackupSettings(AdvancedBackupSettingsT &&value)
const Aws::Vector< AdvancedBackupSetting > & GetAdvancedBackupSettings() const
AWS_BACKUP_API UpdateBackupPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBackupPlanResult & WithAdvancedBackupSettings(AdvancedBackupSettingsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue