AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
CodeSigning.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
9#include <aws/iot/model/CustomCodeSigning.h>
10#include <aws/iot/model/StartSigningJobParameter.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT {
22namespace Model {
23
31 public:
32 AWS_IOT_API CodeSigning() = default;
36
38
42 inline const Aws::String& GetAwsSignerJobId() const { return m_awsSignerJobId; }
43 inline bool AwsSignerJobIdHasBeenSet() const { return m_awsSignerJobIdHasBeenSet; }
44 template <typename AwsSignerJobIdT = Aws::String>
45 void SetAwsSignerJobId(AwsSignerJobIdT&& value) {
46 m_awsSignerJobIdHasBeenSet = true;
47 m_awsSignerJobId = std::forward<AwsSignerJobIdT>(value);
48 }
49 template <typename AwsSignerJobIdT = Aws::String>
50 CodeSigning& WithAwsSignerJobId(AwsSignerJobIdT&& value) {
51 SetAwsSignerJobId(std::forward<AwsSignerJobIdT>(value));
52 return *this;
53 }
55
57
60 inline const StartSigningJobParameter& GetStartSigningJobParameter() const { return m_startSigningJobParameter; }
61 inline bool StartSigningJobParameterHasBeenSet() const { return m_startSigningJobParameterHasBeenSet; }
62 template <typename StartSigningJobParameterT = StartSigningJobParameter>
63 void SetStartSigningJobParameter(StartSigningJobParameterT&& value) {
64 m_startSigningJobParameterHasBeenSet = true;
65 m_startSigningJobParameter = std::forward<StartSigningJobParameterT>(value);
66 }
67 template <typename StartSigningJobParameterT = StartSigningJobParameter>
68 CodeSigning& WithStartSigningJobParameter(StartSigningJobParameterT&& value) {
69 SetStartSigningJobParameter(std::forward<StartSigningJobParameterT>(value));
70 return *this;
71 }
73
75
78 inline const CustomCodeSigning& GetCustomCodeSigning() const { return m_customCodeSigning; }
79 inline bool CustomCodeSigningHasBeenSet() const { return m_customCodeSigningHasBeenSet; }
80 template <typename CustomCodeSigningT = CustomCodeSigning>
81 void SetCustomCodeSigning(CustomCodeSigningT&& value) {
82 m_customCodeSigningHasBeenSet = true;
83 m_customCodeSigning = std::forward<CustomCodeSigningT>(value);
84 }
85 template <typename CustomCodeSigningT = CustomCodeSigning>
86 CodeSigning& WithCustomCodeSigning(CustomCodeSigningT&& value) {
87 SetCustomCodeSigning(std::forward<CustomCodeSigningT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_awsSignerJobId;
93
94 StartSigningJobParameter m_startSigningJobParameter;
95
96 CustomCodeSigning m_customCodeSigning;
97 bool m_awsSignerJobIdHasBeenSet = false;
98 bool m_startSigningJobParameterHasBeenSet = false;
99 bool m_customCodeSigningHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace IoT
104} // namespace Aws
const StartSigningJobParameter & GetStartSigningJobParameter() const
Definition CodeSigning.h:60
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool AwsSignerJobIdHasBeenSet() const
Definition CodeSigning.h:43
AWS_IOT_API CodeSigning(Aws::Utils::Json::JsonView jsonValue)
CodeSigning & WithStartSigningJobParameter(StartSigningJobParameterT &&value)
Definition CodeSigning.h:68
void SetAwsSignerJobId(AwsSignerJobIdT &&value)
Definition CodeSigning.h:45
AWS_IOT_API CodeSigning()=default
CodeSigning & WithCustomCodeSigning(CustomCodeSigningT &&value)
Definition CodeSigning.h:86
const CustomCodeSigning & GetCustomCodeSigning() const
Definition CodeSigning.h:78
void SetStartSigningJobParameter(StartSigningJobParameterT &&value)
Definition CodeSigning.h:63
CodeSigning & WithAwsSignerJobId(AwsSignerJobIdT &&value)
Definition CodeSigning.h:50
bool CustomCodeSigningHasBeenSet() const
Definition CodeSigning.h:79
AWS_IOT_API CodeSigning & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StartSigningJobParameterHasBeenSet() const
Definition CodeSigning.h:61
void SetCustomCodeSigning(CustomCodeSigningT &&value)
Definition CodeSigning.h:81
const Aws::String & GetAwsSignerJobId() const
Definition CodeSigning.h:42
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue