7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
12#include <aws/eventbridgev2/model/EventSourceState.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace EventBridgeV2 {
35 template <
typename EventSourceArnT = Aws::String>
37 m_eventSourceArnHasBeenSet =
true;
38 m_eventSourceArn = std::forward<EventSourceArnT>(value);
40 template <
typename EventSourceArnT = Aws::String>
50 template <
typename NameT = Aws::String>
52 m_nameHasBeenSet =
true;
53 m_name = std::forward<NameT>(value);
55 template <
typename NameT = Aws::String>
57 SetName(std::forward<NameT>(value));
65 template <
typename EventBusArnT = Aws::String>
67 m_eventBusArnHasBeenSet =
true;
68 m_eventBusArn = std::forward<EventBusArnT>(value);
70 template <
typename EventBusArnT = Aws::String>
81 m_stateHasBeenSet =
true;
95 template <
typename CreationTimeT = Aws::Utils::DateTime>
97 m_creationTimeHasBeenSet =
true;
98 m_creationTime = std::forward<CreationTimeT>(value);
100 template <
typename CreationTimeT = Aws::Utils::DateTime>
110 template <
typename RequestIdT = Aws::String>
112 m_requestIdHasBeenSet =
true;
113 m_requestId = std::forward<RequestIdT>(value);
115 template <
typename RequestIdT = Aws::String>
136 bool m_eventSourceArnHasBeenSet =
false;
137 bool m_nameHasBeenSet =
false;
138 bool m_eventBusArnHasBeenSet =
false;
139 bool m_stateHasBeenSet =
false;
140 bool m_creationTimeHasBeenSet =
false;
141 bool m_requestIdHasBeenSet =
false;
void SetName(NameT &&value)
EventSourceState GetState() const
const Aws::String & GetName() const
CreateEventSourceResult & WithEventSourceArn(EventSourceArnT &&value)
void SetEventSourceArn(EventSourceArnT &&value)
const Aws::String & GetEventSourceArn() const
AWS_EVENTBRIDGEV2_API CreateEventSourceResult()=default
CreateEventSourceResult & WithName(NameT &&value)
CreateEventSourceResult & WithEventBusArn(EventBusArnT &&value)
void SetRequestId(RequestIdT &&value)
CreateEventSourceResult & WithState(EventSourceState value)
const Aws::String & GetEventBusArn() const
CreateEventSourceResult & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetRequestId() const
CreateEventSourceResult & WithRequestId(RequestIdT &&value)
void SetEventBusArn(EventBusArnT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_EVENTBRIDGEV2_API CreateEventSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetCreationTime(CreationTimeT &&value)
void SetState(EventSourceState value)
AWS_EVENTBRIDGEV2_API CreateEventSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String