7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace CognitoSync {
42 template <
typename IdentityIdT = Aws::String>
44 m_identityIdHasBeenSet =
true;
45 m_identityId = std::forward<IdentityIdT>(value);
47 template <
typename IdentityIdT = Aws::String>
61 template <
typename IdentityPoolIdT = Aws::String>
63 m_identityPoolIdHasBeenSet =
true;
64 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
66 template <
typename IdentityPoolIdT = Aws::String>
79 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
81 m_lastModifiedDateHasBeenSet =
true;
82 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
84 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
98 m_datasetCountHasBeenSet =
true;
99 m_datasetCount = value;
114 m_dataStorageHasBeenSet =
true;
115 m_dataStorage = value;
129 int m_datasetCount{0};
131 long long m_dataStorage{0};
132 bool m_identityIdHasBeenSet =
false;
133 bool m_identityPoolIdHasBeenSet =
false;
134 bool m_lastModifiedDateHasBeenSet =
false;
135 bool m_datasetCountHasBeenSet =
false;
136 bool m_dataStorageHasBeenSet =
false;
bool LastModifiedDateHasBeenSet() const
IdentityUsage & WithLastModifiedDate(LastModifiedDateT &&value)
AWS_COGNITOSYNC_API IdentityUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIdentityPoolId() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
void SetIdentityPoolId(IdentityPoolIdT &&value)
bool DatasetCountHasBeenSet() const
bool IdentityPoolIdHasBeenSet() const
IdentityUsage & WithIdentityPoolId(IdentityPoolIdT &&value)
void SetDatasetCount(int value)
IdentityUsage & WithIdentityId(IdentityIdT &&value)
IdentityUsage & WithDataStorage(long long value)
AWS_COGNITOSYNC_API IdentityUsage(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIdentityId() const
bool DataStorageHasBeenSet() const
void SetLastModifiedDate(LastModifiedDateT &&value)
void SetIdentityId(IdentityIdT &&value)
void SetDataStorage(long long value)
IdentityUsage & WithDatasetCount(int value)
int GetDatasetCount() const
bool IdentityIdHasBeenSet() const
AWS_COGNITOSYNC_API IdentityUsage()=default
AWS_COGNITOSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetDataStorage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue