AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
51 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
52 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
53 inline ListLensesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
54 inline ListLensesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
55 inline ListLensesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
57
59
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 ListLensesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
65
67
70 inline const LensType& GetLensType() const{ return m_lensType; }
71 inline bool LensTypeHasBeenSet() const { return m_lensTypeHasBeenSet; }
72 inline void SetLensType(const LensType& value) { m_lensTypeHasBeenSet = true; m_lensType = value; }
73 inline void SetLensType(LensType&& value) { m_lensTypeHasBeenSet = true; m_lensType = std::move(value); }
74 inline ListLensesRequest& WithLensType(const LensType& value) { SetLensType(value); return *this;}
75 inline ListLensesRequest& WithLensType(LensType&& value) { SetLensType(std::move(value)); return *this;}
77
79
82 inline const LensStatusType& GetLensStatus() const{ return m_lensStatus; }
83 inline bool LensStatusHasBeenSet() const { return m_lensStatusHasBeenSet; }
84 inline void SetLensStatus(const LensStatusType& value) { m_lensStatusHasBeenSet = true; m_lensStatus = value; }
85 inline void SetLensStatus(LensStatusType&& value) { m_lensStatusHasBeenSet = true; m_lensStatus = std::move(value); }
86 inline ListLensesRequest& WithLensStatus(const LensStatusType& value) { SetLensStatus(value); return *this;}
87 inline ListLensesRequest& WithLensStatus(LensStatusType&& value) { SetLensStatus(std::move(value)); return *this;}
89
91
92 inline const Aws::String& GetLensName() const{ return m_lensName; }
93 inline bool LensNameHasBeenSet() const { return m_lensNameHasBeenSet; }
94 inline void SetLensName(const Aws::String& value) { m_lensNameHasBeenSet = true; m_lensName = value; }
95 inline void SetLensName(Aws::String&& value) { m_lensNameHasBeenSet = true; m_lensName = std::move(value); }
96 inline void SetLensName(const char* value) { m_lensNameHasBeenSet = true; m_lensName.assign(value); }
97 inline ListLensesRequest& WithLensName(const Aws::String& value) { SetLensName(value); return *this;}
98 inline ListLensesRequest& WithLensName(Aws::String&& value) { SetLensName(std::move(value)); return *this;}
99 inline ListLensesRequest& WithLensName(const char* value) { SetLensName(value); return *this;}
101 private:
102
103 Aws::String m_nextToken;
104 bool m_nextTokenHasBeenSet = false;
105
106 int m_maxResults;
107 bool m_maxResultsHasBeenSet = false;
108
109 LensType m_lensType;
110 bool m_lensTypeHasBeenSet = false;
111
112 LensStatusType m_lensStatus;
113 bool m_lensStatusHasBeenSet = false;
114
115 Aws::String m_lensName;
116 bool m_lensNameHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace WellArchitected
121} // namespace Aws
ListLensesRequest & WithLensType(LensType &&value)
ListLensesRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListLensesRequest & WithLensStatus(const LensStatusType &value)
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListLensesRequest & WithLensStatus(LensStatusType &&value)
ListLensesRequest & WithLensName(Aws::String &&value)
ListLensesRequest & WithMaxResults(int value)
ListLensesRequest & WithLensName(const Aws::String &value)
ListLensesRequest & WithNextToken(const char *value)
void SetLensStatus(const LensStatusType &value)
ListLensesRequest & WithLensName(const char *value)
ListLensesRequest & WithNextToken(Aws::String &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
ListLensesRequest & WithLensType(const LensType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String