7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrassv2/model/LambdaEventSourceType.h>
51 inline void SetTopic(
const char* value) { m_topicHasBeenSet =
true; m_topic.assign(value); }
77 bool m_topicHasBeenSet =
false;
80 bool m_typeHasBeenSet =
false;
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaEventSource & WithType(const LambdaEventSourceType &value)
AWS_GREENGRASSV2_API LambdaEventSource()
bool TopicHasBeenSet() const
const Aws::String & GetTopic() const
void SetType(LambdaEventSourceType &&value)
LambdaEventSource & WithType(LambdaEventSourceType &&value)
void SetType(const LambdaEventSourceType &value)
const LambdaEventSourceType & GetType() const
AWS_GREENGRASSV2_API LambdaEventSource(Aws::Utils::Json::JsonView jsonValue)
void SetTopic(Aws::String &&value)
void SetTopic(const Aws::String &value)
LambdaEventSource & WithTopic(const Aws::String &value)
AWS_GREENGRASSV2_API LambdaEventSource & operator=(Aws::Utils::Json::JsonView jsonValue)
LambdaEventSource & WithTopic(Aws::String &&value)
void SetTopic(const char *value)
LambdaEventSource & WithTopic(const char *value)
bool TypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue