7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/UsageGroup.h>
9#include <aws/appmonetization/model/UsageSummaryDimension.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace AppMonetization {
44 template <
typename AppIdT = Aws::String>
46 m_appIdHasBeenSet =
true;
47 m_appId = std::forward<AppIdT>(value);
49 template <
typename AppIdT = Aws::String>
51 SetAppId(std::forward<AppIdT>(value));
62 m_groupByHasBeenSet =
true;
77 m_totalEventsHasBeenSet =
true;
78 m_totalEvents = value;
92 template <
typename GroupsT = Aws::Vector<UsageGroup>>
94 m_groupsHasBeenSet =
true;
95 m_groups = std::forward<GroupsT>(value);
97 template <
typename GroupsT = Aws::Vector<UsageGroup>>
102 template <
typename GroupsT = UsageGroup>
104 m_groupsHasBeenSet =
true;
105 m_groups.emplace_back(std::forward<GroupsT>(value));
115 template <
typename StartedAtT = Aws::Utils::DateTime>
117 m_startedAtHasBeenSet =
true;
118 m_startedAt = std::forward<StartedAtT>(value);
120 template <
typename StartedAtT = Aws::Utils::DateTime>
132 template <
typename EndedAtT = Aws::Utils::DateTime>
134 m_endedAtHasBeenSet =
true;
135 m_endedAt = std::forward<EndedAtT>(value);
137 template <
typename EndedAtT = Aws::Utils::DateTime>
149 template <
typename UpdatedAtT = Aws::Utils::DateTime>
151 m_updatedAtHasBeenSet =
true;
152 m_updatedAt = std::forward<UpdatedAtT>(value);
154 template <
typename UpdatedAtT = Aws::Utils::DateTime>
164 template <
typename RequestIdT = Aws::String>
166 m_requestIdHasBeenSet =
true;
167 m_requestId = std::forward<RequestIdT>(value);
169 template <
typename RequestIdT = Aws::String>
182 long long m_totalEvents{0};
194 bool m_appIdHasBeenSet =
false;
195 bool m_groupByHasBeenSet =
false;
196 bool m_totalEventsHasBeenSet =
false;
197 bool m_groupsHasBeenSet =
false;
198 bool m_startedAtHasBeenSet =
false;
199 bool m_endedAtHasBeenSet =
false;
200 bool m_updatedAtHasBeenSet =
false;
201 bool m_requestIdHasBeenSet =
false;
long long GetTotalEvents() const
void SetEndedAt(EndedAtT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetTotalEvents(long long value)
void SetRequestId(RequestIdT &&value)
GetAppUsageSummaryResult & WithRequestId(RequestIdT &&value)
GetAppUsageSummaryResult & WithEndedAt(EndedAtT &&value)
UsageSummaryDimension GetGroupBy() const
GetAppUsageSummaryResult & WithGroups(GroupsT &&value)
const Aws::String & GetAppId() const
AWS_APPMONETIZATION_API GetAppUsageSummaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPMONETIZATION_API GetAppUsageSummaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetGroupBy(UsageSummaryDimension value)
const Aws::Vector< UsageGroup > & GetGroups() const
GetAppUsageSummaryResult & WithTotalEvents(long long value)
GetAppUsageSummaryResult & WithAppId(AppIdT &&value)
GetAppUsageSummaryResult & WithUpdatedAt(UpdatedAtT &&value)
GetAppUsageSummaryResult & WithStartedAt(StartedAtT &&value)
AWS_APPMONETIZATION_API GetAppUsageSummaryResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetEndedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetRequestId() const
GetAppUsageSummaryResult & WithGroupBy(UsageSummaryDimension value)
void SetAppId(AppIdT &&value)
void SetStartedAt(StartedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
GetAppUsageSummaryResult & AddGroups(GroupsT &&value)
void SetGroups(GroupsT &&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