AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListProjectProfilesRequest.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 ListProjectProfilesRequest() = 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 "ListProjectProfiles"; }
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
47 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
48 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
49 template<typename DomainIdentifierT = Aws::String>
50 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
51 template<typename DomainIdentifierT = Aws::String>
52 ListProjectProfilesRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
54
56
63 inline int GetMaxResults() const { return m_maxResults; }
64 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
65 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
66 inline ListProjectProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template<typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
77 template<typename NameT = Aws::String>
78 ListProjectProfilesRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
80
82
89 inline const Aws::String& GetNextToken() const { return m_nextToken; }
90 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 template<typename NextTokenT = Aws::String>
92 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
93 template<typename NextTokenT = Aws::String>
94 ListProjectProfilesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
96
98
101 inline SortFieldProject GetSortBy() const { return m_sortBy; }
102 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
103 inline void SetSortBy(SortFieldProject value) { m_sortByHasBeenSet = true; m_sortBy = value; }
104 inline ListProjectProfilesRequest& WithSortBy(SortFieldProject value) { SetSortBy(value); return *this;}
106
108
111 inline SortOrder GetSortOrder() const { return m_sortOrder; }
112 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
113 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
114 inline ListProjectProfilesRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
116 private:
117
118 Aws::String m_domainIdentifier;
119 bool m_domainIdentifierHasBeenSet = false;
120
121 int m_maxResults{0};
122 bool m_maxResultsHasBeenSet = false;
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 Aws::String m_nextToken;
128 bool m_nextTokenHasBeenSet = false;
129
131 bool m_sortByHasBeenSet = false;
132
133 SortOrder m_sortOrder{SortOrder::NOT_SET};
134 bool m_sortOrderHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace DataZone
139} // namespace Aws
ListProjectProfilesRequest & WithSortBy(SortFieldProject value)
ListProjectProfilesRequest & WithNextToken(NextTokenT &&value)
ListProjectProfilesRequest & WithSortOrder(SortOrder value)
AWS_DATAZONE_API ListProjectProfilesRequest()=default
AWS_DATAZONE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListProjectProfilesRequest & WithDomainIdentifier(DomainIdentifierT &&value)
ListProjectProfilesRequest & WithMaxResults(int value)
ListProjectProfilesRequest & WithName(NameT &&value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String