AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
RemoveInferenceGatewayRequest.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
11#include <utility>
12
13namespace Aws {
14namespace SageMaker {
15namespace Model {
16
20 public:
21 AWS_SAGEMAKER_API RemoveInferenceGatewayRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "RemoveInferenceGateway"; }
28
29 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetIdentifier() const { return m_identifier; }
39 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
40 template <typename IdentifierT = Aws::String>
41 void SetIdentifier(IdentifierT&& value) {
42 m_identifierHasBeenSet = true;
43 m_identifier = std::forward<IdentifierT>(value);
44 }
45 template <typename IdentifierT = Aws::String>
47 SetIdentifier(std::forward<IdentifierT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
58 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
59 template <typename ClusterArnT = Aws::String>
60 void SetClusterArn(ClusterArnT&& value) {
61 m_clusterArnHasBeenSet = true;
62 m_clusterArn = std::forward<ClusterArnT>(value);
63 }
64 template <typename ClusterArnT = Aws::String>
66 SetClusterArn(std::forward<ClusterArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetNamespace() const { return m_namespace; }
76 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
77 template <typename NamespaceT = Aws::String>
78 void SetNamespace(NamespaceT&& value) {
79 m_namespaceHasBeenSet = true;
80 m_namespace = std::forward<NamespaceT>(value);
81 }
82 template <typename NamespaceT = Aws::String>
84 SetNamespace(std::forward<NamespaceT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetName() const { return m_name; }
95 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 template <typename NameT = Aws::String>
97 void SetName(NameT&& value) {
98 m_nameHasBeenSet = true;
99 m_name = std::forward<NameT>(value);
100 }
101 template <typename NameT = Aws::String>
103 SetName(std::forward<NameT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_identifier;
109
110 Aws::String m_clusterArn;
111
112 Aws::String m_namespace;
113
114 Aws::String m_name;
115 bool m_identifierHasBeenSet = false;
116 bool m_clusterArnHasBeenSet = false;
117 bool m_namespaceHasBeenSet = false;
118 bool m_nameHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace SageMaker
123} // namespace Aws
RemoveInferenceGatewayRequest & WithName(NameT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API RemoveInferenceGatewayRequest()=default
RemoveInferenceGatewayRequest & WithNamespace(NamespaceT &&value)
RemoveInferenceGatewayRequest & WithIdentifier(IdentifierT &&value)
RemoveInferenceGatewayRequest & WithClusterArn(ClusterArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String