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>
41 template <
typename ClusterNameT = Aws::String>
43 m_clusterNameHasBeenSet =
true;
44 m_clusterName = std::forward<ClusterNameT>(value);
46 template <
typename ClusterNameT = Aws::String>
68 template <
typename NodeIdsT = Aws::Vector<Aws::String>>
70 m_nodeIdsHasBeenSet =
true;
71 m_nodeIds = std::forward<NodeIdsT>(value);
73 template <
typename NodeIdsT = Aws::Vector<Aws::String>>
78 template <
typename NodeIdsT = Aws::String>
80 m_nodeIdsHasBeenSet =
true;
81 m_nodeIds.emplace_back(std::forward<NodeIdsT>(value));
103 template <
typename NodeLogicalIdsT = Aws::Vector<Aws::String>>
105 m_nodeLogicalIdsHasBeenSet =
true;
106 m_nodeLogicalIds = std::forward<NodeLogicalIdsT>(value);
108 template <
typename NodeLogicalIdsT = Aws::Vector<Aws::String>>
113 template <
typename NodeLogicalIdsT = Aws::String>
115 m_nodeLogicalIdsHasBeenSet =
true;
116 m_nodeLogicalIds.emplace_back(std::forward<NodeLogicalIdsT>(value));
126 bool m_clusterNameHasBeenSet =
false;
127 bool m_nodeIdsHasBeenSet =
false;
128 bool m_nodeLogicalIdsHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetNodeIds() const
void SetClusterName(ClusterNameT &&value)
bool NodeIdsHasBeenSet() const
BatchReplaceClusterNodesRequest & WithNodeLogicalIds(NodeLogicalIdsT &&value)
BatchReplaceClusterNodesRequest & WithClusterName(ClusterNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchReplaceClusterNodesRequest & AddNodeLogicalIds(NodeLogicalIdsT &&value)
BatchReplaceClusterNodesRequest & AddNodeIds(NodeIdsT &&value)
bool NodeLogicalIdsHasBeenSet() const
bool ClusterNameHasBeenSet() const
const Aws::String & GetClusterName() const
const Aws::Vector< Aws::String > & GetNodeLogicalIds() const
void SetNodeIds(NodeIdsT &&value)
AWS_SAGEMAKER_API BatchReplaceClusterNodesRequest()=default
BatchReplaceClusterNodesRequest & WithNodeIds(NodeIdsT &&value)
void SetNodeLogicalIds(NodeLogicalIdsT &&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