/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SSM { namespace Model { /** *

The mapping between a patch group and the patch baseline the patch group is * registered with.

See Also:

AWS * API Reference

*/ class PatchGroupPatchBaselineMapping { public: AWS_SSM_API PatchGroupPatchBaselineMapping(); AWS_SSM_API PatchGroupPatchBaselineMapping(Aws::Utils::Json::JsonView jsonValue); AWS_SSM_API PatchGroupPatchBaselineMapping& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the patch group registered with the patch baseline.

*/ inline const Aws::String& GetPatchGroup() const{ return m_patchGroup; } /** *

The name of the patch group registered with the patch baseline.

*/ inline bool PatchGroupHasBeenSet() const { return m_patchGroupHasBeenSet; } /** *

The name of the patch group registered with the patch baseline.

*/ inline void SetPatchGroup(const Aws::String& value) { m_patchGroupHasBeenSet = true; m_patchGroup = value; } /** *

The name of the patch group registered with the patch baseline.

*/ inline void SetPatchGroup(Aws::String&& value) { m_patchGroupHasBeenSet = true; m_patchGroup = std::move(value); } /** *

The name of the patch group registered with the patch baseline.

*/ inline void SetPatchGroup(const char* value) { m_patchGroupHasBeenSet = true; m_patchGroup.assign(value); } /** *

The name of the patch group registered with the patch baseline.

*/ inline PatchGroupPatchBaselineMapping& WithPatchGroup(const Aws::String& value) { SetPatchGroup(value); return *this;} /** *

The name of the patch group registered with the patch baseline.

*/ inline PatchGroupPatchBaselineMapping& WithPatchGroup(Aws::String&& value) { SetPatchGroup(std::move(value)); return *this;} /** *

The name of the patch group registered with the patch baseline.

*/ inline PatchGroupPatchBaselineMapping& WithPatchGroup(const char* value) { SetPatchGroup(value); return *this;} /** *

The patch baseline the patch group is registered with.

*/ inline const PatchBaselineIdentity& GetBaselineIdentity() const{ return m_baselineIdentity; } /** *

The patch baseline the patch group is registered with.

*/ inline bool BaselineIdentityHasBeenSet() const { return m_baselineIdentityHasBeenSet; } /** *

The patch baseline the patch group is registered with.

*/ inline void SetBaselineIdentity(const PatchBaselineIdentity& value) { m_baselineIdentityHasBeenSet = true; m_baselineIdentity = value; } /** *

The patch baseline the patch group is registered with.

*/ inline void SetBaselineIdentity(PatchBaselineIdentity&& value) { m_baselineIdentityHasBeenSet = true; m_baselineIdentity = std::move(value); } /** *

The patch baseline the patch group is registered with.

*/ inline PatchGroupPatchBaselineMapping& WithBaselineIdentity(const PatchBaselineIdentity& value) { SetBaselineIdentity(value); return *this;} /** *

The patch baseline the patch group is registered with.

*/ inline PatchGroupPatchBaselineMapping& WithBaselineIdentity(PatchBaselineIdentity&& value) { SetBaselineIdentity(std::move(value)); return *this;} private: Aws::String m_patchGroup; bool m_patchGroupHasBeenSet = false; PatchBaselineIdentity m_baselineIdentity; bool m_baselineIdentityHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws