AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CodeSigning.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/StartSigningJobParameter.h>
10#include <aws/iot/model/CustomCodeSigning.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 CodeSigning() = default;
41
42
44
48 inline const Aws::String& GetAwsSignerJobId() const { return m_awsSignerJobId; }
49 inline bool AwsSignerJobIdHasBeenSet() const { return m_awsSignerJobIdHasBeenSet; }
50 template<typename AwsSignerJobIdT = Aws::String>
51 void SetAwsSignerJobId(AwsSignerJobIdT&& value) { m_awsSignerJobIdHasBeenSet = true; m_awsSignerJobId = std::forward<AwsSignerJobIdT>(value); }
52 template<typename AwsSignerJobIdT = Aws::String>
53 CodeSigning& WithAwsSignerJobId(AwsSignerJobIdT&& value) { SetAwsSignerJobId(std::forward<AwsSignerJobIdT>(value)); return *this;}
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) { m_startSigningJobParameterHasBeenSet = true; m_startSigningJobParameter = std::forward<StartSigningJobParameterT>(value); }
64 template<typename StartSigningJobParameterT = StartSigningJobParameter>
65 CodeSigning& WithStartSigningJobParameter(StartSigningJobParameterT&& value) { SetStartSigningJobParameter(std::forward<StartSigningJobParameterT>(value)); return *this;}
67
69
72 inline const CustomCodeSigning& GetCustomCodeSigning() const { return m_customCodeSigning; }
73 inline bool CustomCodeSigningHasBeenSet() const { return m_customCodeSigningHasBeenSet; }
74 template<typename CustomCodeSigningT = CustomCodeSigning>
75 void SetCustomCodeSigning(CustomCodeSigningT&& value) { m_customCodeSigningHasBeenSet = true; m_customCodeSigning = std::forward<CustomCodeSigningT>(value); }
76 template<typename CustomCodeSigningT = CustomCodeSigning>
77 CodeSigning& WithCustomCodeSigning(CustomCodeSigningT&& value) { SetCustomCodeSigning(std::forward<CustomCodeSigningT>(value)); return *this;}
79 private:
80
81 Aws::String m_awsSignerJobId;
82 bool m_awsSignerJobIdHasBeenSet = false;
83
84 StartSigningJobParameter m_startSigningJobParameter;
85 bool m_startSigningJobParameterHasBeenSet = false;
86
87 CustomCodeSigning m_customCodeSigning;
88 bool m_customCodeSigningHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace IoT
93} // 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:49
AWS_IOT_API CodeSigning(Aws::Utils::Json::JsonView jsonValue)
CodeSigning & WithStartSigningJobParameter(StartSigningJobParameterT &&value)
Definition CodeSigning.h:65
void SetAwsSignerJobId(AwsSignerJobIdT &&value)
Definition CodeSigning.h:51
AWS_IOT_API CodeSigning()=default
CodeSigning & WithCustomCodeSigning(CustomCodeSigningT &&value)
Definition CodeSigning.h:77
const CustomCodeSigning & GetCustomCodeSigning() const
Definition CodeSigning.h:72
void SetStartSigningJobParameter(StartSigningJobParameterT &&value)
Definition CodeSigning.h:63
CodeSigning & WithAwsSignerJobId(AwsSignerJobIdT &&value)
Definition CodeSigning.h:53
bool CustomCodeSigningHasBeenSet() const
Definition CodeSigning.h:73
AWS_IOT_API CodeSigning & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StartSigningJobParameterHasBeenSet() const
Definition CodeSigning.h:61
void SetCustomCodeSigning(CustomCodeSigningT &&value)
Definition CodeSigning.h:75
const Aws::String & GetAwsSignerJobId() const
Definition CodeSigning.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue