/** * 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 SSM { namespace Model { /** */ class DeregisterPatchBaselineForPatchGroupRequest : public SSMRequest { public: AWS_SSM_API DeregisterPatchBaselineForPatchGroupRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeregisterPatchBaselineForPatchGroup"; } AWS_SSM_API Aws::String SerializePayload() const override; AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the patch baseline to deregister the patch group from.

*/ inline const Aws::String& GetBaselineId() const{ return m_baselineId; } /** *

The ID of the patch baseline to deregister the patch group from.

*/ inline bool BaselineIdHasBeenSet() const { return m_baselineIdHasBeenSet; } /** *

The ID of the patch baseline to deregister the patch group from.

*/ inline void SetBaselineId(const Aws::String& value) { m_baselineIdHasBeenSet = true; m_baselineId = value; } /** *

The ID of the patch baseline to deregister the patch group from.

*/ inline void SetBaselineId(Aws::String&& value) { m_baselineIdHasBeenSet = true; m_baselineId = std::move(value); } /** *

The ID of the patch baseline to deregister the patch group from.

*/ inline void SetBaselineId(const char* value) { m_baselineIdHasBeenSet = true; m_baselineId.assign(value); } /** *

The ID of the patch baseline to deregister the patch group from.

*/ inline DeregisterPatchBaselineForPatchGroupRequest& WithBaselineId(const Aws::String& value) { SetBaselineId(value); return *this;} /** *

The ID of the patch baseline to deregister the patch group from.

*/ inline DeregisterPatchBaselineForPatchGroupRequest& WithBaselineId(Aws::String&& value) { SetBaselineId(std::move(value)); return *this;} /** *

The ID of the patch baseline to deregister the patch group from.

*/ inline DeregisterPatchBaselineForPatchGroupRequest& WithBaselineId(const char* value) { SetBaselineId(value); return *this;} /** *

The name of the patch group that should be deregistered from the patch * baseline.

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

The name of the patch group that should be deregistered from the patch * baseline.

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

The name of the patch group that should be deregistered from the patch * baseline.

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

The name of the patch group that should be deregistered from the patch * baseline.

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

The name of the patch group that should be deregistered from the patch * baseline.

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

The name of the patch group that should be deregistered from the patch * baseline.

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

The name of the patch group that should be deregistered from the patch * baseline.

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

The name of the patch group that should be deregistered from the patch * baseline.

*/ inline DeregisterPatchBaselineForPatchGroupRequest& WithPatchGroup(const char* value) { SetPatchGroup(value); return *this;} private: Aws::String m_baselineId; bool m_baselineIdHasBeenSet = false; Aws::String m_patchGroup; bool m_patchGroupHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws