AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeClusterNodeRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SageMaker {
15namespace Model {
16
20 public:
21 AWS_SAGEMAKER_API DescribeClusterNodeRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeClusterNode"; }
28
29 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetClusterName() const { return m_clusterName; }
39 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
40 template <typename ClusterNameT = Aws::String>
41 void SetClusterName(ClusterNameT&& value) {
42 m_clusterNameHasBeenSet = true;
43 m_clusterName = std::forward<ClusterNameT>(value);
44 }
45 template <typename ClusterNameT = Aws::String>
47 SetClusterName(std::forward<ClusterNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetNodeId() const { return m_nodeId; }
57 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
58 template <typename NodeIdT = Aws::String>
59 void SetNodeId(NodeIdT&& value) {
60 m_nodeIdHasBeenSet = true;
61 m_nodeId = std::forward<NodeIdT>(value);
62 }
63 template <typename NodeIdT = Aws::String>
65 SetNodeId(std::forward<NodeIdT>(value));
66 return *this;
67 }
69
71
77 inline const Aws::String& GetNodeLogicalId() const { return m_nodeLogicalId; }
78 inline bool NodeLogicalIdHasBeenSet() const { return m_nodeLogicalIdHasBeenSet; }
79 template <typename NodeLogicalIdT = Aws::String>
80 void SetNodeLogicalId(NodeLogicalIdT&& value) {
81 m_nodeLogicalIdHasBeenSet = true;
82 m_nodeLogicalId = std::forward<NodeLogicalIdT>(value);
83 }
84 template <typename NodeLogicalIdT = Aws::String>
86 SetNodeLogicalId(std::forward<NodeLogicalIdT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_clusterName;
92
93 Aws::String m_nodeId;
94
95 Aws::String m_nodeLogicalId;
96 bool m_clusterNameHasBeenSet = false;
97 bool m_nodeIdHasBeenSet = false;
98 bool m_nodeLogicalIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace SageMaker
103} // namespace Aws
DescribeClusterNodeRequest & WithClusterName(ClusterNameT &&value)
AWS_SAGEMAKER_API DescribeClusterNodeRequest()=default
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
DescribeClusterNodeRequest & WithNodeId(NodeIdT &&value)
virtual const char * GetServiceRequestName() const override
DescribeClusterNodeRequest & WithNodeLogicalId(NodeLogicalIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String