AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListSigningProfilesRequest.h
1
6#pragma once
7#include <aws/signer/Signer_EXPORTS.h>
8#include <aws/signer/SignerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/signer/model/SigningProfileStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace signer
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 "ListSigningProfiles"; }
37
38 AWS_SIGNER_API Aws::String SerializePayload() const override;
39
40 AWS_SIGNER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
48 inline bool GetIncludeCanceled() const{ return m_includeCanceled; }
49 inline bool IncludeCanceledHasBeenSet() const { return m_includeCanceledHasBeenSet; }
50 inline void SetIncludeCanceled(bool value) { m_includeCanceledHasBeenSet = true; m_includeCanceled = value; }
51 inline ListSigningProfilesRequest& WithIncludeCanceled(bool value) { SetIncludeCanceled(value); return *this;}
53
55
58 inline int GetMaxResults() const{ return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
61 inline ListSigningProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
63
65
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 inline ListSigningProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline ListSigningProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline ListSigningProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
86 inline const Aws::String& GetPlatformId() const{ return m_platformId; }
87 inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; }
88 inline void SetPlatformId(const Aws::String& value) { m_platformIdHasBeenSet = true; m_platformId = value; }
89 inline void SetPlatformId(Aws::String&& value) { m_platformIdHasBeenSet = true; m_platformId = std::move(value); }
90 inline void SetPlatformId(const char* value) { m_platformIdHasBeenSet = true; m_platformId.assign(value); }
91 inline ListSigningProfilesRequest& WithPlatformId(const Aws::String& value) { SetPlatformId(value); return *this;}
92 inline ListSigningProfilesRequest& WithPlatformId(Aws::String&& value) { SetPlatformId(std::move(value)); return *this;}
93 inline ListSigningProfilesRequest& WithPlatformId(const char* value) { SetPlatformId(value); return *this;}
95
97
101 inline const Aws::Vector<SigningProfileStatus>& GetStatuses() const{ return m_statuses; }
102 inline bool StatusesHasBeenSet() const { return m_statusesHasBeenSet; }
103 inline void SetStatuses(const Aws::Vector<SigningProfileStatus>& value) { m_statusesHasBeenSet = true; m_statuses = value; }
104 inline void SetStatuses(Aws::Vector<SigningProfileStatus>&& value) { m_statusesHasBeenSet = true; m_statuses = std::move(value); }
107 inline ListSigningProfilesRequest& AddStatuses(const SigningProfileStatus& value) { m_statusesHasBeenSet = true; m_statuses.push_back(value); return *this; }
108 inline ListSigningProfilesRequest& AddStatuses(SigningProfileStatus&& value) { m_statusesHasBeenSet = true; m_statuses.push_back(std::move(value)); return *this; }
110 private:
111
112 bool m_includeCanceled;
113 bool m_includeCanceledHasBeenSet = false;
114
115 int m_maxResults;
116 bool m_maxResultsHasBeenSet = false;
117
118 Aws::String m_nextToken;
119 bool m_nextTokenHasBeenSet = false;
120
121 Aws::String m_platformId;
122 bool m_platformIdHasBeenSet = false;
123
125 bool m_statusesHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace signer
130} // namespace Aws
ListSigningProfilesRequest & WithNextToken(Aws::String &&value)
ListSigningProfilesRequest & WithIncludeCanceled(bool value)
ListSigningProfilesRequest & WithPlatformId(const Aws::String &value)
ListSigningProfilesRequest & WithMaxResults(int value)
ListSigningProfilesRequest & AddStatuses(SigningProfileStatus &&value)
ListSigningProfilesRequest & WithPlatformId(const char *value)
ListSigningProfilesRequest & WithStatuses(Aws::Vector< SigningProfileStatus > &&value)
AWS_SIGNER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
ListSigningProfilesRequest & WithNextToken(const char *value)
ListSigningProfilesRequest & WithPlatformId(Aws::String &&value)
AWS_SIGNER_API Aws::String SerializePayload() const override
ListSigningProfilesRequest & WithNextToken(const Aws::String &value)
void SetStatuses(const Aws::Vector< SigningProfileStatus > &value)
const Aws::Vector< SigningProfileStatus > & GetStatuses() const
void SetStatuses(Aws::Vector< SigningProfileStatus > &&value)
ListSigningProfilesRequest & WithStatuses(const Aws::Vector< SigningProfileStatus > &value)
ListSigningProfilesRequest & AddStatuses(const SigningProfileStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector