AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetAnomalySubscriptionsResult.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/AnomalySubscription.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CostExplorer {
24namespace Model {
26 public:
27 AWS_COSTEXPLORER_API GetAnomalySubscriptionsResult() = default;
30
32
36 inline const Aws::Vector<AnomalySubscription>& GetAnomalySubscriptions() const { return m_anomalySubscriptions; }
37 template <typename AnomalySubscriptionsT = Aws::Vector<AnomalySubscription>>
38 void SetAnomalySubscriptions(AnomalySubscriptionsT&& value) {
39 m_anomalySubscriptionsHasBeenSet = true;
40 m_anomalySubscriptions = std::forward<AnomalySubscriptionsT>(value);
41 }
42 template <typename AnomalySubscriptionsT = Aws::Vector<AnomalySubscription>>
44 SetAnomalySubscriptions(std::forward<AnomalySubscriptionsT>(value));
45 return *this;
46 }
47 template <typename AnomalySubscriptionsT = AnomalySubscription>
49 m_anomalySubscriptionsHasBeenSet = true;
50 m_anomalySubscriptions.emplace_back(std::forward<AnomalySubscriptionsT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetNextPageToken() const { return m_nextPageToken; }
62 template <typename NextPageTokenT = Aws::String>
63 void SetNextPageToken(NextPageTokenT&& value) {
64 m_nextPageTokenHasBeenSet = true;
65 m_nextPageToken = std::forward<NextPageTokenT>(value);
66 }
67 template <typename NextPageTokenT = Aws::String>
69 SetNextPageToken(std::forward<NextPageTokenT>(value));
70 return *this;
71 }
73
75
76 inline const Aws::String& GetRequestId() const { return m_requestId; }
77 template <typename RequestIdT = Aws::String>
78 void SetRequestId(RequestIdT&& value) {
79 m_requestIdHasBeenSet = true;
80 m_requestId = std::forward<RequestIdT>(value);
81 }
82 template <typename RequestIdT = Aws::String>
84 SetRequestId(std::forward<RequestIdT>(value));
85 return *this;
86 }
88 private:
89 Aws::Vector<AnomalySubscription> m_anomalySubscriptions;
90
91 Aws::String m_nextPageToken;
92
93 Aws::String m_requestId;
94 bool m_anomalySubscriptionsHasBeenSet = false;
95 bool m_nextPageTokenHasBeenSet = false;
96 bool m_requestIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace CostExplorer
101} // namespace Aws
GetAnomalySubscriptionsResult & AddAnomalySubscriptions(AnomalySubscriptionsT &&value)
AWS_COSTEXPLORER_API GetAnomalySubscriptionsResult()=default
GetAnomalySubscriptionsResult & WithRequestId(RequestIdT &&value)
GetAnomalySubscriptionsResult & WithNextPageToken(NextPageTokenT &&value)
GetAnomalySubscriptionsResult & WithAnomalySubscriptions(AnomalySubscriptionsT &&value)
AWS_COSTEXPLORER_API GetAnomalySubscriptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< AnomalySubscription > & GetAnomalySubscriptions() const
AWS_COSTEXPLORER_API GetAnomalySubscriptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue