AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
48 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
49 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
50 inline ListProjectsRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
51 inline ListProjectsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
52 inline ListProjectsRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
54
56
59 inline const Aws::String& GetGroupIdentifier() const{ return m_groupIdentifier; }
60 inline bool GroupIdentifierHasBeenSet() const { return m_groupIdentifierHasBeenSet; }
61 inline void SetGroupIdentifier(const Aws::String& value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier = value; }
62 inline void SetGroupIdentifier(Aws::String&& value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier = std::move(value); }
63 inline void SetGroupIdentifier(const char* value) { m_groupIdentifierHasBeenSet = true; m_groupIdentifier.assign(value); }
64 inline ListProjectsRequest& WithGroupIdentifier(const Aws::String& value) { SetGroupIdentifier(value); return *this;}
65 inline ListProjectsRequest& WithGroupIdentifier(Aws::String&& value) { SetGroupIdentifier(std::move(value)); return *this;}
66 inline ListProjectsRequest& WithGroupIdentifier(const char* value) { SetGroupIdentifier(value); return *this;}
68
70
77 inline int GetMaxResults() const{ return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
80 inline ListProjectsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
82
84
87 inline const Aws::String& GetName() const{ return m_name; }
88 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
89 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
90 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
91 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
92 inline ListProjectsRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
93 inline ListProjectsRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
94 inline ListProjectsRequest& WithName(const char* value) { SetName(value); return *this;}
96
98
106 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
107 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
108 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
109 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
110 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
111 inline ListProjectsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
112 inline ListProjectsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
113 inline ListProjectsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
115
117
120 inline const Aws::String& GetUserIdentifier() const{ return m_userIdentifier; }
121 inline bool UserIdentifierHasBeenSet() const { return m_userIdentifierHasBeenSet; }
122 inline void SetUserIdentifier(const Aws::String& value) { m_userIdentifierHasBeenSet = true; m_userIdentifier = value; }
123 inline void SetUserIdentifier(Aws::String&& value) { m_userIdentifierHasBeenSet = true; m_userIdentifier = std::move(value); }
124 inline void SetUserIdentifier(const char* value) { m_userIdentifierHasBeenSet = true; m_userIdentifier.assign(value); }
125 inline ListProjectsRequest& WithUserIdentifier(const Aws::String& value) { SetUserIdentifier(value); return *this;}
126 inline ListProjectsRequest& WithUserIdentifier(Aws::String&& value) { SetUserIdentifier(std::move(value)); return *this;}
127 inline ListProjectsRequest& WithUserIdentifier(const char* value) { SetUserIdentifier(value); return *this;}
129 private:
130
131 Aws::String m_domainIdentifier;
132 bool m_domainIdentifierHasBeenSet = false;
133
134 Aws::String m_groupIdentifier;
135 bool m_groupIdentifierHasBeenSet = false;
136
137 int m_maxResults;
138 bool m_maxResultsHasBeenSet = false;
139
140 Aws::String m_name;
141 bool m_nameHasBeenSet = false;
142
143 Aws::String m_nextToken;
144 bool m_nextTokenHasBeenSet = false;
145
146 Aws::String m_userIdentifier;
147 bool m_userIdentifierHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace DataZone
152} // namespace Aws
ListProjectsRequest & WithName(Aws::String &&value)
ListProjectsRequest & WithDomainIdentifier(Aws::String &&value)
ListProjectsRequest & WithGroupIdentifier(const char *value)
ListProjectsRequest & WithMaxResults(int value)
ListProjectsRequest & WithNextToken(const Aws::String &value)
ListProjectsRequest & WithGroupIdentifier(Aws::String &&value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListProjectsRequest & WithName(const Aws::String &value)
void SetGroupIdentifier(const Aws::String &value)
ListProjectsRequest & WithUserIdentifier(const Aws::String &value)
ListProjectsRequest & WithGroupIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetDomainIdentifier(const Aws::String &value)
ListProjectsRequest & WithUserIdentifier(Aws::String &&value)
ListProjectsRequest & WithNextToken(Aws::String &&value)
const Aws::String & GetGroupIdentifier() const
ListProjectsRequest & WithName(const char *value)
void SetNextToken(const Aws::String &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
ListProjectsRequest & WithDomainIdentifier(const char *value)
const Aws::String & GetDomainIdentifier() const
ListProjectsRequest & WithDomainIdentifier(const Aws::String &value)
void SetUserIdentifier(const Aws::String &value)
ListProjectsRequest & WithNextToken(const char *value)
ListProjectsRequest & WithUserIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String