7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cloudtrail/model/Resource.h>
53 inline void SetEventId(
const char* value) { m_eventIdHasBeenSet =
true; m_eventId.assign(value); }
67 inline void SetEventName(
const char* value) { m_eventNameHasBeenSet =
true; m_eventName.assign(value); }
81 inline void SetReadOnly(
const char* value) { m_readOnlyHasBeenSet =
true; m_readOnly.assign(value); }
97 inline void SetAccessKeyId(
const char* value) { m_accessKeyIdHasBeenSet =
true; m_accessKeyId.assign(value); }
123 inline void SetEventSource(
const char* value) { m_eventSourceHasBeenSet =
true; m_eventSource.assign(value); }
138 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
166 inline void SetCloudTrailEvent(
const char* value) { m_cloudTrailEventHasBeenSet =
true; m_cloudTrailEvent.assign(value); }
174 bool m_eventIdHasBeenSet =
false;
177 bool m_eventNameHasBeenSet =
false;
180 bool m_readOnlyHasBeenSet =
false;
183 bool m_accessKeyIdHasBeenSet =
false;
186 bool m_eventTimeHasBeenSet =
false;
189 bool m_eventSourceHasBeenSet =
false;
192 bool m_usernameHasBeenSet =
false;
195 bool m_resourcesHasBeenSet =
false;
198 bool m_cloudTrailEventHasBeenSet =
false;
Event & WithCloudTrailEvent(const Aws::String &value)
void SetEventName(Aws::String &&value)
void SetCloudTrailEvent(const char *value)
Event & WithResources(const Aws::Vector< Resource > &value)
bool EventSourceHasBeenSet() const
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
Event & WithEventName(const char *value)
bool EventTimeHasBeenSet() const
Event & WithEventName(Aws::String &&value)
Event & WithCloudTrailEvent(const char *value)
void SetResources(const Aws::Vector< Resource > &value)
void SetEventId(Aws::String &&value)
void SetAccessKeyId(Aws::String &&value)
bool CloudTrailEventHasBeenSet() const
const Aws::String & GetEventSource() const
void SetCloudTrailEvent(const Aws::String &value)
const Aws::Utils::DateTime & GetEventTime() const
AWS_CLOUDTRAIL_API Event()
bool AccessKeyIdHasBeenSet() const
const Aws::String & GetReadOnly() const
void SetAccessKeyId(const Aws::String &value)
void SetEventSource(const Aws::String &value)
Event & WithEventName(const Aws::String &value)
void SetReadOnly(Aws::String &&value)
void SetEventSource(const char *value)
const Aws::String & GetUsername() const
const Aws::String & GetEventName() const
Event & WithEventId(const Aws::String &value)
void SetReadOnly(const char *value)
AWS_CLOUDTRAIL_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
Event & WithEventId(const char *value)
Event & WithEventSource(const char *value)
Event & WithAccessKeyId(const char *value)
Event & WithResources(Aws::Vector< Resource > &&value)
void SetReadOnly(const Aws::String &value)
Event & WithEventTime(const Aws::Utils::DateTime &value)
Event & WithEventId(Aws::String &&value)
void SetEventName(const Aws::String &value)
AWS_CLOUDTRAIL_API Event(Aws::Utils::Json::JsonView jsonValue)
Event & WithAccessKeyId(const Aws::String &value)
void SetEventId(const Aws::String &value)
Event & WithCloudTrailEvent(Aws::String &&value)
void SetCloudTrailEvent(Aws::String &&value)
Event & WithReadOnly(Aws::String &&value)
void SetUsername(const char *value)
Event & WithUsername(Aws::String &&value)
Event & WithEventSource(Aws::String &&value)
Event & WithAccessKeyId(Aws::String &&value)
const Aws::String & GetAccessKeyId() const
Event & WithEventTime(Aws::Utils::DateTime &&value)
void SetResources(Aws::Vector< Resource > &&value)
bool ReadOnlyHasBeenSet() const
const Aws::String & GetEventId() const
void SetUsername(const Aws::String &value)
const Aws::String & GetCloudTrailEvent() const
void SetEventTime(Aws::Utils::DateTime &&value)
bool EventIdHasBeenSet() const
void SetEventTime(const Aws::Utils::DateTime &value)
Event & AddResources(Resource &&value)
bool ResourcesHasBeenSet() const
void SetEventId(const char *value)
bool EventNameHasBeenSet() const
void SetEventName(const char *value)
Event & WithEventSource(const Aws::String &value)
void SetAccessKeyId(const char *value)
Event & WithUsername(const char *value)
Event & WithUsername(const Aws::String &value)
const Aws::Vector< Resource > & GetResources() const
bool UsernameHasBeenSet() const
void SetEventSource(Aws::String &&value)
void SetUsername(Aws::String &&value)
Event & WithReadOnly(const char *value)
Event & WithReadOnly(const Aws::String &value)
Event & AddResources(const Resource &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