AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CustomCodeSigning.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/CodeSigningSignature.h>
9#include <aws/iot/model/CodeSigningCertificateChain.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoT
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOT_API CustomCodeSigning() = default;
41
42
44
47 inline const CodeSigningSignature& GetSignature() const { return m_signature; }
48 inline bool SignatureHasBeenSet() const { return m_signatureHasBeenSet; }
49 template<typename SignatureT = CodeSigningSignature>
50 void SetSignature(SignatureT&& value) { m_signatureHasBeenSet = true; m_signature = std::forward<SignatureT>(value); }
51 template<typename SignatureT = CodeSigningSignature>
52 CustomCodeSigning& WithSignature(SignatureT&& value) { SetSignature(std::forward<SignatureT>(value)); return *this;}
54
56
59 inline const CodeSigningCertificateChain& GetCertificateChain() const { return m_certificateChain; }
60 inline bool CertificateChainHasBeenSet() const { return m_certificateChainHasBeenSet; }
61 template<typename CertificateChainT = CodeSigningCertificateChain>
62 void SetCertificateChain(CertificateChainT&& value) { m_certificateChainHasBeenSet = true; m_certificateChain = std::forward<CertificateChainT>(value); }
63 template<typename CertificateChainT = CodeSigningCertificateChain>
64 CustomCodeSigning& WithCertificateChain(CertificateChainT&& value) { SetCertificateChain(std::forward<CertificateChainT>(value)); return *this;}
66
68
75 inline const Aws::String& GetHashAlgorithm() const { return m_hashAlgorithm; }
76 inline bool HashAlgorithmHasBeenSet() const { return m_hashAlgorithmHasBeenSet; }
77 template<typename HashAlgorithmT = Aws::String>
78 void SetHashAlgorithm(HashAlgorithmT&& value) { m_hashAlgorithmHasBeenSet = true; m_hashAlgorithm = std::forward<HashAlgorithmT>(value); }
79 template<typename HashAlgorithmT = Aws::String>
80 CustomCodeSigning& WithHashAlgorithm(HashAlgorithmT&& value) { SetHashAlgorithm(std::forward<HashAlgorithmT>(value)); return *this;}
82
84
91 inline const Aws::String& GetSignatureAlgorithm() const { return m_signatureAlgorithm; }
92 inline bool SignatureAlgorithmHasBeenSet() const { return m_signatureAlgorithmHasBeenSet; }
93 template<typename SignatureAlgorithmT = Aws::String>
94 void SetSignatureAlgorithm(SignatureAlgorithmT&& value) { m_signatureAlgorithmHasBeenSet = true; m_signatureAlgorithm = std::forward<SignatureAlgorithmT>(value); }
95 template<typename SignatureAlgorithmT = Aws::String>
96 CustomCodeSigning& WithSignatureAlgorithm(SignatureAlgorithmT&& value) { SetSignatureAlgorithm(std::forward<SignatureAlgorithmT>(value)); return *this;}
98 private:
99
100 CodeSigningSignature m_signature;
101 bool m_signatureHasBeenSet = false;
102
103 CodeSigningCertificateChain m_certificateChain;
104 bool m_certificateChainHasBeenSet = false;
105
106 Aws::String m_hashAlgorithm;
107 bool m_hashAlgorithmHasBeenSet = false;
108
109 Aws::String m_signatureAlgorithm;
110 bool m_signatureAlgorithmHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace IoT
115} // namespace Aws
void SetSignature(SignatureT &&value)
CustomCodeSigning & WithSignature(SignatureT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API CustomCodeSigning()=default
AWS_IOT_API CustomCodeSigning & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHashAlgorithm(HashAlgorithmT &&value)
AWS_IOT_API CustomCodeSigning(Aws::Utils::Json::JsonView jsonValue)
void SetCertificateChain(CertificateChainT &&value)
void SetSignatureAlgorithm(SignatureAlgorithmT &&value)
const Aws::String & GetHashAlgorithm() const
const Aws::String & GetSignatureAlgorithm() const
CustomCodeSigning & WithHashAlgorithm(HashAlgorithmT &&value)
CustomCodeSigning & WithSignatureAlgorithm(SignatureAlgorithmT &&value)
const CodeSigningCertificateChain & GetCertificateChain() const
CustomCodeSigning & WithCertificateChain(CertificateChainT &&value)
const CodeSigningSignature & GetSignature() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue