AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PatchGroupPatchBaselineMapping.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSM_EXPORTS.h>
9#include <aws/ssm/model/PatchBaselineIdentity.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SSM {
21namespace Model {
22
30 public:
31 AWS_SSM_API PatchGroupPatchBaselineMapping() = default;
35
37
40 inline const Aws::String& GetPatchGroup() const { return m_patchGroup; }
41 inline bool PatchGroupHasBeenSet() const { return m_patchGroupHasBeenSet; }
42 template <typename PatchGroupT = Aws::String>
43 void SetPatchGroup(PatchGroupT&& value) {
44 m_patchGroupHasBeenSet = true;
45 m_patchGroup = std::forward<PatchGroupT>(value);
46 }
47 template <typename PatchGroupT = Aws::String>
49 SetPatchGroup(std::forward<PatchGroupT>(value));
50 return *this;
51 }
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) {
62 m_baselineIdentityHasBeenSet = true;
63 m_baselineIdentity = std::forward<BaselineIdentityT>(value);
64 }
65 template <typename BaselineIdentityT = PatchBaselineIdentity>
67 SetBaselineIdentity(std::forward<BaselineIdentityT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_patchGroup;
73
74 PatchBaselineIdentity m_baselineIdentity;
75 bool m_patchGroupHasBeenSet = false;
76 bool m_baselineIdentityHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace SSM
81} // 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