AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
UpdateCollectionGroupResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
10#include <aws/opensearchserverless/model/UpdateCollectionGroupDetail.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 OpenSearchServerless {
24namespace Model {
26 public:
27 AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupResult() = default;
29 AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupResult& operator=(
31
33
36 inline const UpdateCollectionGroupDetail& GetUpdateCollectionGroupDetail() const { return m_updateCollectionGroupDetail; }
37 template <typename UpdateCollectionGroupDetailT = UpdateCollectionGroupDetail>
38 void SetUpdateCollectionGroupDetail(UpdateCollectionGroupDetailT&& value) {
39 m_updateCollectionGroupDetailHasBeenSet = true;
40 m_updateCollectionGroupDetail = std::forward<UpdateCollectionGroupDetailT>(value);
41 }
42 template <typename UpdateCollectionGroupDetailT = UpdateCollectionGroupDetail>
43 UpdateCollectionGroupResult& WithUpdateCollectionGroupDetail(UpdateCollectionGroupDetailT&& value) {
44 SetUpdateCollectionGroupDetail(std::forward<UpdateCollectionGroupDetailT>(value));
45 return *this;
46 }
48
50
51 inline const Aws::String& GetRequestId() const { return m_requestId; }
52 template <typename RequestIdT = Aws::String>
53 void SetRequestId(RequestIdT&& value) {
54 m_requestIdHasBeenSet = true;
55 m_requestId = std::forward<RequestIdT>(value);
56 }
57 template <typename RequestIdT = Aws::String>
59 SetRequestId(std::forward<RequestIdT>(value));
60 return *this;
61 }
63 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
64
65 private:
66 UpdateCollectionGroupDetail m_updateCollectionGroupDetail;
67
68 Aws::String m_requestId;
69 Aws::Http::HttpResponseCode m_HttpResponseCode;
70 bool m_updateCollectionGroupDetailHasBeenSet = false;
71 bool m_requestIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace OpenSearchServerless
76} // namespace Aws
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupResult()=default
UpdateCollectionGroupResult & WithRequestId(RequestIdT &&value)
const UpdateCollectionGroupDetail & GetUpdateCollectionGroupDetail() const
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateCollectionGroupResult & WithUpdateCollectionGroupDetail(UpdateCollectionGroupDetailT &&value)
void SetUpdateCollectionGroupDetail(UpdateCollectionGroupDetailT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue