/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoT { namespace Model { /** *

Describes the method to use when code signing a file.

See * Also:

AWS API * Reference

*/ class CodeSigning { public: AWS_IOT_API CodeSigning(); AWS_IOT_API CodeSigning(Aws::Utils::Json::JsonView jsonValue); AWS_IOT_API CodeSigning& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ID of the AWSSignerJob which was created to sign the * file.

*/ inline const Aws::String& GetAwsSignerJobId() const{ return m_awsSignerJobId; } /** *

The ID of the AWSSignerJob which was created to sign the * file.

*/ inline bool AwsSignerJobIdHasBeenSet() const { return m_awsSignerJobIdHasBeenSet; } /** *

The ID of the AWSSignerJob which was created to sign the * file.

*/ inline void SetAwsSignerJobId(const Aws::String& value) { m_awsSignerJobIdHasBeenSet = true; m_awsSignerJobId = value; } /** *

The ID of the AWSSignerJob which was created to sign the * file.

*/ inline void SetAwsSignerJobId(Aws::String&& value) { m_awsSignerJobIdHasBeenSet = true; m_awsSignerJobId = std::move(value); } /** *

The ID of the AWSSignerJob which was created to sign the * file.

*/ inline void SetAwsSignerJobId(const char* value) { m_awsSignerJobIdHasBeenSet = true; m_awsSignerJobId.assign(value); } /** *

The ID of the AWSSignerJob which was created to sign the * file.

*/ inline CodeSigning& WithAwsSignerJobId(const Aws::String& value) { SetAwsSignerJobId(value); return *this;} /** *

The ID of the AWSSignerJob which was created to sign the * file.

*/ inline CodeSigning& WithAwsSignerJobId(Aws::String&& value) { SetAwsSignerJobId(std::move(value)); return *this;} /** *

The ID of the AWSSignerJob which was created to sign the * file.

*/ inline CodeSigning& WithAwsSignerJobId(const char* value) { SetAwsSignerJobId(value); return *this;} /** *

Describes the code-signing job.

*/ inline const StartSigningJobParameter& GetStartSigningJobParameter() const{ return m_startSigningJobParameter; } /** *

Describes the code-signing job.

*/ inline bool StartSigningJobParameterHasBeenSet() const { return m_startSigningJobParameterHasBeenSet; } /** *

Describes the code-signing job.

*/ inline void SetStartSigningJobParameter(const StartSigningJobParameter& value) { m_startSigningJobParameterHasBeenSet = true; m_startSigningJobParameter = value; } /** *

Describes the code-signing job.

*/ inline void SetStartSigningJobParameter(StartSigningJobParameter&& value) { m_startSigningJobParameterHasBeenSet = true; m_startSigningJobParameter = std::move(value); } /** *

Describes the code-signing job.

*/ inline CodeSigning& WithStartSigningJobParameter(const StartSigningJobParameter& value) { SetStartSigningJobParameter(value); return *this;} /** *

Describes the code-signing job.

*/ inline CodeSigning& WithStartSigningJobParameter(StartSigningJobParameter&& value) { SetStartSigningJobParameter(std::move(value)); return *this;} /** *

A custom method for code signing a file.

*/ inline const CustomCodeSigning& GetCustomCodeSigning() const{ return m_customCodeSigning; } /** *

A custom method for code signing a file.

*/ inline bool CustomCodeSigningHasBeenSet() const { return m_customCodeSigningHasBeenSet; } /** *

A custom method for code signing a file.

*/ inline void SetCustomCodeSigning(const CustomCodeSigning& value) { m_customCodeSigningHasBeenSet = true; m_customCodeSigning = value; } /** *

A custom method for code signing a file.

*/ inline void SetCustomCodeSigning(CustomCodeSigning&& value) { m_customCodeSigningHasBeenSet = true; m_customCodeSigning = std::move(value); } /** *

A custom method for code signing a file.

*/ inline CodeSigning& WithCustomCodeSigning(const CustomCodeSigning& value) { SetCustomCodeSigning(value); return *this;} /** *

A custom method for code signing a file.

*/ inline CodeSigning& WithCustomCodeSigning(CustomCodeSigning&& value) { SetCustomCodeSigning(std::move(value)); return *this;} private: Aws::String m_awsSignerJobId; bool m_awsSignerJobIdHasBeenSet = false; StartSigningJobParameter m_startSigningJobParameter; bool m_startSigningJobParameterHasBeenSet = false; CustomCodeSigning m_customCodeSigning; bool m_customCodeSigningHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws