AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; }
47 inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); }
48 inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); }
49 inline ListLensSharesRequest& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
50 inline ListLensSharesRequest& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
51 inline ListLensSharesRequest& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
53
55
59 inline const Aws::String& GetSharedWithPrefix() const{ return m_sharedWithPrefix; }
60 inline bool SharedWithPrefixHasBeenSet() const { return m_sharedWithPrefixHasBeenSet; }
61 inline void SetSharedWithPrefix(const Aws::String& value) { m_sharedWithPrefixHasBeenSet = true; m_sharedWithPrefix = value; }
62 inline void SetSharedWithPrefix(Aws::String&& value) { m_sharedWithPrefixHasBeenSet = true; m_sharedWithPrefix = std::move(value); }
63 inline void SetSharedWithPrefix(const char* value) { m_sharedWithPrefixHasBeenSet = true; m_sharedWithPrefix.assign(value); }
64 inline ListLensSharesRequest& WithSharedWithPrefix(const Aws::String& value) { SetSharedWithPrefix(value); return *this;}
65 inline ListLensSharesRequest& WithSharedWithPrefix(Aws::String&& value) { SetSharedWithPrefix(std::move(value)); return *this;}
66 inline ListLensSharesRequest& WithSharedWithPrefix(const char* value) { SetSharedWithPrefix(value); return *this;}
68
70
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 inline ListLensSharesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline ListLensSharesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline ListLensSharesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
85 inline int GetMaxResults() const{ return m_maxResults; }
86 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
87 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
88 inline ListLensSharesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
90
92
93 inline const ShareStatus& GetStatus() const{ return m_status; }
94 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
95 inline void SetStatus(const ShareStatus& value) { m_statusHasBeenSet = true; m_status = value; }
96 inline void SetStatus(ShareStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
97 inline ListLensSharesRequest& WithStatus(const ShareStatus& value) { SetStatus(value); return *this;}
98 inline ListLensSharesRequest& WithStatus(ShareStatus&& value) { SetStatus(std::move(value)); return *this;}
100 private:
101
102 Aws::String m_lensAlias;
103 bool m_lensAliasHasBeenSet = false;
104
105 Aws::String m_sharedWithPrefix;
106 bool m_sharedWithPrefixHasBeenSet = false;
107
108 Aws::String m_nextToken;
109 bool m_nextTokenHasBeenSet = false;
110
111 int m_maxResults;
112 bool m_maxResultsHasBeenSet = false;
113
114 ShareStatus m_status;
115 bool m_statusHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace WellArchitected
120} // namespace Aws
ListLensSharesRequest & WithSharedWithPrefix(const char *value)
ListLensSharesRequest & WithLensAlias(const Aws::String &value)
ListLensSharesRequest & WithLensAlias(Aws::String &&value)
ListLensSharesRequest & WithNextToken(Aws::String &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
ListLensSharesRequest & WithSharedWithPrefix(Aws::String &&value)
ListLensSharesRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListLensSharesRequest & WithStatus(const ShareStatus &value)
ListLensSharesRequest & WithLensAlias(const char *value)
ListLensSharesRequest & WithStatus(ShareStatus &&value)
ListLensSharesRequest & WithSharedWithPrefix(const Aws::String &value)
ListLensSharesRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String