76 lines
2.5 KiB
C++
76 lines
2.5 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/ssm/SSMRequest.h>
|
|
#include <aws/ssm/model/OperatingSystem.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace SSM
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_SSM_API GetDefaultPatchBaselineRequest : public SSMRequest
|
|
{
|
|
public:
|
|
GetDefaultPatchBaselineRequest();
|
|
|
|
// 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 "GetDefaultPatchBaseline"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>Returns the default patch baseline for the specified operating system.</p>
|
|
*/
|
|
inline const OperatingSystem& GetOperatingSystem() const{ return m_operatingSystem; }
|
|
|
|
/**
|
|
* <p>Returns the default patch baseline for the specified operating system.</p>
|
|
*/
|
|
inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Returns the default patch baseline for the specified operating system.</p>
|
|
*/
|
|
inline void SetOperatingSystem(const OperatingSystem& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = value; }
|
|
|
|
/**
|
|
* <p>Returns the default patch baseline for the specified operating system.</p>
|
|
*/
|
|
inline void SetOperatingSystem(OperatingSystem&& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = std::move(value); }
|
|
|
|
/**
|
|
* <p>Returns the default patch baseline for the specified operating system.</p>
|
|
*/
|
|
inline GetDefaultPatchBaselineRequest& WithOperatingSystem(const OperatingSystem& value) { SetOperatingSystem(value); return *this;}
|
|
|
|
/**
|
|
* <p>Returns the default patch baseline for the specified operating system.</p>
|
|
*/
|
|
inline GetDefaultPatchBaselineRequest& WithOperatingSystem(OperatingSystem&& value) { SetOperatingSystem(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
OperatingSystem m_operatingSystem;
|
|
bool m_operatingSystemHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SSM
|
|
} // namespace Aws
|