AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EffectivePatch.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/model/Patch.h>
9#include <aws/ssm/model/PatchStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSM
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_SSM_API EffectivePatch();
44
45
47
52 inline const Patch& GetPatch() const{ return m_patch; }
53 inline bool PatchHasBeenSet() const { return m_patchHasBeenSet; }
54 inline void SetPatch(const Patch& value) { m_patchHasBeenSet = true; m_patch = value; }
55 inline void SetPatch(Patch&& value) { m_patchHasBeenSet = true; m_patch = std::move(value); }
56 inline EffectivePatch& WithPatch(const Patch& value) { SetPatch(value); return *this;}
57 inline EffectivePatch& WithPatch(Patch&& value) { SetPatch(std::move(value)); return *this;}
59
61
67 inline const PatchStatus& GetPatchStatus() const{ return m_patchStatus; }
68 inline bool PatchStatusHasBeenSet() const { return m_patchStatusHasBeenSet; }
69 inline void SetPatchStatus(const PatchStatus& value) { m_patchStatusHasBeenSet = true; m_patchStatus = value; }
70 inline void SetPatchStatus(PatchStatus&& value) { m_patchStatusHasBeenSet = true; m_patchStatus = std::move(value); }
71 inline EffectivePatch& WithPatchStatus(const PatchStatus& value) { SetPatchStatus(value); return *this;}
72 inline EffectivePatch& WithPatchStatus(PatchStatus&& value) { SetPatchStatus(std::move(value)); return *this;}
74 private:
75
76 Patch m_patch;
77 bool m_patchHasBeenSet = false;
78
79 PatchStatus m_patchStatus;
80 bool m_patchStatusHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace SSM
85} // namespace Aws
EffectivePatch & WithPatch(Patch &&value)
EffectivePatch & WithPatchStatus(const PatchStatus &value)
AWS_SSM_API EffectivePatch(Aws::Utils::Json::JsonView jsonValue)
EffectivePatch & WithPatch(const Patch &value)
const Patch & GetPatch() const
void SetPatchStatus(PatchStatus &&value)
const PatchStatus & GetPatchStatus() const
EffectivePatch & WithPatchStatus(PatchStatus &&value)
AWS_SSM_API EffectivePatch & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPatchStatus(const PatchStatus &value)
void SetPatch(const Patch &value)
Aws::Utils::Json::JsonValue JsonValue