AWS SDK for C++

AWS SDK for C++ Version 1.11.772

Loading...
Searching...
No Matches
RollbackAutomationEventResult.h
1
6#pragma once
7#include <aws/compute-optimizer-automation/ComputeOptimizerAutomation_EXPORTS.h>
8#include <aws/compute-optimizer-automation/model/EventStatus.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ComputeOptimizerAutomation {
24namespace Model {
26 public:
27 AWS_COMPUTEOPTIMIZERAUTOMATION_API RollbackAutomationEventResult() = default;
29 AWS_COMPUTEOPTIMIZERAUTOMATION_API RollbackAutomationEventResult& operator=(
31
33
36 inline const Aws::String& GetEventId() const { return m_eventId; }
37 template <typename EventIdT = Aws::String>
38 void SetEventId(EventIdT&& value) {
39 m_eventIdHasBeenSet = true;
40 m_eventId = std::forward<EventIdT>(value);
41 }
42 template <typename EventIdT = Aws::String>
44 SetEventId(std::forward<EventIdT>(value));
45 return *this;
46 }
48
50
53 inline EventStatus GetEventStatus() const { return m_eventStatus; }
54 inline void SetEventStatus(EventStatus value) {
55 m_eventStatusHasBeenSet = true;
56 m_eventStatus = value;
57 }
59 SetEventStatus(value);
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
79
80 private:
81 Aws::String m_eventId;
82
83 EventStatus m_eventStatus{EventStatus::NOT_SET};
84
85 Aws::String m_requestId;
86 Aws::Http::HttpResponseCode m_HttpResponseCode;
87 bool m_eventIdHasBeenSet = false;
88 bool m_eventStatusHasBeenSet = false;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace ComputeOptimizerAutomation
94} // namespace Aws
AWS_COMPUTEOPTIMIZERAUTOMATION_API RollbackAutomationEventResult()=default
AWS_COMPUTEOPTIMIZERAUTOMATION_API RollbackAutomationEventResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COMPUTEOPTIMIZERAUTOMATION_API RollbackAutomationEventResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue