7#include <aws/ce/CostExplorerRequest.h>
8#include <aws/ce/CostExplorer_EXPORTS.h>
9#include <aws/ce/model/AnomalySubscriptionFrequency.h>
10#include <aws/ce/model/Expression.h>
11#include <aws/ce/model/Subscriber.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18namespace CostExplorer {
43 template <
typename SubscriptionArnT = Aws::String>
45 m_subscriptionArnHasBeenSet =
true;
46 m_subscriptionArn = std::forward<SubscriptionArnT>(value);
48 template <
typename SubscriptionArnT = Aws::String>
63 m_frequencyHasBeenSet =
true;
78 template <
typename MonitorArnListT = Aws::Vector<Aws::String>>
80 m_monitorArnListHasBeenSet =
true;
81 m_monitorArnList = std::forward<MonitorArnListT>(value);
83 template <
typename MonitorArnListT = Aws::Vector<Aws::String>>
88 template <
typename MonitorArnListT = Aws::String>
90 m_monitorArnListHasBeenSet =
true;
91 m_monitorArnList.emplace_back(std::forward<MonitorArnListT>(value));
102 template <
typename SubscribersT = Aws::Vector<Subscriber>>
104 m_subscribersHasBeenSet =
true;
105 m_subscribers = std::forward<SubscribersT>(value);
107 template <
typename SubscribersT = Aws::Vector<Subscriber>>
112 template <
typename SubscribersT = Subscriber>
114 m_subscribersHasBeenSet =
true;
115 m_subscribers.emplace_back(std::forward<SubscribersT>(value));
126 template <
typename SubscriptionNameT = Aws::String>
128 m_subscriptionNameHasBeenSet =
true;
129 m_subscriptionName = std::forward<SubscriptionNameT>(value);
131 template <
typename SubscriptionNameT = Aws::String>
171 template <
typename ThresholdExpressionT = Expression>
173 m_thresholdExpressionHasBeenSet =
true;
174 m_thresholdExpression = std::forward<ThresholdExpressionT>(value);
176 template <
typename ThresholdExpressionT = Expression>
193 Expression m_thresholdExpression;
194 bool m_subscriptionArnHasBeenSet =
false;
195 bool m_frequencyHasBeenSet =
false;
196 bool m_monitorArnListHasBeenSet =
false;
197 bool m_subscribersHasBeenSet =
false;
198 bool m_subscriptionNameHasBeenSet =
false;
199 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