AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListProtectedQueriesRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/CleanRoomsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cleanrooms/model/ProtectedQueryStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace CleanRooms
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CLEANROOMS_API ListProtectedQueriesRequest();
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 "ListProtectedQueries"; }
36
37 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
38
39 AWS_CLEANROOMS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetMembershipIdentifier() const{ return m_membershipIdentifier; }
47 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
48 inline void SetMembershipIdentifier(const Aws::String& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = value; }
49 inline void SetMembershipIdentifier(Aws::String&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::move(value); }
50 inline void SetMembershipIdentifier(const char* value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier.assign(value); }
53 inline ListProtectedQueriesRequest& WithMembershipIdentifier(const char* value) { SetMembershipIdentifier(value); return *this;}
55
57
60 inline const ProtectedQueryStatus& GetStatus() const{ return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(const ProtectedQueryStatus& value) { m_statusHasBeenSet = true; m_status = value; }
63 inline void SetStatus(ProtectedQueryStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
64 inline ListProtectedQueriesRequest& WithStatus(const ProtectedQueryStatus& value) { SetStatus(value); return *this;}
65 inline ListProtectedQueriesRequest& WithStatus(ProtectedQueryStatus&& value) { SetStatus(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
73 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
74 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
75 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
76 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
77 inline ListProtectedQueriesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
78 inline ListProtectedQueriesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
79 inline ListProtectedQueriesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
81
83
88 inline int GetMaxResults() const{ return m_maxResults; }
89 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
90 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
91 inline ListProtectedQueriesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
93 private:
94
95 Aws::String m_membershipIdentifier;
96 bool m_membershipIdentifierHasBeenSet = false;
97
98 ProtectedQueryStatus m_status;
99 bool m_statusHasBeenSet = false;
100
101 Aws::String m_nextToken;
102 bool m_nextTokenHasBeenSet = false;
103
104 int m_maxResults;
105 bool m_maxResultsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace CleanRooms
110} // namespace Aws
ListProtectedQueriesRequest & WithMembershipIdentifier(const Aws::String &value)
ListProtectedQueriesRequest & WithMembershipIdentifier(const char *value)
ListProtectedQueriesRequest & WithNextToken(Aws::String &&value)
AWS_CLEANROOMS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListProtectedQueriesRequest & WithMembershipIdentifier(Aws::String &&value)
ListProtectedQueriesRequest & WithStatus(ProtectedQueryStatus &&value)
ListProtectedQueriesRequest & WithNextToken(const char *value)
ListProtectedQueriesRequest & WithStatus(const ProtectedQueryStatus &value)
ListProtectedQueriesRequest & WithNextToken(const Aws::String &value)
ListProtectedQueriesRequest & WithMaxResults(int value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String