AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
UpdateDomainConfigResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10#include <aws/opensearch/model/DomainConfig.h>
11#include <aws/opensearch/model/DryRunProgressStatus.h>
12#include <aws/opensearch/model/DryRunResults.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace OpenSearchService {
26namespace Model {
34 public:
35 AWS_OPENSEARCHSERVICE_API UpdateDomainConfigResult() = default;
38
40
43 inline const DomainConfig& GetDomainConfig() const { return m_domainConfig; }
44 template <typename DomainConfigT = DomainConfig>
45 void SetDomainConfig(DomainConfigT&& value) {
46 m_domainConfigHasBeenSet = true;
47 m_domainConfig = std::forward<DomainConfigT>(value);
48 }
49 template <typename DomainConfigT = DomainConfig>
51 SetDomainConfig(std::forward<DomainConfigT>(value));
52 return *this;
53 }
55
57
60 inline const DryRunResults& GetDryRunResults() const { return m_dryRunResults; }
61 template <typename DryRunResultsT = DryRunResults>
62 void SetDryRunResults(DryRunResultsT&& value) {
63 m_dryRunResultsHasBeenSet = true;
64 m_dryRunResults = std::forward<DryRunResultsT>(value);
65 }
66 template <typename DryRunResultsT = DryRunResults>
68 SetDryRunResults(std::forward<DryRunResultsT>(value));
69 return *this;
70 }
72
74
77 inline const DryRunProgressStatus& GetDryRunProgressStatus() const { return m_dryRunProgressStatus; }
78 template <typename DryRunProgressStatusT = DryRunProgressStatus>
79 void SetDryRunProgressStatus(DryRunProgressStatusT&& value) {
80 m_dryRunProgressStatusHasBeenSet = true;
81 m_dryRunProgressStatus = std::forward<DryRunProgressStatusT>(value);
82 }
83 template <typename DryRunProgressStatusT = DryRunProgressStatus>
84 UpdateDomainConfigResult& WithDryRunProgressStatus(DryRunProgressStatusT&& value) {
85 SetDryRunProgressStatus(std::forward<DryRunProgressStatusT>(value));
86 return *this;
87 }
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template <typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) {
95 m_requestIdHasBeenSet = true;
96 m_requestId = std::forward<RequestIdT>(value);
97 }
98 template <typename RequestIdT = Aws::String>
100 SetRequestId(std::forward<RequestIdT>(value));
101 return *this;
102 }
104 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
105
106 private:
107 DomainConfig m_domainConfig;
108
109 DryRunResults m_dryRunResults;
110
111 DryRunProgressStatus m_dryRunProgressStatus;
112
113 Aws::String m_requestId;
114 Aws::Http::HttpResponseCode m_HttpResponseCode;
115 bool m_domainConfigHasBeenSet = false;
116 bool m_dryRunResultsHasBeenSet = false;
117 bool m_dryRunProgressStatusHasBeenSet = false;
118 bool m_requestIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace OpenSearchService
123} // namespace Aws
AWS_OPENSEARCHSERVICE_API UpdateDomainConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDomainConfigResult & WithDryRunResults(DryRunResultsT &&value)
AWS_OPENSEARCHSERVICE_API UpdateDomainConfigResult()=default
AWS_OPENSEARCHSERVICE_API UpdateDomainConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDomainConfigResult & WithDryRunProgressStatus(DryRunProgressStatusT &&value)
UpdateDomainConfigResult & WithRequestId(RequestIdT &&value)
UpdateDomainConfigResult & WithDomainConfig(DomainConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue