AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline UpdateAssessmentFrameworkControlSet& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline UpdateAssessmentFrameworkControlSet& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline UpdateAssessmentFrameworkControlSet& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline UpdateAssessmentFrameworkControlSet& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline UpdateAssessmentFrameworkControlSet& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline UpdateAssessmentFrameworkControlSet& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const Aws::Vector<CreateAssessmentFrameworkControl>& GetControls() const{ return m_controls; }
77 inline bool ControlsHasBeenSet() const { return m_controlsHasBeenSet; }
78 inline void SetControls(const Aws::Vector<CreateAssessmentFrameworkControl>& value) { m_controlsHasBeenSet = true; m_controls = value; }
79 inline void SetControls(Aws::Vector<CreateAssessmentFrameworkControl>&& value) { m_controlsHasBeenSet = true; m_controls = std::move(value); }
82 inline UpdateAssessmentFrameworkControlSet& AddControls(const CreateAssessmentFrameworkControl& value) { m_controlsHasBeenSet = true; m_controls.push_back(value); return *this; }
83 inline UpdateAssessmentFrameworkControlSet& AddControls(CreateAssessmentFrameworkControl&& value) { m_controlsHasBeenSet = true; m_controls.push_back(std::move(value)); return *this; }
85 private:
86
87 Aws::String m_id;
88 bool m_idHasBeenSet = false;
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
94 bool m_controlsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace AuditManager
99} // namespace Aws
UpdateAssessmentFrameworkControlSet & WithControls(const Aws::Vector< CreateAssessmentFrameworkControl > &value)
UpdateAssessmentFrameworkControlSet & WithId(const char *value)
UpdateAssessmentFrameworkControlSet & AddControls(const CreateAssessmentFrameworkControl &value)
void SetControls(Aws::Vector< CreateAssessmentFrameworkControl > &&value)
UpdateAssessmentFrameworkControlSet & WithName(const char *value)
UpdateAssessmentFrameworkControlSet & AddControls(CreateAssessmentFrameworkControl &&value)
const Aws::Vector< CreateAssessmentFrameworkControl > & GetControls() const
UpdateAssessmentFrameworkControlSet & WithName(const Aws::String &value)
AWS_AUDITMANAGER_API UpdateAssessmentFrameworkControlSet(Aws::Utils::Json::JsonView jsonValue)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateAssessmentFrameworkControlSet & WithId(Aws::String &&value)
UpdateAssessmentFrameworkControlSet & WithControls(Aws::Vector< CreateAssessmentFrameworkControl > &&value)
AWS_AUDITMANAGER_API UpdateAssessmentFrameworkControlSet & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateAssessmentFrameworkControlSet & WithId(const Aws::String &value)
void SetControls(const Aws::Vector< CreateAssessmentFrameworkControl > &value)
UpdateAssessmentFrameworkControlSet & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue