AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsSsmPatchComplianceDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsSsmPatch.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
30 public:
31 AWS_SECURITYHUB_API AwsSsmPatchComplianceDetails() = default;
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const AwsSsmPatch& GetPatch() const { return m_patch; }
41 inline bool PatchHasBeenSet() const { return m_patchHasBeenSet; }
42 template <typename PatchT = AwsSsmPatch>
43 void SetPatch(PatchT&& value) {
44 m_patchHasBeenSet = true;
45 m_patch = std::forward<PatchT>(value);
46 }
47 template <typename PatchT = AwsSsmPatch>
49 SetPatch(std::forward<PatchT>(value));
50 return *this;
51 }
53 private:
54 AwsSsmPatch m_patch;
55 bool m_patchHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace SecurityHub
60} // namespace Aws
AWS_SECURITYHUB_API AwsSsmPatchComplianceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsSsmPatchComplianceDetails()=default
AwsSsmPatchComplianceDetails & WithPatch(PatchT &&value)
AWS_SECURITYHUB_API AwsSsmPatchComplianceDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue