/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SSM { namespace Model { class AWS_SSM_API GetDefaultPatchBaselineResult { public: GetDefaultPatchBaselineResult(); GetDefaultPatchBaselineResult(const Aws::AmazonWebServiceResult& result); GetDefaultPatchBaselineResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the default patch baseline.

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

The ID of the default patch baseline.

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

The ID of the default patch baseline.

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

The ID of the default patch baseline.

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

The ID of the default patch baseline.

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

The ID of the default patch baseline.

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

The ID of the default patch baseline.

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

The operating system for the returned patch baseline.

*/ inline const OperatingSystem& GetOperatingSystem() const{ return m_operatingSystem; } /** *

The operating system for the returned patch baseline.

*/ inline void SetOperatingSystem(const OperatingSystem& value) { m_operatingSystem = value; } /** *

The operating system for the returned patch baseline.

*/ inline void SetOperatingSystem(OperatingSystem&& value) { m_operatingSystem = std::move(value); } /** *

The operating system for the returned patch baseline.

*/ inline GetDefaultPatchBaselineResult& WithOperatingSystem(const OperatingSystem& value) { SetOperatingSystem(value); return *this;} /** *

The operating system for the returned patch baseline.

*/ inline GetDefaultPatchBaselineResult& WithOperatingSystem(OperatingSystem&& value) { SetOperatingSystem(std::move(value)); return *this;} private: Aws::String m_baselineId; OperatingSystem m_operatingSystem; }; } // namespace Model } // namespace SSM } // namespace Aws