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

The ID of the maintenance window execution.

*/ inline const Aws::String& GetWindowExecutionId() const{ return m_windowExecutionId; } /** *

The ID of the maintenance window execution.

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

The ID of the maintenance window execution.

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

The ID of the maintenance window execution.

*/ inline void SetWindowExecutionId(const char* value) { m_windowExecutionId.assign(value); } /** *

The ID of the maintenance window execution.

*/ inline GetMaintenanceWindowExecutionResult& WithWindowExecutionId(const Aws::String& value) { SetWindowExecutionId(value); return *this;} /** *

The ID of the maintenance window execution.

*/ inline GetMaintenanceWindowExecutionResult& WithWindowExecutionId(Aws::String&& value) { SetWindowExecutionId(std::move(value)); return *this;} /** *

The ID of the maintenance window execution.

*/ inline GetMaintenanceWindowExecutionResult& WithWindowExecutionId(const char* value) { SetWindowExecutionId(value); return *this;} /** *

The ID of the task executions from the maintenance window execution.

*/ inline const Aws::Vector& GetTaskIds() const{ return m_taskIds; } /** *

The ID of the task executions from the maintenance window execution.

*/ inline void SetTaskIds(const Aws::Vector& value) { m_taskIds = value; } /** *

The ID of the task executions from the maintenance window execution.

*/ inline void SetTaskIds(Aws::Vector&& value) { m_taskIds = std::move(value); } /** *

The ID of the task executions from the maintenance window execution.

*/ inline GetMaintenanceWindowExecutionResult& WithTaskIds(const Aws::Vector& value) { SetTaskIds(value); return *this;} /** *

The ID of the task executions from the maintenance window execution.

*/ inline GetMaintenanceWindowExecutionResult& WithTaskIds(Aws::Vector&& value) { SetTaskIds(std::move(value)); return *this;} /** *

The ID of the task executions from the maintenance window execution.

*/ inline GetMaintenanceWindowExecutionResult& AddTaskIds(const Aws::String& value) { m_taskIds.push_back(value); return *this; } /** *

The ID of the task executions from the maintenance window execution.

*/ inline GetMaintenanceWindowExecutionResult& AddTaskIds(Aws::String&& value) { m_taskIds.push_back(std::move(value)); return *this; } /** *

The ID of the task executions from the maintenance window execution.

*/ inline GetMaintenanceWindowExecutionResult& AddTaskIds(const char* value) { m_taskIds.push_back(value); return *this; } /** *

The status of the maintenance window execution.

*/ inline const MaintenanceWindowExecutionStatus& GetStatus() const{ return m_status; } /** *

The status of the maintenance window execution.

*/ inline void SetStatus(const MaintenanceWindowExecutionStatus& value) { m_status = value; } /** *

The status of the maintenance window execution.

*/ inline void SetStatus(MaintenanceWindowExecutionStatus&& value) { m_status = std::move(value); } /** *

The status of the maintenance window execution.

*/ inline GetMaintenanceWindowExecutionResult& WithStatus(const MaintenanceWindowExecutionStatus& value) { SetStatus(value); return *this;} /** *

The status of the maintenance window execution.

*/ inline GetMaintenanceWindowExecutionResult& WithStatus(MaintenanceWindowExecutionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The details explaining the status. Not available for all status values.

*/ inline const Aws::String& GetStatusDetails() const{ return m_statusDetails; } /** *

The details explaining the status. Not available for all status values.

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

The details explaining the status. Not available for all status values.

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

The details explaining the status. Not available for all status values.

*/ inline void SetStatusDetails(const char* value) { m_statusDetails.assign(value); } /** *

The details explaining the status. Not available for all status values.

*/ inline GetMaintenanceWindowExecutionResult& WithStatusDetails(const Aws::String& value) { SetStatusDetails(value); return *this;} /** *

The details explaining the status. Not available for all status values.

*/ inline GetMaintenanceWindowExecutionResult& WithStatusDetails(Aws::String&& value) { SetStatusDetails(std::move(value)); return *this;} /** *

The details explaining the status. Not available for all status values.

*/ inline GetMaintenanceWindowExecutionResult& WithStatusDetails(const char* value) { SetStatusDetails(value); return *this;} /** *

The time the maintenance window started running.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The time the maintenance window started running.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } /** *

The time the maintenance window started running.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); } /** *

The time the maintenance window started running.

*/ inline GetMaintenanceWindowExecutionResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The time the maintenance window started running.

*/ inline GetMaintenanceWindowExecutionResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The time the maintenance window finished running.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The time the maintenance window finished running.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; } /** *

The time the maintenance window finished running.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); } /** *

The time the maintenance window finished running.

*/ inline GetMaintenanceWindowExecutionResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The time the maintenance window finished running.

*/ inline GetMaintenanceWindowExecutionResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetMaintenanceWindowExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetMaintenanceWindowExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetMaintenanceWindowExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_windowExecutionId; Aws::Vector m_taskIds; MaintenanceWindowExecutionStatus m_status; Aws::String m_statusDetails; Aws::Utils::DateTime m_startTime; Aws::Utils::DateTime m_endTime; Aws::String m_requestId; }; } // namespace Model } // namespace SSM } // namespace Aws