AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ControlInsightsMetadataItem.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:
39 AWS_AUDITMANAGER_API ControlInsightsMetadataItem();
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 ControlInsightsMetadataItem& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline ControlInsightsMetadataItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline ControlInsightsMetadataItem& 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 ControlInsightsMetadataItem& WithId(const Aws::String& value) { SetId(value); return *this;}
69 inline ControlInsightsMetadataItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
70 inline ControlInsightsMetadataItem& 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); }
83 inline ControlInsightsMetadataItem& WithEvidenceInsights(EvidenceInsights&& value) { SetEvidenceInsights(std::move(value)); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
91 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
92 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
93 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
95 inline ControlInsightsMetadataItem& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
97 private:
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
102 Aws::String m_id;
103 bool m_idHasBeenSet = false;
104
105 EvidenceInsights m_evidenceInsights;
106 bool m_evidenceInsightsHasBeenSet = false;
107
108 Aws::Utils::DateTime m_lastUpdated;
109 bool m_lastUpdatedHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace AuditManager
114} // namespace Aws
ControlInsightsMetadataItem & WithName(Aws::String &&value)
ControlInsightsMetadataItem & WithName(const char *value)
AWS_AUDITMANAGER_API ControlInsightsMetadataItem(Aws::Utils::Json::JsonView jsonValue)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AUDITMANAGER_API ControlInsightsMetadataItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ControlInsightsMetadataItem & WithEvidenceInsights(EvidenceInsights &&value)
ControlInsightsMetadataItem & WithId(Aws::String &&value)
ControlInsightsMetadataItem & WithLastUpdated(Aws::Utils::DateTime &&value)
ControlInsightsMetadataItem & WithName(const Aws::String &value)
ControlInsightsMetadataItem & WithId(const char *value)
ControlInsightsMetadataItem & WithEvidenceInsights(const EvidenceInsights &value)
ControlInsightsMetadataItem & WithLastUpdated(const Aws::Utils::DateTime &value)
ControlInsightsMetadataItem & WithId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue