AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
MeasuredConversion.h
1
6#pragma once
7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace AppMonetization {
17namespace Model {
18
26 public:
27 AWS_APPMONETIZATION_API MeasuredConversion() = default;
28 AWS_APPMONETIZATION_API MeasuredConversion(Aws::Utils::Json::JsonView jsonValue);
29 AWS_APPMONETIZATION_API MeasuredConversion& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline long long GetPayingUsers() const { return m_payingUsers; }
37 inline bool PayingUsersHasBeenSet() const { return m_payingUsersHasBeenSet; }
38 inline void SetPayingUsers(long long value) {
39 m_payingUsersHasBeenSet = true;
40 m_payingUsers = value;
41 }
42 inline MeasuredConversion& WithPayingUsers(long long value) {
43 SetPayingUsers(value);
44 return *this;
45 }
47
49
52 inline long long GetUsers() const { return m_users; }
53 inline bool UsersHasBeenSet() const { return m_usersHasBeenSet; }
54 inline void SetUsers(long long value) {
55 m_usersHasBeenSet = true;
56 m_users = value;
57 }
58 inline MeasuredConversion& WithUsers(long long value) {
59 SetUsers(value);
60 return *this;
61 }
63 private:
64 long long m_payingUsers{0};
65
66 long long m_users{0};
67 bool m_payingUsersHasBeenSet = false;
68 bool m_usersHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace AppMonetization
73} // namespace Aws
MeasuredConversion & WithUsers(long long value)
AWS_APPMONETIZATION_API MeasuredConversion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMONETIZATION_API MeasuredConversion()=default
MeasuredConversion & WithPayingUsers(long long value)
AWS_APPMONETIZATION_API MeasuredConversion(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue