AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetSigningPlatformResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/signer/Signer_EXPORTS.h>
9#include <aws/signer/model/Category.h>
10#include <aws/signer/model/SigningConfiguration.h>
11#include <aws/signer/model/SigningImageFormat.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace signer {
25namespace Model {
27 public:
28 AWS_SIGNER_API GetSigningPlatformResult() = default;
31
33
36 inline const Aws::String& GetPlatformId() const { return m_platformId; }
37 template <typename PlatformIdT = Aws::String>
38 void SetPlatformId(PlatformIdT&& value) {
39 m_platformIdHasBeenSet = true;
40 m_platformId = std::forward<PlatformIdT>(value);
41 }
42 template <typename PlatformIdT = Aws::String>
44 SetPlatformId(std::forward<PlatformIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDisplayName() const { return m_displayName; }
54 template <typename DisplayNameT = Aws::String>
55 void SetDisplayName(DisplayNameT&& value) {
56 m_displayNameHasBeenSet = true;
57 m_displayName = std::forward<DisplayNameT>(value);
58 }
59 template <typename DisplayNameT = Aws::String>
61 SetDisplayName(std::forward<DisplayNameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetPartner() const { return m_partner; }
71 template <typename PartnerT = Aws::String>
72 void SetPartner(PartnerT&& value) {
73 m_partnerHasBeenSet = true;
74 m_partner = std::forward<PartnerT>(value);
75 }
76 template <typename PartnerT = Aws::String>
78 SetPartner(std::forward<PartnerT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetTarget() const { return m_target; }
88 template <typename TargetT = Aws::String>
89 void SetTarget(TargetT&& value) {
90 m_targetHasBeenSet = true;
91 m_target = std::forward<TargetT>(value);
92 }
93 template <typename TargetT = Aws::String>
95 SetTarget(std::forward<TargetT>(value));
96 return *this;
97 }
99
101
104 inline Category GetCategory() const { return m_category; }
105 inline void SetCategory(Category value) {
106 m_categoryHasBeenSet = true;
107 m_category = value;
108 }
110 SetCategory(value);
111 return *this;
112 }
114
116
119 inline const SigningConfiguration& GetSigningConfiguration() const { return m_signingConfiguration; }
120 template <typename SigningConfigurationT = SigningConfiguration>
121 void SetSigningConfiguration(SigningConfigurationT&& value) {
122 m_signingConfigurationHasBeenSet = true;
123 m_signingConfiguration = std::forward<SigningConfigurationT>(value);
124 }
125 template <typename SigningConfigurationT = SigningConfiguration>
126 GetSigningPlatformResult& WithSigningConfiguration(SigningConfigurationT&& value) {
127 SetSigningConfiguration(std::forward<SigningConfigurationT>(value));
128 return *this;
129 }
131
133
136 inline const SigningImageFormat& GetSigningImageFormat() const { return m_signingImageFormat; }
137 template <typename SigningImageFormatT = SigningImageFormat>
138 void SetSigningImageFormat(SigningImageFormatT&& value) {
139 m_signingImageFormatHasBeenSet = true;
140 m_signingImageFormat = std::forward<SigningImageFormatT>(value);
141 }
142 template <typename SigningImageFormatT = SigningImageFormat>
143 GetSigningPlatformResult& WithSigningImageFormat(SigningImageFormatT&& value) {
144 SetSigningImageFormat(std::forward<SigningImageFormatT>(value));
145 return *this;
146 }
148
150
154 inline int GetMaxSizeInMB() const { return m_maxSizeInMB; }
155 inline void SetMaxSizeInMB(int value) {
156 m_maxSizeInMBHasBeenSet = true;
157 m_maxSizeInMB = value;
158 }
160 SetMaxSizeInMB(value);
161 return *this;
162 }
164
166
170 inline bool GetRevocationSupported() const { return m_revocationSupported; }
171 inline void SetRevocationSupported(bool value) {
172 m_revocationSupportedHasBeenSet = true;
173 m_revocationSupported = value;
174 }
177 return *this;
178 }
180
182
183 inline const Aws::String& GetRequestId() const { return m_requestId; }
184 template <typename RequestIdT = Aws::String>
185 void SetRequestId(RequestIdT&& value) {
186 m_requestIdHasBeenSet = true;
187 m_requestId = std::forward<RequestIdT>(value);
188 }
189 template <typename RequestIdT = Aws::String>
191 SetRequestId(std::forward<RequestIdT>(value));
192 return *this;
193 }
195 private:
196 Aws::String m_platformId;
197
198 Aws::String m_displayName;
199
200 Aws::String m_partner;
201
202 Aws::String m_target;
203
204 Category m_category{Category::NOT_SET};
205
206 SigningConfiguration m_signingConfiguration;
207
208 SigningImageFormat m_signingImageFormat;
209
210 int m_maxSizeInMB{0};
211
212 bool m_revocationSupported{false};
213
214 Aws::String m_requestId;
215 bool m_platformIdHasBeenSet = false;
216 bool m_displayNameHasBeenSet = false;
217 bool m_partnerHasBeenSet = false;
218 bool m_targetHasBeenSet = false;
219 bool m_categoryHasBeenSet = false;
220 bool m_signingConfigurationHasBeenSet = false;
221 bool m_signingImageFormatHasBeenSet = false;
222 bool m_maxSizeInMBHasBeenSet = false;
223 bool m_revocationSupportedHasBeenSet = false;
224 bool m_requestIdHasBeenSet = false;
225};
226
227} // namespace Model
228} // namespace signer
229} // 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue