AWS SDK for C++  1.9.132
AWS SDK for C++
CustomCodeSigning.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const CodeSigningSignature& GetSignature() const{ return m_signature; }
47 
51  inline bool SignatureHasBeenSet() const { return m_signatureHasBeenSet; }
52 
56  inline void SetSignature(const CodeSigningSignature& value) { m_signatureHasBeenSet = true; m_signature = value; }
57 
61  inline void SetSignature(CodeSigningSignature&& value) { m_signatureHasBeenSet = true; m_signature = std::move(value); }
62 
66  inline CustomCodeSigning& WithSignature(const CodeSigningSignature& value) { SetSignature(value); return *this;}
67 
71  inline CustomCodeSigning& WithSignature(CodeSigningSignature&& value) { SetSignature(std::move(value)); return *this;}
72 
73 
77  inline const CodeSigningCertificateChain& GetCertificateChain() const{ return m_certificateChain; }
78 
82  inline bool CertificateChainHasBeenSet() const { return m_certificateChainHasBeenSet; }
83 
87  inline void SetCertificateChain(const CodeSigningCertificateChain& value) { m_certificateChainHasBeenSet = true; m_certificateChain = value; }
88 
92  inline void SetCertificateChain(CodeSigningCertificateChain&& value) { m_certificateChainHasBeenSet = true; m_certificateChain = std::move(value); }
93 
97  inline CustomCodeSigning& WithCertificateChain(const CodeSigningCertificateChain& value) { SetCertificateChain(value); return *this;}
98 
102  inline CustomCodeSigning& WithCertificateChain(CodeSigningCertificateChain&& value) { SetCertificateChain(std::move(value)); return *this;}
103 
104 
108  inline const Aws::String& GetHashAlgorithm() const{ return m_hashAlgorithm; }
109 
113  inline bool HashAlgorithmHasBeenSet() const { return m_hashAlgorithmHasBeenSet; }
114 
118  inline void SetHashAlgorithm(const Aws::String& value) { m_hashAlgorithmHasBeenSet = true; m_hashAlgorithm = value; }
119 
123  inline void SetHashAlgorithm(Aws::String&& value) { m_hashAlgorithmHasBeenSet = true; m_hashAlgorithm = std::move(value); }
124 
128  inline void SetHashAlgorithm(const char* value) { m_hashAlgorithmHasBeenSet = true; m_hashAlgorithm.assign(value); }
129 
133  inline CustomCodeSigning& WithHashAlgorithm(const Aws::String& value) { SetHashAlgorithm(value); return *this;}
134 
138  inline CustomCodeSigning& WithHashAlgorithm(Aws::String&& value) { SetHashAlgorithm(std::move(value)); return *this;}
139 
143  inline CustomCodeSigning& WithHashAlgorithm(const char* value) { SetHashAlgorithm(value); return *this;}
144 
145 
149  inline const Aws::String& GetSignatureAlgorithm() const{ return m_signatureAlgorithm; }
150 
154  inline bool SignatureAlgorithmHasBeenSet() const { return m_signatureAlgorithmHasBeenSet; }
155 
159  inline void SetSignatureAlgorithm(const Aws::String& value) { m_signatureAlgorithmHasBeenSet = true; m_signatureAlgorithm = value; }
160 
164  inline void SetSignatureAlgorithm(Aws::String&& value) { m_signatureAlgorithmHasBeenSet = true; m_signatureAlgorithm = std::move(value); }
165 
169  inline void SetSignatureAlgorithm(const char* value) { m_signatureAlgorithmHasBeenSet = true; m_signatureAlgorithm.assign(value); }
170 
174  inline CustomCodeSigning& WithSignatureAlgorithm(const Aws::String& value) { SetSignatureAlgorithm(value); return *this;}
175 
179  inline CustomCodeSigning& WithSignatureAlgorithm(Aws::String&& value) { SetSignatureAlgorithm(std::move(value)); return *this;}
180 
184  inline CustomCodeSigning& WithSignatureAlgorithm(const char* value) { SetSignatureAlgorithm(value); return *this;}
185 
186  private:
187 
188  CodeSigningSignature m_signature;
189  bool m_signatureHasBeenSet;
190 
191  CodeSigningCertificateChain m_certificateChain;
192  bool m_certificateChainHasBeenSet;
193 
194  Aws::String m_hashAlgorithm;
195  bool m_hashAlgorithmHasBeenSet;
196 
197  Aws::String m_signatureAlgorithm;
198  bool m_signatureAlgorithmHasBeenSet;
199  };
200 
201 } // namespace Model
202 } // namespace IoT
203 } // namespace Aws
Aws::IoT::Model::CustomCodeSigning::WithHashAlgorithm
CustomCodeSigning & WithHashAlgorithm(const char *value)
Definition: CustomCodeSigning.h:143
Aws::IoT::Model::CustomCodeSigning::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::CustomCodeSigning::SetSignatureAlgorithm
void SetSignatureAlgorithm(const char *value)
Definition: CustomCodeSigning.h:169
Aws::IoT::Model::CustomCodeSigning::CustomCodeSigning
CustomCodeSigning()
Aws::IoT::Model::CustomCodeSigning::WithHashAlgorithm
CustomCodeSigning & WithHashAlgorithm(Aws::String &&value)
Definition: CustomCodeSigning.h:138
CodeSigningSignature.h
Aws::IoT::Model::CustomCodeSigning::WithCertificateChain
CustomCodeSigning & WithCertificateChain(const CodeSigningCertificateChain &value)
Definition: CustomCodeSigning.h:97
Aws::IoT::Model::CustomCodeSigning::WithSignature
CustomCodeSigning & WithSignature(CodeSigningSignature &&value)
Definition: CustomCodeSigning.h:71
Aws::IoT::Model::CustomCodeSigning::SetSignatureAlgorithm
void SetSignatureAlgorithm(const Aws::String &value)
Definition: CustomCodeSigning.h:159
Aws::IoT::Model::CodeSigningSignature
Definition: CodeSigningSignature.h:32
Aws::IoT::Model::CustomCodeSigning::SetCertificateChain
void SetCertificateChain(const CodeSigningCertificateChain &value)
Definition: CustomCodeSigning.h:87
CodeSigningCertificateChain.h
Aws::IoT::Model::CustomCodeSigning::GetCertificateChain
const CodeSigningCertificateChain & GetCertificateChain() const
Definition: CustomCodeSigning.h:77
Aws::IoT::Model::CustomCodeSigning::operator=
CustomCodeSigning & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::CustomCodeSigning::SetHashAlgorithm
void SetHashAlgorithm(const char *value)
Definition: CustomCodeSigning.h:128
Aws::IoT::Model::CustomCodeSigning::GetSignatureAlgorithm
const Aws::String & GetSignatureAlgorithm() const
Definition: CustomCodeSigning.h:149
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::CustomCodeSigning::SetSignature
void SetSignature(const CodeSigningSignature &value)
Definition: CustomCodeSigning.h:56
Aws::IoT::Model::CustomCodeSigning::SetHashAlgorithm
void SetHashAlgorithm(const Aws::String &value)
Definition: CustomCodeSigning.h:118
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::CustomCodeSigning::SignatureHasBeenSet
bool SignatureHasBeenSet() const
Definition: CustomCodeSigning.h:51
Aws::IoT::Model::CustomCodeSigning
Definition: CustomCodeSigning.h:35
Aws::IoT::Model::CustomCodeSigning::CertificateChainHasBeenSet
bool CertificateChainHasBeenSet() const
Definition: CustomCodeSigning.h:82
Aws::IoT::Model::CustomCodeSigning::WithSignatureAlgorithm
CustomCodeSigning & WithSignatureAlgorithm(const Aws::String &value)
Definition: CustomCodeSigning.h:174
Aws::IoT::Model::CodeSigningCertificateChain
Definition: CodeSigningCertificateChain.h:33
Aws::IoT::Model::CustomCodeSigning::SetSignature
void SetSignature(CodeSigningSignature &&value)
Definition: CustomCodeSigning.h:61
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::CustomCodeSigning::GetSignature
const CodeSigningSignature & GetSignature() const
Definition: CustomCodeSigning.h:46
Aws::IoT::Model::CustomCodeSigning::CustomCodeSigning
CustomCodeSigning(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::CustomCodeSigning::HashAlgorithmHasBeenSet
bool HashAlgorithmHasBeenSet() const
Definition: CustomCodeSigning.h:113
Aws::IoT::Model::CustomCodeSigning::WithHashAlgorithm
CustomCodeSigning & WithHashAlgorithm(const Aws::String &value)
Definition: CustomCodeSigning.h:133
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::CustomCodeSigning::SignatureAlgorithmHasBeenSet
bool SignatureAlgorithmHasBeenSet() const
Definition: CustomCodeSigning.h:154
Aws::IoT::Model::CustomCodeSigning::GetHashAlgorithm
const Aws::String & GetHashAlgorithm() const
Definition: CustomCodeSigning.h:108
Aws::IoT::Model::CustomCodeSigning::SetHashAlgorithm
void SetHashAlgorithm(Aws::String &&value)
Definition: CustomCodeSigning.h:123
Aws::IoT::Model::CustomCodeSigning::WithCertificateChain
CustomCodeSigning & WithCertificateChain(CodeSigningCertificateChain &&value)
Definition: CustomCodeSigning.h:102
Aws::IoT::Model::CustomCodeSigning::WithSignature
CustomCodeSigning & WithSignature(const CodeSigningSignature &value)
Definition: CustomCodeSigning.h:66
Aws::IoT::Model::CustomCodeSigning::WithSignatureAlgorithm
CustomCodeSigning & WithSignatureAlgorithm(Aws::String &&value)
Definition: CustomCodeSigning.h:179
Aws::IoT::Model::CustomCodeSigning::WithSignatureAlgorithm
CustomCodeSigning & WithSignatureAlgorithm(const char *value)
Definition: CustomCodeSigning.h:184
Aws::IoT::Model::CustomCodeSigning::SetSignatureAlgorithm
void SetSignatureAlgorithm(Aws::String &&value)
Definition: CustomCodeSigning.h:164
IoT_EXPORTS.h
Aws::IoT::Model::CustomCodeSigning::SetCertificateChain
void SetCertificateChain(CodeSigningCertificateChain &&value)
Definition: CustomCodeSigning.h:92