7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/MetricUsage.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace AppMonetization {
43 template <
typename UsageT = Aws::Vector<MetricUsage>>
45 m_usageHasBeenSet =
true;
46 m_usage = std::forward<UsageT>(value);
48 template <
typename UsageT = Aws::Vector<MetricUsage>>
50 SetUsage(std::forward<UsageT>(value));
53 template <
typename UsageT = MetricUsage>
55 m_usageHasBeenSet =
true;
56 m_usage.emplace_back(std::forward<UsageT>(value));
67 template <
typename NextTokenT = Aws::String>
69 m_nextTokenHasBeenSet =
true;
70 m_nextToken = std::forward<NextTokenT>(value);
72 template <
typename NextTokenT = Aws::String>
82 template <
typename RequestIdT = Aws::String>
84 m_requestIdHasBeenSet =
true;
85 m_requestId = std::forward<RequestIdT>(value);
87 template <
typename RequestIdT = Aws::String>
102 bool m_usageHasBeenSet =
false;
103 bool m_nextTokenHasBeenSet =
false;
104 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
GetMetricUsageResult & WithNextToken(NextTokenT &&value)
GetMetricUsageResult & WithUsage(UsageT &&value)
GetMetricUsageResult & WithRequestId(RequestIdT &&value)
AWS_APPMONETIZATION_API GetMetricUsageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPMONETIZATION_API GetMetricUsageResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< MetricUsage > & GetUsage() const
GetMetricUsageResult & AddUsage(UsageT &&value)
void SetUsage(UsageT &&value)
AWS_APPMONETIZATION_API GetMetricUsageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetRequestId(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