AWS SDK for C++

AWS SDK for C++ Version 1.11.817

Loading...
Searching...
No Matches
RollbackServiceSoftwareUpdateResult.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/RollbackServiceSoftwareOptions.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace OpenSearchService {
24namespace Model {
32 public:
33 AWS_OPENSEARCHSERVICE_API RollbackServiceSoftwareUpdateResult() = default;
37
39
42 inline const RollbackServiceSoftwareOptions& GetRollbackServiceSoftwareOptions() const { return m_rollbackServiceSoftwareOptions; }
43 template <typename RollbackServiceSoftwareOptionsT = RollbackServiceSoftwareOptions>
44 void SetRollbackServiceSoftwareOptions(RollbackServiceSoftwareOptionsT&& value) {
45 m_rollbackServiceSoftwareOptionsHasBeenSet = true;
46 m_rollbackServiceSoftwareOptions = std::forward<RollbackServiceSoftwareOptionsT>(value);
47 }
48 template <typename RollbackServiceSoftwareOptionsT = RollbackServiceSoftwareOptions>
50 SetRollbackServiceSoftwareOptions(std::forward<RollbackServiceSoftwareOptionsT>(value));
51 return *this;
52 }
54
56
57 inline const Aws::String& GetRequestId() const { return m_requestId; }
58 template <typename RequestIdT = Aws::String>
59 void SetRequestId(RequestIdT&& value) {
60 m_requestIdHasBeenSet = true;
61 m_requestId = std::forward<RequestIdT>(value);
62 }
63 template <typename RequestIdT = Aws::String>
65 SetRequestId(std::forward<RequestIdT>(value));
66 return *this;
67 }
69 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
70
71 private:
72 RollbackServiceSoftwareOptions m_rollbackServiceSoftwareOptions;
73
74 Aws::String m_requestId;
75 Aws::Http::HttpResponseCode m_HttpResponseCode;
76 bool m_rollbackServiceSoftwareOptionsHasBeenSet = false;
77 bool m_requestIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace OpenSearchService
82} // namespace Aws
RollbackServiceSoftwareUpdateResult & WithRollbackServiceSoftwareOptions(RollbackServiceSoftwareOptionsT &&value)
AWS_OPENSEARCHSERVICE_API RollbackServiceSoftwareUpdateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPENSEARCHSERVICE_API RollbackServiceSoftwareUpdateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPENSEARCHSERVICE_API RollbackServiceSoftwareUpdateResult()=default
RollbackServiceSoftwareUpdateResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue