AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListProjectMembershipsRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/SortFieldProject.h>
11#include <aws/datazone/model/SortOrder.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace DataZone
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_DATAZONE_API ListProjectMembershipsRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListProjectMemberships"; }
37
38 AWS_DATAZONE_API Aws::String SerializePayload() const override;
39
40 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
48 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
49 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
50 template<typename DomainIdentifierT = Aws::String>
51 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
52 template<typename DomainIdentifierT = Aws::String>
53 ListProjectMembershipsRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
55
57
64 inline int GetMaxResults() const { return m_maxResults; }
65 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
66 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
67 inline ListProjectMembershipsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
69
71
79 inline const Aws::String& GetNextToken() const { return m_nextToken; }
80 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
81 template<typename NextTokenT = Aws::String>
82 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
83 template<typename NextTokenT = Aws::String>
84 ListProjectMembershipsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
86
88
91 inline const Aws::String& GetProjectIdentifier() const { return m_projectIdentifier; }
92 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
93 template<typename ProjectIdentifierT = Aws::String>
94 void SetProjectIdentifier(ProjectIdentifierT&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::forward<ProjectIdentifierT>(value); }
95 template<typename ProjectIdentifierT = Aws::String>
96 ListProjectMembershipsRequest& WithProjectIdentifier(ProjectIdentifierT&& value) { SetProjectIdentifier(std::forward<ProjectIdentifierT>(value)); return *this;}
98
100
103 inline SortFieldProject GetSortBy() const { return m_sortBy; }
104 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
105 inline void SetSortBy(SortFieldProject value) { m_sortByHasBeenSet = true; m_sortBy = value; }
108
110
113 inline SortOrder GetSortOrder() const { return m_sortOrder; }
114 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
115 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
118 private:
119
120 Aws::String m_domainIdentifier;
121 bool m_domainIdentifierHasBeenSet = false;
122
123 int m_maxResults{0};
124 bool m_maxResultsHasBeenSet = false;
125
126 Aws::String m_nextToken;
127 bool m_nextTokenHasBeenSet = false;
128
129 Aws::String m_projectIdentifier;
130 bool m_projectIdentifierHasBeenSet = false;
131
133 bool m_sortByHasBeenSet = false;
134
135 SortOrder m_sortOrder{SortOrder::NOT_SET};
136 bool m_sortOrderHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace DataZone
141} // namespace Aws
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListProjectMembershipsRequest & WithSortOrder(SortOrder value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
ListProjectMembershipsRequest & WithSortBy(SortFieldProject value)
ListProjectMembershipsRequest & WithNextToken(NextTokenT &&value)
ListProjectMembershipsRequest & WithMaxResults(int value)
ListProjectMembershipsRequest & WithProjectIdentifier(ProjectIdentifierT &&value)
ListProjectMembershipsRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API ListProjectMembershipsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String