7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/model/ResourceCollection.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/devops-guru/model/EventDataSource.h>
12#include <aws/devops-guru/model/EventClass.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/devops-guru/model/EventResource.h>
66 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
67 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
93 inline void SetEventSource(
const char* value) { m_eventSourceHasBeenSet =
true; m_eventSource.assign(value); }
107 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
156 bool m_resourceCollectionHasBeenSet =
false;
159 bool m_idHasBeenSet =
false;
162 bool m_timeHasBeenSet =
false;
165 bool m_eventSourceHasBeenSet =
false;
168 bool m_nameHasBeenSet =
false;
171 bool m_dataSourceHasBeenSet =
false;
174 bool m_eventClassHasBeenSet =
false;
177 bool m_resourcesHasBeenSet =
false;
Event & WithEventSource(const Aws::String &value)
bool NameHasBeenSet() const
void SetDataSource(const EventDataSource &value)
void SetDataSource(EventDataSource &&value)
void SetEventClass(EventClass &&value)
void SetId(Aws::String &&value)
Event & WithResources(Aws::Vector< EventResource > &&value)
void SetTime(const Aws::Utils::DateTime &value)
AWS_DEVOPSGURU_API Event(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
Event & WithResourceCollection(ResourceCollection &&value)
const ResourceCollection & GetResourceCollection() const
Event & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
void SetResourceCollection(const ResourceCollection &value)
bool EventSourceHasBeenSet() const
Event & WithDataSource(const EventDataSource &value)
AWS_DEVOPSGURU_API Event()
bool ResourceCollectionHasBeenSet() const
void SetTime(Aws::Utils::DateTime &&value)
const EventDataSource & GetDataSource() const
Event & WithResourceCollection(const ResourceCollection &value)
const EventClass & GetEventClass() const
bool EventClassHasBeenSet() const
const Aws::String & GetName() const
Event & WithEventSource(const char *value)
Event & WithEventClass(EventClass &&value)
void SetEventSource(const char *value)
void SetEventClass(const EventClass &value)
const Aws::String & GetEventSource() const
void SetName(Aws::String &&value)
void SetEventSource(Aws::String &&value)
const Aws::Vector< EventResource > & GetResources() const
bool ResourcesHasBeenSet() const
AWS_DEVOPSGURU_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
Event & AddResources(EventResource &&value)
Event & WithId(const char *value)
Event & WithDataSource(EventDataSource &&value)
void SetResources(const Aws::Vector< EventResource > &value)
Event & AddResources(const EventResource &value)
bool TimeHasBeenSet() const
Event & WithTime(const Aws::Utils::DateTime &value)
Event & WithResources(const Aws::Vector< EventResource > &value)
bool DataSourceHasBeenSet() const
const Aws::Utils::DateTime & GetTime() const
Event & WithTime(Aws::Utils::DateTime &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResources(Aws::Vector< EventResource > &&value)
void SetId(const char *value)
Event & WithId(Aws::String &&value)
void SetEventSource(const Aws::String &value)
Event & WithEventClass(const EventClass &value)
Event & WithName(const Aws::String &value)
void SetName(const char *value)
Event & WithName(const char *value)
Event & WithEventSource(Aws::String &&value)
void SetId(const Aws::String &value)
Event & WithId(const Aws::String &value)
void SetResourceCollection(ResourceCollection &&value)
const Aws::String & GetId() 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