/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace signer { namespace Model { class GetSigningPlatformResult { public: AWS_SIGNER_API GetSigningPlatformResult(); AWS_SIGNER_API GetSigningPlatformResult(const Aws::AmazonWebServiceResult& result); AWS_SIGNER_API GetSigningPlatformResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the target signing platform.

*/ inline const Aws::String& GetPlatformId() const{ return m_platformId; } /** *

The ID of the target signing platform.

*/ inline void SetPlatformId(const Aws::String& value) { m_platformId = value; } /** *

The ID of the target signing platform.

*/ inline void SetPlatformId(Aws::String&& value) { m_platformId = std::move(value); } /** *

The ID of the target signing platform.

*/ inline void SetPlatformId(const char* value) { m_platformId.assign(value); } /** *

The ID of the target signing platform.

*/ inline GetSigningPlatformResult& WithPlatformId(const Aws::String& value) { SetPlatformId(value); return *this;} /** *

The ID of the target signing platform.

*/ inline GetSigningPlatformResult& WithPlatformId(Aws::String&& value) { SetPlatformId(std::move(value)); return *this;} /** *

The ID of the target signing platform.

*/ inline GetSigningPlatformResult& WithPlatformId(const char* value) { SetPlatformId(value); return *this;} /** *

The display name of the target signing platform.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

The display name of the target signing platform.

*/ inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } /** *

The display name of the target signing platform.

*/ inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } /** *

The display name of the target signing platform.

*/ inline void SetDisplayName(const char* value) { m_displayName.assign(value); } /** *

The display name of the target signing platform.

*/ inline GetSigningPlatformResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The display name of the target signing platform.

*/ inline GetSigningPlatformResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

The display name of the target signing platform.

*/ inline GetSigningPlatformResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *

A list of partner entities that use the target signing platform.

*/ inline const Aws::String& GetPartner() const{ return m_partner; } /** *

A list of partner entities that use the target signing platform.

*/ inline void SetPartner(const Aws::String& value) { m_partner = value; } /** *

A list of partner entities that use the target signing platform.

*/ inline void SetPartner(Aws::String&& value) { m_partner = std::move(value); } /** *

A list of partner entities that use the target signing platform.

*/ inline void SetPartner(const char* value) { m_partner.assign(value); } /** *

A list of partner entities that use the target signing platform.

*/ inline GetSigningPlatformResult& WithPartner(const Aws::String& value) { SetPartner(value); return *this;} /** *

A list of partner entities that use the target signing platform.

*/ inline GetSigningPlatformResult& WithPartner(Aws::String&& value) { SetPartner(std::move(value)); return *this;} /** *

A list of partner entities that use the target signing platform.

*/ inline GetSigningPlatformResult& WithPartner(const char* value) { SetPartner(value); return *this;} /** *

The validation template that is used by the target signing platform.

*/ inline const Aws::String& GetTarget() const{ return m_target; } /** *

The validation template that is used by the target signing platform.

*/ inline void SetTarget(const Aws::String& value) { m_target = value; } /** *

The validation template that is used by the target signing platform.

*/ inline void SetTarget(Aws::String&& value) { m_target = std::move(value); } /** *

The validation template that is used by the target signing platform.

*/ inline void SetTarget(const char* value) { m_target.assign(value); } /** *

The validation template that is used by the target signing platform.

*/ inline GetSigningPlatformResult& WithTarget(const Aws::String& value) { SetTarget(value); return *this;} /** *

The validation template that is used by the target signing platform.

*/ inline GetSigningPlatformResult& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;} /** *

The validation template that is used by the target signing platform.

*/ inline GetSigningPlatformResult& WithTarget(const char* value) { SetTarget(value); return *this;} /** *

The category type of the target signing platform.

*/ inline const Category& GetCategory() const{ return m_category; } /** *

The category type of the target signing platform.

*/ inline void SetCategory(const Category& value) { m_category = value; } /** *

The category type of the target signing platform.

*/ inline void SetCategory(Category&& value) { m_category = std::move(value); } /** *

The category type of the target signing platform.

*/ inline GetSigningPlatformResult& WithCategory(const Category& value) { SetCategory(value); return *this;} /** *

The category type of the target signing platform.

*/ inline GetSigningPlatformResult& WithCategory(Category&& value) { SetCategory(std::move(value)); return *this;} /** *

A list of configurations applied to the target platform at signing.

*/ inline const SigningConfiguration& GetSigningConfiguration() const{ return m_signingConfiguration; } /** *

A list of configurations applied to the target platform at signing.

*/ inline void SetSigningConfiguration(const SigningConfiguration& value) { m_signingConfiguration = value; } /** *

A list of configurations applied to the target platform at signing.

*/ inline void SetSigningConfiguration(SigningConfiguration&& value) { m_signingConfiguration = std::move(value); } /** *

A list of configurations applied to the target platform at signing.

*/ inline GetSigningPlatformResult& WithSigningConfiguration(const SigningConfiguration& value) { SetSigningConfiguration(value); return *this;} /** *

A list of configurations applied to the target platform at signing.

*/ inline GetSigningPlatformResult& WithSigningConfiguration(SigningConfiguration&& value) { SetSigningConfiguration(std::move(value)); return *this;} /** *

The format of the target platform's signing image.

*/ inline const SigningImageFormat& GetSigningImageFormat() const{ return m_signingImageFormat; } /** *

The format of the target platform's signing image.

*/ inline void SetSigningImageFormat(const SigningImageFormat& value) { m_signingImageFormat = value; } /** *

The format of the target platform's signing image.

*/ inline void SetSigningImageFormat(SigningImageFormat&& value) { m_signingImageFormat = std::move(value); } /** *

The format of the target platform's signing image.

*/ inline GetSigningPlatformResult& WithSigningImageFormat(const SigningImageFormat& value) { SetSigningImageFormat(value); return *this;} /** *

The format of the target platform's signing image.

*/ inline GetSigningPlatformResult& WithSigningImageFormat(SigningImageFormat&& value) { SetSigningImageFormat(std::move(value)); return *this;} /** *

The maximum size (in MB) of the payload that can be signed by the target * platform.

*/ inline int GetMaxSizeInMB() const{ return m_maxSizeInMB; } /** *

The maximum size (in MB) of the payload that can be signed by the target * platform.

*/ inline void SetMaxSizeInMB(int value) { m_maxSizeInMB = value; } /** *

The maximum size (in MB) of the payload that can be signed by the target * platform.

*/ inline GetSigningPlatformResult& WithMaxSizeInMB(int value) { SetMaxSizeInMB(value); return *this;} /** *

A flag indicating whether signatures generated for the signing platform can * be revoked.

*/ inline bool GetRevocationSupported() const{ return m_revocationSupported; } /** *

A flag indicating whether signatures generated for the signing platform can * be revoked.

*/ inline void SetRevocationSupported(bool value) { m_revocationSupported = value; } /** *

A flag indicating whether signatures generated for the signing platform can * be revoked.

*/ inline GetSigningPlatformResult& WithRevocationSupported(bool value) { SetRevocationSupported(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetSigningPlatformResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSigningPlatformResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSigningPlatformResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_platformId; Aws::String m_displayName; Aws::String m_partner; Aws::String m_target; Category m_category; SigningConfiguration m_signingConfiguration; SigningImageFormat m_signingImageFormat; int m_maxSizeInMB; bool m_revocationSupported; Aws::String m_requestId; }; } // namespace Model } // namespace signer } // namespace Aws