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

The standard that you want to enable.

See Also:

AWS * API Reference

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

The ARN of the standard that you want to enable. To view the list of * available standards and their ARNs, use the DescribeStandards * operation.

*/ inline const Aws::String& GetStandardsArn() const{ return m_standardsArn; } /** *

The ARN of the standard that you want to enable. To view the list of * available standards and their ARNs, use the DescribeStandards * operation.

*/ inline bool StandardsArnHasBeenSet() const { return m_standardsArnHasBeenSet; } /** *

The ARN of the standard that you want to enable. To view the list of * available standards and their ARNs, use the DescribeStandards * operation.

*/ inline void SetStandardsArn(const Aws::String& value) { m_standardsArnHasBeenSet = true; m_standardsArn = value; } /** *

The ARN of the standard that you want to enable. To view the list of * available standards and their ARNs, use the DescribeStandards * operation.

*/ inline void SetStandardsArn(Aws::String&& value) { m_standardsArnHasBeenSet = true; m_standardsArn = std::move(value); } /** *

The ARN of the standard that you want to enable. To view the list of * available standards and their ARNs, use the DescribeStandards * operation.

*/ inline void SetStandardsArn(const char* value) { m_standardsArnHasBeenSet = true; m_standardsArn.assign(value); } /** *

The ARN of the standard that you want to enable. To view the list of * available standards and their ARNs, use the DescribeStandards * operation.

*/ inline StandardsSubscriptionRequest& WithStandardsArn(const Aws::String& value) { SetStandardsArn(value); return *this;} /** *

The ARN of the standard that you want to enable. To view the list of * available standards and their ARNs, use the DescribeStandards * operation.

*/ inline StandardsSubscriptionRequest& WithStandardsArn(Aws::String&& value) { SetStandardsArn(std::move(value)); return *this;} /** *

The ARN of the standard that you want to enable. To view the list of * available standards and their ARNs, use the DescribeStandards * operation.

*/ inline StandardsSubscriptionRequest& WithStandardsArn(const char* value) { SetStandardsArn(value); return *this;} /** *

A key-value pair of input for the standard.

*/ inline const Aws::Map& GetStandardsInput() const{ return m_standardsInput; } /** *

A key-value pair of input for the standard.

*/ inline bool StandardsInputHasBeenSet() const { return m_standardsInputHasBeenSet; } /** *

A key-value pair of input for the standard.

*/ inline void SetStandardsInput(const Aws::Map& value) { m_standardsInputHasBeenSet = true; m_standardsInput = value; } /** *

A key-value pair of input for the standard.

*/ inline void SetStandardsInput(Aws::Map&& value) { m_standardsInputHasBeenSet = true; m_standardsInput = std::move(value); } /** *

A key-value pair of input for the standard.

*/ inline StandardsSubscriptionRequest& WithStandardsInput(const Aws::Map& value) { SetStandardsInput(value); return *this;} /** *

A key-value pair of input for the standard.

*/ inline StandardsSubscriptionRequest& WithStandardsInput(Aws::Map&& value) { SetStandardsInput(std::move(value)); return *this;} /** *

A key-value pair of input for the standard.

*/ inline StandardsSubscriptionRequest& AddStandardsInput(const Aws::String& key, const Aws::String& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, value); return *this; } /** *

A key-value pair of input for the standard.

*/ inline StandardsSubscriptionRequest& AddStandardsInput(Aws::String&& key, const Aws::String& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(std::move(key), value); return *this; } /** *

A key-value pair of input for the standard.

*/ inline StandardsSubscriptionRequest& AddStandardsInput(const Aws::String& key, Aws::String&& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, std::move(value)); return *this; } /** *

A key-value pair of input for the standard.

*/ inline StandardsSubscriptionRequest& AddStandardsInput(Aws::String&& key, Aws::String&& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(std::move(key), std::move(value)); return *this; } /** *

A key-value pair of input for the standard.

*/ inline StandardsSubscriptionRequest& AddStandardsInput(const char* key, Aws::String&& value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, std::move(value)); return *this; } /** *

A key-value pair of input for the standard.

*/ inline StandardsSubscriptionRequest& AddStandardsInput(Aws::String&& key, const char* value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(std::move(key), value); return *this; } /** *

A key-value pair of input for the standard.

*/ inline StandardsSubscriptionRequest& AddStandardsInput(const char* key, const char* value) { m_standardsInputHasBeenSet = true; m_standardsInput.emplace(key, value); return *this; } private: Aws::String m_standardsArn; bool m_standardsArnHasBeenSet = false; Aws::Map m_standardsInput; bool m_standardsInputHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws