AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
InvokeGlobalInferenceGatewayRequest.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker-gateway-runtime/SageMakerGatewayRuntimeRequest.h>
10#include <aws/sagemaker-gateway-runtime/SageMakerGatewayRuntime_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMakerGatewayRuntime {
16namespace Model {
17
24 public:
25 AWS_SAGEMAKERGATEWAYRUNTIME_API InvokeGlobalInferenceGatewayRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "InvokeGlobalInferenceGateway"; }
32
33 AWS_SAGEMAKERGATEWAYRUNTIME_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
41 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
42 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
43 template <typename GatewayIdT = Aws::String>
44 void SetGatewayId(GatewayIdT&& value) {
45 m_gatewayIdHasBeenSet = true;
46 m_gatewayId = std::forward<GatewayIdT>(value);
47 }
48 template <typename GatewayIdT = Aws::String>
50 SetGatewayId(std::forward<GatewayIdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetAccept() const { return m_accept; }
61 inline bool AcceptHasBeenSet() const { return m_acceptHasBeenSet; }
62 template <typename AcceptT = Aws::String>
63 void SetAccept(AcceptT&& value) {
64 m_acceptHasBeenSet = true;
65 m_accept = std::forward<AcceptT>(value);
66 }
67 template <typename AcceptT = Aws::String>
69 SetAccept(std::forward<AcceptT>(value));
70 return *this;
71 }
73
75
81 inline const Aws::String& GetCustomerIdentityToken() const { return m_customerIdentityToken; }
82 inline bool CustomerIdentityTokenHasBeenSet() const { return m_customerIdentityTokenHasBeenSet; }
83 template <typename CustomerIdentityTokenT = Aws::String>
84 void SetCustomerIdentityToken(CustomerIdentityTokenT&& value) {
85 m_customerIdentityTokenHasBeenSet = true;
86 m_customerIdentityToken = std::forward<CustomerIdentityTokenT>(value);
87 }
88 template <typename CustomerIdentityTokenT = Aws::String>
90 SetCustomerIdentityToken(std::forward<CustomerIdentityTokenT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_gatewayId;
96
97 Aws::String m_accept;
98
99 Aws::String m_customerIdentityToken;
100
101 bool m_gatewayIdHasBeenSet = false;
102 bool m_acceptHasBeenSet = false;
103 bool m_customerIdentityTokenHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace SageMakerGatewayRuntime
108} // namespace Aws
AWS_SAGEMAKERGATEWAYRUNTIME_API InvokeGlobalInferenceGatewayRequest()=default
InvokeGlobalInferenceGatewayRequest & WithCustomerIdentityToken(CustomerIdentityTokenT &&value)
AWS_SAGEMAKERGATEWAYRUNTIME_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String