/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The metadata objects that are associated with the specified assessment
* report. See Also:
AWS
* API Reference
The unique identifier for the assessment report.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique identifier for the assessment report.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique identifier for the assessment report.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique identifier for the assessment report.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique identifier for the assessment report.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique identifier for the assessment report.
*/ inline AssessmentReportMetadata& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique identifier for the assessment report.
*/ inline AssessmentReportMetadata& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique identifier for the assessment report.
*/ inline AssessmentReportMetadata& WithId(const char* value) { SetId(value); return *this;} /** *The name of the assessment report.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the assessment report.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the assessment report.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the assessment report.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the assessment report.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the assessment report.
*/ inline AssessmentReportMetadata& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the assessment report.
*/ inline AssessmentReportMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the assessment report.
*/ inline AssessmentReportMetadata& WithName(const char* value) { SetName(value); return *this;} /** *The description of the assessment report.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the assessment report.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the assessment report.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the assessment report.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the assessment report.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the assessment report.
*/ inline AssessmentReportMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the assessment report.
*/ inline AssessmentReportMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the assessment report.
*/ inline AssessmentReportMetadata& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The unique identifier for the associated assessment.
*/ inline const Aws::String& GetAssessmentId() const{ return m_assessmentId; } /** *The unique identifier for the associated assessment.
*/ inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; } /** *The unique identifier for the associated assessment.
*/ inline void SetAssessmentId(const Aws::String& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = value; } /** *The unique identifier for the associated assessment.
*/ inline void SetAssessmentId(Aws::String&& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = std::move(value); } /** *The unique identifier for the associated assessment.
*/ inline void SetAssessmentId(const char* value) { m_assessmentIdHasBeenSet = true; m_assessmentId.assign(value); } /** *The unique identifier for the associated assessment.
*/ inline AssessmentReportMetadata& WithAssessmentId(const Aws::String& value) { SetAssessmentId(value); return *this;} /** *The unique identifier for the associated assessment.
*/ inline AssessmentReportMetadata& WithAssessmentId(Aws::String&& value) { SetAssessmentId(std::move(value)); return *this;} /** *The unique identifier for the associated assessment.
*/ inline AssessmentReportMetadata& WithAssessmentId(const char* value) { SetAssessmentId(value); return *this;} /** *The name of the associated assessment.
*/ inline const Aws::String& GetAssessmentName() const{ return m_assessmentName; } /** *The name of the associated assessment.
*/ inline bool AssessmentNameHasBeenSet() const { return m_assessmentNameHasBeenSet; } /** *The name of the associated assessment.
*/ inline void SetAssessmentName(const Aws::String& value) { m_assessmentNameHasBeenSet = true; m_assessmentName = value; } /** *The name of the associated assessment.
*/ inline void SetAssessmentName(Aws::String&& value) { m_assessmentNameHasBeenSet = true; m_assessmentName = std::move(value); } /** *The name of the associated assessment.
*/ inline void SetAssessmentName(const char* value) { m_assessmentNameHasBeenSet = true; m_assessmentName.assign(value); } /** *The name of the associated assessment.
*/ inline AssessmentReportMetadata& WithAssessmentName(const Aws::String& value) { SetAssessmentName(value); return *this;} /** *The name of the associated assessment.
*/ inline AssessmentReportMetadata& WithAssessmentName(Aws::String&& value) { SetAssessmentName(std::move(value)); return *this;} /** *The name of the associated assessment.
*/ inline AssessmentReportMetadata& WithAssessmentName(const char* value) { SetAssessmentName(value); return *this;} /** *The name of the user who created the assessment report.
*/ inline const Aws::String& GetAuthor() const{ return m_author; } /** *The name of the user who created the assessment report.
*/ inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; } /** *The name of the user who created the assessment report.
*/ inline void SetAuthor(const Aws::String& value) { m_authorHasBeenSet = true; m_author = value; } /** *The name of the user who created the assessment report.
*/ inline void SetAuthor(Aws::String&& value) { m_authorHasBeenSet = true; m_author = std::move(value); } /** *The name of the user who created the assessment report.
*/ inline void SetAuthor(const char* value) { m_authorHasBeenSet = true; m_author.assign(value); } /** *The name of the user who created the assessment report.
*/ inline AssessmentReportMetadata& WithAuthor(const Aws::String& value) { SetAuthor(value); return *this;} /** *The name of the user who created the assessment report.
*/ inline AssessmentReportMetadata& WithAuthor(Aws::String&& value) { SetAuthor(std::move(value)); return *this;} /** *The name of the user who created the assessment report.
*/ inline AssessmentReportMetadata& WithAuthor(const char* value) { SetAuthor(value); return *this;} /** *The current status of the assessment report.
*/ inline const AssessmentReportStatus& GetStatus() const{ return m_status; } /** *The current status of the assessment report.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status of the assessment report.
*/ inline void SetStatus(const AssessmentReportStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status of the assessment report.
*/ inline void SetStatus(AssessmentReportStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status of the assessment report.
*/ inline AssessmentReportMetadata& WithStatus(const AssessmentReportStatus& value) { SetStatus(value); return *this;} /** *The current status of the assessment report.
*/ inline AssessmentReportMetadata& WithStatus(AssessmentReportStatus&& value) { SetStatus(std::move(value)); return *this;} /** *Specifies when the assessment report was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *Specifies when the assessment report was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *Specifies when the assessment report was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *Specifies when the assessment report was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *Specifies when the assessment report was created.
*/ inline AssessmentReportMetadata& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *Specifies when the assessment report was created.
*/ inline AssessmentReportMetadata& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_assessmentId; bool m_assessmentIdHasBeenSet = false; Aws::String m_assessmentName; bool m_assessmentNameHasBeenSet = false; Aws::String m_author; bool m_authorHasBeenSet = false; AssessmentReportStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws