AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 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>
51 IdentityUsage& WithIdentityId(IdentityIdT&& value) { SetIdentityId(std::forward<IdentityIdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
60 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
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>
64 IdentityUsage& WithIdentityPoolId(IdentityPoolIdT&& value) { SetIdentityPoolId(std::forward<IdentityPoolIdT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
72 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
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>
76 IdentityUsage& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
78
80
83 inline int GetDatasetCount() const { return m_datasetCount; }
84 inline bool DatasetCountHasBeenSet() const { return m_datasetCountHasBeenSet; }
85 inline void SetDatasetCount(int value) { m_datasetCountHasBeenSet = true; m_datasetCount = value; }
86 inline IdentityUsage& WithDatasetCount(int value) { SetDatasetCount(value); return *this;}
88
90
93 inline long long GetDataStorage() const { return m_dataStorage; }
94 inline bool DataStorageHasBeenSet() const { return m_dataStorageHasBeenSet; }
95 inline void SetDataStorage(long long value) { m_dataStorageHasBeenSet = true; m_dataStorage = value; }
96 inline IdentityUsage& WithDataStorage(long long value) { SetDataStorage(value); return *this;}
98 private:
99
100 Aws::String m_identityId;
101 bool m_identityIdHasBeenSet = false;
102
103 Aws::String m_identityPoolId;
104 bool m_identityPoolIdHasBeenSet = false;
105
106 Aws::Utils::DateTime m_lastModifiedDate{};
107 bool m_lastModifiedDateHasBeenSet = false;
108
109 int m_datasetCount{0};
110 bool m_datasetCountHasBeenSet = false;
111
112 long long m_dataStorage{0};
113 bool m_dataStorageHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace CognitoSync
118} // namespace Aws
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)
IdentityUsage & WithIdentityPoolId(IdentityPoolIdT &&value)
IdentityUsage & WithIdentityId(IdentityIdT &&value)
IdentityUsage & WithDataStorage(long long value)
AWS_COGNITOSYNC_API IdentityUsage(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIdentityId() const
void SetLastModifiedDate(LastModifiedDateT &&value)
void SetIdentityId(IdentityIdT &&value)
IdentityUsage & WithDatasetCount(int value)
AWS_COGNITOSYNC_API IdentityUsage()=default
AWS_COGNITOSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue