AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAssessmentFrameworkControlSet.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& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline CreateAssessmentFrameworkControlSet& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline CreateAssessmentFrameworkControlSet& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline CreateAssessmentFrameworkControlSet& WithName(const char* value) { SetName(value); return *this;}
57
59
63 inline const Aws::Vector<CreateAssessmentFrameworkControl>& GetControls() const{ return m_controls; }
64 inline bool ControlsHasBeenSet() const { return m_controlsHasBeenSet; }
65 inline void SetControls(const Aws::Vector<CreateAssessmentFrameworkControl>& value) { m_controlsHasBeenSet = true; m_controls = value; }
66 inline void SetControls(Aws::Vector<CreateAssessmentFrameworkControl>&& value) { m_controlsHasBeenSet = true; m_controls = std::move(value); }
69 inline CreateAssessmentFrameworkControlSet& AddControls(const CreateAssessmentFrameworkControl& value) { m_controlsHasBeenSet = true; m_controls.push_back(value); return *this; }
70 inline CreateAssessmentFrameworkControlSet& AddControls(CreateAssessmentFrameworkControl&& value) { m_controlsHasBeenSet = true; m_controls.push_back(std::move(value)); return *this; }
72 private:
73
74 Aws::String m_name;
75 bool m_nameHasBeenSet = false;
76
78 bool m_controlsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace AuditManager
83} // namespace Aws
void SetControls(const Aws::Vector< CreateAssessmentFrameworkControl > &value)
AWS_AUDITMANAGER_API CreateAssessmentFrameworkControlSet(Aws::Utils::Json::JsonView jsonValue)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
CreateAssessmentFrameworkControlSet & WithName(const Aws::String &value)
CreateAssessmentFrameworkControlSet & AddControls(CreateAssessmentFrameworkControl &&value)
const Aws::Vector< CreateAssessmentFrameworkControl > & GetControls() const
AWS_AUDITMANAGER_API CreateAssessmentFrameworkControlSet & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateAssessmentFrameworkControlSet & WithControls(const Aws::Vector< CreateAssessmentFrameworkControl > &value)
CreateAssessmentFrameworkControlSet & WithName(Aws::String &&value)
CreateAssessmentFrameworkControlSet & WithName(const char *value)
void SetControls(Aws::Vector< CreateAssessmentFrameworkControl > &&value)
CreateAssessmentFrameworkControlSet & WithControls(Aws::Vector< CreateAssessmentFrameworkControl > &&value)
CreateAssessmentFrameworkControlSet & AddControls(const CreateAssessmentFrameworkControl &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