AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListInsightsRequest.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/eks/EKSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eks/model/InsightsFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EKS
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_EKS_API ListInsightsRequest() = default;
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 "ListInsights"; }
32
33 AWS_EKS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetClusterName() const { return m_clusterName; }
41 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
42 template<typename ClusterNameT = Aws::String>
43 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
44 template<typename ClusterNameT = Aws::String>
45 ListInsightsRequest& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
47
49
54 inline const InsightsFilter& GetFilter() const { return m_filter; }
55 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
56 template<typename FilterT = InsightsFilter>
57 void SetFilter(FilterT&& value) { m_filterHasBeenSet = true; m_filter = std::forward<FilterT>(value); }
58 template<typename FilterT = InsightsFilter>
59 ListInsightsRequest& WithFilter(FilterT&& value) { SetFilter(std::forward<FilterT>(value)); return *this;}
61
63
74 inline int GetMaxResults() const { return m_maxResults; }
75 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
76 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
77 inline ListInsightsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
79
81
88 inline const Aws::String& GetNextToken() const { return m_nextToken; }
89 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
90 template<typename NextTokenT = Aws::String>
91 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
92 template<typename NextTokenT = Aws::String>
93 ListInsightsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
95 private:
96
97 Aws::String m_clusterName;
98 bool m_clusterNameHasBeenSet = false;
99
100 InsightsFilter m_filter;
101 bool m_filterHasBeenSet = false;
102
103 int m_maxResults{0};
104 bool m_maxResultsHasBeenSet = false;
105
106 Aws::String m_nextToken;
107 bool m_nextTokenHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace EKS
112} // namespace Aws
const Aws::String & GetClusterName() const
virtual const char * GetServiceRequestName() const override
AWS_EKS_API ListInsightsRequest()=default
ListInsightsRequest & WithNextToken(NextTokenT &&value)
void SetClusterName(ClusterNameT &&value)
const InsightsFilter & GetFilter() const
const Aws::String & GetNextToken() const
ListInsightsRequest & WithFilter(FilterT &&value)
ListInsightsRequest & WithMaxResults(int value)
AWS_EKS_API Aws::String SerializePayload() const override
ListInsightsRequest & WithClusterName(ClusterNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String