/** * 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 namespace Aws { namespace AuditManager { namespace Model { /** */ class CreateAssessmentFrameworkRequest : public AuditManagerRequest { public: AWS_AUDITMANAGER_API CreateAssessmentFrameworkRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateAssessmentFramework"; } AWS_AUDITMANAGER_API Aws::String SerializePayload() const override; /** *

The name of the new custom framework.

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

The name of the new custom framework.

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

The name of the new custom framework.

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

The name of the new custom framework.

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

The name of the new custom framework.

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

The name of the new custom framework.

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

The name of the new custom framework.

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

The name of the new custom framework.

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

An optional description for the new custom framework.

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

An optional description for the new custom framework.

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

An optional description for the new custom framework.

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

An optional description for the new custom framework.

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

An optional description for the new custom framework.

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

An optional description for the new custom framework.

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

An optional description for the new custom framework.

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

An optional description for the new custom framework.

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

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

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

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

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

The compliance type that the new custom 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 new custom 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 new custom 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 new custom framework supports, such as CIS or * HIPAA.

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

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

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

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

*/ inline CreateAssessmentFrameworkRequest& WithComplianceType(const char* value) { SetComplianceType(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 CreateAssessmentFrameworkRequest& WithControlSets(const Aws::Vector& value) { SetControlSets(value); return *this;} /** *

The control sets that are associated with the framework.

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

The control sets that are associated with the framework.

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

The control sets that are associated with the framework.

*/ inline CreateAssessmentFrameworkRequest& AddControlSets(CreateAssessmentFrameworkControlSet&& value) { m_controlSetsHasBeenSet = true; m_controlSets.push_back(std::move(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 CreateAssessmentFrameworkRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags that are associated with the framework.

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

The tags that are associated with the framework.

*/ inline CreateAssessmentFrameworkRequest& 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 CreateAssessmentFrameworkRequest& 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 CreateAssessmentFrameworkRequest& 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 CreateAssessmentFrameworkRequest& 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 CreateAssessmentFrameworkRequest& 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 CreateAssessmentFrameworkRequest& 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 CreateAssessmentFrameworkRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_complianceType; bool m_complianceTypeHasBeenSet = false; Aws::Vector m_controlSets; bool m_controlSetsHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws