AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListProtectedJobsRequest.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/ProtectedJobStatus.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 ListProtectedJobsRequest() = 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 "ListProtectedJobs"; }
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 template<typename MembershipIdentifierT = Aws::String>
49 void SetMembershipIdentifier(MembershipIdentifierT&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::forward<MembershipIdentifierT>(value); }
50 template<typename MembershipIdentifierT = Aws::String>
51 ListProtectedJobsRequest& WithMembershipIdentifier(MembershipIdentifierT&& value) { SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value)); return *this;}
53
55
58 inline ProtectedJobStatus GetStatus() const { return m_status; }
59 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
60 inline void SetStatus(ProtectedJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
61 inline ListProtectedJobsRequest& WithStatus(ProtectedJobStatus value) { SetStatus(value); return *this;}
63
65
68 inline const Aws::String& GetNextToken() const { return m_nextToken; }
69 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
70 template<typename NextTokenT = Aws::String>
71 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
72 template<typename NextTokenT = Aws::String>
73 ListProtectedJobsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
75
77
82 inline int GetMaxResults() const { return m_maxResults; }
83 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
84 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
85 inline ListProtectedJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
87 private:
88
89 Aws::String m_membershipIdentifier;
90 bool m_membershipIdentifierHasBeenSet = false;
91
93 bool m_statusHasBeenSet = false;
94
95 Aws::String m_nextToken;
96 bool m_nextTokenHasBeenSet = false;
97
98 int m_maxResults{0};
99 bool m_maxResultsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CleanRooms
104} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_CLEANROOMS_API ListProtectedJobsRequest()=default
void SetMembershipIdentifier(MembershipIdentifierT &&value)
ListProtectedJobsRequest & WithStatus(ProtectedJobStatus value)
ListProtectedJobsRequest & WithMembershipIdentifier(MembershipIdentifierT &&value)
AWS_CLEANROOMS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
ListProtectedJobsRequest & WithMaxResults(int value)
ListProtectedJobsRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String