7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/inspector/model/EventSubscription.h>
52 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
67 inline void SetTopicArn(
const char* value) { m_topicArnHasBeenSet =
true; m_topicArn.assign(value); }
89 bool m_resourceArnHasBeenSet =
false;
92 bool m_topicArnHasBeenSet =
false;
95 bool m_eventSubscriptionsHasBeenSet =
false;
AWS_INSPECTOR_API Subscription & operator=(Aws::Utils::Json::JsonView jsonValue)
Subscription & WithResourceArn(const Aws::String &value)
Subscription & WithTopicArn(Aws::String &&value)
void SetResourceArn(const char *value)
void SetResourceArn(const Aws::String &value)
const Aws::String & GetResourceArn() const
Subscription & AddEventSubscriptions(EventSubscription &&value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEventSubscriptions(Aws::Vector< EventSubscription > &&value)
const Aws::String & GetTopicArn() const
Subscription & WithEventSubscriptions(const Aws::Vector< EventSubscription > &value)
bool TopicArnHasBeenSet() const
void SetTopicArn(Aws::String &&value)
void SetEventSubscriptions(const Aws::Vector< EventSubscription > &value)
Subscription & WithResourceArn(const char *value)
bool ResourceArnHasBeenSet() const
Subscription & WithTopicArn(const Aws::String &value)
Subscription & AddEventSubscriptions(const EventSubscription &value)
void SetResourceArn(Aws::String &&value)
AWS_INSPECTOR_API Subscription()
const Aws::Vector< EventSubscription > & GetEventSubscriptions() const
bool EventSubscriptionsHasBeenSet() const
void SetTopicArn(const char *value)
void SetTopicArn(const Aws::String &value)
AWS_INSPECTOR_API Subscription(Aws::Utils::Json::JsonView jsonValue)
Subscription & WithEventSubscriptions(Aws::Vector< EventSubscription > &&value)
Subscription & WithTopicArn(const char *value)
Subscription & WithResourceArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue