AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetDimensionValuesResult.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ce/model/DimensionValuesWithAttributes.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CostExplorer
26{
27namespace Model
28{
30 {
31 public:
32 AWS_COSTEXPLORER_API GetDimensionValuesResult() = default;
35
36
38
97 inline const Aws::Vector<DimensionValuesWithAttributes>& GetDimensionValues() const { return m_dimensionValues; }
98 template<typename DimensionValuesT = Aws::Vector<DimensionValuesWithAttributes>>
99 void SetDimensionValues(DimensionValuesT&& value) { m_dimensionValuesHasBeenSet = true; m_dimensionValues = std::forward<DimensionValuesT>(value); }
100 template<typename DimensionValuesT = Aws::Vector<DimensionValuesWithAttributes>>
101 GetDimensionValuesResult& WithDimensionValues(DimensionValuesT&& value) { SetDimensionValues(std::forward<DimensionValuesT>(value)); return *this;}
102 template<typename DimensionValuesT = DimensionValuesWithAttributes>
103 GetDimensionValuesResult& AddDimensionValues(DimensionValuesT&& value) { m_dimensionValuesHasBeenSet = true; m_dimensionValues.emplace_back(std::forward<DimensionValuesT>(value)); return *this; }
105
107
110 inline int GetReturnSize() const { return m_returnSize; }
111 inline void SetReturnSize(int value) { m_returnSizeHasBeenSet = true; m_returnSize = value; }
112 inline GetDimensionValuesResult& WithReturnSize(int value) { SetReturnSize(value); return *this;}
114
116
119 inline int GetTotalSize() const { return m_totalSize; }
120 inline void SetTotalSize(int value) { m_totalSizeHasBeenSet = true; m_totalSize = value; }
121 inline GetDimensionValuesResult& WithTotalSize(int value) { SetTotalSize(value); return *this;}
123
125
130 inline const Aws::String& GetNextPageToken() const { return m_nextPageToken; }
131 template<typename NextPageTokenT = Aws::String>
132 void SetNextPageToken(NextPageTokenT&& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = std::forward<NextPageTokenT>(value); }
133 template<typename NextPageTokenT = Aws::String>
134 GetDimensionValuesResult& WithNextPageToken(NextPageTokenT&& value) { SetNextPageToken(std::forward<NextPageTokenT>(value)); return *this;}
136
138
139 inline const Aws::String& GetRequestId() const { return m_requestId; }
140 template<typename RequestIdT = Aws::String>
141 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
142 template<typename RequestIdT = Aws::String>
143 GetDimensionValuesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
145 private:
146
148 bool m_dimensionValuesHasBeenSet = false;
149
150 int m_returnSize{0};
151 bool m_returnSizeHasBeenSet = false;
152
153 int m_totalSize{0};
154 bool m_totalSizeHasBeenSet = false;
155
156 Aws::String m_nextPageToken;
157 bool m_nextPageTokenHasBeenSet = false;
158
159 Aws::String m_requestId;
160 bool m_requestIdHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace CostExplorer
165} // namespace Aws
GetDimensionValuesResult & AddDimensionValues(DimensionValuesT &&value)
AWS_COSTEXPLORER_API GetDimensionValuesResult()=default
AWS_COSTEXPLORER_API GetDimensionValuesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COSTEXPLORER_API GetDimensionValuesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDimensionValuesResult & WithDimensionValues(DimensionValuesT &&value)
const Aws::Vector< DimensionValuesWithAttributes > & GetDimensionValues() const
GetDimensionValuesResult & WithNextPageToken(NextPageTokenT &&value)
GetDimensionValuesResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue