AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DescribeNodeRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/medialive/MediaLive_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace MediaLive {
15namespace Model {
16
23 public:
24 AWS_MEDIALIVE_API DescribeNodeRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeNode"; }
31
32 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetClusterId() const { return m_clusterId; }
39 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
40 template <typename ClusterIdT = Aws::String>
41 void SetClusterId(ClusterIdT&& value) {
42 m_clusterIdHasBeenSet = true;
43 m_clusterId = std::forward<ClusterIdT>(value);
44 }
45 template <typename ClusterIdT = Aws::String>
46 DescribeNodeRequest& WithClusterId(ClusterIdT&& value) {
47 SetClusterId(std::forward<ClusterIdT>(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>
64 DescribeNodeRequest& WithNodeId(NodeIdT&& value) {
65 SetNodeId(std::forward<NodeIdT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_clusterId;
71
72 Aws::String m_nodeId;
73 bool m_clusterIdHasBeenSet = false;
74 bool m_nodeIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace MediaLive
79} // namespace Aws
DescribeNodeRequest & WithNodeId(NodeIdT &&value)
AWS_MEDIALIVE_API DescribeNodeRequest()=default
DescribeNodeRequest & WithClusterId(ClusterIdT &&value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String