7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMakerRequest.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
42 template <
typename SourceClusterArnT = Aws::String>
44 m_sourceClusterArnHasBeenSet =
true;
45 m_sourceClusterArn = std::forward<SourceClusterArnT>(value);
47 template <
typename SourceClusterArnT = Aws::String>
61 template <
typename SourceInstanceGroupNameT = Aws::String>
63 m_sourceInstanceGroupNameHasBeenSet =
true;
64 m_sourceInstanceGroupName = std::forward<SourceInstanceGroupNameT>(value);
66 template <
typename SourceInstanceGroupNameT = Aws::String>
81 template <
typename TargetClusterArnT = Aws::String>
83 m_targetClusterArnHasBeenSet =
true;
84 m_targetClusterArn = std::forward<TargetClusterArnT>(value);
86 template <
typename TargetClusterArnT = Aws::String>
101 template <
typename TargetInstanceGroupNameT = Aws::String>
103 m_targetInstanceGroupNameHasBeenSet =
true;
104 m_targetInstanceGroupName = std::forward<TargetInstanceGroupNameT>(value);
106 template <
typename TargetInstanceGroupNameT = Aws::String>
124 m_instanceCountHasBeenSet =
true;
125 m_instanceCount = value;
144 template <
typename NodeIdsT = Aws::Vector<Aws::String>>
146 m_nodeIdsHasBeenSet =
true;
147 m_nodeIds = std::forward<NodeIdsT>(value);
149 template <
typename NodeIdsT = Aws::Vector<Aws::String>>
154 template <
typename NodeIdsT = Aws::String>
156 m_nodeIdsHasBeenSet =
true;
157 m_nodeIds.emplace_back(std::forward<NodeIdsT>(value));
173 template <
typename NodeLogicalIdsT = Aws::Vector<Aws::String>>
175 m_nodeLogicalIdsHasBeenSet =
true;
176 m_nodeLogicalIds = std::forward<NodeLogicalIdsT>(value);
178 template <
typename NodeLogicalIdsT = Aws::Vector<Aws::String>>
183 template <
typename NodeLogicalIdsT = Aws::String>
185 m_nodeLogicalIdsHasBeenSet =
true;
186 m_nodeLogicalIds.emplace_back(std::forward<NodeLogicalIdsT>(value));
201 template <
typename ClientTokenT = Aws::String>
203 m_clientTokenHasBeenSet =
true;
204 m_clientToken = std::forward<ClientTokenT>(value);
206 template <
typename ClientTokenT = Aws::String>
221 int m_instanceCount{0};
228 bool m_sourceClusterArnHasBeenSet =
false;
229 bool m_sourceInstanceGroupNameHasBeenSet =
false;
230 bool m_targetClusterArnHasBeenSet =
false;
231 bool m_targetInstanceGroupNameHasBeenSet =
false;
232 bool m_instanceCountHasBeenSet =
false;
233 bool m_nodeIdsHasBeenSet =
false;
234 bool m_nodeLogicalIdsHasBeenSet =
false;
235 bool m_clientTokenHasBeenSet =
true;
MoveClusterNodesRequest & AddNodeLogicalIds(NodeLogicalIdsT &&value)
MoveClusterNodesRequest & WithInstanceCount(int value)
MoveClusterNodesRequest & WithSourceInstanceGroupName(SourceInstanceGroupNameT &&value)
bool TargetClusterArnHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
bool SourceClusterArnHasBeenSet() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetTargetClusterArn() const
MoveClusterNodesRequest & AddNodeIds(NodeIdsT &&value)
bool NodeIdsHasBeenSet() const
AWS_SAGEMAKER_API MoveClusterNodesRequest()=default
void SetTargetInstanceGroupName(TargetInstanceGroupNameT &&value)
MoveClusterNodesRequest & WithTargetClusterArn(TargetClusterArnT &&value)
bool TargetInstanceGroupNameHasBeenSet() const
MoveClusterNodesRequest & WithNodeLogicalIds(NodeLogicalIdsT &&value)
void SetSourceClusterArn(SourceClusterArnT &&value)
void SetTargetClusterArn(TargetClusterArnT &&value)
const Aws::Vector< Aws::String > & GetNodeLogicalIds() const
const Aws::String & GetTargetInstanceGroupName() const
bool NodeLogicalIdsHasBeenSet() const
const Aws::Vector< Aws::String > & GetNodeIds() const
MoveClusterNodesRequest & WithClientToken(ClientTokenT &&value)
void SetNodeIds(NodeIdsT &&value)
virtual const char * GetServiceRequestName() const override
void SetInstanceCount(int value)
MoveClusterNodesRequest & WithTargetInstanceGroupName(TargetInstanceGroupNameT &&value)
MoveClusterNodesRequest & WithSourceClusterArn(SourceClusterArnT &&value)
void SetNodeLogicalIds(NodeLogicalIdsT &&value)
bool SourceInstanceGroupNameHasBeenSet() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
const Aws::String & GetSourceClusterArn() const
bool InstanceCountHasBeenSet() const
int GetInstanceCount() const
void SetSourceInstanceGroupName(SourceInstanceGroupNameT &&value)
MoveClusterNodesRequest & WithNodeIds(NodeIdsT &&value)
const Aws::String & GetSourceInstanceGroupName() const
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
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