/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The input for the UpdateCertificate 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 UpdateCertificateRequest& 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 UpdateCertificateRequest& 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 UpdateCertificateRequest& WithCertificateId(const char* value) { SetCertificateId(value); return *this;} /** *The new status.
Note: Setting the status to PENDING_TRANSFER * or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER * and PENDING_ACTIVATION are statuses used internally by IoT. They are not * intended for developer use.
Note: The status value * REGISTER_INACTIVE is deprecated and should not be used.
*/ inline const CertificateStatus& GetNewStatus() const{ return m_newStatus; } /** *The new status.
Note: Setting the status to PENDING_TRANSFER * or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER * and PENDING_ACTIVATION are statuses used internally by IoT. They are not * intended for developer use.
Note: The status value * REGISTER_INACTIVE is deprecated and should not be used.
*/ inline bool NewStatusHasBeenSet() const { return m_newStatusHasBeenSet; } /** *The new status.
Note: Setting the status to PENDING_TRANSFER * or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER * and PENDING_ACTIVATION are statuses used internally by IoT. They are not * intended for developer use.
Note: The status value * REGISTER_INACTIVE is deprecated and should not be used.
*/ inline void SetNewStatus(const CertificateStatus& value) { m_newStatusHasBeenSet = true; m_newStatus = value; } /** *The new status.
Note: Setting the status to PENDING_TRANSFER * or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER * and PENDING_ACTIVATION are statuses used internally by IoT. They are not * intended for developer use.
Note: The status value * REGISTER_INACTIVE is deprecated and should not be used.
*/ inline void SetNewStatus(CertificateStatus&& value) { m_newStatusHasBeenSet = true; m_newStatus = std::move(value); } /** *The new status.
Note: Setting the status to PENDING_TRANSFER * or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER * and PENDING_ACTIVATION are statuses used internally by IoT. They are not * intended for developer use.
Note: The status value * REGISTER_INACTIVE is deprecated and should not be used.
*/ inline UpdateCertificateRequest& WithNewStatus(const CertificateStatus& value) { SetNewStatus(value); return *this;} /** *The new status.
Note: Setting the status to PENDING_TRANSFER * or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER * and PENDING_ACTIVATION are statuses used internally by IoT. They are not * intended for developer use.
Note: The status value * REGISTER_INACTIVE is deprecated and should not be used.
*/ inline UpdateCertificateRequest& WithNewStatus(CertificateStatus&& value) { SetNewStatus(std::move(value)); return *this;} private: Aws::String m_certificateId; bool m_certificateIdHasBeenSet = false; CertificateStatus m_newStatus; bool m_newStatusHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws