AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
47 inline const CodeSigningSignature& GetSignature() const{ return m_signature; }
48 inline bool SignatureHasBeenSet() const { return m_signatureHasBeenSet; }
49 inline void SetSignature(const CodeSigningSignature& value) { m_signatureHasBeenSet = true; m_signature = value; }
50 inline void SetSignature(CodeSigningSignature&& value) { m_signatureHasBeenSet = true; m_signature = std::move(value); }
51 inline CustomCodeSigning& WithSignature(const CodeSigningSignature& value) { SetSignature(value); return *this;}
52 inline CustomCodeSigning& WithSignature(CodeSigningSignature&& value) { SetSignature(std::move(value)); return *this;}
54
56
59 inline const CodeSigningCertificateChain& GetCertificateChain() const{ return m_certificateChain; }
60 inline bool CertificateChainHasBeenSet() const { return m_certificateChainHasBeenSet; }
61 inline void SetCertificateChain(const CodeSigningCertificateChain& value) { m_certificateChainHasBeenSet = true; m_certificateChain = value; }
62 inline void SetCertificateChain(CodeSigningCertificateChain&& value) { m_certificateChainHasBeenSet = true; m_certificateChain = std::move(value); }
66
68
75 inline const Aws::String& GetHashAlgorithm() const{ return m_hashAlgorithm; }
76 inline bool HashAlgorithmHasBeenSet() const { return m_hashAlgorithmHasBeenSet; }
77 inline void SetHashAlgorithm(const Aws::String& value) { m_hashAlgorithmHasBeenSet = true; m_hashAlgorithm = value; }
78 inline void SetHashAlgorithm(Aws::String&& value) { m_hashAlgorithmHasBeenSet = true; m_hashAlgorithm = std::move(value); }
79 inline void SetHashAlgorithm(const char* value) { m_hashAlgorithmHasBeenSet = true; m_hashAlgorithm.assign(value); }
80 inline CustomCodeSigning& WithHashAlgorithm(const Aws::String& value) { SetHashAlgorithm(value); return *this;}
81 inline CustomCodeSigning& WithHashAlgorithm(Aws::String&& value) { SetHashAlgorithm(std::move(value)); return *this;}
82 inline CustomCodeSigning& WithHashAlgorithm(const char* value) { SetHashAlgorithm(value); return *this;}
84
86
93 inline const Aws::String& GetSignatureAlgorithm() const{ return m_signatureAlgorithm; }
94 inline bool SignatureAlgorithmHasBeenSet() const { return m_signatureAlgorithmHasBeenSet; }
95 inline void SetSignatureAlgorithm(const Aws::String& value) { m_signatureAlgorithmHasBeenSet = true; m_signatureAlgorithm = value; }
96 inline void SetSignatureAlgorithm(Aws::String&& value) { m_signatureAlgorithmHasBeenSet = true; m_signatureAlgorithm = std::move(value); }
97 inline void SetSignatureAlgorithm(const char* value) { m_signatureAlgorithmHasBeenSet = true; m_signatureAlgorithm.assign(value); }
98 inline CustomCodeSigning& WithSignatureAlgorithm(const Aws::String& value) { SetSignatureAlgorithm(value); return *this;}
99 inline CustomCodeSigning& WithSignatureAlgorithm(Aws::String&& value) { SetSignatureAlgorithm(std::move(value)); return *this;}
100 inline CustomCodeSigning& WithSignatureAlgorithm(const char* value) { SetSignatureAlgorithm(value); return *this;}
102 private:
103
104 CodeSigningSignature m_signature;
105 bool m_signatureHasBeenSet = false;
106
107 CodeSigningCertificateChain m_certificateChain;
108 bool m_certificateChainHasBeenSet = false;
109
110 Aws::String m_hashAlgorithm;
111 bool m_hashAlgorithmHasBeenSet = false;
112
113 Aws::String m_signatureAlgorithm;
114 bool m_signatureAlgorithmHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace IoT
119} // namespace Aws
void SetSignature(const CodeSigningSignature &value)
void SetSignature(CodeSigningSignature &&value)
CustomCodeSigning & WithCertificateChain(const CodeSigningCertificateChain &value)
CustomCodeSigning & WithHashAlgorithm(Aws::String &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
CustomCodeSigning & WithSignatureAlgorithm(const char *value)
void SetSignatureAlgorithm(Aws::String &&value)
AWS_IOT_API CustomCodeSigning & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomCodeSigning & WithHashAlgorithm(const Aws::String &value)
CustomCodeSigning & WithCertificateChain(CodeSigningCertificateChain &&value)
void SetCertificateChain(const CodeSigningCertificateChain &value)
void SetCertificateChain(CodeSigningCertificateChain &&value)
CustomCodeSigning & WithSignatureAlgorithm(const Aws::String &value)
CustomCodeSigning & WithSignature(CodeSigningSignature &&value)
void SetHashAlgorithm(const char *value)
void SetHashAlgorithm(Aws::String &&value)
CustomCodeSigning & WithHashAlgorithm(const char *value)
void SetSignatureAlgorithm(const char *value)
AWS_IOT_API CustomCodeSigning(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetHashAlgorithm() const
const Aws::String & GetSignatureAlgorithm() const
CustomCodeSigning & WithSignatureAlgorithm(Aws::String &&value)
void SetHashAlgorithm(const Aws::String &value)
const CodeSigningCertificateChain & GetCertificateChain() const
CustomCodeSigning & WithSignature(const CodeSigningSignature &value)
const CodeSigningSignature & GetSignature() const
void SetSignatureAlgorithm(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue