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>
63 template<
typename SubscriptionArnT = Aws::String>
64 void SetSubscriptionArn(SubscriptionArnT&& value) { m_subscriptionArnHasBeenSet =
true; m_subscriptionArn = std::forward<SubscriptionArnT>(value); }
65 template<
typename SubscriptionArnT = Aws::String>
75 template<
typename AccountIdT = Aws::String>
76 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
77 template<
typename AccountIdT = Aws::String>
87 template<
typename MonitorArnListT = Aws::Vector<Aws::String>>
88 void SetMonitorArnList(MonitorArnListT&& value) { m_monitorArnListHasBeenSet =
true; m_monitorArnList = std::forward<MonitorArnListT>(value); }
89 template<
typename MonitorArnListT = Aws::Vector<Aws::String>>
91 template<
typename MonitorArnListT = Aws::String>
101 template<
typename SubscribersT = Aws::Vector<Subscriber>>
102 void SetSubscribers(SubscribersT&& value) { m_subscribersHasBeenSet =
true; m_subscribers = std::forward<SubscribersT>(value); }
103 template<
typename SubscribersT = Aws::Vector<Subscriber>>
105 template<
typename SubscribersT = Subscriber>
129 template<
typename SubscriptionNameT = Aws::String>
130 void SetSubscriptionName(SubscriptionNameT&& value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName = std::forward<SubscriptionNameT>(value); }
131 template<
typename SubscriptionNameT = Aws::String>
169 template<
typename ThresholdExpressionT = Expression>
170 void SetThresholdExpression(ThresholdExpressionT&& value) { m_thresholdExpressionHasBeenSet =
true; m_thresholdExpression = std::forward<ThresholdExpressionT>(value); }
171 template<
typename ThresholdExpressionT = Expression>
177 bool m_subscriptionArnHasBeenSet =
false;
180 bool m_accountIdHasBeenSet =
false;
183 bool m_monitorArnListHasBeenSet =
false;
186 bool m_subscribersHasBeenSet =
false;
189 bool m_frequencyHasBeenSet =
false;
192 bool m_subscriptionNameHasBeenSet =
false;
194 Expression m_thresholdExpression;
195 bool m_thresholdExpressionHasBeenSet =
false;
AnomalySubscription & WithSubscriptionName(SubscriptionNameT &&value)
const Aws::Vector< Subscriber > & GetSubscribers() const
AWS_COSTEXPLORER_API AnomalySubscription()=default
AWS_COSTEXPLORER_API AnomalySubscription(Aws::Utils::Json::JsonView jsonValue)
void SetSubscribers(SubscribersT &&value)
AnomalySubscription & WithSubscribers(SubscribersT &&value)
const Aws::String & GetAccountId() const
const Aws::String & GetSubscriptionName() const
AWS_COSTEXPLORER_API AnomalySubscription & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSubscriptionArn() const
void SetThresholdExpression(ThresholdExpressionT &&value)
bool SubscriptionNameHasBeenSet() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
bool MonitorArnListHasBeenSet() const
void SetFrequency(AnomalySubscriptionFrequency value)
bool SubscribersHasBeenSet() const
AnomalySubscription & WithSubscriptionArn(SubscriptionArnT &&value)
AnomalySubscription & WithThresholdExpression(ThresholdExpressionT &&value)
AnomalySubscription & AddMonitorArnList(MonitorArnListT &&value)
bool SubscriptionArnHasBeenSet() const
AnomalySubscription & WithAccountId(AccountIdT &&value)
bool AccountIdHasBeenSet() const
AnomalySubscription & WithFrequency(AnomalySubscriptionFrequency value)
const Aws::Vector< Aws::String > & GetMonitorArnList() const
void SetAccountId(AccountIdT &&value)
AnomalySubscriptionFrequency GetFrequency() const
AnomalySubscription & AddSubscribers(SubscribersT &&value)
void SetSubscriptionArn(SubscriptionArnT &&value)
bool FrequencyHasBeenSet() const
AnomalySubscription & WithMonitorArnList(MonitorArnListT &&value)
const Expression & GetThresholdExpression() const
void SetMonitorArnList(MonitorArnListT &&value)
void SetSubscriptionName(SubscriptionNameT &&value)
bool ThresholdExpressionHasBeenSet() const
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