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
63 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
95 inline void SetDetailType(
const char* value) { m_detailTypeHasBeenSet =
true; m_detailType.assign(value); }
110 inline void SetDetail(
const char* value) { m_detailHasBeenSet =
true; m_detail.assign(value); }
118 bool m_timeHasBeenSet =
false;
121 bool m_sourceHasBeenSet =
false;
124 bool m_resourcesHasBeenSet =
false;
127 bool m_detailTypeHasBeenSet =
false;
130 bool m_detailHasBeenSet =
false;
bool TimeHasBeenSet() const
bool DetailTypeHasBeenSet() const
bool ResourcesHasBeenSet() const
PutPartnerEventsRequestEntry & WithDetail(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API PutPartnerEventsRequestEntry(Aws::Utils::Json::JsonView jsonValue)
PutPartnerEventsRequestEntry & WithDetail(Aws::String &&value)
bool DetailHasBeenSet() const
PutPartnerEventsRequestEntry & WithDetailType(Aws::String &&value)
PutPartnerEventsRequestEntry & WithDetail(const char *value)
const Aws::Vector< Aws::String > & GetResources() const
AWS_CLOUDWATCHEVENTS_API PutPartnerEventsRequestEntry()
PutPartnerEventsRequestEntry & WithDetailType(const char *value)
PutPartnerEventsRequestEntry & WithTime(const Aws::Utils::DateTime &value)
void SetSource(const Aws::String &value)
PutPartnerEventsRequestEntry & WithSource(Aws::String &&value)
PutPartnerEventsRequestEntry & WithResources(Aws::Vector< Aws::String > &&value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
PutPartnerEventsRequestEntry & AddResources(const char *value)
void SetResources(const Aws::Vector< Aws::String > &value)
void SetSource(const char *value)
void SetTime(Aws::Utils::DateTime &&value)
void SetDetailType(Aws::String &&value)
PutPartnerEventsRequestEntry & AddResources(const Aws::String &value)
void SetDetail(const Aws::String &value)
PutPartnerEventsRequestEntry & WithSource(const Aws::String &value)
PutPartnerEventsRequestEntry & WithDetailType(const Aws::String &value)
void SetResources(Aws::Vector< Aws::String > &&value)
AWS_CLOUDWATCHEVENTS_API PutPartnerEventsRequestEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTime(const Aws::Utils::DateTime &value)
bool SourceHasBeenSet() const
const Aws::String & GetSource() const
const Aws::String & GetDetailType() const
const Aws::String & GetDetail() const
PutPartnerEventsRequestEntry & WithSource(const char *value)
void SetSource(Aws::String &&value)
PutPartnerEventsRequestEntry & WithResources(const Aws::Vector< Aws::String > &value)
PutPartnerEventsRequestEntry & AddResources(Aws::String &&value)
void SetDetail(Aws::String &&value)
void SetDetailType(const Aws::String &value)
const Aws::Utils::DateTime & GetTime() const
void SetDetail(const char *value)
PutPartnerEventsRequestEntry & WithTime(Aws::Utils::DateTime &&value)
void SetDetailType(const char *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