AWS SDK for C++  1.9.40
AWS SDK for C++
ListSigningProfilesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace signer
21 {
22 namespace 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 "ListSigningProfiles"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
42 
47  inline bool GetIncludeCanceled() const{ return m_includeCanceled; }
48 
53  inline bool IncludeCanceledHasBeenSet() const { return m_includeCanceledHasBeenSet; }
54 
59  inline void SetIncludeCanceled(bool value) { m_includeCanceledHasBeenSet = true; m_includeCanceled = value; }
60 
65  inline ListSigningProfilesRequest& WithIncludeCanceled(bool value) { SetIncludeCanceled(value); return *this;}
66 
67 
71  inline int GetMaxResults() const{ return m_maxResults; }
72 
76  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
77 
81  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
82 
86  inline ListSigningProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
87 
88 
95  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
96 
103  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
104 
111  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
112 
119  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
120 
127  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
128 
135  inline ListSigningProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
136 
143  inline ListSigningProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
144 
151  inline ListSigningProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
152 
153 
158  inline const Aws::String& GetPlatformId() const{ return m_platformId; }
159 
164  inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; }
165 
170  inline void SetPlatformId(const Aws::String& value) { m_platformIdHasBeenSet = true; m_platformId = value; }
171 
176  inline void SetPlatformId(Aws::String&& value) { m_platformIdHasBeenSet = true; m_platformId = std::move(value); }
177 
182  inline void SetPlatformId(const char* value) { m_platformIdHasBeenSet = true; m_platformId.assign(value); }
183 
188  inline ListSigningProfilesRequest& WithPlatformId(const Aws::String& value) { SetPlatformId(value); return *this;}
189 
194  inline ListSigningProfilesRequest& WithPlatformId(Aws::String&& value) { SetPlatformId(std::move(value)); return *this;}
195 
200  inline ListSigningProfilesRequest& WithPlatformId(const char* value) { SetPlatformId(value); return *this;}
201 
202 
207  inline const Aws::Vector<SigningProfileStatus>& GetStatuses() const{ return m_statuses; }
208 
213  inline bool StatusesHasBeenSet() const { return m_statusesHasBeenSet; }
214 
219  inline void SetStatuses(const Aws::Vector<SigningProfileStatus>& value) { m_statusesHasBeenSet = true; m_statuses = value; }
220 
225  inline void SetStatuses(Aws::Vector<SigningProfileStatus>&& value) { m_statusesHasBeenSet = true; m_statuses = std::move(value); }
226 
231  inline ListSigningProfilesRequest& WithStatuses(const Aws::Vector<SigningProfileStatus>& value) { SetStatuses(value); return *this;}
232 
237  inline ListSigningProfilesRequest& WithStatuses(Aws::Vector<SigningProfileStatus>&& value) { SetStatuses(std::move(value)); return *this;}
238 
243  inline ListSigningProfilesRequest& AddStatuses(const SigningProfileStatus& value) { m_statusesHasBeenSet = true; m_statuses.push_back(value); return *this; }
244 
249  inline ListSigningProfilesRequest& AddStatuses(SigningProfileStatus&& value) { m_statusesHasBeenSet = true; m_statuses.push_back(std::move(value)); return *this; }
250 
251  private:
252 
253  bool m_includeCanceled;
254  bool m_includeCanceledHasBeenSet;
255 
256  int m_maxResults;
257  bool m_maxResultsHasBeenSet;
258 
259  Aws::String m_nextToken;
260  bool m_nextTokenHasBeenSet;
261 
262  Aws::String m_platformId;
263  bool m_platformIdHasBeenSet;
264 
266  bool m_statusesHasBeenSet;
267  };
268 
269 } // namespace Model
270 } // namespace signer
271 } // namespace Aws
Aws::signer::Model::ListSigningProfilesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListSigningProfilesRequest.h:103
Aws::signer::Model::ListSigningProfilesRequest::WithStatuses
ListSigningProfilesRequest & WithStatuses(const Aws::Vector< SigningProfileStatus > &value)
Definition: ListSigningProfilesRequest.h:231
Aws::Http::URI
Definition: URI.h:32
Aws::signer::Model::ListSigningProfilesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListSigningProfilesRequest.h:81
Aws::signer::Model::ListSigningProfilesRequest::WithStatuses
ListSigningProfilesRequest & WithStatuses(Aws::Vector< SigningProfileStatus > &&value)
Definition: ListSigningProfilesRequest.h:237
Aws::signer::Model::ListSigningProfilesRequest::SetIncludeCanceled
void SetIncludeCanceled(bool value)
Definition: ListSigningProfilesRequest.h:59
Aws::signer::Model::ListSigningProfilesRequest::WithPlatformId
ListSigningProfilesRequest & WithPlatformId(Aws::String &&value)
Definition: ListSigningProfilesRequest.h:194
Aws::signer::Model::ListSigningProfilesRequest::SetStatuses
void SetStatuses(const Aws::Vector< SigningProfileStatus > &value)
Definition: ListSigningProfilesRequest.h:219
Aws::signer::Model::ListSigningProfilesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListSigningProfilesRequest.h:36
Aws::signer::Model::ListSigningProfilesRequest::GetPlatformId
const Aws::String & GetPlatformId() const
Definition: ListSigningProfilesRequest.h:158
Aws::signer::Model::ListSigningProfilesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSigningProfilesRequest.h:111
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::signer::Model::ListSigningProfilesRequest::IncludeCanceledHasBeenSet
bool IncludeCanceledHasBeenSet() const
Definition: ListSigningProfilesRequest.h:53
Aws::signer::Model::ListSigningProfilesRequest::AddStatuses
ListSigningProfilesRequest & AddStatuses(const SigningProfileStatus &value)
Definition: ListSigningProfilesRequest.h:243
Aws::signer::Model::SigningProfileStatus
SigningProfileStatus
Definition: SigningProfileStatus.h:17
AWSVector.h
Aws::signer::Model::ListSigningProfilesRequest::WithMaxResults
ListSigningProfilesRequest & WithMaxResults(int value)
Definition: ListSigningProfilesRequest.h:86
Aws::signer::Model::ListSigningProfilesRequest::SetStatuses
void SetStatuses(Aws::Vector< SigningProfileStatus > &&value)
Definition: ListSigningProfilesRequest.h:225
Aws::signer::Model::ListSigningProfilesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListSigningProfilesRequest.h:76
Aws::signer::SignerRequest
Definition: SignerRequest.h:17
SignerRequest.h
Aws::signer::Model::ListSigningProfilesRequest::WithPlatformId
ListSigningProfilesRequest & WithPlatformId(const Aws::String &value)
Definition: ListSigningProfilesRequest.h:188
Aws::signer::Model::ListSigningProfilesRequest::WithNextToken
ListSigningProfilesRequest & WithNextToken(const Aws::String &value)
Definition: ListSigningProfilesRequest.h:135
Aws::signer::Model::ListSigningProfilesRequest::WithPlatformId
ListSigningProfilesRequest & WithPlatformId(const char *value)
Definition: ListSigningProfilesRequest.h:200
Aws::signer::Model::ListSigningProfilesRequest::SetPlatformId
void SetPlatformId(const char *value)
Definition: ListSigningProfilesRequest.h:182
Aws::signer::Model::ListSigningProfilesRequest::SetPlatformId
void SetPlatformId(Aws::String &&value)
Definition: ListSigningProfilesRequest.h:176
Aws::signer::Model::ListSigningProfilesRequest::WithIncludeCanceled
ListSigningProfilesRequest & WithIncludeCanceled(bool value)
Definition: ListSigningProfilesRequest.h:65
Aws::signer::Model::ListSigningProfilesRequest
Definition: ListSigningProfilesRequest.h:28
AWSString.h
Aws::signer::Model::ListSigningProfilesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSigningProfilesRequest.h:119
AWS_SIGNER_API
#define AWS_SIGNER_API
Definition: Signer_EXPORTS.h:28
Aws::signer::Model::ListSigningProfilesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListSigningProfilesRequest.h:127
Aws::signer::Model::ListSigningProfilesRequest::GetStatuses
const Aws::Vector< SigningProfileStatus > & GetStatuses() const
Definition: ListSigningProfilesRequest.h:207
Aws::signer::Model::ListSigningProfilesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::signer::Model::ListSigningProfilesRequest::StatusesHasBeenSet
bool StatusesHasBeenSet() const
Definition: ListSigningProfilesRequest.h:213
Aws::signer::Model::ListSigningProfilesRequest::AddStatuses
ListSigningProfilesRequest & AddStatuses(SigningProfileStatus &&value)
Definition: ListSigningProfilesRequest.h:249
Aws::signer::Model::ListSigningProfilesRequest::ListSigningProfilesRequest
ListSigningProfilesRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::signer::Model::ListSigningProfilesRequest::GetIncludeCanceled
bool GetIncludeCanceled() const
Definition: ListSigningProfilesRequest.h:47
Signer_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::signer::Model::ListSigningProfilesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::signer::Model::ListSigningProfilesRequest::WithNextToken
ListSigningProfilesRequest & WithNextToken(Aws::String &&value)
Definition: ListSigningProfilesRequest.h:143
Aws::signer::Model::ListSigningProfilesRequest::WithNextToken
ListSigningProfilesRequest & WithNextToken(const char *value)
Definition: ListSigningProfilesRequest.h:151
Aws::signer::Model::ListSigningProfilesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSigningProfilesRequest.h:95
Aws::signer::Model::ListSigningProfilesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListSigningProfilesRequest.h:71
Aws::signer::Model::ListSigningProfilesRequest::PlatformIdHasBeenSet
bool PlatformIdHasBeenSet() const
Definition: ListSigningProfilesRequest.h:164
Aws::signer::Model::ListSigningProfilesRequest::SetPlatformId
void SetPlatformId(const Aws::String &value)
Definition: ListSigningProfilesRequest.h:170
SigningProfileStatus.h