/** * 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 #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace signer { namespace Model { class DescribeSigningJobResult { public: AWS_SIGNER_API DescribeSigningJobResult(); AWS_SIGNER_API DescribeSigningJobResult(const Aws::AmazonWebServiceResult& result); AWS_SIGNER_API DescribeSigningJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the signing job on output.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The ID of the signing job on output.

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

The ID of the signing job on output.

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

The ID of the signing job on output.

*/ inline void SetJobId(const char* value) { m_jobId.assign(value); } /** *

The ID of the signing job on output.

*/ inline DescribeSigningJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The ID of the signing job on output.

*/ inline DescribeSigningJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The ID of the signing job on output.

*/ inline DescribeSigningJobResult& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

The object that contains the name of your S3 bucket or your raw code.

*/ inline const Source& GetSource() const{ return m_source; } /** *

The object that contains the name of your S3 bucket or your raw code.

*/ inline void SetSource(const Source& value) { m_source = value; } /** *

The object that contains the name of your S3 bucket or your raw code.

*/ inline void SetSource(Source&& value) { m_source = std::move(value); } /** *

The object that contains the name of your S3 bucket or your raw code.

*/ inline DescribeSigningJobResult& WithSource(const Source& value) { SetSource(value); return *this;} /** *

The object that contains the name of your S3 bucket or your raw code.

*/ inline DescribeSigningJobResult& WithSource(Source&& value) { SetSource(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of your code signing certificate.

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

The Amazon Resource Name (ARN) of your code signing certificate.

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

The Amazon Resource Name (ARN) of your code signing certificate.

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

The Amazon Resource Name (ARN) of your code signing certificate.

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

The Amazon Resource Name (ARN) of your code signing certificate.

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

The microcontroller platform to which your signed code image will be * distributed.

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

The microcontroller platform to which your signed code image will be * distributed.

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

The microcontroller platform to which your signed code image will be * distributed.

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

The microcontroller platform to which your signed code image will be * distributed.

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

The microcontroller platform to which your signed code image will be * distributed.

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

The microcontroller platform to which your signed code image will be * distributed.

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

The microcontroller platform to which your signed code image will be * distributed.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline DescribeSigningJobResult& WithPlatformDisplayName(const char* value) { SetPlatformDisplayName(value); return *this;} /** *

The name of the profile that initiated the signing operation.

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

The name of the profile that initiated the signing operation.

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

The name of the profile that initiated the signing operation.

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

The name of the profile that initiated the signing operation.

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

The name of the profile that initiated the signing operation.

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

The name of the profile that initiated the signing operation.

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

The name of the profile that initiated the signing operation.

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

The version of the signing profile used to initiate the signing job.

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

The version of the signing profile used to initiate the signing job.

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

The version of the signing profile used to initiate the signing job.

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

The version of the signing profile used to initiate the signing job.

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

The version of the signing profile used to initiate the signing job.

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

The version of the signing profile used to initiate the signing job.

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

The version of the signing profile used to initiate the signing job.

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

A list of any overrides that were applied to the signing operation.

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

A list of any overrides that were applied to the signing operation.

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

A list of any overrides that were applied to the signing operation.

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

A list of any overrides that were applied to the signing operation.

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

A list of any overrides that were applied to the signing operation.

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

Map of user-assigned key-value pairs used during signing. These values * contain any information that you specified for use in your signing job.

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

Map of user-assigned key-value pairs used during signing. These values * contain any information that you specified for use in your signing job.

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

Map of user-assigned key-value pairs used during signing. These values * contain any information that you specified for use in your signing job.

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

Map of user-assigned key-value pairs used during signing. These values * contain any information that you specified for use in your signing job.

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

Map of user-assigned key-value pairs used during signing. These values * contain any information that you specified for use in your signing job.

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

Map of user-assigned key-value pairs used during signing. These values * contain any information that you specified for use in your signing job.

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

Map of user-assigned key-value pairs used during signing. These values * contain any information that you specified for use in your signing job.

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

Map of user-assigned key-value pairs used during signing. These values * contain any information that you specified for use in your signing job.

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

Map of user-assigned key-value pairs used during signing. These values * contain any information that you specified for use in your signing job.

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

Map of user-assigned key-value pairs used during signing. These values * contain any information that you specified for use in your signing job.

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

Map of user-assigned key-value pairs used during signing. These values * contain any information that you specified for use in your signing job.

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

Map of user-assigned key-value pairs used during signing. These values * contain any information that you specified for use in your signing job.

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

Date and time that the signing job was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

Date and time that the signing job was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

Date and time that the signing job was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** *

Date and time that the signing job was created.

*/ inline DescribeSigningJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

Date and time that the signing job was created.

*/ inline DescribeSigningJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

Date and time that the signing job was completed.

*/ inline const Aws::Utils::DateTime& GetCompletedAt() const{ return m_completedAt; } /** *

Date and time that the signing job was completed.

*/ inline void SetCompletedAt(const Aws::Utils::DateTime& value) { m_completedAt = value; } /** *

Date and time that the signing job was completed.

*/ inline void SetCompletedAt(Aws::Utils::DateTime&& value) { m_completedAt = std::move(value); } /** *

Date and time that the signing job was completed.

*/ inline DescribeSigningJobResult& WithCompletedAt(const Aws::Utils::DateTime& value) { SetCompletedAt(value); return *this;} /** *

Date and time that the signing job was completed.

*/ inline DescribeSigningJobResult& WithCompletedAt(Aws::Utils::DateTime&& value) { SetCompletedAt(std::move(value)); return *this;} /** *

Thr expiration timestamp for the signature generated by the signing job.

*/ inline const Aws::Utils::DateTime& GetSignatureExpiresAt() const{ return m_signatureExpiresAt; } /** *

Thr expiration timestamp for the signature generated by the signing job.

*/ inline void SetSignatureExpiresAt(const Aws::Utils::DateTime& value) { m_signatureExpiresAt = value; } /** *

Thr expiration timestamp for the signature generated by the signing job.

*/ inline void SetSignatureExpiresAt(Aws::Utils::DateTime&& value) { m_signatureExpiresAt = std::move(value); } /** *

Thr expiration timestamp for the signature generated by the signing job.

*/ inline DescribeSigningJobResult& WithSignatureExpiresAt(const Aws::Utils::DateTime& value) { SetSignatureExpiresAt(value); return *this;} /** *

Thr expiration timestamp for the signature generated by the signing job.

*/ inline DescribeSigningJobResult& WithSignatureExpiresAt(Aws::Utils::DateTime&& value) { SetSignatureExpiresAt(std::move(value)); return *this;} /** *

The IAM principal that requested the signing job.

*/ inline const Aws::String& GetRequestedBy() const{ return m_requestedBy; } /** *

The IAM principal that requested the signing job.

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

The IAM principal that requested the signing job.

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

The IAM principal that requested the signing job.

*/ inline void SetRequestedBy(const char* value) { m_requestedBy.assign(value); } /** *

The IAM principal that requested the signing job.

*/ inline DescribeSigningJobResult& WithRequestedBy(const Aws::String& value) { SetRequestedBy(value); return *this;} /** *

The IAM principal that requested the signing job.

*/ inline DescribeSigningJobResult& WithRequestedBy(Aws::String&& value) { SetRequestedBy(std::move(value)); return *this;} /** *

The IAM principal that requested the signing job.

*/ inline DescribeSigningJobResult& WithRequestedBy(const char* value) { SetRequestedBy(value); return *this;} /** *

Status of the signing job.

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

Status of the signing job.

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

Status of the signing job.

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

Status of the signing job.

*/ inline DescribeSigningJobResult& WithStatus(const SigningStatus& value) { SetStatus(value); return *this;} /** *

Status of the signing job.

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

String value that contains the status reason.

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

String value that contains the status reason.

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

String value that contains the status reason.

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

String value that contains the status reason.

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

String value that contains the status reason.

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

String value that contains the status reason.

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

String value that contains the status reason.

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

A revocation record if the signature generated by the signing job has been * revoked. Contains a timestamp and the ID of the IAM entity that revoked the * signature.

*/ inline const SigningJobRevocationRecord& GetRevocationRecord() const{ return m_revocationRecord; } /** *

A revocation record if the signature generated by the signing job has been * revoked. Contains a timestamp and the ID of the IAM entity that revoked the * signature.

*/ inline void SetRevocationRecord(const SigningJobRevocationRecord& value) { m_revocationRecord = value; } /** *

A revocation record if the signature generated by the signing job has been * revoked. Contains a timestamp and the ID of the IAM entity that revoked the * signature.

*/ inline void SetRevocationRecord(SigningJobRevocationRecord&& value) { m_revocationRecord = std::move(value); } /** *

A revocation record if the signature generated by the signing job has been * revoked. Contains a timestamp and the ID of the IAM entity that revoked the * signature.

*/ inline DescribeSigningJobResult& WithRevocationRecord(const SigningJobRevocationRecord& value) { SetRevocationRecord(value); return *this;} /** *

A revocation record if the signature generated by the signing job has been * revoked. Contains a timestamp and the ID of the IAM entity that revoked the * signature.

*/ inline DescribeSigningJobResult& WithRevocationRecord(SigningJobRevocationRecord&& value) { SetRevocationRecord(std::move(value)); return *this;} /** *

Name of the S3 bucket where the signed code image is saved by code * signing.

*/ inline const SignedObject& GetSignedObject() const{ return m_signedObject; } /** *

Name of the S3 bucket where the signed code image is saved by code * signing.

*/ inline void SetSignedObject(const SignedObject& value) { m_signedObject = value; } /** *

Name of the S3 bucket where the signed code image is saved by code * signing.

*/ inline void SetSignedObject(SignedObject&& value) { m_signedObject = std::move(value); } /** *

Name of the S3 bucket where the signed code image is saved by code * signing.

*/ inline DescribeSigningJobResult& WithSignedObject(const SignedObject& value) { SetSignedObject(value); return *this;} /** *

Name of the S3 bucket where the signed code image is saved by code * signing.

*/ inline DescribeSigningJobResult& WithSignedObject(SignedObject&& value) { SetSignedObject(std::move(value)); return *this;} /** *

The AWS account ID of the job owner.

*/ inline const Aws::String& GetJobOwner() const{ return m_jobOwner; } /** *

The AWS account ID of the job owner.

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

The AWS account ID of the job owner.

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

The AWS account ID of the job owner.

*/ inline void SetJobOwner(const char* value) { m_jobOwner.assign(value); } /** *

The AWS account ID of the job owner.

*/ inline DescribeSigningJobResult& WithJobOwner(const Aws::String& value) { SetJobOwner(value); return *this;} /** *

The AWS account ID of the job owner.

*/ inline DescribeSigningJobResult& WithJobOwner(Aws::String&& value) { SetJobOwner(std::move(value)); return *this;} /** *

The AWS account ID of the job owner.

*/ inline DescribeSigningJobResult& WithJobOwner(const char* value) { SetJobOwner(value); return *this;} /** *

The IAM entity that initiated the signing job.

*/ inline const Aws::String& GetJobInvoker() const{ return m_jobInvoker; } /** *

The IAM entity that initiated the signing job.

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

The IAM entity that initiated the signing job.

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

The IAM entity that initiated the signing job.

*/ inline void SetJobInvoker(const char* value) { m_jobInvoker.assign(value); } /** *

The IAM entity that initiated the signing job.

*/ inline DescribeSigningJobResult& WithJobInvoker(const Aws::String& value) { SetJobInvoker(value); return *this;} /** *

The IAM entity that initiated the signing job.

*/ inline DescribeSigningJobResult& WithJobInvoker(Aws::String&& value) { SetJobInvoker(std::move(value)); return *this;} /** *

The IAM entity that initiated the signing job.

*/ inline DescribeSigningJobResult& WithJobInvoker(const char* value) { SetJobInvoker(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 DescribeSigningJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeSigningJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeSigningJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_jobId; Source m_source; SigningMaterial m_signingMaterial; Aws::String m_platformId; Aws::String m_platformDisplayName; Aws::String m_profileName; Aws::String m_profileVersion; SigningPlatformOverrides m_overrides; Aws::Map m_signingParameters; Aws::Utils::DateTime m_createdAt; Aws::Utils::DateTime m_completedAt; Aws::Utils::DateTime m_signatureExpiresAt; Aws::String m_requestedBy; SigningStatus m_status; Aws::String m_statusReason; SigningJobRevocationRecord m_revocationRecord; SignedObject m_signedObject; Aws::String m_jobOwner; Aws::String m_jobInvoker; Aws::String m_requestId; }; } // namespace Model } // namespace signer } // namespace Aws