7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/events/model/EventSource.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace CloudWatchEvents
58 inline void SetNextToken(
const char* value) { m_nextToken.assign(value); }
69 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetNextToken(const Aws::String &value)
ListEventSourcesResult & WithRequestId(Aws::String &&value)
ListEventSourcesResult & WithEventSources(Aws::Vector< EventSource > &&value)
ListEventSourcesResult & WithNextToken(const Aws::String &value)
ListEventSourcesResult & WithNextToken(const char *value)
ListEventSourcesResult & WithNextToken(Aws::String &&value)
void SetRequestId(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API ListEventSourcesResult()
ListEventSourcesResult & AddEventSources(EventSource &&value)
void SetNextToken(const char *value)
void SetRequestId(const Aws::String &value)
ListEventSourcesResult & WithRequestId(const char *value)
const Aws::Vector< EventSource > & GetEventSources() const
void SetNextToken(Aws::String &&value)
ListEventSourcesResult & WithRequestId(const Aws::String &value)
ListEventSourcesResult & AddEventSources(const EventSource &value)
AWS_CLOUDWATCHEVENTS_API ListEventSourcesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDWATCHEVENTS_API ListEventSourcesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEventSources(Aws::Vector< EventSource > &&value)
ListEventSourcesResult & WithEventSources(const Aws::Vector< EventSource > &value)
void SetEventSources(const Aws::Vector< EventSource > &value)
const Aws::String & GetRequestId() const
void SetRequestId(const char *value)
const Aws::String & GetNextToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue