AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
HookProgressEvent.h
1
6#pragma once
7#include <aws/cloudcontrol/CloudControlApi_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CloudControlApi
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_CLOUDCONTROLAPI_API HookProgressEvent() = default;
42 AWS_CLOUDCONTROLAPI_API HookProgressEvent(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CLOUDCONTROLAPI_API HookProgressEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CLOUDCONTROLAPI_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetHookTypeName() const { return m_hookTypeName; }
52 inline bool HookTypeNameHasBeenSet() const { return m_hookTypeNameHasBeenSet; }
53 template<typename HookTypeNameT = Aws::String>
54 void SetHookTypeName(HookTypeNameT&& value) { m_hookTypeNameHasBeenSet = true; m_hookTypeName = std::forward<HookTypeNameT>(value); }
55 template<typename HookTypeNameT = Aws::String>
56 HookProgressEvent& WithHookTypeName(HookTypeNameT&& value) { SetHookTypeName(std::forward<HookTypeNameT>(value)); return *this;}
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) { m_hookTypeVersionIdHasBeenSet = true; m_hookTypeVersionId = std::forward<HookTypeVersionIdT>(value); }
67 template<typename HookTypeVersionIdT = Aws::String>
68 HookProgressEvent& WithHookTypeVersionId(HookTypeVersionIdT&& value) { SetHookTypeVersionId(std::forward<HookTypeVersionIdT>(value)); return *this;}
70
72
75 inline const Aws::String& GetHookTypeArn() const { return m_hookTypeArn; }
76 inline bool HookTypeArnHasBeenSet() const { return m_hookTypeArnHasBeenSet; }
77 template<typename HookTypeArnT = Aws::String>
78 void SetHookTypeArn(HookTypeArnT&& value) { m_hookTypeArnHasBeenSet = true; m_hookTypeArn = std::forward<HookTypeArnT>(value); }
79 template<typename HookTypeArnT = Aws::String>
80 HookProgressEvent& WithHookTypeArn(HookTypeArnT&& value) { SetHookTypeArn(std::forward<HookTypeArnT>(value)); return *this;}
82
84
87 inline const Aws::String& GetInvocationPoint() const { return m_invocationPoint; }
88 inline bool InvocationPointHasBeenSet() const { return m_invocationPointHasBeenSet; }
89 template<typename InvocationPointT = Aws::String>
90 void SetInvocationPoint(InvocationPointT&& value) { m_invocationPointHasBeenSet = true; m_invocationPoint = std::forward<InvocationPointT>(value); }
91 template<typename InvocationPointT = Aws::String>
92 HookProgressEvent& WithInvocationPoint(InvocationPointT&& value) { SetInvocationPoint(std::forward<InvocationPointT>(value)); return *this;}
94
96
107 inline const Aws::String& GetHookStatus() const { return m_hookStatus; }
108 inline bool HookStatusHasBeenSet() const { return m_hookStatusHasBeenSet; }
109 template<typename HookStatusT = Aws::String>
110 void SetHookStatus(HookStatusT&& value) { m_hookStatusHasBeenSet = true; m_hookStatus = std::forward<HookStatusT>(value); }
111 template<typename HookStatusT = Aws::String>
112 HookProgressEvent& WithHookStatus(HookStatusT&& value) { SetHookStatus(std::forward<HookStatusT>(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetHookEventTime() const { return m_hookEventTime; }
120 inline bool HookEventTimeHasBeenSet() const { return m_hookEventTimeHasBeenSet; }
121 template<typename HookEventTimeT = Aws::Utils::DateTime>
122 void SetHookEventTime(HookEventTimeT&& value) { m_hookEventTimeHasBeenSet = true; m_hookEventTime = std::forward<HookEventTimeT>(value); }
123 template<typename HookEventTimeT = Aws::Utils::DateTime>
124 HookProgressEvent& WithHookEventTime(HookEventTimeT&& value) { SetHookEventTime(std::forward<HookEventTimeT>(value)); return *this;}
126
128
131 inline const Aws::String& GetHookStatusMessage() const { return m_hookStatusMessage; }
132 inline bool HookStatusMessageHasBeenSet() const { return m_hookStatusMessageHasBeenSet; }
133 template<typename HookStatusMessageT = Aws::String>
134 void SetHookStatusMessage(HookStatusMessageT&& value) { m_hookStatusMessageHasBeenSet = true; m_hookStatusMessage = std::forward<HookStatusMessageT>(value); }
135 template<typename HookStatusMessageT = Aws::String>
136 HookProgressEvent& WithHookStatusMessage(HookStatusMessageT&& value) { SetHookStatusMessage(std::forward<HookStatusMessageT>(value)); return *this;}
138
140
147 inline const Aws::String& GetFailureMode() const { return m_failureMode; }
148 inline bool FailureModeHasBeenSet() const { return m_failureModeHasBeenSet; }
149 template<typename FailureModeT = Aws::String>
150 void SetFailureMode(FailureModeT&& value) { m_failureModeHasBeenSet = true; m_failureMode = std::forward<FailureModeT>(value); }
151 template<typename FailureModeT = Aws::String>
152 HookProgressEvent& WithFailureMode(FailureModeT&& value) { SetFailureMode(std::forward<FailureModeT>(value)); return *this;}
154 private:
155
156 Aws::String m_hookTypeName;
157 bool m_hookTypeNameHasBeenSet = false;
158
159 Aws::String m_hookTypeVersionId;
160 bool m_hookTypeVersionIdHasBeenSet = false;
161
162 Aws::String m_hookTypeArn;
163 bool m_hookTypeArnHasBeenSet = false;
164
165 Aws::String m_invocationPoint;
166 bool m_invocationPointHasBeenSet = false;
167
168 Aws::String m_hookStatus;
169 bool m_hookStatusHasBeenSet = false;
170
171 Aws::Utils::DateTime m_hookEventTime{};
172 bool m_hookEventTimeHasBeenSet = false;
173
174 Aws::String m_hookStatusMessage;
175 bool m_hookStatusMessageHasBeenSet = false;
176
177 Aws::String m_failureMode;
178 bool m_failureModeHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace CloudControlApi
183} // 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