7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/CostExplorerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ce/model/AnomalySubscriptionFrequency.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ce/model/Expression.h>
13#include <aws/ce/model/Subscriber.h>
47 template<
typename SubscriptionArnT = Aws::String>
48 void SetSubscriptionArn(SubscriptionArnT&& value) { m_subscriptionArnHasBeenSet =
true; m_subscriptionArn = std::forward<SubscriptionArnT>(value); }
49 template<
typename SubscriptionArnT = Aws::String>
70 template<
typename MonitorArnListT = Aws::Vector<Aws::String>>
71 void SetMonitorArnList(MonitorArnListT&& value) { m_monitorArnListHasBeenSet =
true; m_monitorArnList = std::forward<MonitorArnListT>(value); }
72 template<
typename MonitorArnListT = Aws::Vector<Aws::String>>
74 template<
typename MonitorArnListT = Aws::String>
84 template<
typename SubscribersT = Aws::Vector<Subscriber>>
85 void SetSubscribers(SubscribersT&& value) { m_subscribersHasBeenSet =
true; m_subscribers = std::forward<SubscribersT>(value); }
86 template<
typename SubscribersT = Aws::Vector<Subscriber>>
88 template<
typename SubscribersT = Subscriber>
98 template<
typename SubscriptionNameT = Aws::String>
99 void SetSubscriptionName(SubscriptionNameT&& value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName = std::forward<SubscriptionNameT>(value); }
100 template<
typename SubscriptionNameT = Aws::String>
137 template<
typename ThresholdExpressionT = Expression>
138 void SetThresholdExpression(ThresholdExpressionT&& value) { m_thresholdExpressionHasBeenSet =
true; m_thresholdExpression = std::forward<ThresholdExpressionT>(value); }
139 template<
typename ThresholdExpressionT = Expression>
145 bool m_subscriptionArnHasBeenSet =
false;
148 bool m_frequencyHasBeenSet =
false;
151 bool m_monitorArnListHasBeenSet =
false;
154 bool m_subscribersHasBeenSet =
false;
157 bool m_subscriptionNameHasBeenSet =
false;
159 Expression m_thresholdExpression;
160 bool m_thresholdExpressionHasBeenSet =
false;
void SetThresholdExpression(ThresholdExpressionT &&value)
void SetFrequency(AnomalySubscriptionFrequency value)
bool ThresholdExpressionHasBeenSet() const
AnomalySubscriptionFrequency GetFrequency() const
const Aws::String & GetSubscriptionName() const
const Expression & GetThresholdExpression() const
void SetMonitorArnList(MonitorArnListT &&value)
AWS_COSTEXPLORER_API UpdateAnomalySubscriptionRequest()=default
UpdateAnomalySubscriptionRequest & AddMonitorArnList(MonitorArnListT &&value)
bool SubscriptionArnHasBeenSet() const
UpdateAnomalySubscriptionRequest & AddSubscribers(SubscribersT &&value)
void SetSubscriptionArn(SubscriptionArnT &&value)
void SetSubscriptionName(SubscriptionNameT &&value)
bool FrequencyHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSubscriptionArn() const
void SetSubscribers(SubscribersT &&value)
UpdateAnomalySubscriptionRequest & WithSubscriptionArn(SubscriptionArnT &&value)
UpdateAnomalySubscriptionRequest & WithSubscribers(SubscribersT &&value)
UpdateAnomalySubscriptionRequest & WithMonitorArnList(MonitorArnListT &&value)
const Aws::Vector< Aws::String > & GetMonitorArnList() const
UpdateAnomalySubscriptionRequest & WithThresholdExpression(ThresholdExpressionT &&value)
bool MonitorArnListHasBeenSet() const
const Aws::Vector< Subscriber > & GetSubscribers() const
bool SubscribersHasBeenSet() const
UpdateAnomalySubscriptionRequest & WithSubscriptionName(SubscriptionNameT &&value)
AWS_COSTEXPLORER_API Aws::String SerializePayload() const override
AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateAnomalySubscriptionRequest & WithFrequency(AnomalySubscriptionFrequency value)
bool SubscriptionNameHasBeenSet() const
AnomalySubscriptionFrequency
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector