/** * 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 SecurityHub { namespace Model { /** *

Provides details about the management of a security standard.

See * Also:

AWS * API Reference

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

An identifier for the company that manages a specific security standard. For * existing standards, the value is equal to Amazon Web Services.

*/ inline const Aws::String& GetCompany() const{ return m_company; } /** *

An identifier for the company that manages a specific security standard. For * existing standards, the value is equal to Amazon Web Services.

*/ inline bool CompanyHasBeenSet() const { return m_companyHasBeenSet; } /** *

An identifier for the company that manages a specific security standard. For * existing standards, the value is equal to Amazon Web Services.

*/ inline void SetCompany(const Aws::String& value) { m_companyHasBeenSet = true; m_company = value; } /** *

An identifier for the company that manages a specific security standard. For * existing standards, the value is equal to Amazon Web Services.

*/ inline void SetCompany(Aws::String&& value) { m_companyHasBeenSet = true; m_company = std::move(value); } /** *

An identifier for the company that manages a specific security standard. For * existing standards, the value is equal to Amazon Web Services.

*/ inline void SetCompany(const char* value) { m_companyHasBeenSet = true; m_company.assign(value); } /** *

An identifier for the company that manages a specific security standard. For * existing standards, the value is equal to Amazon Web Services.

*/ inline StandardsManagedBy& WithCompany(const Aws::String& value) { SetCompany(value); return *this;} /** *

An identifier for the company that manages a specific security standard. For * existing standards, the value is equal to Amazon Web Services.

*/ inline StandardsManagedBy& WithCompany(Aws::String&& value) { SetCompany(std::move(value)); return *this;} /** *

An identifier for the company that manages a specific security standard. For * existing standards, the value is equal to Amazon Web Services.

*/ inline StandardsManagedBy& WithCompany(const char* value) { SetCompany(value); return *this;} /** *

An identifier for the product that manages a specific security standard. For * existing standards, the value is equal to the Amazon Web Services service that * manages the standard.

*/ inline const Aws::String& GetProduct() const{ return m_product; } /** *

An identifier for the product that manages a specific security standard. For * existing standards, the value is equal to the Amazon Web Services service that * manages the standard.

*/ inline bool ProductHasBeenSet() const { return m_productHasBeenSet; } /** *

An identifier for the product that manages a specific security standard. For * existing standards, the value is equal to the Amazon Web Services service that * manages the standard.

*/ inline void SetProduct(const Aws::String& value) { m_productHasBeenSet = true; m_product = value; } /** *

An identifier for the product that manages a specific security standard. For * existing standards, the value is equal to the Amazon Web Services service that * manages the standard.

*/ inline void SetProduct(Aws::String&& value) { m_productHasBeenSet = true; m_product = std::move(value); } /** *

An identifier for the product that manages a specific security standard. For * existing standards, the value is equal to the Amazon Web Services service that * manages the standard.

*/ inline void SetProduct(const char* value) { m_productHasBeenSet = true; m_product.assign(value); } /** *

An identifier for the product that manages a specific security standard. For * existing standards, the value is equal to the Amazon Web Services service that * manages the standard.

*/ inline StandardsManagedBy& WithProduct(const Aws::String& value) { SetProduct(value); return *this;} /** *

An identifier for the product that manages a specific security standard. For * existing standards, the value is equal to the Amazon Web Services service that * manages the standard.

*/ inline StandardsManagedBy& WithProduct(Aws::String&& value) { SetProduct(std::move(value)); return *this;} /** *

An identifier for the product that manages a specific security standard. For * existing standards, the value is equal to the Amazon Web Services service that * manages the standard.

*/ inline StandardsManagedBy& WithProduct(const char* value) { SetProduct(value); return *this;} private: Aws::String m_company; bool m_companyHasBeenSet = false; Aws::String m_product; bool m_productHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws