7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
9#include <aws/resiliencehub/model/EventType.h>
20namespace ResilienceHub {
47 m_eventTypeHasBeenSet =
true;
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
86 template <
typename SnsTopicArnT = Aws::String>
88 m_snsTopicArnHasBeenSet =
true;
89 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
91 template <
typename SnsTopicArnT = Aws::String>
103 bool m_eventTypeHasBeenSet =
false;
104 bool m_nameHasBeenSet =
false;
105 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