AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
GetSigningPlatformResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/signer/Signer_EXPORTS.h>
10#include <aws/signer/model/Category.h>
11#include <aws/signer/model/SigningConfiguration.h>
12#include <aws/signer/model/SigningImageFormat.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace signer {
26namespace Model {
28 public:
29 AWS_SIGNER_API GetSigningPlatformResult() = default;
32
34
37 inline const Aws::String& GetPlatformId() const { return m_platformId; }
38 template <typename PlatformIdT = Aws::String>
39 void SetPlatformId(PlatformIdT&& value) {
40 m_platformIdHasBeenSet = true;
41 m_platformId = std::forward<PlatformIdT>(value);
42 }
43 template <typename PlatformIdT = Aws::String>
45 SetPlatformId(std::forward<PlatformIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDisplayName() const { return m_displayName; }
55 template <typename DisplayNameT = Aws::String>
56 void SetDisplayName(DisplayNameT&& value) {
57 m_displayNameHasBeenSet = true;
58 m_displayName = std::forward<DisplayNameT>(value);
59 }
60 template <typename DisplayNameT = Aws::String>
62 SetDisplayName(std::forward<DisplayNameT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetPartner() const { return m_partner; }
72 template <typename PartnerT = Aws::String>
73 void SetPartner(PartnerT&& value) {
74 m_partnerHasBeenSet = true;
75 m_partner = std::forward<PartnerT>(value);
76 }
77 template <typename PartnerT = Aws::String>
79 SetPartner(std::forward<PartnerT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetTarget() const { return m_target; }
89 template <typename TargetT = Aws::String>
90 void SetTarget(TargetT&& value) {
91 m_targetHasBeenSet = true;
92 m_target = std::forward<TargetT>(value);
93 }
94 template <typename TargetT = Aws::String>
96 SetTarget(std::forward<TargetT>(value));
97 return *this;
98 }
100
102
105 inline Category GetCategory() const { return m_category; }
106 inline void SetCategory(Category value) {
107 m_categoryHasBeenSet = true;
108 m_category = value;
109 }
111 SetCategory(value);
112 return *this;
113 }
115
117
120 inline const SigningConfiguration& GetSigningConfiguration() const { return m_signingConfiguration; }
121 template <typename SigningConfigurationT = SigningConfiguration>
122 void SetSigningConfiguration(SigningConfigurationT&& value) {
123 m_signingConfigurationHasBeenSet = true;
124 m_signingConfiguration = std::forward<SigningConfigurationT>(value);
125 }
126 template <typename SigningConfigurationT = SigningConfiguration>
127 GetSigningPlatformResult& WithSigningConfiguration(SigningConfigurationT&& value) {
128 SetSigningConfiguration(std::forward<SigningConfigurationT>(value));
129 return *this;
130 }
132
134
137 inline const SigningImageFormat& GetSigningImageFormat() const { return m_signingImageFormat; }
138 template <typename SigningImageFormatT = SigningImageFormat>
139 void SetSigningImageFormat(SigningImageFormatT&& value) {
140 m_signingImageFormatHasBeenSet = true;
141 m_signingImageFormat = std::forward<SigningImageFormatT>(value);
142 }
143 template <typename SigningImageFormatT = SigningImageFormat>
144 GetSigningPlatformResult& WithSigningImageFormat(SigningImageFormatT&& value) {
145 SetSigningImageFormat(std::forward<SigningImageFormatT>(value));
146 return *this;
147 }
149
151
155 inline int GetMaxSizeInMB() const { return m_maxSizeInMB; }
156 inline void SetMaxSizeInMB(int value) {
157 m_maxSizeInMBHasBeenSet = true;
158 m_maxSizeInMB = value;
159 }
161 SetMaxSizeInMB(value);
162 return *this;
163 }
165
167
171 inline bool GetRevocationSupported() const { return m_revocationSupported; }
172 inline void SetRevocationSupported(bool value) {
173 m_revocationSupportedHasBeenSet = true;
174 m_revocationSupported = value;
175 }
178 return *this;
179 }
181
183
184 inline const Aws::String& GetRequestId() const { return m_requestId; }
185 template <typename RequestIdT = Aws::String>
186 void SetRequestId(RequestIdT&& value) {
187 m_requestIdHasBeenSet = true;
188 m_requestId = std::forward<RequestIdT>(value);
189 }
190 template <typename RequestIdT = Aws::String>
192 SetRequestId(std::forward<RequestIdT>(value));
193 return *this;
194 }
196 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
197
198 private:
199 Aws::String m_platformId;
200
201 Aws::String m_displayName;
202
203 Aws::String m_partner;
204
205 Aws::String m_target;
206
207 Category m_category{Category::NOT_SET};
208
209 SigningConfiguration m_signingConfiguration;
210
211 SigningImageFormat m_signingImageFormat;
212
213 int m_maxSizeInMB{0};
214
215 bool m_revocationSupported{false};
216
217 Aws::String m_requestId;
218 Aws::Http::HttpResponseCode m_HttpResponseCode;
219 bool m_platformIdHasBeenSet = false;
220 bool m_displayNameHasBeenSet = false;
221 bool m_partnerHasBeenSet = false;
222 bool m_targetHasBeenSet = false;
223 bool m_categoryHasBeenSet = false;
224 bool m_signingConfigurationHasBeenSet = false;
225 bool m_signingImageFormatHasBeenSet = false;
226 bool m_maxSizeInMBHasBeenSet = false;
227 bool m_revocationSupportedHasBeenSet = false;
228 bool m_requestIdHasBeenSet = false;
229};
230
231} // namespace Model
232} // namespace signer
233} // namespace Aws
const SigningConfiguration & GetSigningConfiguration() const
GetSigningPlatformResult & WithRevocationSupported(bool value)
AWS_SIGNER_API GetSigningPlatformResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSigningPlatformResult & WithSigningConfiguration(SigningConfigurationT &&value)
AWS_SIGNER_API GetSigningPlatformResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SIGNER_API GetSigningPlatformResult()=default
GetSigningPlatformResult & WithSigningImageFormat(SigningImageFormatT &&value)
GetSigningPlatformResult & WithPlatformId(PlatformIdT &&value)
const SigningImageFormat & GetSigningImageFormat() const
GetSigningPlatformResult & WithPartner(PartnerT &&value)
GetSigningPlatformResult & WithTarget(TargetT &&value)
GetSigningPlatformResult & WithRequestId(RequestIdT &&value)
void SetSigningImageFormat(SigningImageFormatT &&value)
void SetSigningConfiguration(SigningConfigurationT &&value)
GetSigningPlatformResult & WithMaxSizeInMB(int value)
GetSigningPlatformResult & WithCategory(Category value)
GetSigningPlatformResult & WithDisplayName(DisplayNameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue