7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
9#include <aws/greengrassv2/model/LambdaEventSourceType.h>
20namespace GreengrassV2 {
43 template <
typename TopicT = Aws::String>
45 m_topicHasBeenSet =
true;
46 m_topic = std::forward<TopicT>(value);
48 template <
typename TopicT = Aws::String>
50 SetTopic(std::forward<TopicT>(value));
68 m_typeHasBeenSet =
true;
80 bool m_topicHasBeenSet =
false;
81 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