/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Revocation information for a signing job.See Also:
AWS
* API Reference
A caller-supplied reason for revocation.
*/ inline const Aws::String& GetReason() const{ return m_reason; } /** *A caller-supplied reason for revocation.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *A caller-supplied reason for revocation.
*/ inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *A caller-supplied reason for revocation.
*/ inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *A caller-supplied reason for revocation.
*/ inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } /** *A caller-supplied reason for revocation.
*/ inline SigningJobRevocationRecord& WithReason(const Aws::String& value) { SetReason(value); return *this;} /** *A caller-supplied reason for revocation.
*/ inline SigningJobRevocationRecord& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} /** *A caller-supplied reason for revocation.
*/ inline SigningJobRevocationRecord& WithReason(const char* value) { SetReason(value); return *this;} /** *The time of revocation.
*/ inline const Aws::Utils::DateTime& GetRevokedAt() const{ return m_revokedAt; } /** *The time of revocation.
*/ inline bool RevokedAtHasBeenSet() const { return m_revokedAtHasBeenSet; } /** *The time of revocation.
*/ inline void SetRevokedAt(const Aws::Utils::DateTime& value) { m_revokedAtHasBeenSet = true; m_revokedAt = value; } /** *The time of revocation.
*/ inline void SetRevokedAt(Aws::Utils::DateTime&& value) { m_revokedAtHasBeenSet = true; m_revokedAt = std::move(value); } /** *The time of revocation.
*/ inline SigningJobRevocationRecord& WithRevokedAt(const Aws::Utils::DateTime& value) { SetRevokedAt(value); return *this;} /** *The time of revocation.
*/ inline SigningJobRevocationRecord& WithRevokedAt(Aws::Utils::DateTime&& value) { SetRevokedAt(std::move(value)); return *this;} /** *The identity of the revoker.
*/ inline const Aws::String& GetRevokedBy() const{ return m_revokedBy; } /** *The identity of the revoker.
*/ inline bool RevokedByHasBeenSet() const { return m_revokedByHasBeenSet; } /** *The identity of the revoker.
*/ inline void SetRevokedBy(const Aws::String& value) { m_revokedByHasBeenSet = true; m_revokedBy = value; } /** *The identity of the revoker.
*/ inline void SetRevokedBy(Aws::String&& value) { m_revokedByHasBeenSet = true; m_revokedBy = std::move(value); } /** *The identity of the revoker.
*/ inline void SetRevokedBy(const char* value) { m_revokedByHasBeenSet = true; m_revokedBy.assign(value); } /** *The identity of the revoker.
*/ inline SigningJobRevocationRecord& WithRevokedBy(const Aws::String& value) { SetRevokedBy(value); return *this;} /** *The identity of the revoker.
*/ inline SigningJobRevocationRecord& WithRevokedBy(Aws::String&& value) { SetRevokedBy(std::move(value)); return *this;} /** *The identity of the revoker.
*/ inline SigningJobRevocationRecord& WithRevokedBy(const char* value) { SetRevokedBy(value); return *this;} private: Aws::String m_reason; bool m_reasonHasBeenSet = false; Aws::Utils::DateTime m_revokedAt; bool m_revokedAtHasBeenSet = false; Aws::String m_revokedBy; bool m_revokedByHasBeenSet = false; }; } // namespace Model } // namespace signer } // namespace Aws