AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
UpdateGlobalInferenceGatewayRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/GlobalInferenceGatewayRouting.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMaker {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKER_API UpdateGlobalInferenceGatewayRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateGlobalInferenceGateway"; }
29
30 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetIdentifier() const { return m_identifier; }
40 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
41 template <typename IdentifierT = Aws::String>
42 void SetIdentifier(IdentifierT&& value) {
43 m_identifierHasBeenSet = true;
44 m_identifier = std::forward<IdentifierT>(value);
45 }
46 template <typename IdentifierT = Aws::String>
48 SetIdentifier(std::forward<IdentifierT>(value));
49 return *this;
50 }
52
54
57 inline const GlobalInferenceGatewayRouting& GetRouting() const { return m_routing; }
58 inline bool RoutingHasBeenSet() const { return m_routingHasBeenSet; }
59 template <typename RoutingT = GlobalInferenceGatewayRouting>
60 void SetRouting(RoutingT&& value) {
61 m_routingHasBeenSet = true;
62 m_routing = std::forward<RoutingT>(value);
63 }
64 template <typename RoutingT = GlobalInferenceGatewayRouting>
66 SetRouting(std::forward<RoutingT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_identifier;
72
74 bool m_identifierHasBeenSet = false;
75 bool m_routingHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SageMaker
80} // namespace Aws
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateGlobalInferenceGatewayRequest & WithRouting(RoutingT &&value)
UpdateGlobalInferenceGatewayRequest & WithIdentifier(IdentifierT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String