/** * 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 signature for a file.

See Also:

AWS * API Reference

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

A base64 encoded binary representation of the code signing signature.

*/ inline const Aws::Utils::ByteBuffer& GetInlineDocument() const{ return m_inlineDocument; } /** *

A base64 encoded binary representation of the code signing signature.

*/ inline bool InlineDocumentHasBeenSet() const { return m_inlineDocumentHasBeenSet; } /** *

A base64 encoded binary representation of the code signing signature.

*/ inline void SetInlineDocument(const Aws::Utils::ByteBuffer& value) { m_inlineDocumentHasBeenSet = true; m_inlineDocument = value; } /** *

A base64 encoded binary representation of the code signing signature.

*/ inline void SetInlineDocument(Aws::Utils::ByteBuffer&& value) { m_inlineDocumentHasBeenSet = true; m_inlineDocument = std::move(value); } /** *

A base64 encoded binary representation of the code signing signature.

*/ inline CodeSigningSignature& WithInlineDocument(const Aws::Utils::ByteBuffer& value) { SetInlineDocument(value); return *this;} /** *

A base64 encoded binary representation of the code signing signature.

*/ inline CodeSigningSignature& WithInlineDocument(Aws::Utils::ByteBuffer&& value) { SetInlineDocument(std::move(value)); return *this;} private: Aws::Utils::ByteBuffer m_inlineDocument; bool m_inlineDocumentHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws