/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The state of the certificate revocation list (CRL) after a read or write
* operation.See Also:
AWS
* API Reference
The ISO-8601 timestamp when the certificate revocation list (CRL) was * created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The ISO-8601 timestamp when the certificate revocation list (CRL) was * created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The ISO-8601 timestamp when the certificate revocation list (CRL) was * created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The ISO-8601 timestamp when the certificate revocation list (CRL) was * created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The ISO-8601 timestamp when the certificate revocation list (CRL) was * created.
*/ inline CrlDetail& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The ISO-8601 timestamp when the certificate revocation list (CRL) was * created.
*/ inline CrlDetail& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The ARN of the certificate revocation list (CRL).
*/ inline const Aws::String& GetCrlArn() const{ return m_crlArn; } /** *The ARN of the certificate revocation list (CRL).
*/ inline bool CrlArnHasBeenSet() const { return m_crlArnHasBeenSet; } /** *The ARN of the certificate revocation list (CRL).
*/ inline void SetCrlArn(const Aws::String& value) { m_crlArnHasBeenSet = true; m_crlArn = value; } /** *The ARN of the certificate revocation list (CRL).
*/ inline void SetCrlArn(Aws::String&& value) { m_crlArnHasBeenSet = true; m_crlArn = std::move(value); } /** *The ARN of the certificate revocation list (CRL).
*/ inline void SetCrlArn(const char* value) { m_crlArnHasBeenSet = true; m_crlArn.assign(value); } /** *The ARN of the certificate revocation list (CRL).
*/ inline CrlDetail& WithCrlArn(const Aws::String& value) { SetCrlArn(value); return *this;} /** *The ARN of the certificate revocation list (CRL).
*/ inline CrlDetail& WithCrlArn(Aws::String&& value) { SetCrlArn(std::move(value)); return *this;} /** *The ARN of the certificate revocation list (CRL).
*/ inline CrlDetail& WithCrlArn(const char* value) { SetCrlArn(value); return *this;} /** *The state of the certificate revocation list (CRL) after a read or write * operation.
*/ inline const Aws::Utils::ByteBuffer& GetCrlData() const{ return m_crlData; } /** *The state of the certificate revocation list (CRL) after a read or write * operation.
*/ inline bool CrlDataHasBeenSet() const { return m_crlDataHasBeenSet; } /** *The state of the certificate revocation list (CRL) after a read or write * operation.
*/ inline void SetCrlData(const Aws::Utils::ByteBuffer& value) { m_crlDataHasBeenSet = true; m_crlData = value; } /** *The state of the certificate revocation list (CRL) after a read or write * operation.
*/ inline void SetCrlData(Aws::Utils::ByteBuffer&& value) { m_crlDataHasBeenSet = true; m_crlData = std::move(value); } /** *The state of the certificate revocation list (CRL) after a read or write * operation.
*/ inline CrlDetail& WithCrlData(const Aws::Utils::ByteBuffer& value) { SetCrlData(value); return *this;} /** *The state of the certificate revocation list (CRL) after a read or write * operation.
*/ inline CrlDetail& WithCrlData(Aws::Utils::ByteBuffer&& value) { SetCrlData(std::move(value)); return *this;} /** *The unique identifier of the certificate revocation list (CRL).
*/ inline const Aws::String& GetCrlId() const{ return m_crlId; } /** *The unique identifier of the certificate revocation list (CRL).
*/ inline bool CrlIdHasBeenSet() const { return m_crlIdHasBeenSet; } /** *The unique identifier of the certificate revocation list (CRL).
*/ inline void SetCrlId(const Aws::String& value) { m_crlIdHasBeenSet = true; m_crlId = value; } /** *The unique identifier of the certificate revocation list (CRL).
*/ inline void SetCrlId(Aws::String&& value) { m_crlIdHasBeenSet = true; m_crlId = std::move(value); } /** *The unique identifier of the certificate revocation list (CRL).
*/ inline void SetCrlId(const char* value) { m_crlIdHasBeenSet = true; m_crlId.assign(value); } /** *The unique identifier of the certificate revocation list (CRL).
*/ inline CrlDetail& WithCrlId(const Aws::String& value) { SetCrlId(value); return *this;} /** *The unique identifier of the certificate revocation list (CRL).
*/ inline CrlDetail& WithCrlId(Aws::String&& value) { SetCrlId(std::move(value)); return *this;} /** *The unique identifier of the certificate revocation list (CRL).
*/ inline CrlDetail& WithCrlId(const char* value) { SetCrlId(value); return *this;} /** *Indicates whether the certificate revocation list (CRL) is enabled.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Indicates whether the certificate revocation list (CRL) is enabled.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Indicates whether the certificate revocation list (CRL) is enabled.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Indicates whether the certificate revocation list (CRL) is enabled.
*/ inline CrlDetail& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *The name of the certificate revocation list (CRL).
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the certificate revocation list (CRL).
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the certificate revocation list (CRL).
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the certificate revocation list (CRL).
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the certificate revocation list (CRL).
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the certificate revocation list (CRL).
*/ inline CrlDetail& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the certificate revocation list (CRL).
*/ inline CrlDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the certificate revocation list (CRL).
*/ inline CrlDetail& WithName(const char* value) { SetName(value); return *this;} /** *The ARN of the TrustAnchor the certificate revocation list (CRL) will provide * revocation for.
*/ inline const Aws::String& GetTrustAnchorArn() const{ return m_trustAnchorArn; } /** *The ARN of the TrustAnchor the certificate revocation list (CRL) will provide * revocation for.
*/ inline bool TrustAnchorArnHasBeenSet() const { return m_trustAnchorArnHasBeenSet; } /** *The ARN of the TrustAnchor the certificate revocation list (CRL) will provide * revocation for.
*/ inline void SetTrustAnchorArn(const Aws::String& value) { m_trustAnchorArnHasBeenSet = true; m_trustAnchorArn = value; } /** *The ARN of the TrustAnchor the certificate revocation list (CRL) will provide * revocation for.
*/ inline void SetTrustAnchorArn(Aws::String&& value) { m_trustAnchorArnHasBeenSet = true; m_trustAnchorArn = std::move(value); } /** *The ARN of the TrustAnchor the certificate revocation list (CRL) will provide * revocation for.
*/ inline void SetTrustAnchorArn(const char* value) { m_trustAnchorArnHasBeenSet = true; m_trustAnchorArn.assign(value); } /** *The ARN of the TrustAnchor the certificate revocation list (CRL) will provide * revocation for.
*/ inline CrlDetail& WithTrustAnchorArn(const Aws::String& value) { SetTrustAnchorArn(value); return *this;} /** *The ARN of the TrustAnchor the certificate revocation list (CRL) will provide * revocation for.
*/ inline CrlDetail& WithTrustAnchorArn(Aws::String&& value) { SetTrustAnchorArn(std::move(value)); return *this;} /** *The ARN of the TrustAnchor the certificate revocation list (CRL) will provide * revocation for.
*/ inline CrlDetail& WithTrustAnchorArn(const char* value) { SetTrustAnchorArn(value); return *this;} /** *The ISO-8601 timestamp when the certificate revocation list (CRL) was last * updated.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *The ISO-8601 timestamp when the certificate revocation list (CRL) was last * updated.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *The ISO-8601 timestamp when the certificate revocation list (CRL) was last * updated.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *The ISO-8601 timestamp when the certificate revocation list (CRL) was last * updated.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *The ISO-8601 timestamp when the certificate revocation list (CRL) was last * updated.
*/ inline CrlDetail& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *The ISO-8601 timestamp when the certificate revocation list (CRL) was last * updated.
*/ inline CrlDetail& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_crlArn; bool m_crlArnHasBeenSet = false; Aws::Utils::ByteBuffer m_crlData; bool m_crlDataHasBeenSet = false; Aws::String m_crlId; bool m_crlIdHasBeenSet = false; bool m_enabled; bool m_enabledHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_trustAnchorArn; bool m_trustAnchorArnHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace RolesAnywhere } // namespace Aws