AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListLensSharesRequest.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/ShareStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace WellArchitected
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_WELLARCHITECTED_API ListLensSharesRequest() = 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 "ListLensShares"; }
36
37 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
38
39 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
44 inline const Aws::String& GetLensAlias() const { return m_lensAlias; }
45 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
46 template<typename LensAliasT = Aws::String>
47 void SetLensAlias(LensAliasT&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::forward<LensAliasT>(value); }
48 template<typename LensAliasT = Aws::String>
49 ListLensSharesRequest& WithLensAlias(LensAliasT&& value) { SetLensAlias(std::forward<LensAliasT>(value)); return *this;}
51
53
57 inline const Aws::String& GetSharedWithPrefix() const { return m_sharedWithPrefix; }
58 inline bool SharedWithPrefixHasBeenSet() const { return m_sharedWithPrefixHasBeenSet; }
59 template<typename SharedWithPrefixT = Aws::String>
60 void SetSharedWithPrefix(SharedWithPrefixT&& value) { m_sharedWithPrefixHasBeenSet = true; m_sharedWithPrefix = std::forward<SharedWithPrefixT>(value); }
61 template<typename SharedWithPrefixT = Aws::String>
62 ListLensSharesRequest& WithSharedWithPrefix(SharedWithPrefixT&& value) { SetSharedWithPrefix(std::forward<SharedWithPrefixT>(value)); return *this;}
64
66
67 inline const Aws::String& GetNextToken() const { return m_nextToken; }
68 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
69 template<typename NextTokenT = Aws::String>
70 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
71 template<typename NextTokenT = Aws::String>
72 ListLensSharesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
74
76
79 inline int GetMaxResults() const { return m_maxResults; }
80 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
81 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
82 inline ListLensSharesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
84
86
87 inline ShareStatus GetStatus() const { return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 inline void SetStatus(ShareStatus value) { m_statusHasBeenSet = true; m_status = value; }
90 inline ListLensSharesRequest& WithStatus(ShareStatus value) { SetStatus(value); return *this;}
92 private:
93
94 Aws::String m_lensAlias;
95 bool m_lensAliasHasBeenSet = false;
96
97 Aws::String m_sharedWithPrefix;
98 bool m_sharedWithPrefixHasBeenSet = false;
99
100 Aws::String m_nextToken;
101 bool m_nextTokenHasBeenSet = false;
102
103 int m_maxResults{0};
104 bool m_maxResultsHasBeenSet = false;
105
107 bool m_statusHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace WellArchitected
112} // namespace Aws
ListLensSharesRequest & WithSharedWithPrefix(SharedWithPrefixT &&value)
ListLensSharesRequest & WithStatus(ShareStatus value)
ListLensSharesRequest & WithNextToken(NextTokenT &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
ListLensSharesRequest & WithLensAlias(LensAliasT &&value)
virtual const char * GetServiceRequestName() const override
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_WELLARCHITECTED_API ListLensSharesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String