AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
ListAssessmentsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Kafka {
18namespace Model {
19
23 public:
24 AWS_KAFKA_API ListAssessmentsRequest() = 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 "ListAssessments"; }
31
32 AWS_KAFKA_API Aws::String SerializePayload() const override;
33
34 AWS_KAFKA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetAssessmentType() const { return m_assessmentType; }
41 inline bool AssessmentTypeHasBeenSet() const { return m_assessmentTypeHasBeenSet; }
42 template <typename AssessmentTypeT = Aws::String>
43 void SetAssessmentType(AssessmentTypeT&& value) {
44 m_assessmentTypeHasBeenSet = true;
45 m_assessmentType = std::forward<AssessmentTypeT>(value);
46 }
47 template <typename AssessmentTypeT = Aws::String>
48 ListAssessmentsRequest& WithAssessmentType(AssessmentTypeT&& value) {
49 SetAssessmentType(std::forward<AssessmentTypeT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
59 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
60 template <typename ClusterArnT = Aws::String>
61 void SetClusterArn(ClusterArnT&& value) {
62 m_clusterArnHasBeenSet = true;
63 m_clusterArn = std::forward<ClusterArnT>(value);
64 }
65 template <typename ClusterArnT = Aws::String>
66 ListAssessmentsRequest& WithClusterArn(ClusterArnT&& value) {
67 SetClusterArn(std::forward<ClusterArnT>(value));
68 return *this;
69 }
71
73
76 inline int GetMaxResults() const { return m_maxResults; }
77 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
78 inline void SetMaxResults(int value) {
79 m_maxResultsHasBeenSet = true;
80 m_maxResults = value;
81 }
83 SetMaxResults(value);
84 return *this;
85 }
87
89
93 inline const Aws::String& GetNextToken() const { return m_nextToken; }
94 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 template <typename NextTokenT = Aws::String>
96 void SetNextToken(NextTokenT&& value) {
97 m_nextTokenHasBeenSet = true;
98 m_nextToken = std::forward<NextTokenT>(value);
99 }
100 template <typename NextTokenT = Aws::String>
102 SetNextToken(std::forward<NextTokenT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_assessmentType;
108
109 Aws::String m_clusterArn;
110
111 int m_maxResults{0};
112
113 Aws::String m_nextToken;
114 bool m_assessmentTypeHasBeenSet = false;
115 bool m_clusterArnHasBeenSet = false;
116 bool m_maxResultsHasBeenSet = false;
117 bool m_nextTokenHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace Kafka
122} // namespace Aws
ListAssessmentsRequest & WithNextToken(NextTokenT &&value)
ListAssessmentsRequest & WithClusterArn(ClusterArnT &&value)
AWS_KAFKA_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_KAFKA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListAssessmentsRequest & WithAssessmentType(AssessmentTypeT &&value)
AWS_KAFKA_API ListAssessmentsRequest()=default
void SetAssessmentType(AssessmentTypeT &&value)
ListAssessmentsRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String