AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
ListLensesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10#include <aws/wellarchitected/model/LensStatusType.h>
11#include <aws/wellarchitected/model/LensType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace WellArchitected {
20namespace Model {
21
28 public:
29 AWS_WELLARCHITECTED_API ListLensesRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListLenses"; }
36
37 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
38
39 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
43 inline const Aws::String& GetNextToken() const { return m_nextToken; }
44 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
45 template <typename NextTokenT = Aws::String>
46 void SetNextToken(NextTokenT&& value) {
47 m_nextTokenHasBeenSet = true;
48 m_nextToken = std::forward<NextTokenT>(value);
49 }
50 template <typename NextTokenT = Aws::String>
51 ListLensesRequest& WithNextToken(NextTokenT&& value) {
52 SetNextToken(std::forward<NextTokenT>(value));
53 return *this;
54 }
56
58
59 inline int GetMaxResults() const { return m_maxResults; }
60 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
61 inline void SetMaxResults(int value) {
62 m_maxResultsHasBeenSet = true;
63 m_maxResults = value;
64 }
65 inline ListLensesRequest& WithMaxResults(int value) {
66 SetMaxResults(value);
67 return *this;
68 }
70
72
75 inline LensType GetLensType() const { return m_lensType; }
76 inline bool LensTypeHasBeenSet() const { return m_lensTypeHasBeenSet; }
77 inline void SetLensType(LensType value) {
78 m_lensTypeHasBeenSet = true;
79 m_lensType = value;
80 }
82 SetLensType(value);
83 return *this;
84 }
86
88
91 inline LensStatusType GetLensStatus() const { return m_lensStatus; }
92 inline bool LensStatusHasBeenSet() const { return m_lensStatusHasBeenSet; }
93 inline void SetLensStatus(LensStatusType value) {
94 m_lensStatusHasBeenSet = true;
95 m_lensStatus = value;
96 }
98 SetLensStatus(value);
99 return *this;
100 }
102
104
105 inline const Aws::String& GetLensName() const { return m_lensName; }
106 inline bool LensNameHasBeenSet() const { return m_lensNameHasBeenSet; }
107 template <typename LensNameT = Aws::String>
108 void SetLensName(LensNameT&& value) {
109 m_lensNameHasBeenSet = true;
110 m_lensName = std::forward<LensNameT>(value);
111 }
112 template <typename LensNameT = Aws::String>
113 ListLensesRequest& WithLensName(LensNameT&& value) {
114 SetLensName(std::forward<LensNameT>(value));
115 return *this;
116 }
118 private:
119 Aws::String m_nextToken;
120 bool m_nextTokenHasBeenSet = false;
121
122 int m_maxResults{0};
123 bool m_maxResultsHasBeenSet = false;
124
125 LensType m_lensType{LensType::NOT_SET};
126 bool m_lensTypeHasBeenSet = false;
127
129 bool m_lensStatusHasBeenSet = false;
130
131 Aws::String m_lensName;
132 bool m_lensNameHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace WellArchitected
137} // namespace Aws
ListLensesRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListLensesRequest & WithLensStatus(LensStatusType value)
ListLensesRequest & WithLensType(LensType value)
AWS_WELLARCHITECTED_API ListLensesRequest()=default
ListLensesRequest & WithMaxResults(int value)
ListLensesRequest & WithLensName(LensNameT &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String