AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPlatformId(const Aws::String& value) { m_platformIdHasBeenSet = true; m_platformId = value; }
51 inline void SetPlatformId(Aws::String&& value) { m_platformIdHasBeenSet = true; m_platformId = std::move(value); }
52 inline void SetPlatformId(const char* value) { m_platformIdHasBeenSet = true; m_platformId.assign(value); }
53 inline SigningPlatform& WithPlatformId(const Aws::String& value) { SetPlatformId(value); return *this;}
54 inline SigningPlatform& WithPlatformId(Aws::String&& value) { SetPlatformId(std::move(value)); return *this;}
55 inline SigningPlatform& WithPlatformId(const char* value) { SetPlatformId(value); return *this;}
57
59
62 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
63 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
64 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
65 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
66 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
67 inline SigningPlatform& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
68 inline SigningPlatform& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
69 inline SigningPlatform& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
71
73
76 inline const Aws::String& GetPartner() const{ return m_partner; }
77 inline bool PartnerHasBeenSet() const { return m_partnerHasBeenSet; }
78 inline void SetPartner(const Aws::String& value) { m_partnerHasBeenSet = true; m_partner = value; }
79 inline void SetPartner(Aws::String&& value) { m_partnerHasBeenSet = true; m_partner = std::move(value); }
80 inline void SetPartner(const char* value) { m_partnerHasBeenSet = true; m_partner.assign(value); }
81 inline SigningPlatform& WithPartner(const Aws::String& value) { SetPartner(value); return *this;}
82 inline SigningPlatform& WithPartner(Aws::String&& value) { SetPartner(std::move(value)); return *this;}
83 inline SigningPlatform& WithPartner(const char* value) { SetPartner(value); return *this;}
85
87
90 inline const Aws::String& GetTarget() const{ return m_target; }
91 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
92 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
93 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
94 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
95 inline SigningPlatform& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
96 inline SigningPlatform& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
97 inline SigningPlatform& WithTarget(const char* value) { SetTarget(value); return *this;}
99
101
104 inline const Category& GetCategory() const{ return m_category; }
105 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
106 inline void SetCategory(const Category& value) { m_categoryHasBeenSet = true; m_category = value; }
107 inline void SetCategory(Category&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
108 inline SigningPlatform& WithCategory(const Category& value) { SetCategory(value); return *this;}
109 inline SigningPlatform& WithCategory(Category&& value) { SetCategory(std::move(value)); return *this;}
111
113
117 inline const SigningConfiguration& GetSigningConfiguration() const{ return m_signingConfiguration; }
118 inline bool SigningConfigurationHasBeenSet() const { return m_signingConfigurationHasBeenSet; }
119 inline void SetSigningConfiguration(const SigningConfiguration& value) { m_signingConfigurationHasBeenSet = true; m_signingConfiguration = value; }
120 inline void SetSigningConfiguration(SigningConfiguration&& value) { m_signingConfigurationHasBeenSet = true; m_signingConfiguration = std::move(value); }
124
126
127 inline const SigningImageFormat& GetSigningImageFormat() const{ return m_signingImageFormat; }
128 inline bool SigningImageFormatHasBeenSet() const { return m_signingImageFormatHasBeenSet; }
129 inline void SetSigningImageFormat(const SigningImageFormat& value) { m_signingImageFormatHasBeenSet = true; m_signingImageFormat = value; }
130 inline void SetSigningImageFormat(SigningImageFormat&& value) { m_signingImageFormatHasBeenSet = true; m_signingImageFormat = std::move(value); }
132 inline SigningPlatform& WithSigningImageFormat(SigningImageFormat&& value) { SetSigningImageFormat(std::move(value)); return *this;}
134
136
140 inline int GetMaxSizeInMB() const{ return m_maxSizeInMB; }
141 inline bool MaxSizeInMBHasBeenSet() const { return m_maxSizeInMBHasBeenSet; }
142 inline void SetMaxSizeInMB(int value) { m_maxSizeInMBHasBeenSet = true; m_maxSizeInMB = value; }
143 inline SigningPlatform& WithMaxSizeInMB(int value) { SetMaxSizeInMB(value); return *this;}
145
147
150 inline bool GetRevocationSupported() const{ return m_revocationSupported; }
151 inline bool RevocationSupportedHasBeenSet() const { return m_revocationSupportedHasBeenSet; }
152 inline void SetRevocationSupported(bool value) { m_revocationSupportedHasBeenSet = true; m_revocationSupported = value; }
153 inline SigningPlatform& WithRevocationSupported(bool value) { SetRevocationSupported(value); return *this;}
155 private:
156
157 Aws::String m_platformId;
158 bool m_platformIdHasBeenSet = false;
159
160 Aws::String m_displayName;
161 bool m_displayNameHasBeenSet = false;
162
163 Aws::String m_partner;
164 bool m_partnerHasBeenSet = false;
165
166 Aws::String m_target;
167 bool m_targetHasBeenSet = false;
168
169 Category m_category;
170 bool m_categoryHasBeenSet = false;
171
172 SigningConfiguration m_signingConfiguration;
173 bool m_signingConfigurationHasBeenSet = false;
174
175 SigningImageFormat m_signingImageFormat;
176 bool m_signingImageFormatHasBeenSet = false;
177
178 int m_maxSizeInMB;
179 bool m_maxSizeInMBHasBeenSet = false;
180
181 bool m_revocationSupported;
182 bool m_revocationSupportedHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace signer
187} // namespace Aws
void SetTarget(Aws::String &&value)
SigningPlatform & WithSigningImageFormat(SigningImageFormat &&value)
void SetPartner(Aws::String &&value)
void SetSigningImageFormat(const SigningImageFormat &value)
void SetSigningImageFormat(SigningImageFormat &&value)
SigningPlatform & WithPlatformId(const Aws::String &value)
const SigningConfiguration & GetSigningConfiguration() const
const Aws::String & GetPartner() const
SigningPlatform & WithPlatformId(Aws::String &&value)
void SetSigningConfiguration(const SigningConfiguration &value)
SigningPlatform & WithSigningConfiguration(SigningConfiguration &&value)
const Aws::String & GetTarget() const
const Aws::String & GetPlatformId() const
void SetSigningConfiguration(SigningConfiguration &&value)
AWS_SIGNER_API SigningPlatform(Aws::Utils::Json::JsonView jsonValue)
void SetPartner(const Aws::String &value)
SigningPlatform & WithSigningConfiguration(const SigningConfiguration &value)
void SetPlatformId(const char *value)
SigningPlatform & WithTarget(const char *value)
void SetDisplayName(Aws::String &&value)
void SetPlatformId(const Aws::String &value)
AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const
SigningPlatform & WithPlatformId(const char *value)
SigningPlatform & WithRevocationSupported(bool value)
AWS_SIGNER_API SigningPlatform & operator=(Aws::Utils::Json::JsonView jsonValue)
SigningPlatform & WithCategory(const Category &value)
const SigningImageFormat & GetSigningImageFormat() const
SigningPlatform & WithDisplayName(Aws::String &&value)
const Aws::String & GetDisplayName() const
void SetTarget(const Aws::String &value)
SigningPlatform & WithMaxSizeInMB(int value)
SigningPlatform & WithCategory(Category &&value)
SigningPlatform & WithTarget(const Aws::String &value)
SigningPlatform & WithTarget(Aws::String &&value)
SigningPlatform & WithPartner(const Aws::String &value)
void SetDisplayName(const Aws::String &value)
SigningPlatform & WithSigningImageFormat(const SigningImageFormat &value)
SigningPlatform & WithDisplayName(const char *value)
void SetTarget(const char *value)
SigningPlatform & WithPartner(Aws::String &&value)
void SetPartner(const char *value)
SigningPlatform & WithPartner(const char *value)
void SetCategory(const Category &value)
void SetPlatformId(Aws::String &&value)
const Category & GetCategory() const
void SetDisplayName(const char *value)
SigningPlatform & WithDisplayName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue