/** * 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 UpdateAssessmentFrameworkControlSet { public: AWS_AUDITMANAGER_API UpdateAssessmentFrameworkControlSet(); AWS_AUDITMANAGER_API UpdateAssessmentFrameworkControlSet(Aws::Utils::Json::JsonView jsonValue); AWS_AUDITMANAGER_API UpdateAssessmentFrameworkControlSet& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifier for the control set.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The unique identifier for the control set.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The unique identifier for the control set.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The unique identifier for the control set.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The unique identifier for the control set.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The unique identifier for the control set.

*/ inline UpdateAssessmentFrameworkControlSet& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The unique identifier for the control set.

*/ inline UpdateAssessmentFrameworkControlSet& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The unique identifier for the control set.

*/ inline UpdateAssessmentFrameworkControlSet& WithId(const char* value) { SetId(value); return *this;} /** *

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

The name of the control set.

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

The name of the control set.

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

The list of controls that are contained within the control set.

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

The list of controls that are contained within the control set.

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

The list of controls that are contained within the control set.

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

The list of controls that are contained within the control set.

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

The list of controls that are contained within the control set.

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

The list of controls that are contained within the control set.

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

The list of controls that are contained within the control set.

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

The list of controls that are contained within the control set.

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