7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10#include <aws/resiliencehubv2/model/TestRunSourceEventDetail.h>
11#include <aws/resiliencehubv2/model/TestRunSourceEventType.h>
22namespace resiliencehubv2 {
44 template <
typename TimestampT = Aws::Utils::DateTime>
46 m_timestampHasBeenSet =
true;
47 m_timestamp = std::forward<TimestampT>(value);
49 template <
typename TimestampT = Aws::Utils::DateTime>
62 template <
typename SourceArnT = Aws::String>
64 m_sourceArnHasBeenSet =
true;
65 m_sourceArn = std::forward<SourceArnT>(value);
67 template <
typename SourceArnT = Aws::String>
83 m_eventTypeHasBeenSet =
true;
98 template <
typename DetailT = TestRunSourceEventDetail>
100 m_detailHasBeenSet =
true;
101 m_detail = std::forward<DetailT>(value);
103 template <
typename DetailT = TestRunSourceEventDetail>
116 TestRunSourceEventDetail m_detail;
117 bool m_timestampHasBeenSet =
false;
118 bool m_sourceArnHasBeenSet =
false;
119 bool m_eventTypeHasBeenSet =
false;
120 bool m_detailHasBeenSet =
false;
bool TimestampHasBeenSet() const
TestRunSourceEvent & WithTimestamp(TimestampT &&value)
const Aws::String & GetSourceArn() const
TestRunSourceEventType GetEventType() const
void SetTimestamp(TimestampT &&value)
AWS_RESILIENCEHUBV2_API TestRunSourceEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
TestRunSourceEvent & WithDetail(DetailT &&value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUBV2_API TestRunSourceEvent()=default
void SetSourceArn(SourceArnT &&value)
const TestRunSourceEventDetail & GetDetail() const
const Aws::Utils::DateTime & GetTimestamp() const
void SetDetail(DetailT &&value)
bool SourceArnHasBeenSet() const
AWS_RESILIENCEHUBV2_API TestRunSourceEvent(Aws::Utils::Json::JsonView jsonValue)
TestRunSourceEvent & WithEventType(TestRunSourceEventType value)
bool EventTypeHasBeenSet() const
void SetEventType(TestRunSourceEventType value)
TestRunSourceEvent & WithSourceArn(SourceArnT &&value)
bool DetailHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue