7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/BatchDeleteClusterNodesError.h>
11#include <aws/sagemaker/model/BatchDeleteClusterNodeLogicalIdsError.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename FailedT = Aws::Vector<BatchDeleteClusterNodesError>>
44 void SetFailed(FailedT&& value) { m_failedHasBeenSet =
true; m_failed = std::forward<FailedT>(value); }
45 template<
typename FailedT = Aws::Vector<BatchDeleteClusterNodesError>>
47 template<
typename FailedT = BatchDeleteClusterNodesError>
57 template<
typename SuccessfulT = Aws::Vector<Aws::String>>
58 void SetSuccessful(SuccessfulT&& value) { m_successfulHasBeenSet =
true; m_successful = std::forward<SuccessfulT>(value); }
59 template<
typename SuccessfulT = Aws::Vector<Aws::String>>
61 template<
typename SuccessfulT = Aws::String>
71 template<
typename FailedNodeLogicalIdsT = Aws::Vector<BatchDeleteClusterNodeLogicalIdsError>>
72 void SetFailedNodeLogicalIds(FailedNodeLogicalIdsT&& value) { m_failedNodeLogicalIdsHasBeenSet =
true; m_failedNodeLogicalIds = std::forward<FailedNodeLogicalIdsT>(value); }
73 template<
typename FailedNodeLogicalIdsT = Aws::Vector<BatchDeleteClusterNodeLogicalIdsError>>
75 template<
typename FailedNodeLogicalIdsT = BatchDeleteClusterNodeLogicalIdsError>
85 template<
typename SuccessfulNodeLogicalIdsT = Aws::Vector<Aws::String>>
86 void SetSuccessfulNodeLogicalIds(SuccessfulNodeLogicalIdsT&& value) { m_successfulNodeLogicalIdsHasBeenSet =
true; m_successfulNodeLogicalIds = std::forward<SuccessfulNodeLogicalIdsT>(value); }
87 template<
typename SuccessfulNodeLogicalIdsT = Aws::Vector<Aws::String>>
89 template<
typename SuccessfulNodeLogicalIdsT = Aws::String>
96 template<
typename RequestIdT = Aws::String>
97 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
98 template<
typename RequestIdT = Aws::String>
104 bool m_failedHasBeenSet =
false;
107 bool m_successfulHasBeenSet =
false;
110 bool m_failedNodeLogicalIdsHasBeenSet =
false;
113 bool m_successfulNodeLogicalIdsHasBeenSet =
false;
116 bool m_requestIdHasBeenSet =
false;
AWS_SAGEMAKER_API BatchDeleteClusterNodesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BatchDeleteClusterNodeLogicalIdsError > & GetFailedNodeLogicalIds() const
AWS_SAGEMAKER_API BatchDeleteClusterNodesResult()=default
BatchDeleteClusterNodesResult & WithSuccessfulNodeLogicalIds(SuccessfulNodeLogicalIdsT &&value)
BatchDeleteClusterNodesResult & WithFailed(FailedT &&value)
void SetSuccessfulNodeLogicalIds(SuccessfulNodeLogicalIdsT &&value)
const Aws::String & GetRequestId() const
BatchDeleteClusterNodesResult & AddFailed(FailedT &&value)
void SetSuccessful(SuccessfulT &&value)
BatchDeleteClusterNodesResult & AddSuccessful(SuccessfulT &&value)
void SetFailed(FailedT &&value)
BatchDeleteClusterNodesResult & WithSuccessful(SuccessfulT &&value)
const Aws::Vector< BatchDeleteClusterNodesError > & GetFailed() const
const Aws::Vector< Aws::String > & GetSuccessful() const
BatchDeleteClusterNodesResult & WithFailedNodeLogicalIds(FailedNodeLogicalIdsT &&value)
void SetFailedNodeLogicalIds(FailedNodeLogicalIdsT &&value)
BatchDeleteClusterNodesResult & AddSuccessfulNodeLogicalIds(SuccessfulNodeLogicalIdsT &&value)
const Aws::Vector< Aws::String > & GetSuccessfulNodeLogicalIds() const
BatchDeleteClusterNodesResult & WithRequestId(RequestIdT &&value)
BatchDeleteClusterNodesResult & AddFailedNodeLogicalIds(FailedNodeLogicalIdsT &&value)
void SetRequestId(RequestIdT &&value)
AWS_SAGEMAKER_API BatchDeleteClusterNodesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue