AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListProjectsRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace DataZone
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_DATAZONE_API ListProjectsRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListProjects"; }
35
36 AWS_DATAZONE_API Aws::String SerializePayload() const override;
37
38 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
46 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
47 template<typename DomainIdentifierT = Aws::String>
48 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
49 template<typename DomainIdentifierT = Aws::String>
50 ListProjectsRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
52
54
57 inline const Aws::String& GetGroupIdentifier() const { return m_groupIdentifier; }
58 inline bool GroupIdentifierHasBeenSet() const { return m_groupIdentifierHasBeenSet; }
59 template<typename GroupIdentifierT = Aws::String>
60 void SetGroupIdentifier(GroupIdentifierT&& value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier = std::forward<GroupIdentifierT>(value); }
61 template<typename GroupIdentifierT = Aws::String>
62 ListProjectsRequest& WithGroupIdentifier(GroupIdentifierT&& value) { SetGroupIdentifier(std::forward<GroupIdentifierT>(value)); return *this;}
64
66
73 inline int GetMaxResults() const { return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
76 inline ListProjectsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78
80
83 inline const Aws::String& GetName() const { return m_name; }
84 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 template<typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
87 template<typename NameT = Aws::String>
88 ListProjectsRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
90
92
100 inline const Aws::String& GetNextToken() const { return m_nextToken; }
101 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
102 template<typename NextTokenT = Aws::String>
103 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
104 template<typename NextTokenT = Aws::String>
105 ListProjectsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
107
109
112 inline const Aws::String& GetUserIdentifier() const { return m_userIdentifier; }
113 inline bool UserIdentifierHasBeenSet() const { return m_userIdentifierHasBeenSet; }
114 template<typename UserIdentifierT = Aws::String>
115 void SetUserIdentifier(UserIdentifierT&& value) { m_userIdentifierHasBeenSet = true; m_userIdentifier = std::forward<UserIdentifierT>(value); }
116 template<typename UserIdentifierT = Aws::String>
117 ListProjectsRequest& WithUserIdentifier(UserIdentifierT&& value) { SetUserIdentifier(std::forward<UserIdentifierT>(value)); return *this;}
119 private:
120
121 Aws::String m_domainIdentifier;
122 bool m_domainIdentifierHasBeenSet = false;
123
124 Aws::String m_groupIdentifier;
125 bool m_groupIdentifierHasBeenSet = false;
126
127 int m_maxResults{0};
128 bool m_maxResultsHasBeenSet = false;
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 Aws::String m_nextToken;
134 bool m_nextTokenHasBeenSet = false;
135
136 Aws::String m_userIdentifier;
137 bool m_userIdentifierHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace DataZone
142} // namespace Aws
ListProjectsRequest & WithName(NameT &&value)
void SetDomainIdentifier(DomainIdentifierT &&value)
void SetUserIdentifier(UserIdentifierT &&value)
ListProjectsRequest & WithMaxResults(int value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListProjectsRequest & WithDomainIdentifier(DomainIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API ListProjectsRequest()=default
void SetGroupIdentifier(GroupIdentifierT &&value)
const Aws::String & GetGroupIdentifier() const
ListProjectsRequest & WithUserIdentifier(UserIdentifierT &&value)
ListProjectsRequest & WithGroupIdentifier(GroupIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
ListProjectsRequest & WithNextToken(NextTokenT &&value)
const Aws::String & GetDomainIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String