/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The input for the DeleteCertificate operation.See Also:
AWS
* API Reference
The ID of the certificate. (The last part of the certificate ARN contains the * certificate ID.)
*/ inline const Aws::String& GetCertificateId() const{ return m_certificateId; } /** *The ID of the certificate. (The last part of the certificate ARN contains the * certificate ID.)
*/ inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; } /** *The ID of the certificate. (The last part of the certificate ARN contains the * certificate ID.)
*/ inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; } /** *The ID of the certificate. (The last part of the certificate ARN contains the * certificate ID.)
*/ inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); } /** *The ID of the certificate. (The last part of the certificate ARN contains the * certificate ID.)
*/ inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); } /** *The ID of the certificate. (The last part of the certificate ARN contains the * certificate ID.)
*/ inline DeleteCertificateRequest& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;} /** *The ID of the certificate. (The last part of the certificate ARN contains the * certificate ID.)
*/ inline DeleteCertificateRequest& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;} /** *The ID of the certificate. (The last part of the certificate ARN contains the * certificate ID.)
*/ inline DeleteCertificateRequest& WithCertificateId(const char* value) { SetCertificateId(value); return *this;} /** *Forces the deletion of a certificate if it is inactive and is not attached to * an IoT thing.
*/ inline bool GetForceDelete() const{ return m_forceDelete; } /** *Forces the deletion of a certificate if it is inactive and is not attached to * an IoT thing.
*/ inline bool ForceDeleteHasBeenSet() const { return m_forceDeleteHasBeenSet; } /** *Forces the deletion of a certificate if it is inactive and is not attached to * an IoT thing.
*/ inline void SetForceDelete(bool value) { m_forceDeleteHasBeenSet = true; m_forceDelete = value; } /** *Forces the deletion of a certificate if it is inactive and is not attached to * an IoT thing.
*/ inline DeleteCertificateRequest& WithForceDelete(bool value) { SetForceDelete(value); return *this;} private: Aws::String m_certificateId; bool m_certificateIdHasBeenSet = false; bool m_forceDelete; bool m_forceDeleteHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws