7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eventbridge/model/EventSource.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename EventSourcesT = Aws::Vector<EventSource>>
43 void SetEventSources(EventSourcesT&& value) { m_eventSourcesHasBeenSet =
true; m_eventSources = std::forward<EventSourcesT>(value); }
44 template<
typename EventSourcesT = Aws::Vector<EventSource>>
46 template<
typename EventSourcesT = EventSource>
60 template<
typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
62 template<
typename NextTokenT = Aws::String>
69 template<
typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
71 template<
typename RequestIdT = Aws::String>
77 bool m_eventSourcesHasBeenSet =
false;
80 bool m_nextTokenHasBeenSet =
false;
83 bool m_requestIdHasBeenSet =
false;
ListEventSourcesResult & AddEventSources(EventSourcesT &&value)
void SetEventSources(EventSourcesT &&value)
ListEventSourcesResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_EVENTBRIDGE_API ListEventSourcesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(NextTokenT &&value)
AWS_EVENTBRIDGE_API ListEventSourcesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< EventSource > & GetEventSources() const
AWS_EVENTBRIDGE_API ListEventSourcesResult()=default
ListEventSourcesResult & WithEventSources(EventSourcesT &&value)
const Aws::String & GetNextToken() const
ListEventSourcesResult & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue