AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeDryRunProgressResult.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/DomainStatus.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 {
28 public:
29 AWS_OPENSEARCHSERVICE_API DescribeDryRunProgressResult() = default;
32
34
37 inline const DryRunProgressStatus& GetDryRunProgressStatus() const { return m_dryRunProgressStatus; }
38 template <typename DryRunProgressStatusT = DryRunProgressStatus>
39 void SetDryRunProgressStatus(DryRunProgressStatusT&& value) {
40 m_dryRunProgressStatusHasBeenSet = true;
41 m_dryRunProgressStatus = std::forward<DryRunProgressStatusT>(value);
42 }
43 template <typename DryRunProgressStatusT = DryRunProgressStatus>
45 SetDryRunProgressStatus(std::forward<DryRunProgressStatusT>(value));
46 return *this;
47 }
49
51
54 inline const DomainStatus& GetDryRunConfig() const { return m_dryRunConfig; }
55 template <typename DryRunConfigT = DomainStatus>
56 void SetDryRunConfig(DryRunConfigT&& value) {
57 m_dryRunConfigHasBeenSet = true;
58 m_dryRunConfig = std::forward<DryRunConfigT>(value);
59 }
60 template <typename DryRunConfigT = DomainStatus>
62 SetDryRunConfig(std::forward<DryRunConfigT>(value));
63 return *this;
64 }
66
68
71 inline const DryRunResults& GetDryRunResults() const { return m_dryRunResults; }
72 template <typename DryRunResultsT = DryRunResults>
73 void SetDryRunResults(DryRunResultsT&& value) {
74 m_dryRunResultsHasBeenSet = true;
75 m_dryRunResults = std::forward<DryRunResultsT>(value);
76 }
77 template <typename DryRunResultsT = DryRunResults>
79 SetDryRunResults(std::forward<DryRunResultsT>(value));
80 return *this;
81 }
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
87 template <typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) {
89 m_requestIdHasBeenSet = true;
90 m_requestId = std::forward<RequestIdT>(value);
91 }
92 template <typename RequestIdT = Aws::String>
94 SetRequestId(std::forward<RequestIdT>(value));
95 return *this;
96 }
98 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
99
100 private:
101 DryRunProgressStatus m_dryRunProgressStatus;
102
103 DomainStatus m_dryRunConfig;
104
105 DryRunResults m_dryRunResults;
106
107 Aws::String m_requestId;
108 Aws::Http::HttpResponseCode m_HttpResponseCode;
109 bool m_dryRunProgressStatusHasBeenSet = false;
110 bool m_dryRunConfigHasBeenSet = false;
111 bool m_dryRunResultsHasBeenSet = false;
112 bool m_requestIdHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace OpenSearchService
117} // namespace Aws
DescribeDryRunProgressResult & WithDryRunConfig(DryRunConfigT &&value)
AWS_OPENSEARCHSERVICE_API DescribeDryRunProgressResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDryRunProgressResult & WithDryRunProgressStatus(DryRunProgressStatusT &&value)
DescribeDryRunProgressResult & WithDryRunResults(DryRunResultsT &&value)
AWS_OPENSEARCHSERVICE_API DescribeDryRunProgressResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDryRunProgressResult & WithRequestId(RequestIdT &&value)
AWS_OPENSEARCHSERVICE_API DescribeDryRunProgressResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue