/** * 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 GetMaintenanceWindowExecutionTaskInvocationResult { public: AWS_SSM_API GetMaintenanceWindowExecutionTaskInvocationResult(); AWS_SSM_API GetMaintenanceWindowExecutionTaskInvocationResult(const Aws::AmazonWebServiceResult& result); AWS_SSM_API GetMaintenanceWindowExecutionTaskInvocationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The maintenance window execution ID.

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

The maintenance window execution ID.

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

The maintenance window execution ID.

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

The maintenance window execution ID.

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

The maintenance window execution ID.

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

The maintenance window execution ID.

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

The maintenance window execution ID.

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

The task execution ID.

*/ inline const Aws::String& GetTaskExecutionId() const{ return m_taskExecutionId; } /** *

The task execution ID.

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

The task execution ID.

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

The task execution ID.

*/ inline void SetTaskExecutionId(const char* value) { m_taskExecutionId.assign(value); } /** *

The task execution ID.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithTaskExecutionId(const Aws::String& value) { SetTaskExecutionId(value); return *this;} /** *

The task execution ID.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithTaskExecutionId(Aws::String&& value) { SetTaskExecutionId(std::move(value)); return *this;} /** *

The task execution ID.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithTaskExecutionId(const char* value) { SetTaskExecutionId(value); return *this;} /** *

The invocation ID.

*/ inline const Aws::String& GetInvocationId() const{ return m_invocationId; } /** *

The invocation ID.

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

The invocation ID.

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

The invocation ID.

*/ inline void SetInvocationId(const char* value) { m_invocationId.assign(value); } /** *

The invocation ID.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithInvocationId(const Aws::String& value) { SetInvocationId(value); return *this;} /** *

The invocation ID.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithInvocationId(Aws::String&& value) { SetInvocationId(std::move(value)); return *this;} /** *

The invocation ID.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithInvocationId(const char* value) { SetInvocationId(value); return *this;} /** *

The execution ID.

*/ inline const Aws::String& GetExecutionId() const{ return m_executionId; } /** *

The execution ID.

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

The execution ID.

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

The execution ID.

*/ inline void SetExecutionId(const char* value) { m_executionId.assign(value); } /** *

The execution ID.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithExecutionId(const Aws::String& value) { SetExecutionId(value); return *this;} /** *

The execution ID.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithExecutionId(Aws::String&& value) { SetExecutionId(std::move(value)); return *this;} /** *

The execution ID.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithExecutionId(const char* value) { SetExecutionId(value); return *this;} /** *

Retrieves the task type for a maintenance window.

*/ inline const MaintenanceWindowTaskType& GetTaskType() const{ return m_taskType; } /** *

Retrieves the task type for a maintenance window.

*/ inline void SetTaskType(const MaintenanceWindowTaskType& value) { m_taskType = value; } /** *

Retrieves the task type for a maintenance window.

*/ inline void SetTaskType(MaintenanceWindowTaskType&& value) { m_taskType = std::move(value); } /** *

Retrieves the task type for a maintenance window.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithTaskType(const MaintenanceWindowTaskType& value) { SetTaskType(value); return *this;} /** *

Retrieves the task type for a maintenance window.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithTaskType(MaintenanceWindowTaskType&& value) { SetTaskType(std::move(value)); return *this;} /** *

The parameters used at the time that the task ran.

*/ inline const Aws::String& GetParameters() const{ return m_parameters; } /** *

The parameters used at the time that the task ran.

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

The parameters used at the time that the task ran.

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

The parameters used at the time that the task ran.

*/ inline void SetParameters(const char* value) { m_parameters.assign(value); } /** *

The parameters used at the time that the task ran.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithParameters(const Aws::String& value) { SetParameters(value); return *this;} /** *

The parameters used at the time that the task ran.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithParameters(Aws::String&& value) { SetParameters(std::move(value)); return *this;} /** *

The parameters used at the time that the task ran.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithParameters(const char* value) { SetParameters(value); return *this;} /** *

The task status for an invocation.

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

The task status for an invocation.

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

The task status for an invocation.

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

The task status for an invocation.

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

The task status for an invocation.

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

The details explaining the status. Details are only available for certain * status values.

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

The details explaining the status. Details are only available for certain * status values.

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

The details explaining the status. Details are only available for certain * status values.

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

The details explaining the status. Details are only available for certain * status values.

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

The details explaining the status. Details are only available for certain * status values.

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

The details explaining the status. Details are only available for certain * status values.

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

The details explaining the status. Details are only available for certain * status values.

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

The time that the task started running on the target.

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

The time that the task started running on the target.

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

The time that the task started running on the target.

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

The time that the task started running on the target.

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

The time that the task started running on the target.

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

The time that the task finished running on the target.

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

The time that the task finished running on the target.

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

The time that the task finished running on the target.

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

The time that the task finished running on the target.

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

The time that the task finished running on the target.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

User-provided value to be included in any Amazon CloudWatch Events or Amazon * EventBridge events raised while running tasks for these targets in this * maintenance window.

*/ inline const Aws::String& GetOwnerInformation() const{ return m_ownerInformation; } /** *

User-provided value to be included in any Amazon CloudWatch Events or Amazon * EventBridge events raised while running tasks for these targets in this * maintenance window.

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

User-provided value to be included in any Amazon CloudWatch Events or Amazon * EventBridge events raised while running tasks for these targets in this * maintenance window.

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

User-provided value to be included in any Amazon CloudWatch Events or Amazon * EventBridge events raised while running tasks for these targets in this * maintenance window.

*/ inline void SetOwnerInformation(const char* value) { m_ownerInformation.assign(value); } /** *

User-provided value to be included in any Amazon CloudWatch Events or Amazon * EventBridge events raised while running tasks for these targets in this * maintenance window.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithOwnerInformation(const Aws::String& value) { SetOwnerInformation(value); return *this;} /** *

User-provided value to be included in any Amazon CloudWatch Events or Amazon * EventBridge events raised while running tasks for these targets in this * maintenance window.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithOwnerInformation(Aws::String&& value) { SetOwnerInformation(std::move(value)); return *this;} /** *

User-provided value to be included in any Amazon CloudWatch Events or Amazon * EventBridge events raised while running tasks for these targets in this * maintenance window.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithOwnerInformation(const char* value) { SetOwnerInformation(value); return *this;} /** *

The maintenance window target ID.

*/ inline const Aws::String& GetWindowTargetId() const{ return m_windowTargetId; } /** *

The maintenance window target ID.

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

The maintenance window target ID.

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

The maintenance window target ID.

*/ inline void SetWindowTargetId(const char* value) { m_windowTargetId.assign(value); } /** *

The maintenance window target ID.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithWindowTargetId(const Aws::String& value) { SetWindowTargetId(value); return *this;} /** *

The maintenance window target ID.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithWindowTargetId(Aws::String&& value) { SetWindowTargetId(std::move(value)); return *this;} /** *

The maintenance window target ID.

*/ inline GetMaintenanceWindowExecutionTaskInvocationResult& WithWindowTargetId(const char* value) { SetWindowTargetId(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 GetMaintenanceWindowExecutionTaskInvocationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetMaintenanceWindowExecutionTaskInvocationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetMaintenanceWindowExecutionTaskInvocationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_windowExecutionId; Aws::String m_taskExecutionId; Aws::String m_invocationId; Aws::String m_executionId; MaintenanceWindowTaskType m_taskType; Aws::String m_parameters; MaintenanceWindowExecutionStatus m_status; Aws::String m_statusDetails; Aws::Utils::DateTime m_startTime; Aws::Utils::DateTime m_endTime; Aws::String m_ownerInformation; Aws::String m_windowTargetId; Aws::String m_requestId; }; } // namespace Model } // namespace SSM } // namespace Aws