/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The record of an upcoming or in-progress managed action.See
* Also:
AWS
* API Reference
A unique identifier for the managed action.
*/ inline const Aws::String& GetActionId() const{ return m_actionId; } /** *A unique identifier for the managed action.
*/ inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; } /** *A unique identifier for the managed action.
*/ inline void SetActionId(const Aws::String& value) { m_actionIdHasBeenSet = true; m_actionId = value; } /** *A unique identifier for the managed action.
*/ inline void SetActionId(Aws::String&& value) { m_actionIdHasBeenSet = true; m_actionId = std::move(value); } /** *A unique identifier for the managed action.
*/ inline void SetActionId(const char* value) { m_actionIdHasBeenSet = true; m_actionId.assign(value); } /** *A unique identifier for the managed action.
*/ inline ManagedAction& WithActionId(const Aws::String& value) { SetActionId(value); return *this;} /** *A unique identifier for the managed action.
*/ inline ManagedAction& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;} /** *A unique identifier for the managed action.
*/ inline ManagedAction& WithActionId(const char* value) { SetActionId(value); return *this;} /** *A description of the managed action.
*/ inline const Aws::String& GetActionDescription() const{ return m_actionDescription; } /** *A description of the managed action.
*/ inline bool ActionDescriptionHasBeenSet() const { return m_actionDescriptionHasBeenSet; } /** *A description of the managed action.
*/ inline void SetActionDescription(const Aws::String& value) { m_actionDescriptionHasBeenSet = true; m_actionDescription = value; } /** *A description of the managed action.
*/ inline void SetActionDescription(Aws::String&& value) { m_actionDescriptionHasBeenSet = true; m_actionDescription = std::move(value); } /** *A description of the managed action.
*/ inline void SetActionDescription(const char* value) { m_actionDescriptionHasBeenSet = true; m_actionDescription.assign(value); } /** *A description of the managed action.
*/ inline ManagedAction& WithActionDescription(const Aws::String& value) { SetActionDescription(value); return *this;} /** *A description of the managed action.
*/ inline ManagedAction& WithActionDescription(Aws::String&& value) { SetActionDescription(std::move(value)); return *this;} /** *A description of the managed action.
*/ inline ManagedAction& WithActionDescription(const char* value) { SetActionDescription(value); return *this;} /** *The type of managed action.
*/ inline const ActionType& GetActionType() const{ return m_actionType; } /** *The type of managed action.
*/ inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; } /** *The type of managed action.
*/ inline void SetActionType(const ActionType& value) { m_actionTypeHasBeenSet = true; m_actionType = value; } /** *The type of managed action.
*/ inline void SetActionType(ActionType&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); } /** *The type of managed action.
*/ inline ManagedAction& WithActionType(const ActionType& value) { SetActionType(value); return *this;} /** *The type of managed action.
*/ inline ManagedAction& WithActionType(ActionType&& value) { SetActionType(std::move(value)); return *this;} /** *The status of the managed action. If the action is Scheduled
,
* you can apply it immediately with ApplyEnvironmentManagedAction.
The status of the managed action. If the action is Scheduled
,
* you can apply it immediately with ApplyEnvironmentManagedAction.
The status of the managed action. If the action is Scheduled
,
* you can apply it immediately with ApplyEnvironmentManagedAction.
The status of the managed action. If the action is Scheduled
,
* you can apply it immediately with ApplyEnvironmentManagedAction.
The status of the managed action. If the action is Scheduled
,
* you can apply it immediately with ApplyEnvironmentManagedAction.
The status of the managed action. If the action is Scheduled
,
* you can apply it immediately with ApplyEnvironmentManagedAction.
The start time of the maintenance window in which the managed action will * execute.
*/ inline const Aws::Utils::DateTime& GetWindowStartTime() const{ return m_windowStartTime; } /** *The start time of the maintenance window in which the managed action will * execute.
*/ inline bool WindowStartTimeHasBeenSet() const { return m_windowStartTimeHasBeenSet; } /** *The start time of the maintenance window in which the managed action will * execute.
*/ inline void SetWindowStartTime(const Aws::Utils::DateTime& value) { m_windowStartTimeHasBeenSet = true; m_windowStartTime = value; } /** *The start time of the maintenance window in which the managed action will * execute.
*/ inline void SetWindowStartTime(Aws::Utils::DateTime&& value) { m_windowStartTimeHasBeenSet = true; m_windowStartTime = std::move(value); } /** *The start time of the maintenance window in which the managed action will * execute.
*/ inline ManagedAction& WithWindowStartTime(const Aws::Utils::DateTime& value) { SetWindowStartTime(value); return *this;} /** *The start time of the maintenance window in which the managed action will * execute.
*/ inline ManagedAction& WithWindowStartTime(Aws::Utils::DateTime&& value) { SetWindowStartTime(std::move(value)); return *this;} private: Aws::String m_actionId; bool m_actionIdHasBeenSet = false; Aws::String m_actionDescription; bool m_actionDescriptionHasBeenSet = false; ActionType m_actionType; bool m_actionTypeHasBeenSet = false; ActionStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_windowStartTime; bool m_windowStartTimeHasBeenSet = false; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws