7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ce/model/AnomalySubscriptionFrequency.h>
11#include <aws/ce/model/Expression.h>
12#include <aws/ce/model/Subscriber.h>
65 inline void SetSubscriptionArn(
const char* value) { m_subscriptionArnHasBeenSet =
true; m_subscriptionArn.assign(value); }
79 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
138 inline void SetSubscriptionName(
const char* value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName.assign(value); }
186 bool m_subscriptionArnHasBeenSet =
false;
189 bool m_accountIdHasBeenSet =
false;
192 bool m_monitorArnListHasBeenSet =
false;
195 bool m_subscribersHasBeenSet =
false;
198 bool m_frequencyHasBeenSet =
false;
201 bool m_subscriptionNameHasBeenSet =
false;
204 bool m_thresholdExpressionHasBeenSet =
false;
void SetMonitorArnList(const Aws::Vector< Aws::String > &value)
AnomalySubscription & WithSubscriptionArn(Aws::String &&value)
AnomalySubscription & WithSubscribers(const Aws::Vector< Subscriber > &value)
AnomalySubscription & WithSubscriptionArn(const char *value)
const Aws::Vector< Subscriber > & GetSubscribers() const
void SetAccountId(Aws::String &&value)
AWS_COSTEXPLORER_API AnomalySubscription(Aws::Utils::Json::JsonView jsonValue)
AnomalySubscription & WithSubscriptionName(Aws::String &&value)
const AnomalySubscriptionFrequency & GetFrequency() const
void SetSubscriptionName(const char *value)
AnomalySubscription & AddMonitorArnList(const Aws::String &value)
const Aws::String & GetAccountId() const
const Aws::String & GetSubscriptionName() const
void SetSubscriptionArn(Aws::String &&value)
AWS_COSTEXPLORER_API AnomalySubscription & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSubscriptionArn() const
void SetSubscriptionArn(const Aws::String &value)
bool SubscriptionNameHasBeenSet() const
AnomalySubscription & WithMonitorArnList(Aws::Vector< Aws::String > &&value)
AnomalySubscription & WithAccountId(const Aws::String &value)
AnomalySubscription & WithAccountId(const char *value)
AnomalySubscription & WithMonitorArnList(const Aws::Vector< Aws::String > &value)
void SetSubscribers(Aws::Vector< Subscriber > &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
bool MonitorArnListHasBeenSet() const
void SetAccountId(const Aws::String &value)
bool SubscribersHasBeenSet() const
AnomalySubscription & AddSubscribers(const Subscriber &value)
bool SubscriptionArnHasBeenSet() const
bool AccountIdHasBeenSet() const
void SetThresholdExpression(const Expression &value)
void SetThresholdExpression(Expression &&value)
const Aws::Vector< Aws::String > & GetMonitorArnList() const
AnomalySubscription & WithFrequency(const AnomalySubscriptionFrequency &value)
void SetSubscribers(const Aws::Vector< Subscriber > &value)
AnomalySubscription & WithFrequency(AnomalySubscriptionFrequency &&value)
AWS_COSTEXPLORER_API AnomalySubscription()
AnomalySubscription & WithThresholdExpression(const Expression &value)
bool FrequencyHasBeenSet() const
AnomalySubscription & WithSubscriptionArn(const Aws::String &value)
const Expression & GetThresholdExpression() const
void SetSubscriptionArn(const char *value)
void SetFrequency(AnomalySubscriptionFrequency &&value)
AnomalySubscription & AddMonitorArnList(Aws::String &&value)
AnomalySubscription & AddSubscribers(Subscriber &&value)
void SetFrequency(const AnomalySubscriptionFrequency &value)
void SetMonitorArnList(Aws::Vector< Aws::String > &&value)
AnomalySubscription & WithSubscriptionName(const Aws::String &value)
AnomalySubscription & WithThresholdExpression(Expression &&value)
void SetSubscriptionName(const Aws::String &value)
void SetSubscriptionName(Aws::String &&value)
void SetAccountId(const char *value)
AnomalySubscription & WithSubscriptionName(const char *value)
AnomalySubscription & AddMonitorArnList(const char *value)
bool ThresholdExpressionHasBeenSet() const
AnomalySubscription & WithAccountId(Aws::String &&value)
AnomalySubscription & WithSubscribers(Aws::Vector< Subscriber > &&value)
AnomalySubscriptionFrequency
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue