/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace SSM { namespace Model { /** */ class GetMaintenanceWindowExecutionRequest : public SSMRequest { public: AWS_SSM_API GetMaintenanceWindowExecutionRequest(); // 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 "GetMaintenanceWindowExecution"; } AWS_SSM_API Aws::String SerializePayload() const override; AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the maintenance window execution that includes the task.

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

The ID of the maintenance window execution that includes the task.

*/ inline bool WindowExecutionIdHasBeenSet() const { return m_windowExecutionIdHasBeenSet; } /** *

The ID of the maintenance window execution that includes the task.

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

The ID of the maintenance window execution that includes the task.

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

The ID of the maintenance window execution that includes the task.

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

The ID of the maintenance window execution that includes the task.

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

The ID of the maintenance window execution that includes the task.

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

The ID of the maintenance window execution that includes the task.

*/ inline GetMaintenanceWindowExecutionRequest& WithWindowExecutionId(const char* value) { SetWindowExecutionId(value); return *this;} private: Aws::String m_windowExecutionId; bool m_windowExecutionIdHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws