AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateAssessmentFrameworkControlSet.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/auditmanager/model/CreateAssessmentFrameworkControl.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AuditManager
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_AUDITMANAGER_API UpdateAssessmentFrameworkControlSet() = default;
41 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 UpdateAssessmentFrameworkControlSet& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template<typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
64 template<typename NameT = Aws::String>
65 UpdateAssessmentFrameworkControlSet& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
67
69
72 inline const Aws::Vector<CreateAssessmentFrameworkControl>& GetControls() const { return m_controls; }
73 inline bool ControlsHasBeenSet() const { return m_controlsHasBeenSet; }
74 template<typename ControlsT = Aws::Vector<CreateAssessmentFrameworkControl>>
75 void SetControls(ControlsT&& value) { m_controlsHasBeenSet = true; m_controls = std::forward<ControlsT>(value); }
76 template<typename ControlsT = Aws::Vector<CreateAssessmentFrameworkControl>>
77 UpdateAssessmentFrameworkControlSet& WithControls(ControlsT&& value) { SetControls(std::forward<ControlsT>(value)); return *this;}
78 template<typename ControlsT = CreateAssessmentFrameworkControl>
79 UpdateAssessmentFrameworkControlSet& AddControls(ControlsT&& value) { m_controlsHasBeenSet = true; m_controls.emplace_back(std::forward<ControlsT>(value)); return *this; }
81 private:
82
83 Aws::String m_id;
84 bool m_idHasBeenSet = false;
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
90 bool m_controlsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace AuditManager
95} // namespace Aws
UpdateAssessmentFrameworkControlSet & AddControls(ControlsT &&value)
UpdateAssessmentFrameworkControlSet & WithControls(ControlsT &&value)
AWS_AUDITMANAGER_API UpdateAssessmentFrameworkControlSet()=default
const Aws::Vector< CreateAssessmentFrameworkControl > & GetControls() const
AWS_AUDITMANAGER_API UpdateAssessmentFrameworkControlSet(Aws::Utils::Json::JsonView jsonValue)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AUDITMANAGER_API UpdateAssessmentFrameworkControlSet & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue