7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/model/EventType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ResilienceHub
62 template<
typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
64 template<
typename NameT = Aws::String>
80 template<
typename SnsTopicArnT = Aws::String>
81 void SetSnsTopicArn(SnsTopicArnT&& value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn = std::forward<SnsTopicArnT>(value); }
82 template<
typename SnsTopicArnT = Aws::String>
88 bool m_eventTypeHasBeenSet =
false;
91 bool m_nameHasBeenSet =
false;
94 bool m_snsTopicArnHasBeenSet =
false;
EventSubscription & WithSnsTopicArn(SnsTopicArnT &&value)
EventType GetEventType() const
AWS_RESILIENCEHUB_API EventSubscription()=default
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool SnsTopicArnHasBeenSet() const
EventSubscription & WithName(NameT &&value)
void SetEventType(EventType value)
AWS_RESILIENCEHUB_API EventSubscription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
EventSubscription & WithEventType(EventType value)
void SetSnsTopicArn(SnsTopicArnT &&value)
const Aws::String & GetSnsTopicArn() const
bool EventTypeHasBeenSet() const
bool NameHasBeenSet() const
AWS_RESILIENCEHUB_API EventSubscription(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue