AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BatchDeleteClusterNodesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMaker {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKER_API BatchDeleteClusterNodesRequest() = 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 "BatchDeleteClusterNodes"; }
29
30 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetClusterName() const { return m_clusterName; }
40 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
41 template <typename ClusterNameT = Aws::String>
42 void SetClusterName(ClusterNameT&& value) {
43 m_clusterNameHasBeenSet = true;
44 m_clusterName = std::forward<ClusterNameT>(value);
45 }
46 template <typename ClusterNameT = Aws::String>
48 SetClusterName(std::forward<ClusterNameT>(value));
49 return *this;
50 }
52
54
62 inline const Aws::Vector<Aws::String>& GetNodeIds() const { return m_nodeIds; }
63 inline bool NodeIdsHasBeenSet() const { return m_nodeIdsHasBeenSet; }
64 template <typename NodeIdsT = Aws::Vector<Aws::String>>
65 void SetNodeIds(NodeIdsT&& value) {
66 m_nodeIdsHasBeenSet = true;
67 m_nodeIds = std::forward<NodeIdsT>(value);
68 }
69 template <typename NodeIdsT = Aws::Vector<Aws::String>>
71 SetNodeIds(std::forward<NodeIdsT>(value));
72 return *this;
73 }
74 template <typename NodeIdsT = Aws::String>
76 m_nodeIdsHasBeenSet = true;
77 m_nodeIds.emplace_back(std::forward<NodeIdsT>(value));
78 return *this;
79 }
81
83
89 inline const Aws::Vector<Aws::String>& GetNodeLogicalIds() const { return m_nodeLogicalIds; }
90 inline bool NodeLogicalIdsHasBeenSet() const { return m_nodeLogicalIdsHasBeenSet; }
91 template <typename NodeLogicalIdsT = Aws::Vector<Aws::String>>
92 void SetNodeLogicalIds(NodeLogicalIdsT&& value) {
93 m_nodeLogicalIdsHasBeenSet = true;
94 m_nodeLogicalIds = std::forward<NodeLogicalIdsT>(value);
95 }
96 template <typename NodeLogicalIdsT = Aws::Vector<Aws::String>>
98 SetNodeLogicalIds(std::forward<NodeLogicalIdsT>(value));
99 return *this;
100 }
101 template <typename NodeLogicalIdsT = Aws::String>
103 m_nodeLogicalIdsHasBeenSet = true;
104 m_nodeLogicalIds.emplace_back(std::forward<NodeLogicalIdsT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_clusterName;
110
111 Aws::Vector<Aws::String> m_nodeIds;
112
113 Aws::Vector<Aws::String> m_nodeLogicalIds;
114 bool m_clusterNameHasBeenSet = false;
115 bool m_nodeIdsHasBeenSet = false;
116 bool m_nodeLogicalIdsHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace SageMaker
121} // namespace Aws
BatchDeleteClusterNodesRequest & WithNodeLogicalIds(NodeLogicalIdsT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchDeleteClusterNodesRequest & AddNodeLogicalIds(NodeLogicalIdsT &&value)
BatchDeleteClusterNodesRequest & WithClusterName(ClusterNameT &&value)
AWS_SAGEMAKER_API BatchDeleteClusterNodesRequest()=default
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
BatchDeleteClusterNodesRequest & AddNodeIds(NodeIdsT &&value)
BatchDeleteClusterNodesRequest & WithNodeIds(NodeIdsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector