AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
InvokeGlobalInferenceGatewayResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/stream/ResponseStream.h>
11#include <aws/sagemaker-gateway-runtime/SageMakerGatewayRuntime_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace SageMakerGatewayRuntime {
20namespace Model {
27 public:
28 AWS_SAGEMAKERGATEWAYRUNTIME_API InvokeGlobalInferenceGatewayResult() = default;
29 AWS_SAGEMAKERGATEWAYRUNTIME_API InvokeGlobalInferenceGatewayResult(InvokeGlobalInferenceGatewayResult&&) = default;
31 // we delete these because Microsoft doesn't handle move generation correctly
32 // and we therefore don't trust them to get it right here either.
35
36 AWS_SAGEMAKERGATEWAYRUNTIME_API InvokeGlobalInferenceGatewayResult(
38 AWS_SAGEMAKERGATEWAYRUNTIME_API InvokeGlobalInferenceGatewayResult& operator=(
40
42
46 inline Aws::IOStream& GetBody() const { return m_body.GetUnderlyingStream(); }
47 inline void ReplaceBody(Aws::IOStream* body) { m_body = Aws::Utils::Stream::ResponseStream(body); }
48
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template <typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) {
56 m_requestIdHasBeenSet = true;
57 m_requestId = std::forward<RequestIdT>(value);
58 }
59 template <typename RequestIdT = Aws::String>
61 SetRequestId(std::forward<RequestIdT>(value));
62 return *this;
63 }
65 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
66
67 private:
69
70 Aws::String m_requestId;
71 Aws::Http::HttpResponseCode m_HttpResponseCode;
72 bool m_bodyHasBeenSet = false;
73 bool m_requestIdHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace SageMakerGatewayRuntime
78} // namespace Aws
InvokeGlobalInferenceGatewayResult(const InvokeGlobalInferenceGatewayResult &)=delete
AWS_SAGEMAKERGATEWAYRUNTIME_API InvokeGlobalInferenceGatewayResult(InvokeGlobalInferenceGatewayResult &&)=default
InvokeGlobalInferenceGatewayResult & operator=(const InvokeGlobalInferenceGatewayResult &)=delete
AWS_SAGEMAKERGATEWAYRUNTIME_API InvokeGlobalInferenceGatewayResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
AWS_SAGEMAKERGATEWAYRUNTIME_API InvokeGlobalInferenceGatewayResult()=default
AWS_SAGEMAKERGATEWAYRUNTIME_API InvokeGlobalInferenceGatewayResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
AWS_SAGEMAKERGATEWAYRUNTIME_API InvokeGlobalInferenceGatewayResult & operator=(InvokeGlobalInferenceGatewayResult &&)=default
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String