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