AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDeleteClusterNodesResult.h
1
6#pragma once
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 <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SAGEMAKER_API BatchDeleteClusterNodesResult();
35
36
38
41 inline const Aws::Vector<BatchDeleteClusterNodesError>& GetFailed() const{ return m_failed; }
42 inline void SetFailed(const Aws::Vector<BatchDeleteClusterNodesError>& value) { m_failed = value; }
43 inline void SetFailed(Aws::Vector<BatchDeleteClusterNodesError>&& value) { m_failed = std::move(value); }
46 inline BatchDeleteClusterNodesResult& AddFailed(const BatchDeleteClusterNodesError& value) { m_failed.push_back(value); return *this; }
47 inline BatchDeleteClusterNodesResult& AddFailed(BatchDeleteClusterNodesError&& value) { m_failed.push_back(std::move(value)); return *this; }
49
51
55 inline const Aws::Vector<Aws::String>& GetSuccessful() const{ return m_successful; }
56 inline void SetSuccessful(const Aws::Vector<Aws::String>& value) { m_successful = value; }
57 inline void SetSuccessful(Aws::Vector<Aws::String>&& value) { m_successful = std::move(value); }
59 inline BatchDeleteClusterNodesResult& WithSuccessful(Aws::Vector<Aws::String>&& value) { SetSuccessful(std::move(value)); return *this;}
60 inline BatchDeleteClusterNodesResult& AddSuccessful(const Aws::String& value) { m_successful.push_back(value); return *this; }
61 inline BatchDeleteClusterNodesResult& AddSuccessful(Aws::String&& value) { m_successful.push_back(std::move(value)); return *this; }
62 inline BatchDeleteClusterNodesResult& AddSuccessful(const char* value) { m_successful.push_back(value); return *this; }
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline BatchDeleteClusterNodesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline BatchDeleteClusterNodesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline BatchDeleteClusterNodesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
78
79 Aws::Vector<Aws::String> m_successful;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace SageMaker
86} // namespace Aws
AWS_SAGEMAKER_API BatchDeleteClusterNodesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeleteClusterNodesResult & AddSuccessful(Aws::String &&value)
BatchDeleteClusterNodesResult & WithRequestId(Aws::String &&value)
BatchDeleteClusterNodesResult & AddFailed(BatchDeleteClusterNodesError &&value)
void SetSuccessful(const Aws::Vector< Aws::String > &value)
BatchDeleteClusterNodesResult & AddFailed(const BatchDeleteClusterNodesError &value)
BatchDeleteClusterNodesResult & AddSuccessful(const char *value)
BatchDeleteClusterNodesResult & AddSuccessful(const Aws::String &value)
BatchDeleteClusterNodesResult & WithSuccessful(Aws::Vector< Aws::String > &&value)
const Aws::Vector< BatchDeleteClusterNodesError > & GetFailed() const
void SetFailed(const Aws::Vector< BatchDeleteClusterNodesError > &value)
BatchDeleteClusterNodesResult & WithRequestId(const char *value)
BatchDeleteClusterNodesResult & WithFailed(Aws::Vector< BatchDeleteClusterNodesError > &&value)
void SetFailed(Aws::Vector< BatchDeleteClusterNodesError > &&value)
BatchDeleteClusterNodesResult & WithFailed(const Aws::Vector< BatchDeleteClusterNodesError > &value)
BatchDeleteClusterNodesResult & WithRequestId(const Aws::String &value)
BatchDeleteClusterNodesResult & WithSuccessful(const Aws::Vector< Aws::String > &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