/** * 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 { /** *

Information required to start a signing job.

See Also:

AWS * API Reference

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

Describes the code-signing profile.

*/ inline const SigningProfileParameter& GetSigningProfileParameter() const{ return m_signingProfileParameter; } /** *

Describes the code-signing profile.

*/ inline bool SigningProfileParameterHasBeenSet() const { return m_signingProfileParameterHasBeenSet; } /** *

Describes the code-signing profile.

*/ inline void SetSigningProfileParameter(const SigningProfileParameter& value) { m_signingProfileParameterHasBeenSet = true; m_signingProfileParameter = value; } /** *

Describes the code-signing profile.

*/ inline void SetSigningProfileParameter(SigningProfileParameter&& value) { m_signingProfileParameterHasBeenSet = true; m_signingProfileParameter = std::move(value); } /** *

Describes the code-signing profile.

*/ inline StartSigningJobParameter& WithSigningProfileParameter(const SigningProfileParameter& value) { SetSigningProfileParameter(value); return *this;} /** *

Describes the code-signing profile.

*/ inline StartSigningJobParameter& WithSigningProfileParameter(SigningProfileParameter&& value) { SetSigningProfileParameter(std::move(value)); return *this;} /** *

The code-signing profile name.

*/ inline const Aws::String& GetSigningProfileName() const{ return m_signingProfileName; } /** *

The code-signing profile name.

*/ inline bool SigningProfileNameHasBeenSet() const { return m_signingProfileNameHasBeenSet; } /** *

The code-signing profile name.

*/ inline void SetSigningProfileName(const Aws::String& value) { m_signingProfileNameHasBeenSet = true; m_signingProfileName = value; } /** *

The code-signing profile name.

*/ inline void SetSigningProfileName(Aws::String&& value) { m_signingProfileNameHasBeenSet = true; m_signingProfileName = std::move(value); } /** *

The code-signing profile name.

*/ inline void SetSigningProfileName(const char* value) { m_signingProfileNameHasBeenSet = true; m_signingProfileName.assign(value); } /** *

The code-signing profile name.

*/ inline StartSigningJobParameter& WithSigningProfileName(const Aws::String& value) { SetSigningProfileName(value); return *this;} /** *

The code-signing profile name.

*/ inline StartSigningJobParameter& WithSigningProfileName(Aws::String&& value) { SetSigningProfileName(std::move(value)); return *this;} /** *

The code-signing profile name.

*/ inline StartSigningJobParameter& WithSigningProfileName(const char* value) { SetSigningProfileName(value); return *this;} /** *

The location to write the code-signed file.

*/ inline const Destination& GetDestination() const{ return m_destination; } /** *

The location to write the code-signed file.

*/ inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } /** *

The location to write the code-signed file.

*/ inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; } /** *

The location to write the code-signed file.

*/ inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } /** *

The location to write the code-signed file.

*/ inline StartSigningJobParameter& WithDestination(const Destination& value) { SetDestination(value); return *this;} /** *

The location to write the code-signed file.

*/ inline StartSigningJobParameter& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;} private: SigningProfileParameter m_signingProfileParameter; bool m_signingProfileParameterHasBeenSet = false; Aws::String m_signingProfileName; bool m_signingProfileNameHasBeenSet = false; Destination m_destination; bool m_destinationHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws