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

A controlSet entity that represents a collection of controls in * Audit Manager. This doesn't contain the control set ID.

See * Also:

AWS * API Reference

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

The name of the control set.

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

The name of the control set.

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

The name of the control set.

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

The name of the control set.

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

The name of the control set.

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

The name of the control set.

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

The name of the control set.

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

The name of the control set.

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

The list of controls within the control set. This doesn't contain the * control set ID.

*/ inline const Aws::Vector& GetControls() const{ return m_controls; } /** *

The list of controls within the control set. This doesn't contain the * control set ID.

*/ inline bool ControlsHasBeenSet() const { return m_controlsHasBeenSet; } /** *

The list of controls within the control set. This doesn't contain the * control set ID.

*/ inline void SetControls(const Aws::Vector& value) { m_controlsHasBeenSet = true; m_controls = value; } /** *

The list of controls within the control set. This doesn't contain the * control set ID.

*/ inline void SetControls(Aws::Vector&& value) { m_controlsHasBeenSet = true; m_controls = std::move(value); } /** *

The list of controls within the control set. This doesn't contain the * control set ID.

*/ inline CreateAssessmentFrameworkControlSet& WithControls(const Aws::Vector& value) { SetControls(value); return *this;} /** *

The list of controls within the control set. This doesn't contain the * control set ID.

*/ inline CreateAssessmentFrameworkControlSet& WithControls(Aws::Vector&& value) { SetControls(std::move(value)); return *this;} /** *

The list of controls within the control set. This doesn't contain the * control set ID.

*/ inline CreateAssessmentFrameworkControlSet& AddControls(const CreateAssessmentFrameworkControl& value) { m_controlsHasBeenSet = true; m_controls.push_back(value); return *this; } /** *

The list of controls within the control set. This doesn't contain the * control set ID.

*/ inline CreateAssessmentFrameworkControlSet& AddControls(CreateAssessmentFrameworkControl&& value) { m_controlsHasBeenSet = true; m_controls.push_back(std::move(value)); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector m_controls; bool m_controlsHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws