AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SigningPlatform.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{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace signer
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SIGNER_API SigningPlatform() = default;
41 AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetPlatformId() const { return m_platformId; }
49 inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; }
50 template<typename PlatformIdT = Aws::String>
51 void SetPlatformId(PlatformIdT&& value) { m_platformIdHasBeenSet = true; m_platformId = std::forward<PlatformIdT>(value); }
52 template<typename PlatformIdT = Aws::String>
53 SigningPlatform& WithPlatformId(PlatformIdT&& value) { SetPlatformId(std::forward<PlatformIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetDisplayName() const { return m_displayName; }
61 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
62 template<typename DisplayNameT = Aws::String>
63 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
64 template<typename DisplayNameT = Aws::String>
65 SigningPlatform& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetPartner() const { return m_partner; }
73 inline bool PartnerHasBeenSet() const { return m_partnerHasBeenSet; }
74 template<typename PartnerT = Aws::String>
75 void SetPartner(PartnerT&& value) { m_partnerHasBeenSet = true; m_partner = std::forward<PartnerT>(value); }
76 template<typename PartnerT = Aws::String>
77 SigningPlatform& WithPartner(PartnerT&& value) { SetPartner(std::forward<PartnerT>(value)); return *this;}
79
81
84 inline const Aws::String& GetTarget() const { return m_target; }
85 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
86 template<typename TargetT = Aws::String>
87 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
88 template<typename TargetT = Aws::String>
89 SigningPlatform& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
91
93
96 inline Category GetCategory() const { return m_category; }
97 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
98 inline void SetCategory(Category value) { m_categoryHasBeenSet = true; m_category = value; }
99 inline SigningPlatform& WithCategory(Category value) { SetCategory(value); return *this;}
101
103
107 inline const SigningConfiguration& GetSigningConfiguration() const { return m_signingConfiguration; }
108 inline bool SigningConfigurationHasBeenSet() const { return m_signingConfigurationHasBeenSet; }
109 template<typename SigningConfigurationT = SigningConfiguration>
110 void SetSigningConfiguration(SigningConfigurationT&& value) { m_signingConfigurationHasBeenSet = true; m_signingConfiguration = std::forward<SigningConfigurationT>(value); }
111 template<typename SigningConfigurationT = SigningConfiguration>
112 SigningPlatform& WithSigningConfiguration(SigningConfigurationT&& value) { SetSigningConfiguration(std::forward<SigningConfigurationT>(value)); return *this;}
114
116
117 inline const SigningImageFormat& GetSigningImageFormat() const { return m_signingImageFormat; }
118 inline bool SigningImageFormatHasBeenSet() const { return m_signingImageFormatHasBeenSet; }
119 template<typename SigningImageFormatT = SigningImageFormat>
120 void SetSigningImageFormat(SigningImageFormatT&& value) { m_signingImageFormatHasBeenSet = true; m_signingImageFormat = std::forward<SigningImageFormatT>(value); }
121 template<typename SigningImageFormatT = SigningImageFormat>
122 SigningPlatform& WithSigningImageFormat(SigningImageFormatT&& value) { SetSigningImageFormat(std::forward<SigningImageFormatT>(value)); return *this;}
124
126
130 inline int GetMaxSizeInMB() const { return m_maxSizeInMB; }
131 inline bool MaxSizeInMBHasBeenSet() const { return m_maxSizeInMBHasBeenSet; }
132 inline void SetMaxSizeInMB(int value) { m_maxSizeInMBHasBeenSet = true; m_maxSizeInMB = value; }
133 inline SigningPlatform& WithMaxSizeInMB(int value) { SetMaxSizeInMB(value); return *this;}
135
137
140 inline bool GetRevocationSupported() const { return m_revocationSupported; }
141 inline bool RevocationSupportedHasBeenSet() const { return m_revocationSupportedHasBeenSet; }
142 inline void SetRevocationSupported(bool value) { m_revocationSupportedHasBeenSet = true; m_revocationSupported = value; }
143 inline SigningPlatform& WithRevocationSupported(bool value) { SetRevocationSupported(value); return *this;}
145 private:
146
147 Aws::String m_platformId;
148 bool m_platformIdHasBeenSet = false;
149
150 Aws::String m_displayName;
151 bool m_displayNameHasBeenSet = false;
152
153 Aws::String m_partner;
154 bool m_partnerHasBeenSet = false;
155
156 Aws::String m_target;
157 bool m_targetHasBeenSet = false;
158
159 Category m_category{Category::NOT_SET};
160 bool m_categoryHasBeenSet = false;
161
162 SigningConfiguration m_signingConfiguration;
163 bool m_signingConfigurationHasBeenSet = false;
164
165 SigningImageFormat m_signingImageFormat;
166 bool m_signingImageFormatHasBeenSet = false;
167
168 int m_maxSizeInMB{0};
169 bool m_maxSizeInMBHasBeenSet = false;
170
171 bool m_revocationSupported{false};
172 bool m_revocationSupportedHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace signer
177} // namespace Aws
SigningPlatform & WithTarget(TargetT &&value)
const SigningConfiguration & GetSigningConfiguration() const
SigningPlatform & WithPlatformId(PlatformIdT &&value)
void SetSigningConfiguration(SigningConfigurationT &&value)
const Aws::String & GetPartner() const
const Aws::String & GetTarget() const
const Aws::String & GetPlatformId() const
void SetDisplayName(DisplayNameT &&value)
AWS_SIGNER_API SigningPlatform(Aws::Utils::Json::JsonView jsonValue)
AWS_SIGNER_API SigningPlatform()=default
void SetPlatformId(PlatformIdT &&value)
AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const
SigningPlatform & WithRevocationSupported(bool value)
AWS_SIGNER_API SigningPlatform & operator=(Aws::Utils::Json::JsonView jsonValue)
SigningPlatform & WithSigningConfiguration(SigningConfigurationT &&value)
SigningPlatform & WithPartner(PartnerT &&value)
const SigningImageFormat & GetSigningImageFormat() const
const Aws::String & GetDisplayName() const
SigningPlatform & WithMaxSizeInMB(int value)
SigningPlatform & WithDisplayName(DisplayNameT &&value)
SigningPlatform & WithCategory(Category value)
SigningPlatform & WithSigningImageFormat(SigningImageFormatT &&value)
void SetSigningImageFormat(SigningImageFormatT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue