/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that contains information about a server certificate.See
* Also:
AWS
* API Reference
The ARN of the server certificate.
*/ inline const Aws::String& GetServerCertificateArn() const{ return m_serverCertificateArn; } /** *The ARN of the server certificate.
*/ inline bool ServerCertificateArnHasBeenSet() const { return m_serverCertificateArnHasBeenSet; } /** *The ARN of the server certificate.
*/ inline void SetServerCertificateArn(const Aws::String& value) { m_serverCertificateArnHasBeenSet = true; m_serverCertificateArn = value; } /** *The ARN of the server certificate.
*/ inline void SetServerCertificateArn(Aws::String&& value) { m_serverCertificateArnHasBeenSet = true; m_serverCertificateArn = std::move(value); } /** *The ARN of the server certificate.
*/ inline void SetServerCertificateArn(const char* value) { m_serverCertificateArnHasBeenSet = true; m_serverCertificateArn.assign(value); } /** *The ARN of the server certificate.
*/ inline ServerCertificateSummary& WithServerCertificateArn(const Aws::String& value) { SetServerCertificateArn(value); return *this;} /** *The ARN of the server certificate.
*/ inline ServerCertificateSummary& WithServerCertificateArn(Aws::String&& value) { SetServerCertificateArn(std::move(value)); return *this;} /** *The ARN of the server certificate.
*/ inline ServerCertificateSummary& WithServerCertificateArn(const char* value) { SetServerCertificateArn(value); return *this;} /** *The status of the server certificate.
*/ inline const ServerCertificateStatus& GetServerCertificateStatus() const{ return m_serverCertificateStatus; } /** *The status of the server certificate.
*/ inline bool ServerCertificateStatusHasBeenSet() const { return m_serverCertificateStatusHasBeenSet; } /** *The status of the server certificate.
*/ inline void SetServerCertificateStatus(const ServerCertificateStatus& value) { m_serverCertificateStatusHasBeenSet = true; m_serverCertificateStatus = value; } /** *The status of the server certificate.
*/ inline void SetServerCertificateStatus(ServerCertificateStatus&& value) { m_serverCertificateStatusHasBeenSet = true; m_serverCertificateStatus = std::move(value); } /** *The status of the server certificate.
*/ inline ServerCertificateSummary& WithServerCertificateStatus(const ServerCertificateStatus& value) { SetServerCertificateStatus(value); return *this;} /** *The status of the server certificate.
*/ inline ServerCertificateSummary& WithServerCertificateStatus(ServerCertificateStatus&& value) { SetServerCertificateStatus(std::move(value)); return *this;} /** *Details that explain the status of the server certificate.
*/ inline const Aws::String& GetServerCertificateStatusDetail() const{ return m_serverCertificateStatusDetail; } /** *Details that explain the status of the server certificate.
*/ inline bool ServerCertificateStatusDetailHasBeenSet() const { return m_serverCertificateStatusDetailHasBeenSet; } /** *Details that explain the status of the server certificate.
*/ inline void SetServerCertificateStatusDetail(const Aws::String& value) { m_serverCertificateStatusDetailHasBeenSet = true; m_serverCertificateStatusDetail = value; } /** *Details that explain the status of the server certificate.
*/ inline void SetServerCertificateStatusDetail(Aws::String&& value) { m_serverCertificateStatusDetailHasBeenSet = true; m_serverCertificateStatusDetail = std::move(value); } /** *Details that explain the status of the server certificate.
*/ inline void SetServerCertificateStatusDetail(const char* value) { m_serverCertificateStatusDetailHasBeenSet = true; m_serverCertificateStatusDetail.assign(value); } /** *Details that explain the status of the server certificate.
*/ inline ServerCertificateSummary& WithServerCertificateStatusDetail(const Aws::String& value) { SetServerCertificateStatusDetail(value); return *this;} /** *Details that explain the status of the server certificate.
*/ inline ServerCertificateSummary& WithServerCertificateStatusDetail(Aws::String&& value) { SetServerCertificateStatusDetail(std::move(value)); return *this;} /** *Details that explain the status of the server certificate.
*/ inline ServerCertificateSummary& WithServerCertificateStatusDetail(const char* value) { SetServerCertificateStatusDetail(value); return *this;} private: Aws::String m_serverCertificateArn; bool m_serverCertificateArnHasBeenSet = false; ServerCertificateStatus m_serverCertificateStatus; bool m_serverCertificateStatusHasBeenSet = false; Aws::String m_serverCertificateStatusDetail; bool m_serverCertificateStatusDetailHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws