7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/SubscriptionGroup.h>
9#include <aws/appmonetization/model/SubscriptionSummaryDimension.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 {
45 template <
typename AppIdT = Aws::String>
47 m_appIdHasBeenSet =
true;
48 m_appId = std::forward<AppIdT>(value);
50 template <
typename AppIdT = Aws::String>
52 SetAppId(std::forward<AppIdT>(value));
63 m_groupByHasBeenSet =
true;
78 m_totalSubscribersHasBeenSet =
true;
79 m_totalSubscribers = value;
93 template <
typename GroupsT = Aws::Vector<SubscriptionGroup>>
95 m_groupsHasBeenSet =
true;
96 m_groups = std::forward<GroupsT>(value);
98 template <
typename GroupsT = Aws::Vector<SubscriptionGroup>>
103 template <
typename GroupsT = SubscriptionGroup>
105 m_groupsHasBeenSet =
true;
106 m_groups.emplace_back(std::forward<GroupsT>(value));
116 template <
typename UpdatedAtT = Aws::Utils::DateTime>
118 m_updatedAtHasBeenSet =
true;
119 m_updatedAt = std::forward<UpdatedAtT>(value);
121 template <
typename UpdatedAtT = Aws::Utils::DateTime>
131 template <
typename RequestIdT = Aws::String>
133 m_requestIdHasBeenSet =
true;
134 m_requestId = std::forward<RequestIdT>(value);
136 template <
typename RequestIdT = Aws::String>
149 int m_totalSubscribers{0};
157 bool m_appIdHasBeenSet =
false;
158 bool m_groupByHasBeenSet =
false;
159 bool m_totalSubscribersHasBeenSet =
false;
160 bool m_groupsHasBeenSet =
false;
161 bool m_updatedAtHasBeenSet =
false;
162 bool m_requestIdHasBeenSet =
false;
AWS_APPMONETIZATION_API GetAppSubscriptionSummaryResult()=default
const Aws::String & GetRequestId() const
const Aws::Vector< SubscriptionGroup > & GetGroups() const
GetAppSubscriptionSummaryResult & WithTotalSubscribers(int value)
GetAppSubscriptionSummaryResult & WithAppId(AppIdT &&value)
AWS_APPMONETIZATION_API GetAppSubscriptionSummaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetAppId() const
void SetTotalSubscribers(int value)
GetAppSubscriptionSummaryResult & WithUpdatedAt(UpdatedAtT &&value)
int GetTotalSubscribers() const
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_APPMONETIZATION_API GetAppSubscriptionSummaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetAppSubscriptionSummaryResult & WithRequestId(RequestIdT &&value)
GetAppSubscriptionSummaryResult & AddGroups(GroupsT &&value)
GetAppSubscriptionSummaryResult & WithGroups(GroupsT &&value)
void SetGroups(GroupsT &&value)
void SetRequestId(RequestIdT &&value)
SubscriptionSummaryDimension GetGroupBy() const
GetAppSubscriptionSummaryResult & WithGroupBy(SubscriptionSummaryDimension value)
void SetGroupBy(SubscriptionSummaryDimension value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetAppId(AppIdT &&value)
SubscriptionSummaryDimension
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue