/** * 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 signer { namespace Model { /** *

The ACM certificate that is used to sign your code.

See Also:

* AWS * API Reference

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

The Amazon Resource Name (ARN) of the certificates that is used to sign your * code.

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

The Amazon Resource Name (ARN) of the certificates that is used to sign your * code.

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

The Amazon Resource Name (ARN) of the certificates that is used to sign your * code.

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

The Amazon Resource Name (ARN) of the certificates that is used to sign your * code.

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

The Amazon Resource Name (ARN) of the certificates that is used to sign your * code.

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

The Amazon Resource Name (ARN) of the certificates that is used to sign your * code.

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

The Amazon Resource Name (ARN) of the certificates that is used to sign your * code.

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

The Amazon Resource Name (ARN) of the certificates that is used to sign your * code.

*/ inline SigningMaterial& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;} private: Aws::String m_certificateArn; bool m_certificateArnHasBeenSet = false; }; } // namespace Model } // namespace signer } // namespace Aws