AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetSigningPlatformResult.h
1
6#pragma once
7#include <aws/signer/Signer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/signer/model/Category.h>
10#include <aws/signer/model/SigningConfiguration.h>
11#include <aws/signer/model/SigningImageFormat.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace signer
27{
28namespace Model
29{
31 {
32 public:
33 AWS_SIGNER_API GetSigningPlatformResult() = default;
36
37
39
42 inline const Aws::String& GetPlatformId() const { return m_platformId; }
43 template<typename PlatformIdT = Aws::String>
44 void SetPlatformId(PlatformIdT&& value) { m_platformIdHasBeenSet = true; m_platformId = std::forward<PlatformIdT>(value); }
45 template<typename PlatformIdT = Aws::String>
46 GetSigningPlatformResult& WithPlatformId(PlatformIdT&& value) { SetPlatformId(std::forward<PlatformIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDisplayName() const { return m_displayName; }
54 template<typename DisplayNameT = Aws::String>
55 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
56 template<typename DisplayNameT = Aws::String>
57 GetSigningPlatformResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetPartner() const { return m_partner; }
65 template<typename PartnerT = Aws::String>
66 void SetPartner(PartnerT&& value) { m_partnerHasBeenSet = true; m_partner = std::forward<PartnerT>(value); }
67 template<typename PartnerT = Aws::String>
68 GetSigningPlatformResult& WithPartner(PartnerT&& value) { SetPartner(std::forward<PartnerT>(value)); return *this;}
70
72
75 inline const Aws::String& GetTarget() const { return m_target; }
76 template<typename TargetT = Aws::String>
77 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
78 template<typename TargetT = Aws::String>
79 GetSigningPlatformResult& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
81
83
86 inline Category GetCategory() const { return m_category; }
87 inline void SetCategory(Category value) { m_categoryHasBeenSet = true; m_category = value; }
88 inline GetSigningPlatformResult& WithCategory(Category value) { SetCategory(value); return *this;}
90
92
95 inline const SigningConfiguration& GetSigningConfiguration() const { return m_signingConfiguration; }
96 template<typename SigningConfigurationT = SigningConfiguration>
97 void SetSigningConfiguration(SigningConfigurationT&& value) { m_signingConfigurationHasBeenSet = true; m_signingConfiguration = std::forward<SigningConfigurationT>(value); }
98 template<typename SigningConfigurationT = SigningConfiguration>
99 GetSigningPlatformResult& WithSigningConfiguration(SigningConfigurationT&& value) { SetSigningConfiguration(std::forward<SigningConfigurationT>(value)); return *this;}
101
103
106 inline const SigningImageFormat& GetSigningImageFormat() const { return m_signingImageFormat; }
107 template<typename SigningImageFormatT = SigningImageFormat>
108 void SetSigningImageFormat(SigningImageFormatT&& value) { m_signingImageFormatHasBeenSet = true; m_signingImageFormat = std::forward<SigningImageFormatT>(value); }
109 template<typename SigningImageFormatT = SigningImageFormat>
110 GetSigningPlatformResult& WithSigningImageFormat(SigningImageFormatT&& value) { SetSigningImageFormat(std::forward<SigningImageFormatT>(value)); return *this;}
112
114
118 inline int GetMaxSizeInMB() const { return m_maxSizeInMB; }
119 inline void SetMaxSizeInMB(int value) { m_maxSizeInMBHasBeenSet = true; m_maxSizeInMB = value; }
120 inline GetSigningPlatformResult& WithMaxSizeInMB(int value) { SetMaxSizeInMB(value); return *this;}
122
124
128 inline bool GetRevocationSupported() const { return m_revocationSupported; }
129 inline void SetRevocationSupported(bool value) { m_revocationSupportedHasBeenSet = true; m_revocationSupported = value; }
132
134
135 inline const Aws::String& GetRequestId() const { return m_requestId; }
136 template<typename RequestIdT = Aws::String>
137 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
138 template<typename RequestIdT = Aws::String>
139 GetSigningPlatformResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
141 private:
142
143 Aws::String m_platformId;
144 bool m_platformIdHasBeenSet = false;
145
146 Aws::String m_displayName;
147 bool m_displayNameHasBeenSet = false;
148
149 Aws::String m_partner;
150 bool m_partnerHasBeenSet = false;
151
152 Aws::String m_target;
153 bool m_targetHasBeenSet = false;
154
155 Category m_category{Category::NOT_SET};
156 bool m_categoryHasBeenSet = false;
157
158 SigningConfiguration m_signingConfiguration;
159 bool m_signingConfigurationHasBeenSet = false;
160
161 SigningImageFormat m_signingImageFormat;
162 bool m_signingImageFormatHasBeenSet = false;
163
164 int m_maxSizeInMB{0};
165 bool m_maxSizeInMBHasBeenSet = false;
166
167 bool m_revocationSupported{false};
168 bool m_revocationSupportedHasBeenSet = false;
169
170 Aws::String m_requestId;
171 bool m_requestIdHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace signer
176} // 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