AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSubscriptionArnList(const Aws::Vector<Aws::String>& value) { m_subscriptionArnListHasBeenSet = true; m_subscriptionArnList = value; }
45 inline void SetSubscriptionArnList(Aws::Vector<Aws::String>&& value) { m_subscriptionArnListHasBeenSet = true; m_subscriptionArnList = std::move(value); }
48 inline GetAnomalySubscriptionsRequest& AddSubscriptionArnList(const Aws::String& value) { m_subscriptionArnListHasBeenSet = true; m_subscriptionArnList.push_back(value); return *this; }
49 inline GetAnomalySubscriptionsRequest& AddSubscriptionArnList(Aws::String&& value) { m_subscriptionArnListHasBeenSet = true; m_subscriptionArnList.push_back(std::move(value)); return *this; }
50 inline GetAnomalySubscriptionsRequest& AddSubscriptionArnList(const char* value) { m_subscriptionArnListHasBeenSet = true; m_subscriptionArnList.push_back(value); return *this; }
52
54
57 inline const Aws::String& GetMonitorArn() const{ return m_monitorArn; }
58 inline bool MonitorArnHasBeenSet() const { return m_monitorArnHasBeenSet; }
59 inline void SetMonitorArn(const Aws::String& value) { m_monitorArnHasBeenSet = true; m_monitorArn = value; }
60 inline void SetMonitorArn(Aws::String&& value) { m_monitorArnHasBeenSet = true; m_monitorArn = std::move(value); }
61 inline void SetMonitorArn(const char* value) { m_monitorArnHasBeenSet = true; m_monitorArn.assign(value); }
62 inline GetAnomalySubscriptionsRequest& WithMonitorArn(const Aws::String& value) { SetMonitorArn(value); return *this;}
63 inline GetAnomalySubscriptionsRequest& WithMonitorArn(Aws::String&& value) { SetMonitorArn(std::move(value)); return *this;}
64 inline GetAnomalySubscriptionsRequest& WithMonitorArn(const char* value) { SetMonitorArn(value); return *this;}
66
68
73 inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
74 inline bool NextPageTokenHasBeenSet() const { return m_nextPageTokenHasBeenSet; }
75 inline void SetNextPageToken(const Aws::String& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = value; }
76 inline void SetNextPageToken(Aws::String&& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = std::move(value); }
77 inline void SetNextPageToken(const char* value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken.assign(value); }
79 inline GetAnomalySubscriptionsRequest& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
80 inline GetAnomalySubscriptionsRequest& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
82
84
87 inline int GetMaxResults() const{ return m_maxResults; }
88 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
89 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
90 inline GetAnomalySubscriptionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
92 private:
93
94 Aws::Vector<Aws::String> m_subscriptionArnList;
95 bool m_subscriptionArnListHasBeenSet = false;
96
97 Aws::String m_monitorArn;
98 bool m_monitorArnHasBeenSet = false;
99
100 Aws::String m_nextPageToken;
101 bool m_nextPageTokenHasBeenSet = false;
102
103 int m_maxResults;
104 bool m_maxResultsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace CostExplorer
109} // namespace Aws
GetAnomalySubscriptionsRequest & WithSubscriptionArnList(const Aws::Vector< Aws::String > &value)
GetAnomalySubscriptionsRequest & AddSubscriptionArnList(Aws::String &&value)
AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetAnomalySubscriptionsRequest & WithNextPageToken(const char *value)
GetAnomalySubscriptionsRequest & WithNextPageToken(const Aws::String &value)
GetAnomalySubscriptionsRequest & WithMonitorArn(const char *value)
GetAnomalySubscriptionsRequest & WithSubscriptionArnList(Aws::Vector< Aws::String > &&value)
GetAnomalySubscriptionsRequest & AddSubscriptionArnList(const char *value)
GetAnomalySubscriptionsRequest & AddSubscriptionArnList(const Aws::String &value)
GetAnomalySubscriptionsRequest & WithMonitorArn(Aws::String &&value)
void SetSubscriptionArnList(const Aws::Vector< Aws::String > &value)
GetAnomalySubscriptionsRequest & WithNextPageToken(Aws::String &&value)
AWS_COSTEXPLORER_API Aws::String SerializePayload() const override
GetAnomalySubscriptionsRequest & WithMonitorArn(const Aws::String &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