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

The metadata of a framework, such as the name, ID, or description. *

See Also:

AWS * API Reference

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

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 FrameworkMetadata& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the framework.

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

The name of the framework.

*/ inline FrameworkMetadata& WithName(const char* value) { SetName(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 FrameworkMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the framework.

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

The description of the framework.

*/ inline FrameworkMetadata& 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 FrameworkMetadata& WithLogo(const Aws::String& value) { SetLogo(value); return *this;} /** *

The logo that's associated with the framework.

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

The logo that's associated with the framework.

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

The compliance standard that's associated with the framework. For example, * this could be PCI DSS or HIPAA.

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

The compliance standard that's associated with the framework. For example, * this could be PCI DSS or HIPAA.

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

The compliance standard that's associated with the framework. For example, * this could be PCI DSS or HIPAA.

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

The compliance standard that's associated with the framework. For example, * this could be PCI DSS or HIPAA.

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

The compliance standard that's associated with the framework. For example, * this could be PCI DSS or HIPAA.

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

The compliance standard that's associated with the framework. For example, * this could be PCI DSS or HIPAA.

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

The compliance standard that's associated with the framework. For example, * this could be PCI DSS or HIPAA.

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

The compliance standard that's associated with the framework. For example, * this could be PCI DSS or HIPAA.

*/ inline FrameworkMetadata& WithComplianceType(const char* value) { SetComplianceType(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_logo; bool m_logoHasBeenSet = false; Aws::String m_complianceType; bool m_complianceTypeHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws