/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the response to a successful GetCredentialReport request.
* See Also:
AWS
* API Reference
Contains the credential report. The report is Base64-encoded.
*/ inline const Aws::Utils::ByteBuffer& GetContent() const{ return m_content; } /** *Contains the credential report. The report is Base64-encoded.
*/ inline void SetContent(const Aws::Utils::ByteBuffer& value) { m_content = value; } /** *Contains the credential report. The report is Base64-encoded.
*/ inline void SetContent(Aws::Utils::ByteBuffer&& value) { m_content = std::move(value); } /** *Contains the credential report. The report is Base64-encoded.
*/ inline GetCredentialReportResult& WithContent(const Aws::Utils::ByteBuffer& value) { SetContent(value); return *this;} /** *Contains the credential report. The report is Base64-encoded.
*/ inline GetCredentialReportResult& WithContent(Aws::Utils::ByteBuffer&& value) { SetContent(std::move(value)); return *this;} /** *The format (MIME type) of the credential report.
*/ inline const ReportFormatType& GetReportFormat() const{ return m_reportFormat; } /** *The format (MIME type) of the credential report.
*/ inline void SetReportFormat(const ReportFormatType& value) { m_reportFormat = value; } /** *The format (MIME type) of the credential report.
*/ inline void SetReportFormat(ReportFormatType&& value) { m_reportFormat = std::move(value); } /** *The format (MIME type) of the credential report.
*/ inline GetCredentialReportResult& WithReportFormat(const ReportFormatType& value) { SetReportFormat(value); return *this;} /** *The format (MIME type) of the credential report.
*/ inline GetCredentialReportResult& WithReportFormat(ReportFormatType&& value) { SetReportFormat(std::move(value)); return *this;} /** *The date and time when the credential report was created, in ISO 8601 date-time format.
*/ inline const Aws::Utils::DateTime& GetGeneratedTime() const{ return m_generatedTime; } /** *The date and time when the credential report was created, in ISO 8601 date-time format.
*/ inline void SetGeneratedTime(const Aws::Utils::DateTime& value) { m_generatedTime = value; } /** *The date and time when the credential report was created, in ISO 8601 date-time format.
*/ inline void SetGeneratedTime(Aws::Utils::DateTime&& value) { m_generatedTime = std::move(value); } /** *The date and time when the credential report was created, in ISO 8601 date-time format.
*/ inline GetCredentialReportResult& WithGeneratedTime(const Aws::Utils::DateTime& value) { SetGeneratedTime(value); return *this;} /** *The date and time when the credential report was created, in ISO 8601 date-time format.
*/ inline GetCredentialReportResult& WithGeneratedTime(Aws::Utils::DateTime&& value) { SetGeneratedTime(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline GetCredentialReportResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetCredentialReportResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Utils::ByteBuffer m_content; ReportFormatType m_reportFormat; Aws::Utils::DateTime m_generatedTime; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace IAM } // namespace Aws