/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The historical records for a budget action. See Also:
AWS
* API Reference
The status of action at the time of the event.
*/ inline const ActionStatus& GetStatus() const{ return m_status; } /** *The status of action at the time of the event.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of action at the time of the event.
*/ inline void SetStatus(const ActionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of action at the time of the event.
*/ inline void SetStatus(ActionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of action at the time of the event.
*/ inline ActionHistory& WithStatus(const ActionStatus& value) { SetStatus(value); return *this;} /** *The status of action at the time of the event.
*/ inline ActionHistory& WithStatus(ActionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *This distinguishes between whether the events are triggered by the user or * are generated by the system.
*/ inline const EventType& GetEventType() const{ return m_eventType; } /** *This distinguishes between whether the events are triggered by the user or * are generated by the system.
*/ inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; } /** *This distinguishes between whether the events are triggered by the user or * are generated by the system.
*/ inline void SetEventType(const EventType& value) { m_eventTypeHasBeenSet = true; m_eventType = value; } /** *This distinguishes between whether the events are triggered by the user or * are generated by the system.
*/ inline void SetEventType(EventType&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); } /** *This distinguishes between whether the events are triggered by the user or * are generated by the system.
*/ inline ActionHistory& WithEventType(const EventType& value) { SetEventType(value); return *this;} /** *This distinguishes between whether the events are triggered by the user or * are generated by the system.
*/ inline ActionHistory& WithEventType(EventType&& value) { SetEventType(std::move(value)); return *this;} /** *The description of the details for the event.
*/ inline const ActionHistoryDetails& GetActionHistoryDetails() const{ return m_actionHistoryDetails; } /** *The description of the details for the event.
*/ inline bool ActionHistoryDetailsHasBeenSet() const { return m_actionHistoryDetailsHasBeenSet; } /** *The description of the details for the event.
*/ inline void SetActionHistoryDetails(const ActionHistoryDetails& value) { m_actionHistoryDetailsHasBeenSet = true; m_actionHistoryDetails = value; } /** *The description of the details for the event.
*/ inline void SetActionHistoryDetails(ActionHistoryDetails&& value) { m_actionHistoryDetailsHasBeenSet = true; m_actionHistoryDetails = std::move(value); } /** *The description of the details for the event.
*/ inline ActionHistory& WithActionHistoryDetails(const ActionHistoryDetails& value) { SetActionHistoryDetails(value); return *this;} /** *The description of the details for the event.
*/ inline ActionHistory& WithActionHistoryDetails(ActionHistoryDetails&& value) { SetActionHistoryDetails(std::move(value)); return *this;} private: Aws::Utils::DateTime m_timestamp; bool m_timestampHasBeenSet = false; ActionStatus m_status; bool m_statusHasBeenSet = false; EventType m_eventType; bool m_eventTypeHasBeenSet = false; ActionHistoryDetails m_actionHistoryDetails; bool m_actionHistoryDetailsHasBeenSet = false; }; } // namespace Model } // namespace Budgets } // namespace Aws