7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetEndpoint(
const char* value) { m_endpointHasBeenSet =
true; m_endpoint.assign(value); }
63 inline void SetProtocol(
const char* value) { m_protocolHasBeenSet =
true; m_protocol.assign(value); }
71 bool m_endpointHasBeenSet =
false;
74 bool m_protocolHasBeenSet =
false;
void SetEndpoint(const Aws::String &value)
AWS_SECURITYHUB_API AwsSnsTopicSubscription()
AwsSnsTopicSubscription & WithEndpoint(Aws::String &&value)
AwsSnsTopicSubscription & WithProtocol(const char *value)
const Aws::String & GetProtocol() const
void SetEndpoint(Aws::String &&value)
AwsSnsTopicSubscription & WithProtocol(Aws::String &&value)
bool EndpointHasBeenSet() const
AwsSnsTopicSubscription & WithEndpoint(const char *value)
void SetProtocol(Aws::String &&value)
bool ProtocolHasBeenSet() const
void SetEndpoint(const char *value)
AWS_SECURITYHUB_API AwsSnsTopicSubscription & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEndpoint() const
void SetProtocol(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsSnsTopicSubscription & WithEndpoint(const Aws::String &value)
AwsSnsTopicSubscription & WithProtocol(const Aws::String &value)
void SetProtocol(const Aws::String &value)
AWS_SECURITYHUB_API AwsSnsTopicSubscription(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue