AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDeleteClusterNodesError.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/BatchDeleteClusterNodesErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API BatchDeleteClusterNodesError();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const BatchDeleteClusterNodesErrorCode& GetCode() const{ return m_code; }
50 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
51 inline void SetCode(const BatchDeleteClusterNodesErrorCode& value) { m_codeHasBeenSet = true; m_code = value; }
52 inline void SetCode(BatchDeleteClusterNodesErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
54 inline BatchDeleteClusterNodesError& WithCode(BatchDeleteClusterNodesErrorCode&& value) { SetCode(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetMessage() const{ return m_message; }
62 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
63 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
64 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
65 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
66 inline BatchDeleteClusterNodesError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
67 inline BatchDeleteClusterNodesError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
68 inline BatchDeleteClusterNodesError& WithMessage(const char* value) { SetMessage(value); return *this;}
70
72
75 inline const Aws::String& GetNodeId() const{ return m_nodeId; }
76 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
77 inline void SetNodeId(const Aws::String& value) { m_nodeIdHasBeenSet = true; m_nodeId = value; }
78 inline void SetNodeId(Aws::String&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::move(value); }
79 inline void SetNodeId(const char* value) { m_nodeIdHasBeenSet = true; m_nodeId.assign(value); }
80 inline BatchDeleteClusterNodesError& WithNodeId(const Aws::String& value) { SetNodeId(value); return *this;}
81 inline BatchDeleteClusterNodesError& WithNodeId(Aws::String&& value) { SetNodeId(std::move(value)); return *this;}
82 inline BatchDeleteClusterNodesError& WithNodeId(const char* value) { SetNodeId(value); return *this;}
84 private:
85
87 bool m_codeHasBeenSet = false;
88
89 Aws::String m_message;
90 bool m_messageHasBeenSet = false;
91
92 Aws::String m_nodeId;
93 bool m_nodeIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SageMaker
98} // namespace Aws
void SetCode(const BatchDeleteClusterNodesErrorCode &value)
AWS_SAGEMAKER_API BatchDeleteClusterNodesError & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchDeleteClusterNodesError & WithNodeId(const char *value)
BatchDeleteClusterNodesError & WithNodeId(const Aws::String &value)
AWS_SAGEMAKER_API BatchDeleteClusterNodesError(Aws::Utils::Json::JsonView jsonValue)
BatchDeleteClusterNodesError & WithNodeId(Aws::String &&value)
BatchDeleteClusterNodesError & WithCode(BatchDeleteClusterNodesErrorCode &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
BatchDeleteClusterNodesError & WithMessage(Aws::String &&value)
BatchDeleteClusterNodesError & WithCode(const BatchDeleteClusterNodesErrorCode &value)
BatchDeleteClusterNodesError & WithMessage(const Aws::String &value)
const BatchDeleteClusterNodesErrorCode & GetCode() const
void SetCode(BatchDeleteClusterNodesErrorCode &&value)
BatchDeleteClusterNodesError & WithMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue