AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListCollaborationsRequest.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/FilterableMemberStatus.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 ListCollaborationsRequest();
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 "ListCollaborations"; }
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& GetNextToken() const{ return m_nextToken; }
47 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
48 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
49 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
50 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
51 inline ListCollaborationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
52 inline ListCollaborationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
53 inline ListCollaborationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
55
57
62 inline int GetMaxResults() const{ return m_maxResults; }
63 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
64 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
65 inline ListCollaborationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
67
69
72 inline const FilterableMemberStatus& GetMemberStatus() const{ return m_memberStatus; }
73 inline bool MemberStatusHasBeenSet() const { return m_memberStatusHasBeenSet; }
74 inline void SetMemberStatus(const FilterableMemberStatus& value) { m_memberStatusHasBeenSet = true; m_memberStatus = value; }
75 inline void SetMemberStatus(FilterableMemberStatus&& value) { m_memberStatusHasBeenSet = true; m_memberStatus = std::move(value); }
77 inline ListCollaborationsRequest& WithMemberStatus(FilterableMemberStatus&& value) { SetMemberStatus(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_nextToken;
82 bool m_nextTokenHasBeenSet = false;
83
84 int m_maxResults;
85 bool m_maxResultsHasBeenSet = false;
86
87 FilterableMemberStatus m_memberStatus;
88 bool m_memberStatusHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CleanRooms
93} // namespace Aws
AWS_CLEANROOMS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListCollaborationsRequest & WithMemberStatus(const FilterableMemberStatus &value)
ListCollaborationsRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListCollaborationsRequest & WithNextToken(const char *value)
void SetMemberStatus(const FilterableMemberStatus &value)
ListCollaborationsRequest & WithNextToken(const Aws::String &value)
ListCollaborationsRequest & WithMemberStatus(FilterableMemberStatus &&value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
const FilterableMemberStatus & GetMemberStatus() const
ListCollaborationsRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String