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

Describes the code-signing profile.

See Also:

AWS * API Reference

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

Certificate ARN.

*/ inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; } /** *

Certificate ARN.

*/ inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; } /** *

Certificate ARN.

*/ inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; } /** *

Certificate ARN.

*/ inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); } /** *

Certificate ARN.

*/ inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); } /** *

Certificate ARN.

*/ inline SigningProfileParameter& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;} /** *

Certificate ARN.

*/ inline SigningProfileParameter& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;} /** *

Certificate ARN.

*/ inline SigningProfileParameter& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;} /** *

The hardware platform of your device.

*/ inline const Aws::String& GetPlatform() const{ return m_platform; } /** *

The hardware platform of your device.

*/ inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; } /** *

The hardware platform of your device.

*/ inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; } /** *

The hardware platform of your device.

*/ inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); } /** *

The hardware platform of your device.

*/ inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); } /** *

The hardware platform of your device.

*/ inline SigningProfileParameter& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;} /** *

The hardware platform of your device.

*/ inline SigningProfileParameter& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;} /** *

The hardware platform of your device.

*/ inline SigningProfileParameter& WithPlatform(const char* value) { SetPlatform(value); return *this;} /** *

The location of the code-signing certificate on your device.

*/ inline const Aws::String& GetCertificatePathOnDevice() const{ return m_certificatePathOnDevice; } /** *

The location of the code-signing certificate on your device.

*/ inline bool CertificatePathOnDeviceHasBeenSet() const { return m_certificatePathOnDeviceHasBeenSet; } /** *

The location of the code-signing certificate on your device.

*/ inline void SetCertificatePathOnDevice(const Aws::String& value) { m_certificatePathOnDeviceHasBeenSet = true; m_certificatePathOnDevice = value; } /** *

The location of the code-signing certificate on your device.

*/ inline void SetCertificatePathOnDevice(Aws::String&& value) { m_certificatePathOnDeviceHasBeenSet = true; m_certificatePathOnDevice = std::move(value); } /** *

The location of the code-signing certificate on your device.

*/ inline void SetCertificatePathOnDevice(const char* value) { m_certificatePathOnDeviceHasBeenSet = true; m_certificatePathOnDevice.assign(value); } /** *

The location of the code-signing certificate on your device.

*/ inline SigningProfileParameter& WithCertificatePathOnDevice(const Aws::String& value) { SetCertificatePathOnDevice(value); return *this;} /** *

The location of the code-signing certificate on your device.

*/ inline SigningProfileParameter& WithCertificatePathOnDevice(Aws::String&& value) { SetCertificatePathOnDevice(std::move(value)); return *this;} /** *

The location of the code-signing certificate on your device.

*/ inline SigningProfileParameter& WithCertificatePathOnDevice(const char* value) { SetCertificatePathOnDevice(value); return *this;} private: Aws::String m_certificateArn; bool m_certificateArnHasBeenSet = false; Aws::String m_platform; bool m_platformHasBeenSet = false; Aws::String m_certificatePathOnDevice; bool m_certificatePathOnDeviceHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws