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/EventStatus.h>
10#include <aws/compute-optimizer-automation/model/EventType.h>
11#include <aws/compute-optimizer-automation/model/ResourceType.h>
12#include <aws/core/http/HttpResponse.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace ComputeOptimizerAutomation {
41 template <
typename EventIdT = Aws::String>
43 m_eventIdHasBeenSet =
true;
44 m_eventId = std::forward<EventIdT>(value);
46 template <
typename EventIdT = Aws::String>
58 template <
typename EventDescriptionT = Aws::String>
60 m_eventDescriptionHasBeenSet =
true;
61 m_eventDescription = std::forward<EventDescriptionT>(value);
63 template <
typename EventDescriptionT = Aws::String>
76 m_eventTypeHasBeenSet =
true;
91 m_eventStatusHasBeenSet =
true;
92 m_eventStatus = value;
105 template <
typename EventStatusReasonT = Aws::String>
107 m_eventStatusReasonHasBeenSet =
true;
108 m_eventStatusReason = std::forward<EventStatusReasonT>(value);
110 template <
typename EventStatusReasonT = Aws::String>
123 template <
typename ResourceArnT = Aws::String>
125 m_resourceArnHasBeenSet =
true;
126 m_resourceArn = std::forward<ResourceArnT>(value);
128 template <
typename ResourceArnT = Aws::String>
140 template <
typename ResourceIdT = Aws::String>
142 m_resourceIdHasBeenSet =
true;
143 m_resourceId = std::forward<ResourceIdT>(value);
145 template <
typename ResourceIdT = Aws::String>
157 template <
typename RecommendedActionIdT = Aws::String>
159 m_recommendedActionIdHasBeenSet =
true;
160 m_recommendedActionId = std::forward<RecommendedActionIdT>(value);
162 template <
typename RecommendedActionIdT = Aws::String>
174 template <
typename AccountIdT = Aws::String>
176 m_accountIdHasBeenSet =
true;
177 m_accountId = std::forward<AccountIdT>(value);
179 template <
typename AccountIdT = Aws::String>
191 template <
typename RegionT = Aws::String>
193 m_regionHasBeenSet =
true;
194 m_region = std::forward<RegionT>(value);
196 template <
typename RegionT = Aws::String>
208 template <
typename RuleIdT = Aws::String>
210 m_ruleIdHasBeenSet =
true;
211 m_ruleId = std::forward<RuleIdT>(value);
213 template <
typename RuleIdT = Aws::String>
226 m_resourceTypeHasBeenSet =
true;
227 m_resourceType = value;
240 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
242 m_createdTimestampHasBeenSet =
true;
243 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
245 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
257 template <
typename CompletedTimestampT = Aws::Utils::DateTime>
259 m_completedTimestampHasBeenSet =
true;
260 m_completedTimestamp = std::forward<CompletedTimestampT>(value);
262 template <
typename CompletedTimestampT = Aws::Utils::DateTime>
272 template <
typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
274 m_estimatedMonthlySavingsHasBeenSet =
true;
275 m_estimatedMonthlySavings = std::forward<EstimatedMonthlySavingsT>(value);
277 template <
typename EstimatedMonthlySavingsT = EstimatedMonthlySavings>
287 template <
typename RequestIdT = Aws::String>
289 m_requestIdHasBeenSet =
true;
290 m_requestId = std::forward<RequestIdT>(value);
292 template <
typename RequestIdT = Aws::String>
329 EstimatedMonthlySavings m_estimatedMonthlySavings;
333 bool m_eventIdHasBeenSet =
false;
334 bool m_eventDescriptionHasBeenSet =
false;
335 bool m_eventTypeHasBeenSet =
false;
336 bool m_eventStatusHasBeenSet =
false;
337 bool m_eventStatusReasonHasBeenSet =
false;
338 bool m_resourceArnHasBeenSet =
false;
339 bool m_resourceIdHasBeenSet =
false;
340 bool m_recommendedActionIdHasBeenSet =
false;
341 bool m_accountIdHasBeenSet =
false;
342 bool m_regionHasBeenSet =
false;
343 bool m_ruleIdHasBeenSet =
false;
344 bool m_resourceTypeHasBeenSet =
false;
345 bool m_createdTimestampHasBeenSet =
false;
346 bool m_completedTimestampHasBeenSet =
false;
347 bool m_estimatedMonthlySavingsHasBeenSet =
false;
348 bool m_requestIdHasBeenSet =
false;
GetAutomationEventResult & WithRecommendedActionId(RecommendedActionIdT &&value)
const Aws::Utils::DateTime & GetCompletedTimestamp() const
GetAutomationEventResult & WithEventType(EventType value)
void SetRegion(RegionT &&value)
const EstimatedMonthlySavings & GetEstimatedMonthlySavings() const
AWS_COMPUTEOPTIMIZERAUTOMATION_API GetAutomationEventResult()=default
GetAutomationEventResult & WithEventDescription(EventDescriptionT &&value)
void SetRuleId(RuleIdT &&value)
const Aws::String & GetEventDescription() const
ResourceType GetResourceType() const
void SetResourceArn(ResourceArnT &&value)
GetAutomationEventResult & WithRegion(RegionT &&value)
GetAutomationEventResult & WithEventStatusReason(EventStatusReasonT &&value)
void SetEventStatusReason(EventStatusReasonT &&value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API GetAutomationEventResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAutomationEventResult & WithEventId(EventIdT &&value)
void SetEventId(EventIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRecommendedActionId() const
void SetCompletedTimestamp(CompletedTimestampT &&value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API GetAutomationEventResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAutomationEventResult & WithRequestId(RequestIdT &&value)
GetAutomationEventResult & WithResourceType(ResourceType value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetResourceId() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetAccountId(AccountIdT &&value)
const Aws::String & GetRuleId() const
const Aws::String & GetRegion() const
const Aws::String & GetEventId() const
const Aws::String & GetRequestId() const
void SetResourceType(ResourceType value)
GetAutomationEventResult & WithAccountId(AccountIdT &&value)
GetAutomationEventResult & WithRuleId(RuleIdT &&value)
GetAutomationEventResult & WithResourceArn(ResourceArnT &&value)
void SetResourceId(ResourceIdT &&value)
void SetEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
GetAutomationEventResult & WithCreatedTimestamp(CreatedTimestampT &&value)
GetAutomationEventResult & WithEventStatus(EventStatus value)
const Aws::String & GetEventStatusReason() const
GetAutomationEventResult & WithCompletedTimestamp(CompletedTimestampT &&value)
const Aws::String & GetResourceArn() const
EventType GetEventType() const
void SetEventStatus(EventStatus value)
void SetEventType(EventType value)
void SetRecommendedActionId(RecommendedActionIdT &&value)
GetAutomationEventResult & WithEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
void SetEventDescription(EventDescriptionT &&value)
GetAutomationEventResult & WithResourceId(ResourceIdT &&value)
EventStatus GetEventStatus() const
const Aws::String & GetAccountId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue