107 lines
3.1 KiB
C
107 lines
3.1 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/ssm/SSM_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/ssm/model/OperatingSystem.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
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<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
GetDefaultPatchBaselineResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the default patch baseline.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetBaselineId() const{ return m_baselineId; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the default patch baseline.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetBaselineId(const Aws::String& value) { m_baselineId = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the default patch baseline.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetBaselineId(Aws::String&& value) { m_baselineId = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the default patch baseline.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetBaselineId(const char* value) { m_baselineId.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the default patch baseline.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetDefaultPatchBaselineResult& WithBaselineId(const Aws::String& value) { SetBaselineId(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the default patch baseline.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetDefaultPatchBaselineResult& WithBaselineId(Aws::String&& value) { SetBaselineId(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the default patch baseline.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetDefaultPatchBaselineResult& WithBaselineId(const char* value) { SetBaselineId(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The operating system for the returned patch baseline. </p>
|
|||
|
|
*/
|
|||
|
|
inline const OperatingSystem& GetOperatingSystem() const{ return m_operatingSystem; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The operating system for the returned patch baseline. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOperatingSystem(const OperatingSystem& value) { m_operatingSystem = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The operating system for the returned patch baseline. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOperatingSystem(OperatingSystem&& value) { m_operatingSystem = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The operating system for the returned patch baseline. </p>
|
|||
|
|
*/
|
|||
|
|
inline GetDefaultPatchBaselineResult& WithOperatingSystem(const OperatingSystem& value) { SetOperatingSystem(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The operating system for the returned patch baseline. </p>
|
|||
|
|
*/
|
|||
|
|
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
|