AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListLensesRequest.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wellarchitected/model/LensType.h>
11#include <aws/wellarchitected/model/LensStatusType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace WellArchitected
21{
22namespace Model
23{
24
31 {
32 public:
33 AWS_WELLARCHITECTED_API ListLensesRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "ListLenses"; }
40
41 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
42
43 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
48 inline const Aws::String& GetNextToken() const { return m_nextToken; }
49 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
50 template<typename NextTokenT = Aws::String>
51 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
52 template<typename NextTokenT = Aws::String>
53 ListLensesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
55
57
58 inline int GetMaxResults() const { return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
61 inline ListLensesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
63
65
68 inline LensType GetLensType() const { return m_lensType; }
69 inline bool LensTypeHasBeenSet() const { return m_lensTypeHasBeenSet; }
70 inline void SetLensType(LensType value) { m_lensTypeHasBeenSet = true; m_lensType = value; }
71 inline ListLensesRequest& WithLensType(LensType value) { SetLensType(value); return *this;}
73
75
78 inline LensStatusType GetLensStatus() const { return m_lensStatus; }
79 inline bool LensStatusHasBeenSet() const { return m_lensStatusHasBeenSet; }
80 inline void SetLensStatus(LensStatusType value) { m_lensStatusHasBeenSet = true; m_lensStatus = value; }
81 inline ListLensesRequest& WithLensStatus(LensStatusType value) { SetLensStatus(value); return *this;}
83
85
86 inline const Aws::String& GetLensName() const { return m_lensName; }
87 inline bool LensNameHasBeenSet() const { return m_lensNameHasBeenSet; }
88 template<typename LensNameT = Aws::String>
89 void SetLensName(LensNameT&& value) { m_lensNameHasBeenSet = true; m_lensName = std::forward<LensNameT>(value); }
90 template<typename LensNameT = Aws::String>
91 ListLensesRequest& WithLensName(LensNameT&& value) { SetLensName(std::forward<LensNameT>(value)); return *this;}
93 private:
94
95 Aws::String m_nextToken;
96 bool m_nextTokenHasBeenSet = false;
97
98 int m_maxResults{0};
99 bool m_maxResultsHasBeenSet = false;
100
101 LensType m_lensType{LensType::NOT_SET};
102 bool m_lensTypeHasBeenSet = false;
103
105 bool m_lensStatusHasBeenSet = false;
106
107 Aws::String m_lensName;
108 bool m_lensNameHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace WellArchitected
113} // 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