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

The image format of a code signing platform or profile.

See * Also:

AWS * API Reference

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

The supported formats of a code signing image.

*/ inline const Aws::Vector& GetSupportedFormats() const{ return m_supportedFormats; } /** *

The supported formats of a code signing image.

*/ inline bool SupportedFormatsHasBeenSet() const { return m_supportedFormatsHasBeenSet; } /** *

The supported formats of a code signing image.

*/ inline void SetSupportedFormats(const Aws::Vector& value) { m_supportedFormatsHasBeenSet = true; m_supportedFormats = value; } /** *

The supported formats of a code signing image.

*/ inline void SetSupportedFormats(Aws::Vector&& value) { m_supportedFormatsHasBeenSet = true; m_supportedFormats = std::move(value); } /** *

The supported formats of a code signing image.

*/ inline SigningImageFormat& WithSupportedFormats(const Aws::Vector& value) { SetSupportedFormats(value); return *this;} /** *

The supported formats of a code signing image.

*/ inline SigningImageFormat& WithSupportedFormats(Aws::Vector&& value) { SetSupportedFormats(std::move(value)); return *this;} /** *

The supported formats of a code signing image.

*/ inline SigningImageFormat& AddSupportedFormats(const ImageFormat& value) { m_supportedFormatsHasBeenSet = true; m_supportedFormats.push_back(value); return *this; } /** *

The supported formats of a code signing image.

*/ inline SigningImageFormat& AddSupportedFormats(ImageFormat&& value) { m_supportedFormatsHasBeenSet = true; m_supportedFormats.push_back(std::move(value)); return *this; } /** *

The default format of a code signing image.

*/ inline const ImageFormat& GetDefaultFormat() const{ return m_defaultFormat; } /** *

The default format of a code signing image.

*/ inline bool DefaultFormatHasBeenSet() const { return m_defaultFormatHasBeenSet; } /** *

The default format of a code signing image.

*/ inline void SetDefaultFormat(const ImageFormat& value) { m_defaultFormatHasBeenSet = true; m_defaultFormat = value; } /** *

The default format of a code signing image.

*/ inline void SetDefaultFormat(ImageFormat&& value) { m_defaultFormatHasBeenSet = true; m_defaultFormat = std::move(value); } /** *

The default format of a code signing image.

*/ inline SigningImageFormat& WithDefaultFormat(const ImageFormat& value) { SetDefaultFormat(value); return *this;} /** *

The default format of a code signing image.

*/ inline SigningImageFormat& WithDefaultFormat(ImageFormat&& value) { SetDefaultFormat(std::move(value)); return *this;} private: Aws::Vector m_supportedFormats; bool m_supportedFormatsHasBeenSet = false; ImageFormat m_defaultFormat; bool m_defaultFormatHasBeenSet = false; }; } // namespace Model } // namespace signer } // namespace Aws