7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/AnomalySubscriptionFrequency.h>
9#include <aws/ce/model/Expression.h>
10#include <aws/ce/model/Subscriber.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace CostExplorer {
57 template <
typename SubscriptionArnT = Aws::String>
59 m_subscriptionArnHasBeenSet =
true;
60 m_subscriptionArn = std::forward<SubscriptionArnT>(value);
62 template <
typename SubscriptionArnT = Aws::String>
75 template <
typename AccountIdT = Aws::String>
77 m_accountIdHasBeenSet =
true;
78 m_accountId = std::forward<AccountIdT>(value);
80 template <
typename AccountIdT = Aws::String>
93 template <
typename MonitorArnListT = Aws::Vector<Aws::String>>
95 m_monitorArnListHasBeenSet =
true;
96 m_monitorArnList = std::forward<MonitorArnListT>(value);
98 template <
typename MonitorArnListT = Aws::Vector<Aws::String>>
103 template <
typename MonitorArnListT = Aws::String>
105 m_monitorArnListHasBeenSet =
true;
106 m_monitorArnList.emplace_back(std::forward<MonitorArnListT>(value));
117 template <
typename SubscribersT = Aws::Vector<Subscriber>>
119 m_subscribersHasBeenSet =
true;
120 m_subscribers = std::forward<SubscribersT>(value);
122 template <
typename SubscribersT = Aws::Vector<Subscriber>>
127 template <
typename SubscribersT = Subscriber>
129 m_subscribersHasBeenSet =
true;
130 m_subscribers.emplace_back(std::forward<SubscribersT>(value));
146 m_frequencyHasBeenSet =
true;
161 template <
typename SubscriptionNameT = Aws::String>
163 m_subscriptionNameHasBeenSet =
true;
164 m_subscriptionName = std::forward<SubscriptionNameT>(value);
166 template <
typename SubscriptionNameT = Aws::String>
207 template <
typename ThresholdExpressionT = Expression>
209 m_thresholdExpressionHasBeenSet =
true;
210 m_thresholdExpression = std::forward<ThresholdExpressionT>(value);
212 template <
typename ThresholdExpressionT = Expression>
231 Expression m_thresholdExpression;
232 bool m_subscriptionArnHasBeenSet =
false;
233 bool m_accountIdHasBeenSet =
false;
234 bool m_monitorArnListHasBeenSet =
false;
235 bool m_subscribersHasBeenSet =
false;
236 bool m_frequencyHasBeenSet =
false;
237 bool m_subscriptionNameHasBeenSet =
false;
238 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