AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
46 inline const Aws::String& GetPatchGroup() const{ return m_patchGroup; }
47 inline bool PatchGroupHasBeenSet() const { return m_patchGroupHasBeenSet; }
48 inline void SetPatchGroup(const Aws::String& value) { m_patchGroupHasBeenSet = true; m_patchGroup = value; }
49 inline void SetPatchGroup(Aws::String&& value) { m_patchGroupHasBeenSet = true; m_patchGroup = std::move(value); }
50 inline void SetPatchGroup(const char* value) { m_patchGroupHasBeenSet = true; m_patchGroup.assign(value); }
51 inline PatchGroupPatchBaselineMapping& WithPatchGroup(const Aws::String& value) { SetPatchGroup(value); return *this;}
52 inline PatchGroupPatchBaselineMapping& WithPatchGroup(Aws::String&& value) { SetPatchGroup(std::move(value)); return *this;}
53 inline PatchGroupPatchBaselineMapping& WithPatchGroup(const char* value) { SetPatchGroup(value); return *this;}
55
57
60 inline const PatchBaselineIdentity& GetBaselineIdentity() const{ return m_baselineIdentity; }
61 inline bool BaselineIdentityHasBeenSet() const { return m_baselineIdentityHasBeenSet; }
62 inline void SetBaselineIdentity(const PatchBaselineIdentity& value) { m_baselineIdentityHasBeenSet = true; m_baselineIdentity = value; }
63 inline void SetBaselineIdentity(PatchBaselineIdentity&& value) { m_baselineIdentityHasBeenSet = true; m_baselineIdentity = std::move(value); }
67 private:
68
69 Aws::String m_patchGroup;
70 bool m_patchGroupHasBeenSet = false;
71
72 PatchBaselineIdentity m_baselineIdentity;
73 bool m_baselineIdentityHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SSM
78} // namespace Aws
AWS_SSM_API PatchGroupPatchBaselineMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
PatchGroupPatchBaselineMapping & WithBaselineIdentity(const PatchBaselineIdentity &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
PatchGroupPatchBaselineMapping & WithPatchGroup(const char *value)
PatchGroupPatchBaselineMapping & WithPatchGroup(const Aws::String &value)
void SetBaselineIdentity(const PatchBaselineIdentity &value)
PatchGroupPatchBaselineMapping & WithPatchGroup(Aws::String &&value)
AWS_SSM_API PatchGroupPatchBaselineMapping(Aws::Utils::Json::JsonView jsonValue)
PatchGroupPatchBaselineMapping & WithBaselineIdentity(PatchBaselineIdentity &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue