7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace CloudWatchEvents
66 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
98 inline void SetDetailType(
const char* value) { m_detailTypeHasBeenSet =
true; m_detailType.assign(value); }
113 inline void SetDetail(
const char* value) { m_detailHasBeenSet =
true; m_detail.assign(value); }
129 inline void SetEventBusName(
const char* value) { m_eventBusNameHasBeenSet =
true; m_eventBusName.assign(value); }
147 inline void SetTraceHeader(
const char* value) { m_traceHeaderHasBeenSet =
true; m_traceHeader.assign(value); }
155 bool m_timeHasBeenSet =
false;
158 bool m_sourceHasBeenSet =
false;
161 bool m_resourcesHasBeenSet =
false;
164 bool m_detailTypeHasBeenSet =
false;
167 bool m_detailHasBeenSet =
false;
170 bool m_eventBusNameHasBeenSet =
false;
173 bool m_traceHeaderHasBeenSet =
false;
PutEventsRequestEntry & WithDetailType(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API PutEventsRequestEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDetailType(const char *value)
PutEventsRequestEntry & WithSource(const char *value)
void SetTraceHeader(Aws::String &&value)
void SetDetail(const char *value)
bool ResourcesHasBeenSet() const
void SetResources(Aws::Vector< Aws::String > &&value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTraceHeader(const char *value)
PutEventsRequestEntry & AddResources(const Aws::String &value)
bool TimeHasBeenSet() const
PutEventsRequestEntry & WithTime(Aws::Utils::DateTime &&value)
PutEventsRequestEntry & WithTraceHeader(Aws::String &&value)
const Aws::String & GetSource() const
void SetSource(Aws::String &&value)
PutEventsRequestEntry & AddResources(Aws::String &&value)
const Aws::String & GetEventBusName() const
PutEventsRequestEntry & WithSource(Aws::String &&value)
PutEventsRequestEntry & WithDetailType(Aws::String &&value)
void SetResources(const Aws::Vector< Aws::String > &value)
PutEventsRequestEntry & WithTime(const Aws::Utils::DateTime &value)
PutEventsRequestEntry & WithResources(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetTime() const
void SetDetail(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API PutEventsRequestEntry()
PutEventsRequestEntry & WithDetail(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API PutEventsRequestEntry(Aws::Utils::Json::JsonView jsonValue)
PutEventsRequestEntry & WithDetail(const char *value)
void SetDetail(Aws::String &&value)
PutEventsRequestEntry & WithEventBusName(const Aws::String &value)
bool EventBusNameHasBeenSet() const
void SetDetailType(const Aws::String &value)
void SetTraceHeader(const Aws::String &value)
PutEventsRequestEntry & AddResources(const char *value)
bool DetailTypeHasBeenSet() const
PutEventsRequestEntry & WithTraceHeader(const Aws::String &value)
PutEventsRequestEntry & WithTraceHeader(const char *value)
PutEventsRequestEntry & WithEventBusName(Aws::String &&value)
void SetDetailType(Aws::String &&value)
void SetTime(const Aws::Utils::DateTime &value)
bool DetailHasBeenSet() const
const Aws::Vector< Aws::String > & GetResources() const
bool TraceHeaderHasBeenSet() const
void SetSource(const Aws::String &value)
void SetTime(Aws::Utils::DateTime &&value)
void SetEventBusName(Aws::String &&value)
const Aws::String & GetDetail() const
void SetEventBusName(const char *value)
PutEventsRequestEntry & WithResources(Aws::Vector< Aws::String > &&value)
bool SourceHasBeenSet() const
void SetSource(const char *value)
PutEventsRequestEntry & WithDetailType(const char *value)
void SetEventBusName(const Aws::String &value)
PutEventsRequestEntry & WithDetail(Aws::String &&value)
const Aws::String & GetDetailType() const
const Aws::String & GetTraceHeader() const
PutEventsRequestEntry & WithEventBusName(const char *value)
PutEventsRequestEntry & WithSource(const Aws::String &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