AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IdentityUsage.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 IdentityUsage();
36 AWS_COGNITOSYNC_API IdentityUsage(Aws::Utils::Json::JsonView jsonValue);
37 AWS_COGNITOSYNC_API IdentityUsage& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COGNITOSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetIdentityId() const{ return m_identityId; }
47 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
48 inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
49 inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
50 inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
51 inline IdentityUsage& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
52 inline IdentityUsage& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
53 inline IdentityUsage& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
55
57
61 inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
62 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
63 inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
64 inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
65 inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
66 inline IdentityUsage& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
67 inline IdentityUsage& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
68 inline IdentityUsage& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
76 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
77 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
78 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
79 inline IdentityUsage& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
80 inline IdentityUsage& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
82
84
87 inline int GetDatasetCount() const{ return m_datasetCount; }
88 inline bool DatasetCountHasBeenSet() const { return m_datasetCountHasBeenSet; }
89 inline void SetDatasetCount(int value) { m_datasetCountHasBeenSet = true; m_datasetCount = value; }
90 inline IdentityUsage& WithDatasetCount(int value) { SetDatasetCount(value); return *this;}
92
94
97 inline long long GetDataStorage() const{ return m_dataStorage; }
98 inline bool DataStorageHasBeenSet() const { return m_dataStorageHasBeenSet; }
99 inline void SetDataStorage(long long value) { m_dataStorageHasBeenSet = true; m_dataStorage = value; }
100 inline IdentityUsage& WithDataStorage(long long value) { SetDataStorage(value); return *this;}
102 private:
103
104 Aws::String m_identityId;
105 bool m_identityIdHasBeenSet = false;
106
107 Aws::String m_identityPoolId;
108 bool m_identityPoolIdHasBeenSet = false;
109
110 Aws::Utils::DateTime m_lastModifiedDate;
111 bool m_lastModifiedDateHasBeenSet = false;
112
113 int m_datasetCount;
114 bool m_datasetCountHasBeenSet = false;
115
116 long long m_dataStorage;
117 bool m_dataStorageHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace CognitoSync
122} // namespace Aws
AWS_COGNITOSYNC_API IdentityUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIdentityPoolId() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
IdentityUsage & WithIdentityPoolId(const Aws::String &value)
void SetIdentityPoolId(const char *value)
IdentityUsage & WithIdentityPoolId(const char *value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
IdentityUsage & WithLastModifiedDate(const Aws::Utils::DateTime &value)
void SetIdentityPoolId(Aws::String &&value)
IdentityUsage & WithIdentityPoolId(Aws::String &&value)
IdentityUsage & WithDataStorage(long long value)
AWS_COGNITOSYNC_API IdentityUsage(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIdentityId() const
IdentityUsage & WithIdentityId(Aws::String &&value)
IdentityUsage & WithDatasetCount(int value)
IdentityUsage & WithIdentityId(const Aws::String &value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
IdentityUsage & WithIdentityId(const char *value)
AWS_COGNITOSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIdentityId(Aws::String &&value)
void SetIdentityId(const char *value)
void SetIdentityId(const Aws::String &value)
void SetIdentityPoolId(const Aws::String &value)
IdentityUsage & WithLastModifiedDate(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue