AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBackupPlanResult.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 CreateBackupPlanResult();
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 CreateBackupPlanResult& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
47 inline CreateBackupPlanResult& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
48 inline CreateBackupPlanResult& 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 CreateBackupPlanResult& WithBackupPlanArn(const Aws::String& value) { SetBackupPlanArn(value); return *this;}
62 inline CreateBackupPlanResult& WithBackupPlanArn(Aws::String&& value) { SetBackupPlanArn(std::move(value)); return *this;}
63 inline CreateBackupPlanResult& 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 CreateBackupPlanResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
77 inline CreateBackupPlanResult& 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 CreateBackupPlanResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
90 inline CreateBackupPlanResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
91 inline CreateBackupPlanResult& WithVersionId(const char* value) { SetVersionId(value); return *this;}
93
95
99 inline const Aws::Vector<AdvancedBackupSetting>& GetAdvancedBackupSettings() const{ return m_advancedBackupSettings; }
100 inline void SetAdvancedBackupSettings(const Aws::Vector<AdvancedBackupSetting>& value) { m_advancedBackupSettings = value; }
101 inline void SetAdvancedBackupSettings(Aws::Vector<AdvancedBackupSetting>&& value) { m_advancedBackupSettings = std::move(value); }
104 inline CreateBackupPlanResult& AddAdvancedBackupSettings(const AdvancedBackupSetting& value) { m_advancedBackupSettings.push_back(value); return *this; }
105 inline CreateBackupPlanResult& AddAdvancedBackupSettings(AdvancedBackupSetting&& value) { m_advancedBackupSettings.push_back(std::move(value)); return *this; }
107
109
110 inline const Aws::String& GetRequestId() const{ return m_requestId; }
111 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
112 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
113 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
114 inline CreateBackupPlanResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
115 inline CreateBackupPlanResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
116 inline CreateBackupPlanResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
118 private:
119
120 Aws::String m_backupPlanId;
121
122 Aws::String m_backupPlanArn;
123
124 Aws::Utils::DateTime m_creationDate;
125
126 Aws::String m_versionId;
127
128 Aws::Vector<AdvancedBackupSetting> m_advancedBackupSettings;
129
130 Aws::String m_requestId;
131 };
132
133} // namespace Model
134} // namespace Backup
135} // namespace Aws
AWS_BACKUP_API CreateBackupPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBackupPlanResult & WithAdvancedBackupSettings(Aws::Vector< AdvancedBackupSetting > &&value)
CreateBackupPlanResult & AddAdvancedBackupSettings(AdvancedBackupSetting &&value)
CreateBackupPlanResult & WithBackupPlanArn(Aws::String &&value)
void SetAdvancedBackupSettings(const Aws::Vector< AdvancedBackupSetting > &value)
CreateBackupPlanResult & WithBackupPlanArn(const Aws::String &value)
CreateBackupPlanResult & WithBackupPlanId(Aws::String &&value)
CreateBackupPlanResult & WithRequestId(const Aws::String &value)
CreateBackupPlanResult & WithBackupPlanId(const Aws::String &value)
CreateBackupPlanResult & WithRequestId(const char *value)
CreateBackupPlanResult & WithRequestId(Aws::String &&value)
CreateBackupPlanResult & WithCreationDate(Aws::Utils::DateTime &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDate() const
CreateBackupPlanResult & WithBackupPlanArn(const char *value)
void SetBackupPlanArn(const Aws::String &value)
CreateBackupPlanResult & WithVersionId(Aws::String &&value)
void SetAdvancedBackupSettings(Aws::Vector< AdvancedBackupSetting > &&value)
CreateBackupPlanResult & AddAdvancedBackupSettings(const AdvancedBackupSetting &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
CreateBackupPlanResult & WithCreationDate(const Aws::Utils::DateTime &value)
CreateBackupPlanResult & WithVersionId(const Aws::String &value)
CreateBackupPlanResult & WithBackupPlanId(const char *value)
CreateBackupPlanResult & WithAdvancedBackupSettings(const Aws::Vector< AdvancedBackupSetting > &value)
AWS_BACKUP_API CreateBackupPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBackupPlanResult & WithVersionId(const char *value)
const Aws::Vector< AdvancedBackupSetting > & GetAdvancedBackupSettings() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue