AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListNodesRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace MediaLive
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_MEDIALIVE_API ListNodesRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListNodes"; }
38
39 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
40
41 AWS_MEDIALIVE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetClusterId() const { return m_clusterId; }
49 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
50 template<typename ClusterIdT = Aws::String>
51 void SetClusterId(ClusterIdT&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::forward<ClusterIdT>(value); }
52 template<typename ClusterIdT = Aws::String>
53 ListNodesRequest& WithClusterId(ClusterIdT&& value) { SetClusterId(std::forward<ClusterIdT>(value)); return *this;}
55
57
60 inline int GetMaxResults() const { return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
63 inline ListNodesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
65
67
70 inline const Aws::String& GetNextToken() const { return m_nextToken; }
71 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
72 template<typename NextTokenT = Aws::String>
73 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
74 template<typename NextTokenT = Aws::String>
75 ListNodesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
77 private:
78
79 Aws::String m_clusterId;
80 bool m_clusterIdHasBeenSet = false;
81
82 int m_maxResults{0};
83 bool m_maxResultsHasBeenSet = false;
84
85 Aws::String m_nextToken;
86 bool m_nextTokenHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace MediaLive
91} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_MEDIALIVE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_MEDIALIVE_API ListNodesRequest()=default
ListNodesRequest & WithClusterId(ClusterIdT &&value)
ListNodesRequest & WithNextToken(NextTokenT &&value)
ListNodesRequest & WithMaxResults(int value)
const Aws::String & GetClusterId() const
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
const Aws::String & GetNextToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String