7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutmetrics/model/SnsFormat.h>
22namespace LookoutMetrics
51 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
65 inline void SetSnsTopicArn(
const char* value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn.assign(value); }
91 bool m_roleArnHasBeenSet =
false;
94 bool m_snsTopicArnHasBeenSet =
false;
97 bool m_snsFormatHasBeenSet =
false;
SNSConfiguration & WithRoleArn(const Aws::String &value)
void SetSnsFormat(SnsFormat &&value)
void SetSnsTopicArn(const Aws::String &value)
bool SnsTopicArnHasBeenSet() const
void SetSnsFormat(const SnsFormat &value)
void SetRoleArn(Aws::String &&value)
void SetSnsTopicArn(const char *value)
SNSConfiguration & WithRoleArn(const char *value)
AWS_LOOKOUTMETRICS_API SNSConfiguration(Aws::Utils::Json::JsonView jsonValue)
SNSConfiguration & WithSnsTopicArn(const Aws::String &value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
SNSConfiguration & WithSnsFormat(SnsFormat &&value)
SNSConfiguration & WithRoleArn(Aws::String &&value)
SNSConfiguration & WithSnsTopicArn(Aws::String &&value)
SNSConfiguration & WithSnsTopicArn(const char *value)
void SetSnsTopicArn(Aws::String &&value)
const SnsFormat & GetSnsFormat() const
void SetRoleArn(const char *value)
const Aws::String & GetRoleArn() const
AWS_LOOKOUTMETRICS_API SNSConfiguration()
bool RoleArnHasBeenSet() const
void SetRoleArn(const Aws::String &value)
const Aws::String & GetSnsTopicArn() const
AWS_LOOKOUTMETRICS_API SNSConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SnsFormatHasBeenSet() const
SNSConfiguration & WithSnsFormat(const SnsFormat &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue