AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IdentityPoolUsage.h
1
6#pragma once
7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CognitoSync
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_COGNITOSYNC_API IdentityPoolUsage();
36 AWS_COGNITOSYNC_API IdentityPoolUsage(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COGNITOSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
47 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
48 inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
49 inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
50 inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
51 inline IdentityPoolUsage& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
52 inline IdentityPoolUsage& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
53 inline IdentityPoolUsage& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
55
57
60 inline long long GetSyncSessionsCount() const{ return m_syncSessionsCount; }
61 inline bool SyncSessionsCountHasBeenSet() const { return m_syncSessionsCountHasBeenSet; }
62 inline void SetSyncSessionsCount(long long value) { m_syncSessionsCountHasBeenSet = true; m_syncSessionsCount = value; }
63 inline IdentityPoolUsage& WithSyncSessionsCount(long long value) { SetSyncSessionsCount(value); return *this;}
65
67
70 inline long long GetDataStorage() const{ return m_dataStorage; }
71 inline bool DataStorageHasBeenSet() const { return m_dataStorageHasBeenSet; }
72 inline void SetDataStorage(long long value) { m_dataStorageHasBeenSet = true; m_dataStorage = value; }
73 inline IdentityPoolUsage& WithDataStorage(long long value) { SetDataStorage(value); return *this;}
75
77
80 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
81 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
82 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
83 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
85 inline IdentityPoolUsage& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
87 private:
88
89 Aws::String m_identityPoolId;
90 bool m_identityPoolIdHasBeenSet = false;
91
92 long long m_syncSessionsCount;
93 bool m_syncSessionsCountHasBeenSet = false;
94
95 long long m_dataStorage;
96 bool m_dataStorageHasBeenSet = false;
97
98 Aws::Utils::DateTime m_lastModifiedDate;
99 bool m_lastModifiedDateHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CognitoSync
104} // namespace Aws
IdentityPoolUsage & WithIdentityPoolId(const Aws::String &value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
AWS_COGNITOSYNC_API IdentityPoolUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
IdentityPoolUsage & WithIdentityPoolId(Aws::String &&value)
void SetIdentityPoolId(const Aws::String &value)
IdentityPoolUsage & WithIdentityPoolId(const char *value)
IdentityPoolUsage & WithSyncSessionsCount(long long value)
const Aws::String & GetIdentityPoolId() const
AWS_COGNITOSYNC_API IdentityPoolUsage(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
IdentityPoolUsage & WithLastModifiedDate(Aws::Utils::DateTime &&value)
AWS_COGNITOSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
IdentityPoolUsage & WithDataStorage(long long value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
IdentityPoolUsage & WithLastModifiedDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue