7#include <aws/compute-optimizer-automation/ComputeOptimizerAutomation_EXPORTS.h>
8#include <aws/compute-optimizer-automation/model/EstimatedMonthlySavings.h>
9#include <aws/compute-optimizer-automation/model/StepStatus.h>
10#include <aws/compute-optimizer-automation/model/StepType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
23namespace ComputeOptimizerAutomation {
45 template <
typename EventIdT = Aws::String>
47 m_eventIdHasBeenSet =
true;
48 m_eventId = std::forward<EventIdT>(value);
50 template <
typename EventIdT = Aws::String>
63 template <
typename StepIdT = Aws::String>
65 m_stepIdHasBeenSet =
true;
66 m_stepId = std::forward<StepIdT>(value);
68 template <
typename StepIdT = Aws::String>
82 m_stepTypeHasBeenSet =
true;
98 m_stepStatusHasBeenSet =
true;
113 template <
typename ResourceIdT = Aws::String>
115 m_resourceIdHasBeenSet =
true;
116 m_resourceId = std::forward<ResourceIdT>(value);
118 template <
typename ResourceIdT = Aws::String>
131 template <
typename StartTimestampT = Aws::Utils::DateTime>
133 m_startTimestampHasBeenSet =
true;
134 m_startTimestamp = std::forward<StartTimestampT>(value);
136 template <
typename StartTimestampT = Aws::Utils::DateTime>
149 template <
typename CompletedTimestampT = Aws::Utils::DateTime>
151 m_completedTimestampHasBeenSet =
true;
152 m_completedTimestamp = std::forward<CompletedTimestampT>(value);
154 template <
typename CompletedTimestampT = Aws::Utils::DateTime>
165 template <
typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
167 m_estimatedMonthlySavingsHasBeenSet =
true;
168 m_estimatedMonthlySavings = std::forward<EstimatedMonthlySavingsT>(value);
170 template <
typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
191 EstimatedMonthlySavings m_estimatedMonthlySavings;
192 bool m_eventIdHasBeenSet =
false;
193 bool m_stepIdHasBeenSet =
false;
194 bool m_stepTypeHasBeenSet =
false;
195 bool m_stepStatusHasBeenSet =
false;
196 bool m_resourceIdHasBeenSet =
false;
197 bool m_startTimestampHasBeenSet =
false;
198 bool m_completedTimestampHasBeenSet =
false;
199 bool m_estimatedMonthlySavingsHasBeenSet =
false;
AWS_COMPUTEOPTIMIZERAUTOMATION_API AutomationEventStep(Aws::Utils::Json::JsonView jsonValue)
StepStatus GetStepStatus() const
bool StepIdHasBeenSet() const
AutomationEventStep & WithStepStatus(StepStatus value)
bool StepTypeHasBeenSet() const
AWS_COMPUTEOPTIMIZERAUTOMATION_API AutomationEventStep & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceId() const
bool ResourceIdHasBeenSet() const
StepType GetStepType() const
bool StartTimestampHasBeenSet() const
const EstimatedMonthlySavings & GetEstimatedMonthlySavings() const
AWS_COMPUTEOPTIMIZERAUTOMATION_API AutomationEventStep()=default
bool StepStatusHasBeenSet() const
AutomationEventStep & WithCompletedTimestamp(CompletedTimestampT &&value)
void SetStepType(StepType value)
bool EventIdHasBeenSet() const
void SetStartTimestamp(StartTimestampT &&value)
const Aws::String & GetEventId() const
void SetStepStatus(StepStatus value)
const Aws::Utils::DateTime & GetCompletedTimestamp() const
void SetEventId(EventIdT &&value)
AutomationEventStep & WithStepId(StepIdT &&value)
AutomationEventStep & WithEventId(EventIdT &&value)
void SetEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
AutomationEventStep & WithEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
AutomationEventStep & WithStepType(StepType value)
void SetResourceId(ResourceIdT &&value)
bool EstimatedMonthlySavingsHasBeenSet() const
void SetCompletedTimestamp(CompletedTimestampT &&value)
AutomationEventStep & WithStartTimestamp(StartTimestampT &&value)
void SetStepId(StepIdT &&value)
bool CompletedTimestampHasBeenSet() const
AutomationEventStep & WithResourceId(ResourceIdT &&value)
const Aws::String & GetStepId() const
const Aws::Utils::DateTime & GetStartTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue