AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PatchGroupPatchBaselineMapping.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/PatchBaselineIdentity.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
34 {
35 public:
36 AWS_SSM_API PatchGroupPatchBaselineMapping() = default;
40
41
43
46 inline const Aws::String& GetPatchGroup() const { return m_patchGroup; }
47 inline bool PatchGroupHasBeenSet() const { return m_patchGroupHasBeenSet; }
48 template<typename PatchGroupT = Aws::String>
49 void SetPatchGroup(PatchGroupT&& value) { m_patchGroupHasBeenSet = true; m_patchGroup = std::forward<PatchGroupT>(value); }
50 template<typename PatchGroupT = Aws::String>
51 PatchGroupPatchBaselineMapping& WithPatchGroup(PatchGroupT&& value) { SetPatchGroup(std::forward<PatchGroupT>(value)); return *this;}
53
55
58 inline const PatchBaselineIdentity& GetBaselineIdentity() const { return m_baselineIdentity; }
59 inline bool BaselineIdentityHasBeenSet() const { return m_baselineIdentityHasBeenSet; }
60 template<typename BaselineIdentityT = PatchBaselineIdentity>
61 void SetBaselineIdentity(BaselineIdentityT&& value) { m_baselineIdentityHasBeenSet = true; m_baselineIdentity = std::forward<BaselineIdentityT>(value); }
62 template<typename BaselineIdentityT = PatchBaselineIdentity>
63 PatchGroupPatchBaselineMapping& WithBaselineIdentity(BaselineIdentityT&& value) { SetBaselineIdentity(std::forward<BaselineIdentityT>(value)); return *this;}
65 private:
66
67 Aws::String m_patchGroup;
68 bool m_patchGroupHasBeenSet = false;
69
70 PatchBaselineIdentity m_baselineIdentity;
71 bool m_baselineIdentityHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SSM
76} // namespace Aws
AWS_SSM_API PatchGroupPatchBaselineMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
PatchGroupPatchBaselineMapping & WithPatchGroup(PatchGroupT &&value)
PatchGroupPatchBaselineMapping & WithBaselineIdentity(BaselineIdentityT &&value)
AWS_SSM_API PatchGroupPatchBaselineMapping(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue