AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDeleteClusterNodesRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API BatchDeleteClusterNodesRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteClusterNodes"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetClusterName() const{ return m_clusterName; }
44 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
45 inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
46 inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
47 inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
48 inline BatchDeleteClusterNodesRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
49 inline BatchDeleteClusterNodesRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
50 inline BatchDeleteClusterNodesRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;}
52
54
59 inline const Aws::Vector<Aws::String>& GetNodeIds() const{ return m_nodeIds; }
60 inline bool NodeIdsHasBeenSet() const { return m_nodeIdsHasBeenSet; }
61 inline void SetNodeIds(const Aws::Vector<Aws::String>& value) { m_nodeIdsHasBeenSet = true; m_nodeIds = value; }
62 inline void SetNodeIds(Aws::Vector<Aws::String>&& value) { m_nodeIdsHasBeenSet = true; m_nodeIds = std::move(value); }
64 inline BatchDeleteClusterNodesRequest& WithNodeIds(Aws::Vector<Aws::String>&& value) { SetNodeIds(std::move(value)); return *this;}
65 inline BatchDeleteClusterNodesRequest& AddNodeIds(const Aws::String& value) { m_nodeIdsHasBeenSet = true; m_nodeIds.push_back(value); return *this; }
66 inline BatchDeleteClusterNodesRequest& AddNodeIds(Aws::String&& value) { m_nodeIdsHasBeenSet = true; m_nodeIds.push_back(std::move(value)); return *this; }
67 inline BatchDeleteClusterNodesRequest& AddNodeIds(const char* value) { m_nodeIdsHasBeenSet = true; m_nodeIds.push_back(value); return *this; }
69 private:
70
71 Aws::String m_clusterName;
72 bool m_clusterNameHasBeenSet = false;
73
75 bool m_nodeIdsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SageMaker
80} // namespace Aws
BatchDeleteClusterNodesRequest & WithNodeIds(Aws::Vector< Aws::String > &&value)
BatchDeleteClusterNodesRequest & WithNodeIds(const Aws::Vector< Aws::String > &value)
BatchDeleteClusterNodesRequest & WithClusterName(const char *value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchDeleteClusterNodesRequest & AddNodeIds(const Aws::String &value)
BatchDeleteClusterNodesRequest & AddNodeIds(const char *value)
BatchDeleteClusterNodesRequest & WithClusterName(Aws::String &&value)
BatchDeleteClusterNodesRequest & AddNodeIds(Aws::String &&value)
void SetNodeIds(const Aws::Vector< Aws::String > &value)
BatchDeleteClusterNodesRequest & WithClusterName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
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