AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
42 inline const Aws::String& GetBackupPlanId() const{ return m_backupPlanId; }
43 inline void SetBackupPlanId(const Aws::String& value) { m_backupPlanId = value; }
44 inline void SetBackupPlanId(Aws::String&& value) { m_backupPlanId = std::move(value); }
45 inline void SetBackupPlanId(const char* value) { m_backupPlanId.assign(value); }
46 inline UpdateBackupPlanResult& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
47 inline UpdateBackupPlanResult& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
48 inline UpdateBackupPlanResult& WithBackupPlanId(const char* value) { SetBackupPlanId(value); return *this;}
50
52
57 inline const Aws::String& GetBackupPlanArn() const{ return m_backupPlanArn; }
58 inline void SetBackupPlanArn(const Aws::String& value) { m_backupPlanArn = value; }
59 inline void SetBackupPlanArn(Aws::String&& value) { m_backupPlanArn = std::move(value); }
60 inline void SetBackupPlanArn(const char* value) { m_backupPlanArn.assign(value); }
61 inline UpdateBackupPlanResult& WithBackupPlanArn(const Aws::String& value) { SetBackupPlanArn(value); return *this;}
62 inline UpdateBackupPlanResult& WithBackupPlanArn(Aws::String&& value) { SetBackupPlanArn(std::move(value)); return *this;}
63 inline UpdateBackupPlanResult& WithBackupPlanArn(const char* value) { SetBackupPlanArn(value); return *this;}
65
67
73 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
74 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
75 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
76 inline UpdateBackupPlanResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
77 inline UpdateBackupPlanResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
79
81
85 inline const Aws::String& GetVersionId() const{ return m_versionId; }
86 inline void SetVersionId(const Aws::String& value) { m_versionId = value; }
87 inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); }
88 inline void SetVersionId(const char* value) { m_versionId.assign(value); }
89 inline UpdateBackupPlanResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
90 inline UpdateBackupPlanResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
91 inline UpdateBackupPlanResult& WithVersionId(const char* value) { SetVersionId(value); return *this;}
93
95
98 inline const Aws::Vector<AdvancedBackupSetting>& GetAdvancedBackupSettings() const{ return m_advancedBackupSettings; }
99 inline void SetAdvancedBackupSettings(const Aws::Vector<AdvancedBackupSetting>& value) { m_advancedBackupSettings = value; }
100 inline void SetAdvancedBackupSettings(Aws::Vector<AdvancedBackupSetting>&& value) { m_advancedBackupSettings = std::move(value); }
103 inline UpdateBackupPlanResult& AddAdvancedBackupSettings(const AdvancedBackupSetting& value) { m_advancedBackupSettings.push_back(value); return *this; }
104 inline UpdateBackupPlanResult& AddAdvancedBackupSettings(AdvancedBackupSetting&& value) { m_advancedBackupSettings.push_back(std::move(value)); return *this; }
106
108
109 inline const Aws::String& GetRequestId() const{ return m_requestId; }
110 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
111 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
112 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
113 inline UpdateBackupPlanResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
114 inline UpdateBackupPlanResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
115 inline UpdateBackupPlanResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
117 private:
118
119 Aws::String m_backupPlanId;
120
121 Aws::String m_backupPlanArn;
122
123 Aws::Utils::DateTime m_creationDate;
124
125 Aws::String m_versionId;
126
127 Aws::Vector<AdvancedBackupSetting> m_advancedBackupSettings;
128
129 Aws::String m_requestId;
130 };
131
132} // namespace Model
133} // namespace Backup
134} // namespace Aws
UpdateBackupPlanResult & WithVersionId(Aws::String &&value)
void SetAdvancedBackupSettings(const Aws::Vector< AdvancedBackupSetting > &value)
UpdateBackupPlanResult & WithAdvancedBackupSettings(Aws::Vector< AdvancedBackupSetting > &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
UpdateBackupPlanResult & WithRequestId(const char *value)
UpdateBackupPlanResult & WithBackupPlanArn(Aws::String &&value)
UpdateBackupPlanResult & WithCreationDate(const Aws::Utils::DateTime &value)
UpdateBackupPlanResult & WithBackupPlanArn(const char *value)
UpdateBackupPlanResult & AddAdvancedBackupSettings(AdvancedBackupSetting &&value)
void SetBackupPlanArn(const Aws::String &value)
UpdateBackupPlanResult & WithRequestId(Aws::String &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
UpdateBackupPlanResult & WithBackupPlanArn(const Aws::String &value)
UpdateBackupPlanResult & WithRequestId(const Aws::String &value)
UpdateBackupPlanResult & WithCreationDate(Aws::Utils::DateTime &&value)
UpdateBackupPlanResult & AddAdvancedBackupSettings(const AdvancedBackupSetting &value)
AWS_BACKUP_API UpdateBackupPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAdvancedBackupSettings(Aws::Vector< AdvancedBackupSetting > &&value)
UpdateBackupPlanResult & WithBackupPlanId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDate() const
UpdateBackupPlanResult & WithAdvancedBackupSettings(const Aws::Vector< AdvancedBackupSetting > &value)
UpdateBackupPlanResult & WithVersionId(const Aws::String &value)
UpdateBackupPlanResult & WithBackupPlanId(const Aws::String &value)
const Aws::Vector< AdvancedBackupSetting > & GetAdvancedBackupSettings() const
AWS_BACKUP_API UpdateBackupPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBackupPlanResult & WithVersionId(const char *value)
UpdateBackupPlanResult & WithBackupPlanId(const char *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