AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
97 inline const Aws::Vector<DimensionValuesWithAttributes>& GetDimensionValues() const{ return m_dimensionValues; }
98 inline void SetDimensionValues(const Aws::Vector<DimensionValuesWithAttributes>& value) { m_dimensionValues = value; }
99 inline void SetDimensionValues(Aws::Vector<DimensionValuesWithAttributes>&& value) { m_dimensionValues = std::move(value); }
102 inline GetDimensionValuesResult& AddDimensionValues(const DimensionValuesWithAttributes& value) { m_dimensionValues.push_back(value); return *this; }
103 inline GetDimensionValuesResult& AddDimensionValues(DimensionValuesWithAttributes&& value) { m_dimensionValues.push_back(std::move(value)); return *this; }
105
107
110 inline int GetReturnSize() const{ return m_returnSize; }
111 inline void SetReturnSize(int value) { 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_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 inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
132 inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
133 inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
134 inline GetDimensionValuesResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
135 inline GetDimensionValuesResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
136 inline GetDimensionValuesResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
138
140
141 inline const Aws::String& GetRequestId() const{ return m_requestId; }
142 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
143 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
144 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
145 inline GetDimensionValuesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
146 inline GetDimensionValuesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
147 inline GetDimensionValuesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
149 private:
150
152
153 int m_returnSize;
154
155 int m_totalSize;
156
157 Aws::String m_nextPageToken;
158
159 Aws::String m_requestId;
160 };
161
162} // namespace Model
163} // namespace CostExplorer
164} // namespace Aws
GetDimensionValuesResult & WithRequestId(const Aws::String &value)
GetDimensionValuesResult & WithRequestId(const char *value)
GetDimensionValuesResult & WithNextPageToken(const Aws::String &value)
void SetDimensionValues(const Aws::Vector< DimensionValuesWithAttributes > &value)
AWS_COSTEXPLORER_API GetDimensionValuesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDimensionValuesResult & WithNextPageToken(Aws::String &&value)
AWS_COSTEXPLORER_API GetDimensionValuesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDimensionValuesResult & WithRequestId(Aws::String &&value)
GetDimensionValuesResult & AddDimensionValues(const DimensionValuesWithAttributes &value)
GetDimensionValuesResult & WithDimensionValues(const Aws::Vector< DimensionValuesWithAttributes > &value)
const Aws::Vector< DimensionValuesWithAttributes > & GetDimensionValues() const
GetDimensionValuesResult & AddDimensionValues(DimensionValuesWithAttributes &&value)
GetDimensionValuesResult & WithDimensionValues(Aws::Vector< DimensionValuesWithAttributes > &&value)
void SetDimensionValues(Aws::Vector< DimensionValuesWithAttributes > &&value)
GetDimensionValuesResult & WithNextPageToken(const char *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