7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
48 template<
typename IdentityIdT = Aws::String>
49 void SetIdentityId(IdentityIdT&& value) { m_identityIdHasBeenSet =
true; m_identityId = std::forward<IdentityIdT>(value); }
50 template<
typename IdentityIdT = Aws::String>
61 template<
typename IdentityPoolIdT = Aws::String>
62 void SetIdentityPoolId(IdentityPoolIdT&& value) { m_identityPoolIdHasBeenSet =
true; m_identityPoolId = std::forward<IdentityPoolIdT>(value); }
63 template<
typename IdentityPoolIdT = Aws::String>
73 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
74 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
75 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
85 inline void SetDatasetCount(
int value) { m_datasetCountHasBeenSet =
true; m_datasetCount = value; }
95 inline void SetDataStorage(
long long value) { m_dataStorageHasBeenSet =
true; m_dataStorage = value; }
101 bool m_identityIdHasBeenSet =
false;
104 bool m_identityPoolIdHasBeenSet =
false;
107 bool m_lastModifiedDateHasBeenSet =
false;
109 int m_datasetCount{0};
110 bool m_datasetCountHasBeenSet =
false;
112 long long m_dataStorage{0};
113 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