7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/events/model/EventSourceState.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace CloudWatchEvents
44 inline void SetArn(
const char* value) { m_arn.assign(value); }
57 inline void SetCreatedBy(
const char* value) { m_createdBy.assign(value); }
93 inline void SetName(
const char* value) { m_name.assign(value); }
119 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetExpirationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeEventSourceResult & WithCreatedBy(const char *value)
void SetCreatedBy(Aws::String &&value)
DescribeEventSourceResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeEventSourceResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeEventSourceResult & WithState(const EventSourceState &value)
DescribeEventSourceResult & WithExpirationTime(const Aws::Utils::DateTime &value)
void SetCreatedBy(const char *value)
void SetName(const char *value)
void SetState(const EventSourceState &value)
DescribeEventSourceResult & WithCreatedBy(Aws::String &&value)
void SetArn(Aws::String &&value)
void SetArn(const char *value)
AWS_CLOUDWATCHEVENTS_API DescribeEventSourceResult()
AWS_CLOUDWATCHEVENTS_API DescribeEventSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
DescribeEventSourceResult & WithRequestId(Aws::String &&value)
DescribeEventSourceResult & WithCreatedBy(const Aws::String &value)
void SetRequestId(const char *value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetArn() const
DescribeEventSourceResult & WithRequestId(const Aws::String &value)
const Aws::String & GetCreatedBy() const
void SetName(Aws::String &&value)
const Aws::Utils::DateTime & GetExpirationTime() const
DescribeEventSourceResult & WithRequestId(const char *value)
void SetArn(const Aws::String &value)
DescribeEventSourceResult & WithName(const char *value)
void SetCreatedBy(const Aws::String &value)
DescribeEventSourceResult & WithArn(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
DescribeEventSourceResult & WithArn(const Aws::String &value)
DescribeEventSourceResult & WithArn(const char *value)
void SetState(EventSourceState &&value)
DescribeEventSourceResult & WithExpirationTime(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
void SetRequestId(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API DescribeEventSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEventSourceResult & WithName(const Aws::String &value)
const EventSourceState & GetState() const
DescribeEventSourceResult & WithName(Aws::String &&value)
void SetExpirationTime(const Aws::Utils::DateTime &value)
DescribeEventSourceResult & WithState(EventSourceState &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue