/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AuditManager { namespace Model { /** *

The file that's used to structure and automate Audit Manager assessments for * a given compliance standard.

See Also:

AWS * API Reference

*/ class Framework { public: AWS_AUDITMANAGER_API Framework(); AWS_AUDITMANAGER_API Framework(Aws::Utils::Json::JsonView jsonValue); AWS_AUDITMANAGER_API Framework& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the framework.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the framework.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the framework.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the framework.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the framework.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the framework.

*/ inline Framework& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the framework.

*/ inline Framework& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the framework.

*/ inline Framework& WithArn(const char* value) { SetArn(value); return *this;} /** *

The unique identifier for the framework.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The unique identifier for the framework.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The unique identifier for the framework.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The unique identifier for the framework.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The unique identifier for the framework.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The unique identifier for the framework.

*/ inline Framework& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The unique identifier for the framework.

*/ inline Framework& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The unique identifier for the framework.

*/ inline Framework& WithId(const char* value) { SetId(value); return *this;} /** *

The name of the framework.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the framework.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the framework.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the framework.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the framework.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the framework.

*/ inline Framework& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the framework.

*/ inline Framework& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the framework.

*/ inline Framework& WithName(const char* value) { SetName(value); return *this;} /** *

Specifies whether the framework is a standard framework or a custom * framework.

*/ inline const FrameworkType& GetType() const{ return m_type; } /** *

Specifies whether the framework is a standard framework or a custom * framework.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

Specifies whether the framework is a standard framework or a custom * framework.

*/ inline void SetType(const FrameworkType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

Specifies whether the framework is a standard framework or a custom * framework.

*/ inline void SetType(FrameworkType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

Specifies whether the framework is a standard framework or a custom * framework.

*/ inline Framework& WithType(const FrameworkType& value) { SetType(value); return *this;} /** *

Specifies whether the framework is a standard framework or a custom * framework.

*/ inline Framework& WithType(FrameworkType&& value) { SetType(std::move(value)); return *this;} /** *

The compliance type that the framework supports, such as CIS or HIPAA.

*/ inline const Aws::String& GetComplianceType() const{ return m_complianceType; } /** *

The compliance type that the framework supports, such as CIS or HIPAA.

*/ inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; } /** *

The compliance type that the framework supports, such as CIS or HIPAA.

*/ inline void SetComplianceType(const Aws::String& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; } /** *

The compliance type that the framework supports, such as CIS or HIPAA.

*/ inline void SetComplianceType(Aws::String&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); } /** *

The compliance type that the framework supports, such as CIS or HIPAA.

*/ inline void SetComplianceType(const char* value) { m_complianceTypeHasBeenSet = true; m_complianceType.assign(value); } /** *

The compliance type that the framework supports, such as CIS or HIPAA.

*/ inline Framework& WithComplianceType(const Aws::String& value) { SetComplianceType(value); return *this;} /** *

The compliance type that the framework supports, such as CIS or HIPAA.

*/ inline Framework& WithComplianceType(Aws::String&& value) { SetComplianceType(std::move(value)); return *this;} /** *

The compliance type that the framework supports, such as CIS or HIPAA.

*/ inline Framework& WithComplianceType(const char* value) { SetComplianceType(value); return *this;} /** *

The description of the framework.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the framework.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the framework.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the framework.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the framework.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the framework.

*/ inline Framework& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the framework.

*/ inline Framework& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the framework.

*/ inline Framework& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The logo that's associated with the framework.

*/ inline const Aws::String& GetLogo() const{ return m_logo; } /** *

The logo that's associated with the framework.

*/ inline bool LogoHasBeenSet() const { return m_logoHasBeenSet; } /** *

The logo that's associated with the framework.

*/ inline void SetLogo(const Aws::String& value) { m_logoHasBeenSet = true; m_logo = value; } /** *

The logo that's associated with the framework.

*/ inline void SetLogo(Aws::String&& value) { m_logoHasBeenSet = true; m_logo = std::move(value); } /** *

The logo that's associated with the framework.

*/ inline void SetLogo(const char* value) { m_logoHasBeenSet = true; m_logo.assign(value); } /** *

The logo that's associated with the framework.

*/ inline Framework& WithLogo(const Aws::String& value) { SetLogo(value); return *this;} /** *

The logo that's associated with the framework.

*/ inline Framework& WithLogo(Aws::String&& value) { SetLogo(std::move(value)); return *this;} /** *

The logo that's associated with the framework.

*/ inline Framework& WithLogo(const char* value) { SetLogo(value); return *this;} /** *

The control data sources where Audit Manager collects evidence from.

*/ inline const Aws::String& GetControlSources() const{ return m_controlSources; } /** *

The control data sources where Audit Manager collects evidence from.

*/ inline bool ControlSourcesHasBeenSet() const { return m_controlSourcesHasBeenSet; } /** *

The control data sources where Audit Manager collects evidence from.

*/ inline void SetControlSources(const Aws::String& value) { m_controlSourcesHasBeenSet = true; m_controlSources = value; } /** *

The control data sources where Audit Manager collects evidence from.

*/ inline void SetControlSources(Aws::String&& value) { m_controlSourcesHasBeenSet = true; m_controlSources = std::move(value); } /** *

The control data sources where Audit Manager collects evidence from.

*/ inline void SetControlSources(const char* value) { m_controlSourcesHasBeenSet = true; m_controlSources.assign(value); } /** *

The control data sources where Audit Manager collects evidence from.

*/ inline Framework& WithControlSources(const Aws::String& value) { SetControlSources(value); return *this;} /** *

The control data sources where Audit Manager collects evidence from.

*/ inline Framework& WithControlSources(Aws::String&& value) { SetControlSources(std::move(value)); return *this;} /** *

The control data sources where Audit Manager collects evidence from.

*/ inline Framework& WithControlSources(const char* value) { SetControlSources(value); return *this;} /** *

The control sets that are associated with the framework.

*/ inline const Aws::Vector& GetControlSets() const{ return m_controlSets; } /** *

The control sets that are associated with the framework.

*/ inline bool ControlSetsHasBeenSet() const { return m_controlSetsHasBeenSet; } /** *

The control sets that are associated with the framework.

*/ inline void SetControlSets(const Aws::Vector& value) { m_controlSetsHasBeenSet = true; m_controlSets = value; } /** *

The control sets that are associated with the framework.

*/ inline void SetControlSets(Aws::Vector&& value) { m_controlSetsHasBeenSet = true; m_controlSets = std::move(value); } /** *

The control sets that are associated with the framework.

*/ inline Framework& WithControlSets(const Aws::Vector& value) { SetControlSets(value); return *this;} /** *

The control sets that are associated with the framework.

*/ inline Framework& WithControlSets(Aws::Vector&& value) { SetControlSets(std::move(value)); return *this;} /** *

The control sets that are associated with the framework.

*/ inline Framework& AddControlSets(const ControlSet& value) { m_controlSetsHasBeenSet = true; m_controlSets.push_back(value); return *this; } /** *

The control sets that are associated with the framework.

*/ inline Framework& AddControlSets(ControlSet&& value) { m_controlSetsHasBeenSet = true; m_controlSets.push_back(std::move(value)); return *this; } /** *

The time when the framework was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The time when the framework was created.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The time when the framework was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

The time when the framework was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

The time when the framework was created.

*/ inline Framework& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The time when the framework was created.

*/ inline Framework& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The time when the framework was most recently updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *

The time when the framework was most recently updated.

*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *

The time when the framework was most recently updated.

*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *

The time when the framework was most recently updated.

*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *

The time when the framework was most recently updated.

*/ inline Framework& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *

The time when the framework was most recently updated.

*/ inline Framework& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *

The user or role that created the framework.

*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *

The user or role that created the framework.

*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *

The user or role that created the framework.

*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *

The user or role that created the framework.

*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *

The user or role that created the framework.

*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *

The user or role that created the framework.

*/ inline Framework& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *

The user or role that created the framework.

*/ inline Framework& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

The user or role that created the framework.

*/ inline Framework& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *

The user or role that most recently updated the framework.

*/ inline const Aws::String& GetLastUpdatedBy() const{ return m_lastUpdatedBy; } /** *

The user or role that most recently updated the framework.

*/ inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; } /** *

The user or role that most recently updated the framework.

*/ inline void SetLastUpdatedBy(const Aws::String& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = value; } /** *

The user or role that most recently updated the framework.

*/ inline void SetLastUpdatedBy(Aws::String&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::move(value); } /** *

The user or role that most recently updated the framework.

*/ inline void SetLastUpdatedBy(const char* value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy.assign(value); } /** *

The user or role that most recently updated the framework.

*/ inline Framework& WithLastUpdatedBy(const Aws::String& value) { SetLastUpdatedBy(value); return *this;} /** *

The user or role that most recently updated the framework.

*/ inline Framework& WithLastUpdatedBy(Aws::String&& value) { SetLastUpdatedBy(std::move(value)); return *this;} /** *

The user or role that most recently updated the framework.

*/ inline Framework& WithLastUpdatedBy(const char* value) { SetLastUpdatedBy(value); return *this;} /** *

The tags that are associated with the framework.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags that are associated with the framework.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags that are associated with the framework.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags that are associated with the framework.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags that are associated with the framework.

*/ inline Framework& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags that are associated with the framework.

*/ inline Framework& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags that are associated with the framework.

*/ inline Framework& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The tags that are associated with the framework.

*/ inline Framework& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags that are associated with the framework.

*/ inline Framework& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags that are associated with the framework.

*/ inline Framework& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags that are associated with the framework.

*/ inline Framework& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags that are associated with the framework.

*/ inline Framework& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags that are associated with the framework.

*/ inline Framework& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; FrameworkType m_type; bool m_typeHasBeenSet = false; Aws::String m_complianceType; bool m_complianceTypeHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_logo; bool m_logoHasBeenSet = false; Aws::String m_controlSources; bool m_controlSourcesHasBeenSet = false; Aws::Vector m_controlSets; bool m_controlSetsHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; Aws::String m_createdBy; bool m_createdByHasBeenSet = false; Aws::String m_lastUpdatedBy; bool m_lastUpdatedByHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws