AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
30 AWS_SIGNER_API ListSigningProfilesRequest() = 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 "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 template<typename NextTokenT = Aws::String>
74 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
75 template<typename NextTokenT = Aws::String>
76 ListSigningProfilesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
78
80
84 inline const Aws::String& GetPlatformId() const { return m_platformId; }
85 inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; }
86 template<typename PlatformIdT = Aws::String>
87 void SetPlatformId(PlatformIdT&& value) { m_platformIdHasBeenSet = true; m_platformId = std::forward<PlatformIdT>(value); }
88 template<typename PlatformIdT = Aws::String>
89 ListSigningProfilesRequest& WithPlatformId(PlatformIdT&& value) { SetPlatformId(std::forward<PlatformIdT>(value)); return *this;}
91
93
97 inline const Aws::Vector<SigningProfileStatus>& GetStatuses() const { return m_statuses; }
98 inline bool StatusesHasBeenSet() const { return m_statusesHasBeenSet; }
99 template<typename StatusesT = Aws::Vector<SigningProfileStatus>>
100 void SetStatuses(StatusesT&& value) { m_statusesHasBeenSet = true; m_statuses = std::forward<StatusesT>(value); }
101 template<typename StatusesT = Aws::Vector<SigningProfileStatus>>
102 ListSigningProfilesRequest& WithStatuses(StatusesT&& value) { SetStatuses(std::forward<StatusesT>(value)); return *this;}
103 inline ListSigningProfilesRequest& AddStatuses(SigningProfileStatus value) { m_statusesHasBeenSet = true; m_statuses.push_back(value); return *this; }
105 private:
106
107 bool m_includeCanceled{false};
108 bool m_includeCanceledHasBeenSet = false;
109
110 int m_maxResults{0};
111 bool m_maxResultsHasBeenSet = false;
112
113 Aws::String m_nextToken;
114 bool m_nextTokenHasBeenSet = false;
115
116 Aws::String m_platformId;
117 bool m_platformIdHasBeenSet = false;
118
120 bool m_statusesHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace signer
125} // namespace Aws
ListSigningProfilesRequest & WithNextToken(NextTokenT &&value)
ListSigningProfilesRequest & WithPlatformId(PlatformIdT &&value)
ListSigningProfilesRequest & WithIncludeCanceled(bool value)
ListSigningProfilesRequest & WithMaxResults(int value)
ListSigningProfilesRequest & WithStatuses(StatusesT &&value)
ListSigningProfilesRequest & AddStatuses(SigningProfileStatus value)
AWS_SIGNER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
AWS_SIGNER_API ListSigningProfilesRequest()=default
AWS_SIGNER_API Aws::String SerializePayload() const override
const Aws::Vector< SigningProfileStatus > & GetStatuses() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector