/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Revocation information for a signing profile.See Also:
AWS
* API Reference
The time when revocation becomes effective.
*/ inline const Aws::Utils::DateTime& GetRevocationEffectiveFrom() const{ return m_revocationEffectiveFrom; } /** *The time when revocation becomes effective.
*/ inline bool RevocationEffectiveFromHasBeenSet() const { return m_revocationEffectiveFromHasBeenSet; } /** *The time when revocation becomes effective.
*/ inline void SetRevocationEffectiveFrom(const Aws::Utils::DateTime& value) { m_revocationEffectiveFromHasBeenSet = true; m_revocationEffectiveFrom = value; } /** *The time when revocation becomes effective.
*/ inline void SetRevocationEffectiveFrom(Aws::Utils::DateTime&& value) { m_revocationEffectiveFromHasBeenSet = true; m_revocationEffectiveFrom = std::move(value); } /** *The time when revocation becomes effective.
*/ inline SigningProfileRevocationRecord& WithRevocationEffectiveFrom(const Aws::Utils::DateTime& value) { SetRevocationEffectiveFrom(value); return *this;} /** *The time when revocation becomes effective.
*/ inline SigningProfileRevocationRecord& WithRevocationEffectiveFrom(Aws::Utils::DateTime&& value) { SetRevocationEffectiveFrom(std::move(value)); return *this;} /** *The time when the signing profile was revoked.
*/ inline const Aws::Utils::DateTime& GetRevokedAt() const{ return m_revokedAt; } /** *The time when the signing profile was revoked.
*/ inline bool RevokedAtHasBeenSet() const { return m_revokedAtHasBeenSet; } /** *The time when the signing profile was revoked.
*/ inline void SetRevokedAt(const Aws::Utils::DateTime& value) { m_revokedAtHasBeenSet = true; m_revokedAt = value; } /** *The time when the signing profile was revoked.
*/ inline void SetRevokedAt(Aws::Utils::DateTime&& value) { m_revokedAtHasBeenSet = true; m_revokedAt = std::move(value); } /** *The time when the signing profile was revoked.
*/ inline SigningProfileRevocationRecord& WithRevokedAt(const Aws::Utils::DateTime& value) { SetRevokedAt(value); return *this;} /** *The time when the signing profile was revoked.
*/ inline SigningProfileRevocationRecord& 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 SigningProfileRevocationRecord& WithRevokedBy(const Aws::String& value) { SetRevokedBy(value); return *this;} /** *The identity of the revoker.
*/ inline SigningProfileRevocationRecord& WithRevokedBy(Aws::String&& value) { SetRevokedBy(std::move(value)); return *this;} /** *The identity of the revoker.
*/ inline SigningProfileRevocationRecord& WithRevokedBy(const char* value) { SetRevokedBy(value); return *this;} private: Aws::Utils::DateTime m_revocationEffectiveFrom; bool m_revocationEffectiveFromHasBeenSet = false; Aws::Utils::DateTime m_revokedAt; bool m_revokedAtHasBeenSet = false; Aws::String m_revokedBy; bool m_revokedByHasBeenSet = false; }; } // namespace Model } // namespace signer } // namespace Aws