AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssessmentFramework.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/auditmanager/model/FrameworkMetadata.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/auditmanager/model/AssessmentControlSet.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AuditManager
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_AUDITMANAGER_API AssessmentFramework();
39 AWS_AUDITMANAGER_API AssessmentFramework(Aws::Utils::Json::JsonView jsonValue);
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 AssessmentFramework& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline AssessmentFramework& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline AssessmentFramework& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::String& GetArn() const{ return m_arn; }
63 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
64 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
65 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
66 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
67 inline AssessmentFramework& WithArn(const Aws::String& value) { SetArn(value); return *this;}
68 inline AssessmentFramework& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
69 inline AssessmentFramework& WithArn(const char* value) { SetArn(value); return *this;}
71
73
74 inline const FrameworkMetadata& GetMetadata() const{ return m_metadata; }
75 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
76 inline void SetMetadata(const FrameworkMetadata& value) { m_metadataHasBeenSet = true; m_metadata = value; }
77 inline void SetMetadata(FrameworkMetadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
78 inline AssessmentFramework& WithMetadata(const FrameworkMetadata& value) { SetMetadata(value); return *this;}
79 inline AssessmentFramework& WithMetadata(FrameworkMetadata&& value) { SetMetadata(std::move(value)); return *this;}
81
83
86 inline const Aws::Vector<AssessmentControlSet>& GetControlSets() const{ return m_controlSets; }
87 inline bool ControlSetsHasBeenSet() const { return m_controlSetsHasBeenSet; }
88 inline void SetControlSets(const Aws::Vector<AssessmentControlSet>& value) { m_controlSetsHasBeenSet = true; m_controlSets = value; }
89 inline void SetControlSets(Aws::Vector<AssessmentControlSet>&& value) { m_controlSetsHasBeenSet = true; m_controlSets = std::move(value); }
91 inline AssessmentFramework& WithControlSets(Aws::Vector<AssessmentControlSet>&& value) { SetControlSets(std::move(value)); return *this;}
92 inline AssessmentFramework& AddControlSets(const AssessmentControlSet& value) { m_controlSetsHasBeenSet = true; m_controlSets.push_back(value); return *this; }
93 inline AssessmentFramework& AddControlSets(AssessmentControlSet&& value) { m_controlSetsHasBeenSet = true; m_controlSets.push_back(std::move(value)); return *this; }
95 private:
96
97 Aws::String m_id;
98 bool m_idHasBeenSet = false;
99
100 Aws::String m_arn;
101 bool m_arnHasBeenSet = false;
102
103 FrameworkMetadata m_metadata;
104 bool m_metadataHasBeenSet = false;
105
107 bool m_controlSetsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace AuditManager
112} // namespace Aws
AWS_AUDITMANAGER_API AssessmentFramework(Aws::Utils::Json::JsonView jsonValue)
AWS_AUDITMANAGER_API AssessmentFramework & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentFramework & WithId(const Aws::String &value)
void SetMetadata(const FrameworkMetadata &value)
const FrameworkMetadata & GetMetadata() const
const Aws::Vector< AssessmentControlSet > & GetControlSets() const
AssessmentFramework & AddControlSets(const AssessmentControlSet &value)
AssessmentFramework & WithArn(const Aws::String &value)
AssessmentFramework & WithMetadata(FrameworkMetadata &&value)
AssessmentFramework & WithId(Aws::String &&value)
void SetControlSets(Aws::Vector< AssessmentControlSet > &&value)
AssessmentFramework & WithArn(Aws::String &&value)
AssessmentFramework & WithMetadata(const FrameworkMetadata &value)
AssessmentFramework & AddControlSets(AssessmentControlSet &&value)
void SetControlSets(const Aws::Vector< AssessmentControlSet > &value)
AssessmentFramework & WithArn(const char *value)
AssessmentFramework & WithId(const char *value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentFramework & WithControlSets(Aws::Vector< AssessmentControlSet > &&value)
AssessmentFramework & WithControlSets(const Aws::Vector< AssessmentControlSet > &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