AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAnomalyMonitorsRequest.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 GetAnomalyMonitorsRequest();
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 "GetAnomalyMonitors"; }
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>& GetMonitorArnList() const{ return m_monitorArnList; }
43 inline bool MonitorArnListHasBeenSet() const { return m_monitorArnListHasBeenSet; }
44 inline void SetMonitorArnList(const Aws::Vector<Aws::String>& value) { m_monitorArnListHasBeenSet = true; m_monitorArnList = value; }
45 inline void SetMonitorArnList(Aws::Vector<Aws::String>&& value) { m_monitorArnListHasBeenSet = true; m_monitorArnList = std::move(value); }
48 inline GetAnomalyMonitorsRequest& AddMonitorArnList(const Aws::String& value) { m_monitorArnListHasBeenSet = true; m_monitorArnList.push_back(value); return *this; }
49 inline GetAnomalyMonitorsRequest& AddMonitorArnList(Aws::String&& value) { m_monitorArnListHasBeenSet = true; m_monitorArnList.push_back(std::move(value)); return *this; }
50 inline GetAnomalyMonitorsRequest& AddMonitorArnList(const char* value) { m_monitorArnListHasBeenSet = true; m_monitorArnList.push_back(value); return *this; }
52
54
59 inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
60 inline bool NextPageTokenHasBeenSet() const { return m_nextPageTokenHasBeenSet; }
61 inline void SetNextPageToken(const Aws::String& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = value; }
62 inline void SetNextPageToken(Aws::String&& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = std::move(value); }
63 inline void SetNextPageToken(const char* value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken.assign(value); }
64 inline GetAnomalyMonitorsRequest& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
65 inline GetAnomalyMonitorsRequest& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
66 inline GetAnomalyMonitorsRequest& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
68
70
73 inline int GetMaxResults() const{ return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
76 inline GetAnomalyMonitorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78 private:
79
80 Aws::Vector<Aws::String> m_monitorArnList;
81 bool m_monitorArnListHasBeenSet = false;
82
83 Aws::String m_nextPageToken;
84 bool m_nextPageTokenHasBeenSet = false;
85
86 int m_maxResults;
87 bool m_maxResultsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace CostExplorer
92} // namespace Aws
void SetMonitorArnList(const Aws::Vector< Aws::String > &value)
GetAnomalyMonitorsRequest & WithMonitorArnList(const Aws::Vector< Aws::String > &value)
GetAnomalyMonitorsRequest & WithMonitorArnList(Aws::Vector< Aws::String > &&value)
AWS_COSTEXPLORER_API Aws::String SerializePayload() const override
GetAnomalyMonitorsRequest & WithNextPageToken(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetAnomalyMonitorsRequest & WithNextPageToken(const Aws::String &value)
GetAnomalyMonitorsRequest & AddMonitorArnList(const char *value)
GetAnomalyMonitorsRequest & WithNextPageToken(Aws::String &&value)
GetAnomalyMonitorsRequest & AddMonitorArnList(const Aws::String &value)
const Aws::Vector< Aws::String > & GetMonitorArnList() const
GetAnomalyMonitorsRequest & AddMonitorArnList(Aws::String &&value)
void SetMonitorArnList(Aws::Vector< 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