AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
51 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
52 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
54 inline ListProjectMembershipsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
55 inline ListProjectMembershipsRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
57
59
66 inline int GetMaxResults() const{ return m_maxResults; }
67 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
68 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
69 inline ListProjectMembershipsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
71
73
81 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
83 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
84 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
85 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
86 inline ListProjectMembershipsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
87 inline ListProjectMembershipsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
88 inline ListProjectMembershipsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
90
92
95 inline const Aws::String& GetProjectIdentifier() const{ return m_projectIdentifier; }
96 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
97 inline void SetProjectIdentifier(const Aws::String& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = value; }
98 inline void SetProjectIdentifier(Aws::String&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::move(value); }
99 inline void SetProjectIdentifier(const char* value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier.assign(value); }
101 inline ListProjectMembershipsRequest& WithProjectIdentifier(Aws::String&& value) { SetProjectIdentifier(std::move(value)); return *this;}
102 inline ListProjectMembershipsRequest& WithProjectIdentifier(const char* value) { SetProjectIdentifier(value); return *this;}
104
106
109 inline const SortFieldProject& GetSortBy() const{ return m_sortBy; }
110 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
111 inline void SetSortBy(const SortFieldProject& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
112 inline void SetSortBy(SortFieldProject&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
113 inline ListProjectMembershipsRequest& WithSortBy(const SortFieldProject& value) { SetSortBy(value); return *this;}
114 inline ListProjectMembershipsRequest& WithSortBy(SortFieldProject&& value) { SetSortBy(std::move(value)); return *this;}
116
118
121 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
122 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
123 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
124 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
125 inline ListProjectMembershipsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
126 inline ListProjectMembershipsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
128 private:
129
130 Aws::String m_domainIdentifier;
131 bool m_domainIdentifierHasBeenSet = false;
132
133 int m_maxResults;
134 bool m_maxResultsHasBeenSet = false;
135
136 Aws::String m_nextToken;
137 bool m_nextTokenHasBeenSet = false;
138
139 Aws::String m_projectIdentifier;
140 bool m_projectIdentifierHasBeenSet = false;
141
142 SortFieldProject m_sortBy;
143 bool m_sortByHasBeenSet = false;
144
145 SortOrder m_sortOrder;
146 bool m_sortOrderHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace DataZone
151} // namespace Aws
ListProjectMembershipsRequest & WithNextToken(const Aws::String &value)
ListProjectMembershipsRequest & WithProjectIdentifier(const char *value)
ListProjectMembershipsRequest & WithDomainIdentifier(Aws::String &&value)
ListProjectMembershipsRequest & WithProjectIdentifier(Aws::String &&value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListProjectMembershipsRequest & WithDomainIdentifier(const char *value)
ListProjectMembershipsRequest & WithSortBy(SortFieldProject &&value)
ListProjectMembershipsRequest & WithProjectIdentifier(const Aws::String &value)
ListProjectMembershipsRequest & WithSortBy(const SortFieldProject &value)
ListProjectMembershipsRequest & WithSortOrder(const SortOrder &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
ListProjectMembershipsRequest & WithNextToken(const char *value)
ListProjectMembershipsRequest & WithMaxResults(int value)
ListProjectMembershipsRequest & WithDomainIdentifier(const Aws::String &value)
ListProjectMembershipsRequest & WithNextToken(Aws::String &&value)
ListProjectMembershipsRequest & WithSortOrder(SortOrder &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String