AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PatchComplianceData.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/PatchComplianceDataState.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 SSM
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_SSM_API PatchComplianceData();
42
43
45
48 inline const Aws::String& GetTitle() const{ return m_title; }
49 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
50 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
51 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
52 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
53 inline PatchComplianceData& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
54 inline PatchComplianceData& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
55 inline PatchComplianceData& WithTitle(const char* value) { SetTitle(value); return *this;}
57
59
62 inline const Aws::String& GetKBId() const{ return m_kBId; }
63 inline bool KBIdHasBeenSet() const { return m_kBIdHasBeenSet; }
64 inline void SetKBId(const Aws::String& value) { m_kBIdHasBeenSet = true; m_kBId = value; }
65 inline void SetKBId(Aws::String&& value) { m_kBIdHasBeenSet = true; m_kBId = std::move(value); }
66 inline void SetKBId(const char* value) { m_kBIdHasBeenSet = true; m_kBId.assign(value); }
67 inline PatchComplianceData& WithKBId(const Aws::String& value) { SetKBId(value); return *this;}
68 inline PatchComplianceData& WithKBId(Aws::String&& value) { SetKBId(std::move(value)); return *this;}
69 inline PatchComplianceData& WithKBId(const char* value) { SetKBId(value); return *this;}
71
73
77 inline const Aws::String& GetClassification() const{ return m_classification; }
78 inline bool ClassificationHasBeenSet() const { return m_classificationHasBeenSet; }
79 inline void SetClassification(const Aws::String& value) { m_classificationHasBeenSet = true; m_classification = value; }
80 inline void SetClassification(Aws::String&& value) { m_classificationHasBeenSet = true; m_classification = std::move(value); }
81 inline void SetClassification(const char* value) { m_classificationHasBeenSet = true; m_classification.assign(value); }
82 inline PatchComplianceData& WithClassification(const Aws::String& value) { SetClassification(value); return *this;}
83 inline PatchComplianceData& WithClassification(Aws::String&& value) { SetClassification(std::move(value)); return *this;}
84 inline PatchComplianceData& WithClassification(const char* value) { SetClassification(value); return *this;}
86
88
92 inline const Aws::String& GetSeverity() const{ return m_severity; }
93 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
94 inline void SetSeverity(const Aws::String& value) { m_severityHasBeenSet = true; m_severity = value; }
95 inline void SetSeverity(Aws::String&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
96 inline void SetSeverity(const char* value) { m_severityHasBeenSet = true; m_severity.assign(value); }
97 inline PatchComplianceData& WithSeverity(const Aws::String& value) { SetSeverity(value); return *this;}
98 inline PatchComplianceData& WithSeverity(Aws::String&& value) { SetSeverity(std::move(value)); return *this;}
99 inline PatchComplianceData& WithSeverity(const char* value) { SetSeverity(value); return *this;}
101
103
110 inline const PatchComplianceDataState& GetState() const{ return m_state; }
111 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
112 inline void SetState(const PatchComplianceDataState& value) { m_stateHasBeenSet = true; m_state = value; }
113 inline void SetState(PatchComplianceDataState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
114 inline PatchComplianceData& WithState(const PatchComplianceDataState& value) { SetState(value); return *this;}
115 inline PatchComplianceData& WithState(PatchComplianceDataState&& value) { SetState(std::move(value)); return *this;}
117
119
123 inline const Aws::Utils::DateTime& GetInstalledTime() const{ return m_installedTime; }
124 inline bool InstalledTimeHasBeenSet() const { return m_installedTimeHasBeenSet; }
125 inline void SetInstalledTime(const Aws::Utils::DateTime& value) { m_installedTimeHasBeenSet = true; m_installedTime = value; }
126 inline void SetInstalledTime(Aws::Utils::DateTime&& value) { m_installedTimeHasBeenSet = true; m_installedTime = std::move(value); }
127 inline PatchComplianceData& WithInstalledTime(const Aws::Utils::DateTime& value) { SetInstalledTime(value); return *this;}
128 inline PatchComplianceData& WithInstalledTime(Aws::Utils::DateTime&& value) { SetInstalledTime(std::move(value)); return *this;}
130
132
138 inline const Aws::String& GetCVEIds() const{ return m_cVEIds; }
139 inline bool CVEIdsHasBeenSet() const { return m_cVEIdsHasBeenSet; }
140 inline void SetCVEIds(const Aws::String& value) { m_cVEIdsHasBeenSet = true; m_cVEIds = value; }
141 inline void SetCVEIds(Aws::String&& value) { m_cVEIdsHasBeenSet = true; m_cVEIds = std::move(value); }
142 inline void SetCVEIds(const char* value) { m_cVEIdsHasBeenSet = true; m_cVEIds.assign(value); }
143 inline PatchComplianceData& WithCVEIds(const Aws::String& value) { SetCVEIds(value); return *this;}
144 inline PatchComplianceData& WithCVEIds(Aws::String&& value) { SetCVEIds(std::move(value)); return *this;}
145 inline PatchComplianceData& WithCVEIds(const char* value) { SetCVEIds(value); return *this;}
147 private:
148
149 Aws::String m_title;
150 bool m_titleHasBeenSet = false;
151
152 Aws::String m_kBId;
153 bool m_kBIdHasBeenSet = false;
154
155 Aws::String m_classification;
156 bool m_classificationHasBeenSet = false;
157
158 Aws::String m_severity;
159 bool m_severityHasBeenSet = false;
160
162 bool m_stateHasBeenSet = false;
163
164 Aws::Utils::DateTime m_installedTime;
165 bool m_installedTimeHasBeenSet = false;
166
167 Aws::String m_cVEIds;
168 bool m_cVEIdsHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace SSM
173} // namespace Aws
const Aws::String & GetKBId() const
void SetTitle(const Aws::String &value)
void SetState(PatchComplianceDataState &&value)
void SetState(const PatchComplianceDataState &value)
const Aws::String & GetCVEIds() const
PatchComplianceData & WithTitle(Aws::String &&value)
PatchComplianceData & WithSeverity(const char *value)
void SetSeverity(const Aws::String &value)
PatchComplianceData & WithClassification(const char *value)
void SetInstalledTime(Aws::Utils::DateTime &&value)
PatchComplianceData & WithInstalledTime(Aws::Utils::DateTime &&value)
PatchComplianceData & WithKBId(const Aws::String &value)
const PatchComplianceDataState & GetState() const
PatchComplianceData & WithInstalledTime(const Aws::Utils::DateTime &value)
void SetClassification(Aws::String &&value)
PatchComplianceData & WithTitle(const char *value)
AWS_SSM_API PatchComplianceData & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetClassification() const
const Aws::String & GetTitle() const
PatchComplianceData & WithClassification(const Aws::String &value)
PatchComplianceData & WithClassification(Aws::String &&value)
PatchComplianceData & WithTitle(const Aws::String &value)
const Aws::Utils::DateTime & GetInstalledTime() const
const Aws::String & GetSeverity() const
void SetClassification(const Aws::String &value)
PatchComplianceData & WithState(PatchComplianceDataState &&value)
void SetKBId(const Aws::String &value)
PatchComplianceData & WithState(const PatchComplianceDataState &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
PatchComplianceData & WithSeverity(const Aws::String &value)
void SetCVEIds(const Aws::String &value)
PatchComplianceData & WithCVEIds(const char *value)
PatchComplianceData & WithKBId(const char *value)
PatchComplianceData & WithSeverity(Aws::String &&value)
PatchComplianceData & WithCVEIds(Aws::String &&value)
AWS_SSM_API PatchComplianceData(Aws::Utils::Json::JsonView jsonValue)
PatchComplianceData & WithCVEIds(const Aws::String &value)
PatchComplianceData & WithKBId(Aws::String &&value)
void SetInstalledTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue