/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #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 GetSigningProfileResult { public: AWS_SIGNER_API GetSigningProfileResult(); AWS_SIGNER_API GetSigningProfileResult(const Aws::AmazonWebServiceResult& result); AWS_SIGNER_API GetSigningProfileResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the target signing profile.

*/ inline const Aws::String& GetProfileName() const{ return m_profileName; } /** *

The name of the target signing profile.

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

The name of the target signing profile.

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

The name of the target signing profile.

*/ inline void SetProfileName(const char* value) { m_profileName.assign(value); } /** *

The name of the target signing profile.

*/ inline GetSigningProfileResult& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;} /** *

The name of the target signing profile.

*/ inline GetSigningProfileResult& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;} /** *

The name of the target signing profile.

*/ inline GetSigningProfileResult& WithProfileName(const char* value) { SetProfileName(value); return *this;} /** *

The current version of the signing profile.

*/ inline const Aws::String& GetProfileVersion() const{ return m_profileVersion; } /** *

The current version of the signing profile.

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

The current version of the signing profile.

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

The current version of the signing profile.

*/ inline void SetProfileVersion(const char* value) { m_profileVersion.assign(value); } /** *

The current version of the signing profile.

*/ inline GetSigningProfileResult& WithProfileVersion(const Aws::String& value) { SetProfileVersion(value); return *this;} /** *

The current version of the signing profile.

*/ inline GetSigningProfileResult& WithProfileVersion(Aws::String&& value) { SetProfileVersion(std::move(value)); return *this;} /** *

The current version of the signing profile.

*/ inline GetSigningProfileResult& WithProfileVersion(const char* value) { SetProfileVersion(value); return *this;} /** *

The signing profile ARN, including the profile version.

*/ inline const Aws::String& GetProfileVersionArn() const{ return m_profileVersionArn; } /** *

The signing profile ARN, including the profile version.

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

The signing profile ARN, including the profile version.

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

The signing profile ARN, including the profile version.

*/ inline void SetProfileVersionArn(const char* value) { m_profileVersionArn.assign(value); } /** *

The signing profile ARN, including the profile version.

*/ inline GetSigningProfileResult& WithProfileVersionArn(const Aws::String& value) { SetProfileVersionArn(value); return *this;} /** *

The signing profile ARN, including the profile version.

*/ inline GetSigningProfileResult& WithProfileVersionArn(Aws::String&& value) { SetProfileVersionArn(std::move(value)); return *this;} /** *

The signing profile ARN, including the profile version.

*/ inline GetSigningProfileResult& WithProfileVersionArn(const char* value) { SetProfileVersionArn(value); return *this;} inline const SigningProfileRevocationRecord& GetRevocationRecord() const{ return m_revocationRecord; } inline void SetRevocationRecord(const SigningProfileRevocationRecord& value) { m_revocationRecord = value; } inline void SetRevocationRecord(SigningProfileRevocationRecord&& value) { m_revocationRecord = std::move(value); } inline GetSigningProfileResult& WithRevocationRecord(const SigningProfileRevocationRecord& value) { SetRevocationRecord(value); return *this;} inline GetSigningProfileResult& WithRevocationRecord(SigningProfileRevocationRecord&& value) { SetRevocationRecord(std::move(value)); return *this;} /** *

The ARN of the certificate that the target profile uses for signing * operations.

*/ inline const SigningMaterial& GetSigningMaterial() const{ return m_signingMaterial; } /** *

The ARN of the certificate that the target profile uses for signing * operations.

*/ inline void SetSigningMaterial(const SigningMaterial& value) { m_signingMaterial = value; } /** *

The ARN of the certificate that the target profile uses for signing * operations.

*/ inline void SetSigningMaterial(SigningMaterial&& value) { m_signingMaterial = std::move(value); } /** *

The ARN of the certificate that the target profile uses for signing * operations.

*/ inline GetSigningProfileResult& WithSigningMaterial(const SigningMaterial& value) { SetSigningMaterial(value); return *this;} /** *

The ARN of the certificate that the target profile uses for signing * operations.

*/ inline GetSigningProfileResult& WithSigningMaterial(SigningMaterial&& value) { SetSigningMaterial(std::move(value)); return *this;} /** *

The ID of the platform that is used by the target signing profile.

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

The ID of the platform that is used by the target signing profile.

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

The ID of the platform that is used by the target signing profile.

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

The ID of the platform that is used by the target signing profile.

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

The ID of the platform that is used by the target signing profile.

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

The ID of the platform that is used by the target signing profile.

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

The ID of the platform that is used by the target signing profile.

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

A human-readable name for the signing platform associated with the signing * profile.

*/ inline const Aws::String& GetPlatformDisplayName() const{ return m_platformDisplayName; } /** *

A human-readable name for the signing platform associated with the signing * profile.

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

A human-readable name for the signing platform associated with the signing * profile.

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

A human-readable name for the signing platform associated with the signing * profile.

*/ inline void SetPlatformDisplayName(const char* value) { m_platformDisplayName.assign(value); } /** *

A human-readable name for the signing platform associated with the signing * profile.

*/ inline GetSigningProfileResult& WithPlatformDisplayName(const Aws::String& value) { SetPlatformDisplayName(value); return *this;} /** *

A human-readable name for the signing platform associated with the signing * profile.

*/ inline GetSigningProfileResult& WithPlatformDisplayName(Aws::String&& value) { SetPlatformDisplayName(std::move(value)); return *this;} /** *

A human-readable name for the signing platform associated with the signing * profile.

*/ inline GetSigningProfileResult& WithPlatformDisplayName(const char* value) { SetPlatformDisplayName(value); return *this;} inline const SignatureValidityPeriod& GetSignatureValidityPeriod() const{ return m_signatureValidityPeriod; } inline void SetSignatureValidityPeriod(const SignatureValidityPeriod& value) { m_signatureValidityPeriod = value; } inline void SetSignatureValidityPeriod(SignatureValidityPeriod&& value) { m_signatureValidityPeriod = std::move(value); } inline GetSigningProfileResult& WithSignatureValidityPeriod(const SignatureValidityPeriod& value) { SetSignatureValidityPeriod(value); return *this;} inline GetSigningProfileResult& WithSignatureValidityPeriod(SignatureValidityPeriod&& value) { SetSignatureValidityPeriod(std::move(value)); return *this;} /** *

A list of overrides applied by the target signing profile for signing * operations.

*/ inline const SigningPlatformOverrides& GetOverrides() const{ return m_overrides; } /** *

A list of overrides applied by the target signing profile for signing * operations.

*/ inline void SetOverrides(const SigningPlatformOverrides& value) { m_overrides = value; } /** *

A list of overrides applied by the target signing profile for signing * operations.

*/ inline void SetOverrides(SigningPlatformOverrides&& value) { m_overrides = std::move(value); } /** *

A list of overrides applied by the target signing profile for signing * operations.

*/ inline GetSigningProfileResult& WithOverrides(const SigningPlatformOverrides& value) { SetOverrides(value); return *this;} /** *

A list of overrides applied by the target signing profile for signing * operations.

*/ inline GetSigningProfileResult& WithOverrides(SigningPlatformOverrides&& value) { SetOverrides(std::move(value)); return *this;} /** *

A map of key-value pairs for signing operations that is attached to the * target signing profile.

*/ inline const Aws::Map& GetSigningParameters() const{ return m_signingParameters; } /** *

A map of key-value pairs for signing operations that is attached to the * target signing profile.

*/ inline void SetSigningParameters(const Aws::Map& value) { m_signingParameters = value; } /** *

A map of key-value pairs for signing operations that is attached to the * target signing profile.

*/ inline void SetSigningParameters(Aws::Map&& value) { m_signingParameters = std::move(value); } /** *

A map of key-value pairs for signing operations that is attached to the * target signing profile.

*/ inline GetSigningProfileResult& WithSigningParameters(const Aws::Map& value) { SetSigningParameters(value); return *this;} /** *

A map of key-value pairs for signing operations that is attached to the * target signing profile.

*/ inline GetSigningProfileResult& WithSigningParameters(Aws::Map&& value) { SetSigningParameters(std::move(value)); return *this;} /** *

A map of key-value pairs for signing operations that is attached to the * target signing profile.

*/ inline GetSigningProfileResult& AddSigningParameters(const Aws::String& key, const Aws::String& value) { m_signingParameters.emplace(key, value); return *this; } /** *

A map of key-value pairs for signing operations that is attached to the * target signing profile.

*/ inline GetSigningProfileResult& AddSigningParameters(Aws::String&& key, const Aws::String& value) { m_signingParameters.emplace(std::move(key), value); return *this; } /** *

A map of key-value pairs for signing operations that is attached to the * target signing profile.

*/ inline GetSigningProfileResult& AddSigningParameters(const Aws::String& key, Aws::String&& value) { m_signingParameters.emplace(key, std::move(value)); return *this; } /** *

A map of key-value pairs for signing operations that is attached to the * target signing profile.

*/ inline GetSigningProfileResult& AddSigningParameters(Aws::String&& key, Aws::String&& value) { m_signingParameters.emplace(std::move(key), std::move(value)); return *this; } /** *

A map of key-value pairs for signing operations that is attached to the * target signing profile.

*/ inline GetSigningProfileResult& AddSigningParameters(const char* key, Aws::String&& value) { m_signingParameters.emplace(key, std::move(value)); return *this; } /** *

A map of key-value pairs for signing operations that is attached to the * target signing profile.

*/ inline GetSigningProfileResult& AddSigningParameters(Aws::String&& key, const char* value) { m_signingParameters.emplace(std::move(key), value); return *this; } /** *

A map of key-value pairs for signing operations that is attached to the * target signing profile.

*/ inline GetSigningProfileResult& AddSigningParameters(const char* key, const char* value) { m_signingParameters.emplace(key, value); return *this; } /** *

The status of the target signing profile.

*/ inline const SigningProfileStatus& GetStatus() const{ return m_status; } /** *

The status of the target signing profile.

*/ inline void SetStatus(const SigningProfileStatus& value) { m_status = value; } /** *

The status of the target signing profile.

*/ inline void SetStatus(SigningProfileStatus&& value) { m_status = std::move(value); } /** *

The status of the target signing profile.

*/ inline GetSigningProfileResult& WithStatus(const SigningProfileStatus& value) { SetStatus(value); return *this;} /** *

The status of the target signing profile.

*/ inline GetSigningProfileResult& WithStatus(SigningProfileStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

Reason for the status of the target signing profile.

*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *

Reason for the status of the target signing profile.

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

Reason for the status of the target signing profile.

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

Reason for the status of the target signing profile.

*/ inline void SetStatusReason(const char* value) { m_statusReason.assign(value); } /** *

Reason for the status of the target signing profile.

*/ inline GetSigningProfileResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *

Reason for the status of the target signing profile.

*/ inline GetSigningProfileResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *

Reason for the status of the target signing profile.

*/ inline GetSigningProfileResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} /** *

The Amazon Resource Name (ARN) for the signing profile.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) for the signing profile.

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

The Amazon Resource Name (ARN) for the signing profile.

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

The Amazon Resource Name (ARN) for the signing profile.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) for the signing profile.

*/ inline GetSigningProfileResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the signing profile.

*/ inline GetSigningProfileResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the signing profile.

*/ inline GetSigningProfileResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

A list of tags associated with the signing profile.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

A list of tags associated with the signing profile.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

A list of tags associated with the signing profile.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

A list of tags associated with the signing profile.

*/ inline GetSigningProfileResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

A list of tags associated with the signing profile.

*/ inline GetSigningProfileResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

A list of tags associated with the signing profile.

*/ inline GetSigningProfileResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

A list of tags associated with the signing profile.

*/ inline GetSigningProfileResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

A list of tags associated with the signing profile.

*/ inline GetSigningProfileResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

A list of tags associated with the signing profile.

*/ inline GetSigningProfileResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

A list of tags associated with the signing profile.

*/ inline GetSigningProfileResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

A list of tags associated with the signing profile.

*/ inline GetSigningProfileResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

A list of tags associated with the signing profile.

*/ inline GetSigningProfileResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, 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 GetSigningProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSigningProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSigningProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_profileName; Aws::String m_profileVersion; Aws::String m_profileVersionArn; SigningProfileRevocationRecord m_revocationRecord; SigningMaterial m_signingMaterial; Aws::String m_platformId; Aws::String m_platformDisplayName; SignatureValidityPeriod m_signatureValidityPeriod; SigningPlatformOverrides m_overrides; Aws::Map m_signingParameters; SigningProfileStatus m_status; Aws::String m_statusReason; Aws::String m_arn; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace signer } // namespace Aws