AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ControlInsightsMetadataByAssessmentItem.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/EvidenceInsights.h>
10#include <aws/core/utils/DateTime.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
37 {
38 public:
42 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline ControlInsightsMetadataByAssessmentItem& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline ControlInsightsMetadataByAssessmentItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline ControlInsightsMetadataByAssessmentItem& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::String& GetId() const{ return m_id; }
64 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
65 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
66 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
67 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
68 inline ControlInsightsMetadataByAssessmentItem& WithId(const Aws::String& value) { SetId(value); return *this;}
69 inline ControlInsightsMetadataByAssessmentItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
70 inline ControlInsightsMetadataByAssessmentItem& WithId(const char* value) { SetId(value); return *this;}
72
74
78 inline const EvidenceInsights& GetEvidenceInsights() const{ return m_evidenceInsights; }
79 inline bool EvidenceInsightsHasBeenSet() const { return m_evidenceInsightsHasBeenSet; }
80 inline void SetEvidenceInsights(const EvidenceInsights& value) { m_evidenceInsightsHasBeenSet = true; m_evidenceInsights = value; }
81 inline void SetEvidenceInsights(EvidenceInsights&& value) { m_evidenceInsightsHasBeenSet = true; m_evidenceInsights = std::move(value); }
85
87
90 inline const Aws::String& GetControlSetName() const{ return m_controlSetName; }
91 inline bool ControlSetNameHasBeenSet() const { return m_controlSetNameHasBeenSet; }
92 inline void SetControlSetName(const Aws::String& value) { m_controlSetNameHasBeenSet = true; m_controlSetName = value; }
93 inline void SetControlSetName(Aws::String&& value) { m_controlSetNameHasBeenSet = true; m_controlSetName = std::move(value); }
94 inline void SetControlSetName(const char* value) { m_controlSetNameHasBeenSet = true; m_controlSetName.assign(value); }
97 inline ControlInsightsMetadataByAssessmentItem& WithControlSetName(const char* value) { SetControlSetName(value); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
105 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
106 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
107 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
111 private:
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 Aws::String m_id;
117 bool m_idHasBeenSet = false;
118
119 EvidenceInsights m_evidenceInsights;
120 bool m_evidenceInsightsHasBeenSet = false;
121
122 Aws::String m_controlSetName;
123 bool m_controlSetNameHasBeenSet = false;
124
125 Aws::Utils::DateTime m_lastUpdated;
126 bool m_lastUpdatedHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace AuditManager
131} // namespace Aws
ControlInsightsMetadataByAssessmentItem & WithControlSetName(const char *value)
AWS_AUDITMANAGER_API ControlInsightsMetadataByAssessmentItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ControlInsightsMetadataByAssessmentItem & WithLastUpdated(const Aws::Utils::DateTime &value)
ControlInsightsMetadataByAssessmentItem & WithEvidenceInsights(EvidenceInsights &&value)
ControlInsightsMetadataByAssessmentItem & WithControlSetName(Aws::String &&value)
ControlInsightsMetadataByAssessmentItem & WithId(Aws::String &&value)
ControlInsightsMetadataByAssessmentItem & WithControlSetName(const Aws::String &value)
ControlInsightsMetadataByAssessmentItem & WithName(const Aws::String &value)
ControlInsightsMetadataByAssessmentItem & WithEvidenceInsights(const EvidenceInsights &value)
ControlInsightsMetadataByAssessmentItem & WithName(const char *value)
ControlInsightsMetadataByAssessmentItem & WithName(Aws::String &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ControlInsightsMetadataByAssessmentItem & WithId(const char *value)
AWS_AUDITMANAGER_API ControlInsightsMetadataByAssessmentItem(Aws::Utils::Json::JsonView jsonValue)
ControlInsightsMetadataByAssessmentItem & WithId(const Aws::String &value)
ControlInsightsMetadataByAssessmentItem & WithLastUpdated(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue