AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
HookProgressEvent.h
1
6#pragma once
7#include <aws/cloudcontrol/CloudControlApi_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CloudControlApi {
21namespace Model {
22
35 public:
36 AWS_CLOUDCONTROLAPI_API HookProgressEvent() = default;
37 AWS_CLOUDCONTROLAPI_API HookProgressEvent(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDCONTROLAPI_API HookProgressEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDCONTROLAPI_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetHookTypeName() const { return m_hookTypeName; }
46 inline bool HookTypeNameHasBeenSet() const { return m_hookTypeNameHasBeenSet; }
47 template <typename HookTypeNameT = Aws::String>
48 void SetHookTypeName(HookTypeNameT&& value) {
49 m_hookTypeNameHasBeenSet = true;
50 m_hookTypeName = std::forward<HookTypeNameT>(value);
51 }
52 template <typename HookTypeNameT = Aws::String>
53 HookProgressEvent& WithHookTypeName(HookTypeNameT&& value) {
54 SetHookTypeName(std::forward<HookTypeNameT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetHookTypeVersionId() const { return m_hookTypeVersionId; }
64 inline bool HookTypeVersionIdHasBeenSet() const { return m_hookTypeVersionIdHasBeenSet; }
65 template <typename HookTypeVersionIdT = Aws::String>
66 void SetHookTypeVersionId(HookTypeVersionIdT&& value) {
67 m_hookTypeVersionIdHasBeenSet = true;
68 m_hookTypeVersionId = std::forward<HookTypeVersionIdT>(value);
69 }
70 template <typename HookTypeVersionIdT = Aws::String>
71 HookProgressEvent& WithHookTypeVersionId(HookTypeVersionIdT&& value) {
72 SetHookTypeVersionId(std::forward<HookTypeVersionIdT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetHookTypeArn() const { return m_hookTypeArn; }
82 inline bool HookTypeArnHasBeenSet() const { return m_hookTypeArnHasBeenSet; }
83 template <typename HookTypeArnT = Aws::String>
84 void SetHookTypeArn(HookTypeArnT&& value) {
85 m_hookTypeArnHasBeenSet = true;
86 m_hookTypeArn = std::forward<HookTypeArnT>(value);
87 }
88 template <typename HookTypeArnT = Aws::String>
89 HookProgressEvent& WithHookTypeArn(HookTypeArnT&& value) {
90 SetHookTypeArn(std::forward<HookTypeArnT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetInvocationPoint() const { return m_invocationPoint; }
100 inline bool InvocationPointHasBeenSet() const { return m_invocationPointHasBeenSet; }
101 template <typename InvocationPointT = Aws::String>
102 void SetInvocationPoint(InvocationPointT&& value) {
103 m_invocationPointHasBeenSet = true;
104 m_invocationPoint = std::forward<InvocationPointT>(value);
105 }
106 template <typename InvocationPointT = Aws::String>
107 HookProgressEvent& WithInvocationPoint(InvocationPointT&& value) {
108 SetInvocationPoint(std::forward<InvocationPointT>(value));
109 return *this;
110 }
112
114
125 inline const Aws::String& GetHookStatus() const { return m_hookStatus; }
126 inline bool HookStatusHasBeenSet() const { return m_hookStatusHasBeenSet; }
127 template <typename HookStatusT = Aws::String>
128 void SetHookStatus(HookStatusT&& value) {
129 m_hookStatusHasBeenSet = true;
130 m_hookStatus = std::forward<HookStatusT>(value);
131 }
132 template <typename HookStatusT = Aws::String>
133 HookProgressEvent& WithHookStatus(HookStatusT&& value) {
134 SetHookStatus(std::forward<HookStatusT>(value));
135 return *this;
136 }
138
140
143 inline const Aws::Utils::DateTime& GetHookEventTime() const { return m_hookEventTime; }
144 inline bool HookEventTimeHasBeenSet() const { return m_hookEventTimeHasBeenSet; }
145 template <typename HookEventTimeT = Aws::Utils::DateTime>
146 void SetHookEventTime(HookEventTimeT&& value) {
147 m_hookEventTimeHasBeenSet = true;
148 m_hookEventTime = std::forward<HookEventTimeT>(value);
149 }
150 template <typename HookEventTimeT = Aws::Utils::DateTime>
151 HookProgressEvent& WithHookEventTime(HookEventTimeT&& value) {
152 SetHookEventTime(std::forward<HookEventTimeT>(value));
153 return *this;
154 }
156
158
161 inline const Aws::String& GetHookStatusMessage() const { return m_hookStatusMessage; }
162 inline bool HookStatusMessageHasBeenSet() const { return m_hookStatusMessageHasBeenSet; }
163 template <typename HookStatusMessageT = Aws::String>
164 void SetHookStatusMessage(HookStatusMessageT&& value) {
165 m_hookStatusMessageHasBeenSet = true;
166 m_hookStatusMessage = std::forward<HookStatusMessageT>(value);
167 }
168 template <typename HookStatusMessageT = Aws::String>
169 HookProgressEvent& WithHookStatusMessage(HookStatusMessageT&& value) {
170 SetHookStatusMessage(std::forward<HookStatusMessageT>(value));
171 return *this;
172 }
174
176
183 inline const Aws::String& GetFailureMode() const { return m_failureMode; }
184 inline bool FailureModeHasBeenSet() const { return m_failureModeHasBeenSet; }
185 template <typename FailureModeT = Aws::String>
186 void SetFailureMode(FailureModeT&& value) {
187 m_failureModeHasBeenSet = true;
188 m_failureMode = std::forward<FailureModeT>(value);
189 }
190 template <typename FailureModeT = Aws::String>
191 HookProgressEvent& WithFailureMode(FailureModeT&& value) {
192 SetFailureMode(std::forward<FailureModeT>(value));
193 return *this;
194 }
196 private:
197 Aws::String m_hookTypeName;
198
199 Aws::String m_hookTypeVersionId;
200
201 Aws::String m_hookTypeArn;
202
203 Aws::String m_invocationPoint;
204
205 Aws::String m_hookStatus;
206
207 Aws::Utils::DateTime m_hookEventTime{};
208
209 Aws::String m_hookStatusMessage;
210
211 Aws::String m_failureMode;
212 bool m_hookTypeNameHasBeenSet = false;
213 bool m_hookTypeVersionIdHasBeenSet = false;
214 bool m_hookTypeArnHasBeenSet = false;
215 bool m_invocationPointHasBeenSet = false;
216 bool m_hookStatusHasBeenSet = false;
217 bool m_hookEventTimeHasBeenSet = false;
218 bool m_hookStatusMessageHasBeenSet = false;
219 bool m_failureModeHasBeenSet = false;
220};
221
222} // namespace Model
223} // namespace CloudControlApi
224} // namespace Aws
void SetInvocationPoint(InvocationPointT &&value)
HookProgressEvent & WithHookTypeName(HookTypeNameT &&value)
HookProgressEvent & WithFailureMode(FailureModeT &&value)
void SetHookTypeVersionId(HookTypeVersionIdT &&value)
AWS_CLOUDCONTROLAPI_API HookProgressEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDCONTROLAPI_API HookProgressEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHookStatusMessage(HookStatusMessageT &&value)
const Aws::Utils::DateTime & GetHookEventTime() const
AWS_CLOUDCONTROLAPI_API Aws::Utils::Json::JsonValue Jsonize() const
HookProgressEvent & WithHookStatusMessage(HookStatusMessageT &&value)
HookProgressEvent & WithHookTypeVersionId(HookTypeVersionIdT &&value)
HookProgressEvent & WithHookStatus(HookStatusT &&value)
HookProgressEvent & WithHookTypeArn(HookTypeArnT &&value)
AWS_CLOUDCONTROLAPI_API HookProgressEvent()=default
HookProgressEvent & WithHookEventTime(HookEventTimeT &&value)
HookProgressEvent & WithInvocationPoint(InvocationPointT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue