/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines the basic information about a patch baseline.See
* Also:
AWS
* API Reference
The ID of the patch baseline.
*/ inline const Aws::String& GetBaselineId() const{ return m_baselineId; } /** *The ID of the patch baseline.
*/ inline bool BaselineIdHasBeenSet() const { return m_baselineIdHasBeenSet; } /** *The ID of the patch baseline.
*/ inline void SetBaselineId(const Aws::String& value) { m_baselineIdHasBeenSet = true; m_baselineId = value; } /** *The ID of the patch baseline.
*/ inline void SetBaselineId(Aws::String&& value) { m_baselineIdHasBeenSet = true; m_baselineId = std::move(value); } /** *The ID of the patch baseline.
*/ inline void SetBaselineId(const char* value) { m_baselineIdHasBeenSet = true; m_baselineId.assign(value); } /** *The ID of the patch baseline.
*/ inline PatchBaselineIdentity& WithBaselineId(const Aws::String& value) { SetBaselineId(value); return *this;} /** *The ID of the patch baseline.
*/ inline PatchBaselineIdentity& WithBaselineId(Aws::String&& value) { SetBaselineId(std::move(value)); return *this;} /** *The ID of the patch baseline.
*/ inline PatchBaselineIdentity& WithBaselineId(const char* value) { SetBaselineId(value); return *this;} /** *The name of the patch baseline.
*/ inline const Aws::String& GetBaselineName() const{ return m_baselineName; } /** *The name of the patch baseline.
*/ inline bool BaselineNameHasBeenSet() const { return m_baselineNameHasBeenSet; } /** *The name of the patch baseline.
*/ inline void SetBaselineName(const Aws::String& value) { m_baselineNameHasBeenSet = true; m_baselineName = value; } /** *The name of the patch baseline.
*/ inline void SetBaselineName(Aws::String&& value) { m_baselineNameHasBeenSet = true; m_baselineName = std::move(value); } /** *The name of the patch baseline.
*/ inline void SetBaselineName(const char* value) { m_baselineNameHasBeenSet = true; m_baselineName.assign(value); } /** *The name of the patch baseline.
*/ inline PatchBaselineIdentity& WithBaselineName(const Aws::String& value) { SetBaselineName(value); return *this;} /** *The name of the patch baseline.
*/ inline PatchBaselineIdentity& WithBaselineName(Aws::String&& value) { SetBaselineName(std::move(value)); return *this;} /** *The name of the patch baseline.
*/ inline PatchBaselineIdentity& WithBaselineName(const char* value) { SetBaselineName(value); return *this;} /** *Defines the operating system the patch baseline applies to. The default value
* is WINDOWS
.
Defines the operating system the patch baseline applies to. The default value
* is WINDOWS
.
Defines the operating system the patch baseline applies to. The default value
* is WINDOWS
.
Defines the operating system the patch baseline applies to. The default value
* is WINDOWS
.
Defines the operating system the patch baseline applies to. The default value
* is WINDOWS
.
Defines the operating system the patch baseline applies to. The default value
* is WINDOWS
.
The description of the patch baseline.
*/ inline const Aws::String& GetBaselineDescription() const{ return m_baselineDescription; } /** *The description of the patch baseline.
*/ inline bool BaselineDescriptionHasBeenSet() const { return m_baselineDescriptionHasBeenSet; } /** *The description of the patch baseline.
*/ inline void SetBaselineDescription(const Aws::String& value) { m_baselineDescriptionHasBeenSet = true; m_baselineDescription = value; } /** *The description of the patch baseline.
*/ inline void SetBaselineDescription(Aws::String&& value) { m_baselineDescriptionHasBeenSet = true; m_baselineDescription = std::move(value); } /** *The description of the patch baseline.
*/ inline void SetBaselineDescription(const char* value) { m_baselineDescriptionHasBeenSet = true; m_baselineDescription.assign(value); } /** *The description of the patch baseline.
*/ inline PatchBaselineIdentity& WithBaselineDescription(const Aws::String& value) { SetBaselineDescription(value); return *this;} /** *The description of the patch baseline.
*/ inline PatchBaselineIdentity& WithBaselineDescription(Aws::String&& value) { SetBaselineDescription(std::move(value)); return *this;} /** *The description of the patch baseline.
*/ inline PatchBaselineIdentity& WithBaselineDescription(const char* value) { SetBaselineDescription(value); return *this;} /** *Whether this is the default baseline. Amazon Web Services Systems Manager * supports creating multiple default patch baselines. For example, you can create * a default patch baseline for each operating system.
*/ inline bool GetDefaultBaseline() const{ return m_defaultBaseline; } /** *Whether this is the default baseline. Amazon Web Services Systems Manager * supports creating multiple default patch baselines. For example, you can create * a default patch baseline for each operating system.
*/ inline bool DefaultBaselineHasBeenSet() const { return m_defaultBaselineHasBeenSet; } /** *Whether this is the default baseline. Amazon Web Services Systems Manager * supports creating multiple default patch baselines. For example, you can create * a default patch baseline for each operating system.
*/ inline void SetDefaultBaseline(bool value) { m_defaultBaselineHasBeenSet = true; m_defaultBaseline = value; } /** *Whether this is the default baseline. Amazon Web Services Systems Manager * supports creating multiple default patch baselines. For example, you can create * a default patch baseline for each operating system.
*/ inline PatchBaselineIdentity& WithDefaultBaseline(bool value) { SetDefaultBaseline(value); return *this;} private: Aws::String m_baselineId; bool m_baselineIdHasBeenSet = false; Aws::String m_baselineName; bool m_baselineNameHasBeenSet = false; OperatingSystem m_operatingSystem; bool m_operatingSystemHasBeenSet = false; Aws::String m_baselineDescription; bool m_baselineDescriptionHasBeenSet = false; bool m_defaultBaseline; bool m_defaultBaselineHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws