AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetAnomalySubscriptionsRequest.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/CostExplorerRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CostExplorer
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_COSTEXPLORER_API GetAnomalySubscriptionsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetAnomalySubscriptions"; }
32
33 AWS_COSTEXPLORER_API Aws::String SerializePayload() const override;
34
35 AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::Vector<Aws::String>& GetSubscriptionArnList() const { return m_subscriptionArnList; }
43 inline bool SubscriptionArnListHasBeenSet() const { return m_subscriptionArnListHasBeenSet; }
44 template<typename SubscriptionArnListT = Aws::Vector<Aws::String>>
45 void SetSubscriptionArnList(SubscriptionArnListT&& value) { m_subscriptionArnListHasBeenSet = true; m_subscriptionArnList = std::forward<SubscriptionArnListT>(value); }
46 template<typename SubscriptionArnListT = Aws::Vector<Aws::String>>
47 GetAnomalySubscriptionsRequest& WithSubscriptionArnList(SubscriptionArnListT&& value) { SetSubscriptionArnList(std::forward<SubscriptionArnListT>(value)); return *this;}
48 template<typename SubscriptionArnListT = Aws::String>
49 GetAnomalySubscriptionsRequest& AddSubscriptionArnList(SubscriptionArnListT&& value) { m_subscriptionArnListHasBeenSet = true; m_subscriptionArnList.emplace_back(std::forward<SubscriptionArnListT>(value)); return *this; }
51
53
56 inline const Aws::String& GetMonitorArn() const { return m_monitorArn; }
57 inline bool MonitorArnHasBeenSet() const { return m_monitorArnHasBeenSet; }
58 template<typename MonitorArnT = Aws::String>
59 void SetMonitorArn(MonitorArnT&& value) { m_monitorArnHasBeenSet = true; m_monitorArn = std::forward<MonitorArnT>(value); }
60 template<typename MonitorArnT = Aws::String>
61 GetAnomalySubscriptionsRequest& WithMonitorArn(MonitorArnT&& value) { SetMonitorArn(std::forward<MonitorArnT>(value)); return *this;}
63
65
70 inline const Aws::String& GetNextPageToken() const { return m_nextPageToken; }
71 inline bool NextPageTokenHasBeenSet() const { return m_nextPageTokenHasBeenSet; }
72 template<typename NextPageTokenT = Aws::String>
73 void SetNextPageToken(NextPageTokenT&& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = std::forward<NextPageTokenT>(value); }
74 template<typename NextPageTokenT = Aws::String>
75 GetAnomalySubscriptionsRequest& WithNextPageToken(NextPageTokenT&& value) { SetNextPageToken(std::forward<NextPageTokenT>(value)); return *this;}
77
79
82 inline int GetMaxResults() const { return m_maxResults; }
83 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
84 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
85 inline GetAnomalySubscriptionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
87 private:
88
89 Aws::Vector<Aws::String> m_subscriptionArnList;
90 bool m_subscriptionArnListHasBeenSet = false;
91
92 Aws::String m_monitorArn;
93 bool m_monitorArnHasBeenSet = false;
94
95 Aws::String m_nextPageToken;
96 bool m_nextPageTokenHasBeenSet = false;
97
98 int m_maxResults{0};
99 bool m_maxResultsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CostExplorer
104} // namespace Aws
AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetAnomalySubscriptionsRequest & AddSubscriptionArnList(SubscriptionArnListT &&value)
GetAnomalySubscriptionsRequest & WithNextPageToken(NextPageTokenT &&value)
AWS_COSTEXPLORER_API GetAnomalySubscriptionsRequest()=default
GetAnomalySubscriptionsRequest & WithMonitorArn(MonitorArnT &&value)
AWS_COSTEXPLORER_API Aws::String SerializePayload() const override
GetAnomalySubscriptionsRequest & WithSubscriptionArnList(SubscriptionArnListT &&value)
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