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

Specifies whether the signature key is valid.

*/ inline bool GetSignatureValid() const{ return m_signatureValid; } /** *

Specifies whether the signature key is valid.

*/ inline void SetSignatureValid(bool value) { m_signatureValid = value; } /** *

Specifies whether the signature key is valid.

*/ inline ValidateAssessmentReportIntegrityResult& WithSignatureValid(bool value) { SetSignatureValid(value); return *this;} /** *

The signature algorithm that's used to code sign the assessment report file. *

*/ inline const Aws::String& GetSignatureAlgorithm() const{ return m_signatureAlgorithm; } /** *

The signature algorithm that's used to code sign the assessment report file. *

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

The signature algorithm that's used to code sign the assessment report file. *

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

The signature algorithm that's used to code sign the assessment report file. *

*/ inline void SetSignatureAlgorithm(const char* value) { m_signatureAlgorithm.assign(value); } /** *

The signature algorithm that's used to code sign the assessment report file. *

*/ inline ValidateAssessmentReportIntegrityResult& WithSignatureAlgorithm(const Aws::String& value) { SetSignatureAlgorithm(value); return *this;} /** *

The signature algorithm that's used to code sign the assessment report file. *

*/ inline ValidateAssessmentReportIntegrityResult& WithSignatureAlgorithm(Aws::String&& value) { SetSignatureAlgorithm(std::move(value)); return *this;} /** *

The signature algorithm that's used to code sign the assessment report file. *

*/ inline ValidateAssessmentReportIntegrityResult& WithSignatureAlgorithm(const char* value) { SetSignatureAlgorithm(value); return *this;} /** *

The date and time signature that specifies when the assessment report was * created.

*/ inline const Aws::String& GetSignatureDateTime() const{ return m_signatureDateTime; } /** *

The date and time signature that specifies when the assessment report was * created.

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

The date and time signature that specifies when the assessment report was * created.

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

The date and time signature that specifies when the assessment report was * created.

*/ inline void SetSignatureDateTime(const char* value) { m_signatureDateTime.assign(value); } /** *

The date and time signature that specifies when the assessment report was * created.

*/ inline ValidateAssessmentReportIntegrityResult& WithSignatureDateTime(const Aws::String& value) { SetSignatureDateTime(value); return *this;} /** *

The date and time signature that specifies when the assessment report was * created.

*/ inline ValidateAssessmentReportIntegrityResult& WithSignatureDateTime(Aws::String&& value) { SetSignatureDateTime(std::move(value)); return *this;} /** *

The date and time signature that specifies when the assessment report was * created.

*/ inline ValidateAssessmentReportIntegrityResult& WithSignatureDateTime(const char* value) { SetSignatureDateTime(value); return *this;} /** *

The unique identifier for the validation signature key.

*/ inline const Aws::String& GetSignatureKeyId() const{ return m_signatureKeyId; } /** *

The unique identifier for the validation signature key.

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

The unique identifier for the validation signature key.

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

The unique identifier for the validation signature key.

*/ inline void SetSignatureKeyId(const char* value) { m_signatureKeyId.assign(value); } /** *

The unique identifier for the validation signature key.

*/ inline ValidateAssessmentReportIntegrityResult& WithSignatureKeyId(const Aws::String& value) { SetSignatureKeyId(value); return *this;} /** *

The unique identifier for the validation signature key.

*/ inline ValidateAssessmentReportIntegrityResult& WithSignatureKeyId(Aws::String&& value) { SetSignatureKeyId(std::move(value)); return *this;} /** *

The unique identifier for the validation signature key.

*/ inline ValidateAssessmentReportIntegrityResult& WithSignatureKeyId(const char* value) { SetSignatureKeyId(value); return *this;} /** *

Represents any errors that occurred when validating the assessment report. *

*/ inline const Aws::Vector& GetValidationErrors() const{ return m_validationErrors; } /** *

Represents any errors that occurred when validating the assessment report. *

*/ inline void SetValidationErrors(const Aws::Vector& value) { m_validationErrors = value; } /** *

Represents any errors that occurred when validating the assessment report. *

*/ inline void SetValidationErrors(Aws::Vector&& value) { m_validationErrors = std::move(value); } /** *

Represents any errors that occurred when validating the assessment report. *

*/ inline ValidateAssessmentReportIntegrityResult& WithValidationErrors(const Aws::Vector& value) { SetValidationErrors(value); return *this;} /** *

Represents any errors that occurred when validating the assessment report. *

*/ inline ValidateAssessmentReportIntegrityResult& WithValidationErrors(Aws::Vector&& value) { SetValidationErrors(std::move(value)); return *this;} /** *

Represents any errors that occurred when validating the assessment report. *

*/ inline ValidateAssessmentReportIntegrityResult& AddValidationErrors(const Aws::String& value) { m_validationErrors.push_back(value); return *this; } /** *

Represents any errors that occurred when validating the assessment report. *

*/ inline ValidateAssessmentReportIntegrityResult& AddValidationErrors(Aws::String&& value) { m_validationErrors.push_back(std::move(value)); return *this; } /** *

Represents any errors that occurred when validating the assessment report. *

*/ inline ValidateAssessmentReportIntegrityResult& AddValidationErrors(const char* value) { m_validationErrors.push_back(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 ValidateAssessmentReportIntegrityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ValidateAssessmentReportIntegrityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ValidateAssessmentReportIntegrityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: bool m_signatureValid; Aws::String m_signatureAlgorithm; Aws::String m_signatureDateTime; Aws::String m_signatureKeyId; Aws::Vector m_validationErrors; Aws::String m_requestId; }; } // namespace Model } // namespace AuditManager } // namespace Aws