AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionHistory.h
1
6#pragma once
7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/budgets/model/ActionStatus.h>
10#include <aws/budgets/model/EventType.h>
11#include <aws/budgets/model/ActionHistoryDetails.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Budgets
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_BUDGETS_API ActionHistory();
38 AWS_BUDGETS_API ActionHistory(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
46 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
47 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
48 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
49 inline ActionHistory& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
50 inline ActionHistory& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
52
54
57 inline const ActionStatus& GetStatus() const{ return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 inline void SetStatus(const ActionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
60 inline void SetStatus(ActionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
61 inline ActionHistory& WithStatus(const ActionStatus& value) { SetStatus(value); return *this;}
62 inline ActionHistory& WithStatus(ActionStatus&& value) { SetStatus(std::move(value)); return *this;}
64
66
70 inline const EventType& GetEventType() const{ return m_eventType; }
71 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
72 inline void SetEventType(const EventType& value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
73 inline void SetEventType(EventType&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); }
74 inline ActionHistory& WithEventType(const EventType& value) { SetEventType(value); return *this;}
75 inline ActionHistory& WithEventType(EventType&& value) { SetEventType(std::move(value)); return *this;}
77
79
82 inline const ActionHistoryDetails& GetActionHistoryDetails() const{ return m_actionHistoryDetails; }
83 inline bool ActionHistoryDetailsHasBeenSet() const { return m_actionHistoryDetailsHasBeenSet; }
84 inline void SetActionHistoryDetails(const ActionHistoryDetails& value) { m_actionHistoryDetailsHasBeenSet = true; m_actionHistoryDetails = value; }
85 inline void SetActionHistoryDetails(ActionHistoryDetails&& value) { m_actionHistoryDetailsHasBeenSet = true; m_actionHistoryDetails = std::move(value); }
87 inline ActionHistory& WithActionHistoryDetails(ActionHistoryDetails&& value) { SetActionHistoryDetails(std::move(value)); return *this;}
89 private:
90
91 Aws::Utils::DateTime m_timestamp;
92 bool m_timestampHasBeenSet = false;
93
94 ActionStatus m_status;
95 bool m_statusHasBeenSet = false;
96
97 EventType m_eventType;
98 bool m_eventTypeHasBeenSet = false;
99
100 ActionHistoryDetails m_actionHistoryDetails;
101 bool m_actionHistoryDetailsHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Budgets
106} // namespace Aws
ActionHistory & WithEventType(EventType &&value)
AWS_BUDGETS_API ActionHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetTimestamp() const
const ActionHistoryDetails & GetActionHistoryDetails() const
ActionHistory & WithStatus(ActionStatus &&value)
ActionHistory & WithStatus(const ActionStatus &value)
void SetActionHistoryDetails(ActionHistoryDetails &&value)
const ActionStatus & GetStatus() const
void SetTimestamp(Aws::Utils::DateTime &&value)
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
ActionHistory & WithTimestamp(Aws::Utils::DateTime &&value)
ActionHistory & WithActionHistoryDetails(const ActionHistoryDetails &value)
ActionHistory & WithTimestamp(const Aws::Utils::DateTime &value)
ActionHistory & WithEventType(const EventType &value)
ActionHistory & WithActionHistoryDetails(ActionHistoryDetails &&value)
void SetTimestamp(const Aws::Utils::DateTime &value)
void SetEventType(const EventType &value)
void SetStatus(ActionStatus &&value)
void SetEventType(EventType &&value)
AWS_BUDGETS_API ActionHistory(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const ActionStatus &value)
const EventType & GetEventType() const
void SetActionHistoryDetails(const ActionHistoryDetails &value)
Aws::Utils::Json::JsonValue JsonValue