AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpgradeDomainResult.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/opensearch/model/ChangeProgressDetails.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace OpenSearchService
26{
27namespace Model
28{
36 {
37 public:
38 AWS_OPENSEARCHSERVICE_API UpgradeDomainResult();
41
42
44
47 inline const Aws::String& GetUpgradeId() const{ return m_upgradeId; }
48 inline void SetUpgradeId(const Aws::String& value) { m_upgradeId = value; }
49 inline void SetUpgradeId(Aws::String&& value) { m_upgradeId = std::move(value); }
50 inline void SetUpgradeId(const char* value) { m_upgradeId.assign(value); }
51 inline UpgradeDomainResult& WithUpgradeId(const Aws::String& value) { SetUpgradeId(value); return *this;}
52 inline UpgradeDomainResult& WithUpgradeId(Aws::String&& value) { SetUpgradeId(std::move(value)); return *this;}
53 inline UpgradeDomainResult& WithUpgradeId(const char* value) { SetUpgradeId(value); return *this;}
55
57
60 inline const Aws::String& GetDomainName() const{ return m_domainName; }
61 inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
62 inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); }
63 inline void SetDomainName(const char* value) { m_domainName.assign(value); }
64 inline UpgradeDomainResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
65 inline UpgradeDomainResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
66 inline UpgradeDomainResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
68
70
73 inline const Aws::String& GetTargetVersion() const{ return m_targetVersion; }
74 inline void SetTargetVersion(const Aws::String& value) { m_targetVersion = value; }
75 inline void SetTargetVersion(Aws::String&& value) { m_targetVersion = std::move(value); }
76 inline void SetTargetVersion(const char* value) { m_targetVersion.assign(value); }
77 inline UpgradeDomainResult& WithTargetVersion(const Aws::String& value) { SetTargetVersion(value); return *this;}
78 inline UpgradeDomainResult& WithTargetVersion(Aws::String&& value) { SetTargetVersion(std::move(value)); return *this;}
79 inline UpgradeDomainResult& WithTargetVersion(const char* value) { SetTargetVersion(value); return *this;}
81
83
86 inline bool GetPerformCheckOnly() const{ return m_performCheckOnly; }
87 inline void SetPerformCheckOnly(bool value) { m_performCheckOnly = value; }
88 inline UpgradeDomainResult& WithPerformCheckOnly(bool value) { SetPerformCheckOnly(value); return *this;}
90
92
95 inline const Aws::Map<Aws::String, Aws::String>& GetAdvancedOptions() const{ return m_advancedOptions; }
96 inline void SetAdvancedOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_advancedOptions = value; }
97 inline void SetAdvancedOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_advancedOptions = std::move(value); }
100 inline UpgradeDomainResult& AddAdvancedOptions(const Aws::String& key, const Aws::String& value) { m_advancedOptions.emplace(key, value); return *this; }
101 inline UpgradeDomainResult& AddAdvancedOptions(Aws::String&& key, const Aws::String& value) { m_advancedOptions.emplace(std::move(key), value); return *this; }
102 inline UpgradeDomainResult& AddAdvancedOptions(const Aws::String& key, Aws::String&& value) { m_advancedOptions.emplace(key, std::move(value)); return *this; }
103 inline UpgradeDomainResult& AddAdvancedOptions(Aws::String&& key, Aws::String&& value) { m_advancedOptions.emplace(std::move(key), std::move(value)); return *this; }
104 inline UpgradeDomainResult& AddAdvancedOptions(const char* key, Aws::String&& value) { m_advancedOptions.emplace(key, std::move(value)); return *this; }
105 inline UpgradeDomainResult& AddAdvancedOptions(Aws::String&& key, const char* value) { m_advancedOptions.emplace(std::move(key), value); return *this; }
106 inline UpgradeDomainResult& AddAdvancedOptions(const char* key, const char* value) { m_advancedOptions.emplace(key, value); return *this; }
108
110
114 inline const ChangeProgressDetails& GetChangeProgressDetails() const{ return m_changeProgressDetails; }
115 inline void SetChangeProgressDetails(const ChangeProgressDetails& value) { m_changeProgressDetails = value; }
116 inline void SetChangeProgressDetails(ChangeProgressDetails&& value) { m_changeProgressDetails = std::move(value); }
120
122
123 inline const Aws::String& GetRequestId() const{ return m_requestId; }
124 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
125 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
126 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
127 inline UpgradeDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
128 inline UpgradeDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
129 inline UpgradeDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
131 private:
132
133 Aws::String m_upgradeId;
134
135 Aws::String m_domainName;
136
137 Aws::String m_targetVersion;
138
139 bool m_performCheckOnly;
140
141 Aws::Map<Aws::String, Aws::String> m_advancedOptions;
142
143 ChangeProgressDetails m_changeProgressDetails;
144
145 Aws::String m_requestId;
146 };
147
148} // namespace Model
149} // namespace OpenSearchService
150} // namespace Aws
void SetAdvancedOptions(const Aws::Map< Aws::String, Aws::String > &value)
UpgradeDomainResult & WithPerformCheckOnly(bool value)
AWS_OPENSEARCHSERVICE_API UpgradeDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpgradeDomainResult & WithChangeProgressDetails(ChangeProgressDetails &&value)
UpgradeDomainResult & WithAdvancedOptions(const Aws::Map< Aws::String, Aws::String > &value)
UpgradeDomainResult & AddAdvancedOptions(Aws::String &&key, const char *value)
UpgradeDomainResult & AddAdvancedOptions(const char *key, Aws::String &&value)
UpgradeDomainResult & WithDomainName(const char *value)
UpgradeDomainResult & WithUpgradeId(Aws::String &&value)
UpgradeDomainResult & WithChangeProgressDetails(const ChangeProgressDetails &value)
UpgradeDomainResult & WithDomainName(Aws::String &&value)
UpgradeDomainResult & WithAdvancedOptions(Aws::Map< Aws::String, Aws::String > &&value)
UpgradeDomainResult & AddAdvancedOptions(Aws::String &&key, const Aws::String &value)
UpgradeDomainResult & WithUpgradeId(const Aws::String &value)
UpgradeDomainResult & AddAdvancedOptions(Aws::String &&key, Aws::String &&value)
void SetChangeProgressDetails(const ChangeProgressDetails &value)
UpgradeDomainResult & AddAdvancedOptions(const char *key, const char *value)
void SetChangeProgressDetails(ChangeProgressDetails &&value)
AWS_OPENSEARCHSERVICE_API UpgradeDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpgradeDomainResult & WithTargetVersion(const char *value)
UpgradeDomainResult & AddAdvancedOptions(const Aws::String &key, Aws::String &&value)
const ChangeProgressDetails & GetChangeProgressDetails() const
UpgradeDomainResult & WithRequestId(const char *value)
void SetAdvancedOptions(Aws::Map< Aws::String, Aws::String > &&value)
UpgradeDomainResult & WithDomainName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetAdvancedOptions() const
UpgradeDomainResult & AddAdvancedOptions(const Aws::String &key, const Aws::String &value)
UpgradeDomainResult & WithRequestId(const Aws::String &value)
UpgradeDomainResult & WithRequestId(Aws::String &&value)
UpgradeDomainResult & WithTargetVersion(Aws::String &&value)
UpgradeDomainResult & WithTargetVersion(const Aws::String &value)
UpgradeDomainResult & WithUpgradeId(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue