This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-ssm/include/aws/ssm/model/MaintenanceWindowExecution.h

290 lines
9.2 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/MaintenanceWindowExecutionStatus.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SSM
{
namespace Model
{
/**
* <p>Describes the information about an execution of a maintenance window.
* </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowExecution">AWS
* API Reference</a></p>
*/
class AWS_SSM_API MaintenanceWindowExecution
{
public:
MaintenanceWindowExecution();
MaintenanceWindowExecution(Aws::Utils::Json::JsonView jsonValue);
MaintenanceWindowExecution& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ID of the maintenance window.</p>
*/
inline const Aws::String& GetWindowId() const{ return m_windowId; }
/**
* <p>The ID of the maintenance window.</p>
*/
inline bool WindowIdHasBeenSet() const { return m_windowIdHasBeenSet; }
/**
* <p>The ID of the maintenance window.</p>
*/
inline void SetWindowId(const Aws::String& value) { m_windowIdHasBeenSet = true; m_windowId = value; }
/**
* <p>The ID of the maintenance window.</p>
*/
inline void SetWindowId(Aws::String&& value) { m_windowIdHasBeenSet = true; m_windowId = std::move(value); }
/**
* <p>The ID of the maintenance window.</p>
*/
inline void SetWindowId(const char* value) { m_windowIdHasBeenSet = true; m_windowId.assign(value); }
/**
* <p>The ID of the maintenance window.</p>
*/
inline MaintenanceWindowExecution& WithWindowId(const Aws::String& value) { SetWindowId(value); return *this;}
/**
* <p>The ID of the maintenance window.</p>
*/
inline MaintenanceWindowExecution& WithWindowId(Aws::String&& value) { SetWindowId(std::move(value)); return *this;}
/**
* <p>The ID of the maintenance window.</p>
*/
inline MaintenanceWindowExecution& WithWindowId(const char* value) { SetWindowId(value); return *this;}
/**
* <p>The ID of the maintenance window execution.</p>
*/
inline const Aws::String& GetWindowExecutionId() const{ return m_windowExecutionId; }
/**
* <p>The ID of the maintenance window execution.</p>
*/
inline bool WindowExecutionIdHasBeenSet() const { return m_windowExecutionIdHasBeenSet; }
/**
* <p>The ID of the maintenance window execution.</p>
*/
inline void SetWindowExecutionId(const Aws::String& value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId = value; }
/**
* <p>The ID of the maintenance window execution.</p>
*/
inline void SetWindowExecutionId(Aws::String&& value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId = std::move(value); }
/**
* <p>The ID of the maintenance window execution.</p>
*/
inline void SetWindowExecutionId(const char* value) { m_windowExecutionIdHasBeenSet = true; m_windowExecutionId.assign(value); }
/**
* <p>The ID of the maintenance window execution.</p>
*/
inline MaintenanceWindowExecution& WithWindowExecutionId(const Aws::String& value) { SetWindowExecutionId(value); return *this;}
/**
* <p>The ID of the maintenance window execution.</p>
*/
inline MaintenanceWindowExecution& WithWindowExecutionId(Aws::String&& value) { SetWindowExecutionId(std::move(value)); return *this;}
/**
* <p>The ID of the maintenance window execution.</p>
*/
inline MaintenanceWindowExecution& WithWindowExecutionId(const char* value) { SetWindowExecutionId(value); return *this;}
/**
* <p>The status of the execution.</p>
*/
inline const MaintenanceWindowExecutionStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the execution.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The status of the execution.</p>
*/
inline void SetStatus(const MaintenanceWindowExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The status of the execution.</p>
*/
inline void SetStatus(MaintenanceWindowExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The status of the execution.</p>
*/
inline MaintenanceWindowExecution& WithStatus(const MaintenanceWindowExecutionStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the execution.</p>
*/
inline MaintenanceWindowExecution& WithStatus(MaintenanceWindowExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The details explaining the Status. Only available for certain status
* values.</p>
*/
inline const Aws::String& GetStatusDetails() const{ return m_statusDetails; }
/**
* <p>The details explaining the Status. Only available for certain status
* values.</p>
*/
inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; }
/**
* <p>The details explaining the Status. Only available for certain status
* values.</p>
*/
inline void SetStatusDetails(const Aws::String& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = value; }
/**
* <p>The details explaining the Status. Only available for certain status
* values.</p>
*/
inline void SetStatusDetails(Aws::String&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::move(value); }
/**
* <p>The details explaining the Status. Only available for certain status
* values.</p>
*/
inline void SetStatusDetails(const char* value) { m_statusDetailsHasBeenSet = true; m_statusDetails.assign(value); }
/**
* <p>The details explaining the Status. Only available for certain status
* values.</p>
*/
inline MaintenanceWindowExecution& WithStatusDetails(const Aws::String& value) { SetStatusDetails(value); return *this;}
/**
* <p>The details explaining the Status. Only available for certain status
* values.</p>
*/
inline MaintenanceWindowExecution& WithStatusDetails(Aws::String&& value) { SetStatusDetails(std::move(value)); return *this;}
/**
* <p>The details explaining the Status. Only available for certain status
* values.</p>
*/
inline MaintenanceWindowExecution& WithStatusDetails(const char* value) { SetStatusDetails(value); return *this;}
/**
* <p>The time the execution started.</p>
*/
inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
/**
* <p>The time the execution started.</p>
*/
inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
/**
* <p>The time the execution started.</p>
*/
inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
/**
* <p>The time the execution started.</p>
*/
inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
/**
* <p>The time the execution started.</p>
*/
inline MaintenanceWindowExecution& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
/**
* <p>The time the execution started.</p>
*/
inline MaintenanceWindowExecution& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
/**
* <p>The time the execution finished.</p>
*/
inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
/**
* <p>The time the execution finished.</p>
*/
inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
/**
* <p>The time the execution finished.</p>
*/
inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
/**
* <p>The time the execution finished.</p>
*/
inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
/**
* <p>The time the execution finished.</p>
*/
inline MaintenanceWindowExecution& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
/**
* <p>The time the execution finished.</p>
*/
inline MaintenanceWindowExecution& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
private:
Aws::String m_windowId;
bool m_windowIdHasBeenSet;
Aws::String m_windowExecutionId;
bool m_windowExecutionIdHasBeenSet;
MaintenanceWindowExecutionStatus m_status;
bool m_statusHasBeenSet;
Aws::String m_statusDetails;
bool m_statusDetailsHasBeenSet;
Aws::Utils::DateTime m_startTime;
bool m_startTimeHasBeenSet;
Aws::Utils::DateTime m_endTime;
bool m_endTimeHasBeenSet;
};
} // namespace Model
} // namespace SSM
} // namespace Aws