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/NodeAdditionResult.h>
11#include <aws/sagemaker/model/BatchAddClusterNodesError.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
48 template<
typename SuccessfulT = Aws::Vector<NodeAdditionResult>>
49 void SetSuccessful(SuccessfulT&& value) { m_successfulHasBeenSet =
true; m_successful = std::forward<SuccessfulT>(value); }
50 template<
typename SuccessfulT = Aws::Vector<NodeAdditionResult>>
52 template<
typename SuccessfulT = NodeAdditionResult>
63 template<
typename FailedT = Aws::Vector<BatchAddClusterNodesError>>
64 void SetFailed(FailedT&& value) { m_failedHasBeenSet =
true; m_failed = std::forward<FailedT>(value); }
65 template<
typename FailedT = Aws::Vector<BatchAddClusterNodesError>>
67 template<
typename FailedT = BatchAddClusterNodesError>
74 template<
typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
76 template<
typename RequestIdT = Aws::String>
82 bool m_successfulHasBeenSet =
false;
85 bool m_failedHasBeenSet =
false;
88 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
BatchAddClusterNodesResult & WithFailed(FailedT &&value)
const Aws::Vector< BatchAddClusterNodesError > & GetFailed() const
BatchAddClusterNodesResult & AddSuccessful(SuccessfulT &&value)
void SetSuccessful(SuccessfulT &&value)
AWS_SAGEMAKER_API BatchAddClusterNodesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchAddClusterNodesResult & AddFailed(FailedT &&value)
AWS_SAGEMAKER_API BatchAddClusterNodesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::Vector< NodeAdditionResult > & GetSuccessful() const
BatchAddClusterNodesResult & WithRequestId(RequestIdT &&value)
void SetFailed(FailedT &&value)
BatchAddClusterNodesResult & WithSuccessful(SuccessfulT &&value)
AWS_SAGEMAKER_API BatchAddClusterNodesResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue