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
66 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
86 inline void SetSnsTopicArn(
const char* value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn.assign(value); }
94 bool m_eventTypeHasBeenSet =
false;
97 bool m_nameHasBeenSet =
false;
100 bool m_snsTopicArnHasBeenSet =
false;
EventSubscription & WithName(const char *value)
EventSubscription & WithSnsTopicArn(Aws::String &&value)
void SetSnsTopicArn(Aws::String &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEventType(const EventType &value)
EventSubscription & WithEventType(const EventType &value)
bool SnsTopicArnHasBeenSet() const
EventSubscription & WithName(const Aws::String &value)
void SetName(const char *value)
EventSubscription & WithName(Aws::String &&value)
AWS_RESILIENCEHUB_API EventSubscription & operator=(Aws::Utils::Json::JsonView jsonValue)
EventSubscription & WithSnsTopicArn(const char *value)
void SetEventType(EventType &&value)
AWS_RESILIENCEHUB_API EventSubscription()
void SetName(const Aws::String &value)
const EventType & GetEventType() const
const Aws::String & GetSnsTopicArn() const
bool EventTypeHasBeenSet() const
void SetName(Aws::String &&value)
void SetSnsTopicArn(const Aws::String &value)
void SetSnsTopicArn(const char *value)
bool NameHasBeenSet() const
EventSubscription & WithSnsTopicArn(const Aws::String &value)
AWS_RESILIENCEHUB_API EventSubscription(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
EventSubscription & WithEventType(EventType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue