AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
CancelServiceSoftwareUpdateResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
9#include <aws/opensearch/model/ServiceSoftwareOptions.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace OpenSearchService {
23namespace Model {
31 public:
32 AWS_OPENSEARCHSERVICE_API CancelServiceSoftwareUpdateResult() = default;
34 AWS_OPENSEARCHSERVICE_API CancelServiceSoftwareUpdateResult& operator=(
36
38
42 inline const ServiceSoftwareOptions& GetServiceSoftwareOptions() const { return m_serviceSoftwareOptions; }
43 template <typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
44 void SetServiceSoftwareOptions(ServiceSoftwareOptionsT&& value) {
45 m_serviceSoftwareOptionsHasBeenSet = true;
46 m_serviceSoftwareOptions = std::forward<ServiceSoftwareOptionsT>(value);
47 }
48 template <typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
50 SetServiceSoftwareOptions(std::forward<ServiceSoftwareOptionsT>(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 private:
70 ServiceSoftwareOptions m_serviceSoftwareOptions;
71
72 Aws::String m_requestId;
73 bool m_serviceSoftwareOptionsHasBeenSet = false;
74 bool m_requestIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace OpenSearchService
79} // namespace Aws
AWS_OPENSEARCHSERVICE_API CancelServiceSoftwareUpdateResult()=default
CancelServiceSoftwareUpdateResult & WithRequestId(RequestIdT &&value)
CancelServiceSoftwareUpdateResult & WithServiceSoftwareOptions(ServiceSoftwareOptionsT &&value)
AWS_OPENSEARCHSERVICE_API CancelServiceSoftwareUpdateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPENSEARCHSERVICE_API CancelServiceSoftwareUpdateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue