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/EventSourceConfiguration.h>
13#include <aws/eventbridgev2/model/EventSourceState.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace EventBridgeV2 {
36 template <
typename EventSourceArnT = Aws::String>
38 m_eventSourceArnHasBeenSet =
true;
39 m_eventSourceArn = std::forward<EventSourceArnT>(value);
41 template <
typename EventSourceArnT = Aws::String>
51 template <
typename NameT = Aws::String>
53 m_nameHasBeenSet =
true;
54 m_name = std::forward<NameT>(value);
56 template <
typename NameT = Aws::String>
58 SetName(std::forward<NameT>(value));
66 template <
typename EventBusArnT = Aws::String>
68 m_eventBusArnHasBeenSet =
true;
69 m_eventBusArn = std::forward<EventBusArnT>(value);
71 template <
typename EventBusArnT = Aws::String>
81 template <
typename ConfigurationT = EventSourceConfiguration>
83 m_configurationHasBeenSet =
true;
84 m_configuration = std::forward<ConfigurationT>(value);
86 template <
typename ConfigurationT = EventSourceConfiguration>
96 template <
typename DescriptionT = Aws::String>
98 m_descriptionHasBeenSet =
true;
99 m_description = std::forward<DescriptionT>(value);
101 template <
typename DescriptionT = Aws::String>
112 m_stateHasBeenSet =
true;
131 m_revokedHasBeenSet =
true;
145 template <
typename CreationTimeT = Aws::Utils::DateTime>
147 m_creationTimeHasBeenSet =
true;
148 m_creationTime = std::forward<CreationTimeT>(value);
150 template <
typename CreationTimeT = Aws::Utils::DateTime>
162 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
164 m_lastModifiedTimeHasBeenSet =
true;
165 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
167 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
177 template <
typename RequestIdT = Aws::String>
179 m_requestIdHasBeenSet =
true;
180 m_requestId = std::forward<RequestIdT>(value);
182 template <
typename RequestIdT = Aws::String>
203 bool m_revoked{
false};
211 bool m_eventSourceArnHasBeenSet =
false;
212 bool m_nameHasBeenSet =
false;
213 bool m_eventBusArnHasBeenSet =
false;
214 bool m_configurationHasBeenSet =
false;
215 bool m_descriptionHasBeenSet =
false;
216 bool m_stateHasBeenSet =
false;
217 bool m_revokedHasBeenSet =
false;
218 bool m_creationTimeHasBeenSet =
false;
219 bool m_lastModifiedTimeHasBeenSet =
false;
220 bool m_requestIdHasBeenSet =
false;
void SetName(NameT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetRequestId() const
void SetEventBusArn(EventBusArnT &&value)
DescribeEventSourceResult & WithEventBusArn(EventBusArnT &&value)
DescribeEventSourceResult & WithEventSourceArn(EventSourceArnT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetState(EventSourceState value)
DescribeEventSourceResult & WithName(NameT &&value)
DescribeEventSourceResult & WithCreationTime(CreationTimeT &&value)
EventSourceState GetState() const
const Aws::Utils::DateTime & GetCreationTime() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeEventSourceResult & WithRequestId(RequestIdT &&value)
void SetDescription(DescriptionT &&value)
DescribeEventSourceResult & WithRevoked(bool value)
DescribeEventSourceResult & WithState(EventSourceState value)
const Aws::String & GetEventBusArn() const
void SetRevoked(bool value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const EventSourceConfiguration & GetConfiguration() const
void SetEventSourceArn(EventSourceArnT &&value)
void SetConfiguration(ConfigurationT &&value)
AWS_EVENTBRIDGEV2_API DescribeEventSourceResult()=default
DescribeEventSourceResult & WithDescription(DescriptionT &&value)
AWS_EVENTBRIDGEV2_API DescribeEventSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetName() const
DescribeEventSourceResult & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetEventSourceArn() const
AWS_EVENTBRIDGEV2_API DescribeEventSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
DescribeEventSourceResult & WithConfiguration(ConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String