AWS SDK for C++  1.8.126
AWS SDK for C++
IdentityUsage.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace CognitoSync
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
45  inline const Aws::String& GetIdentityId() const{ return m_identityId; }
46 
51  inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
52 
57  inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
58 
63  inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
64 
69  inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
70 
75  inline IdentityUsage& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
76 
81  inline IdentityUsage& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
82 
87  inline IdentityUsage& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
88 
89 
94  inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
95 
100  inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
101 
106  inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
107 
112  inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
113 
118  inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
119 
124  inline IdentityUsage& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
125 
130  inline IdentityUsage& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
131 
136  inline IdentityUsage& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
137 
138 
142  inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
143 
147  inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
148 
152  inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
153 
157  inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
158 
162  inline IdentityUsage& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
163 
167  inline IdentityUsage& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
168 
169 
173  inline int GetDatasetCount() const{ return m_datasetCount; }
174 
178  inline bool DatasetCountHasBeenSet() const { return m_datasetCountHasBeenSet; }
179 
183  inline void SetDatasetCount(int value) { m_datasetCountHasBeenSet = true; m_datasetCount = value; }
184 
188  inline IdentityUsage& WithDatasetCount(int value) { SetDatasetCount(value); return *this;}
189 
190 
194  inline long long GetDataStorage() const{ return m_dataStorage; }
195 
199  inline bool DataStorageHasBeenSet() const { return m_dataStorageHasBeenSet; }
200 
204  inline void SetDataStorage(long long value) { m_dataStorageHasBeenSet = true; m_dataStorage = value; }
205 
209  inline IdentityUsage& WithDataStorage(long long value) { SetDataStorage(value); return *this;}
210 
211  private:
212 
213  Aws::String m_identityId;
214  bool m_identityIdHasBeenSet;
215 
216  Aws::String m_identityPoolId;
217  bool m_identityPoolIdHasBeenSet;
218 
219  Aws::Utils::DateTime m_lastModifiedDate;
220  bool m_lastModifiedDateHasBeenSet;
221 
222  int m_datasetCount;
223  bool m_datasetCountHasBeenSet;
224 
225  long long m_dataStorage;
226  bool m_dataStorageHasBeenSet;
227  };
228 
229 } // namespace Model
230 } // namespace CognitoSync
231 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::CognitoSync::Model::IdentityUsage::GetDatasetCount
int GetDatasetCount() const
Definition: IdentityUsage.h:173
Aws::CognitoSync::Model::IdentityUsage::WithLastModifiedDate
IdentityUsage & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: IdentityUsage.h:162
Aws::CognitoSync::Model::IdentityUsage::GetDataStorage
long long GetDataStorage() const
Definition: IdentityUsage.h:194
Aws::CognitoSync::Model::IdentityUsage::IdentityUsage
IdentityUsage()
Aws::CognitoSync::Model::IdentityUsage::SetDatasetCount
void SetDatasetCount(int value)
Definition: IdentityUsage.h:183
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::IdentityUsage::WithLastModifiedDate
IdentityUsage & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: IdentityUsage.h:167
Aws::CognitoSync::Model::IdentityUsage::SetIdentityPoolId
void SetIdentityPoolId(const Aws::String &value)
Definition: IdentityUsage.h:106
Aws::CognitoSync::Model::IdentityUsage::GetLastModifiedDate
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition: IdentityUsage.h:142
DateTime.h
Aws::CognitoSync::Model::IdentityUsage::SetIdentityId
void SetIdentityId(Aws::String &&value)
Definition: IdentityUsage.h:63
Aws::CognitoSync::Model::IdentityUsage::GetIdentityId
const Aws::String & GetIdentityId() const
Definition: IdentityUsage.h:45
Aws::CognitoSync::Model::IdentityUsage::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CognitoSync::Model::IdentityUsage::WithIdentityId
IdentityUsage & WithIdentityId(const char *value)
Definition: IdentityUsage.h:87
Aws::CognitoSync::Model::IdentityUsage::SetDataStorage
void SetDataStorage(long long value)
Definition: IdentityUsage.h:204
Aws::CognitoSync::Model::IdentityUsage::WithDataStorage
IdentityUsage & WithDataStorage(long long value)
Definition: IdentityUsage.h:209
Aws::CognitoSync::Model::IdentityUsage::GetIdentityPoolId
const Aws::String & GetIdentityPoolId() const
Definition: IdentityUsage.h:94
Aws::CognitoSync::Model::IdentityUsage::SetIdentityId
void SetIdentityId(const Aws::String &value)
Definition: IdentityUsage.h:57
Aws::CognitoSync::Model::IdentityUsage::SetIdentityPoolId
void SetIdentityPoolId(Aws::String &&value)
Definition: IdentityUsage.h:112
Aws::CognitoSync::Model::IdentityUsage::SetIdentityPoolId
void SetIdentityPoolId(const char *value)
Definition: IdentityUsage.h:118
Aws::CognitoSync::Model::IdentityUsage::WithIdentityPoolId
IdentityUsage & WithIdentityPoolId(const char *value)
Definition: IdentityUsage.h:136
Aws::CognitoSync::Model::IdentityUsage::IdentityPoolIdHasBeenSet
bool IdentityPoolIdHasBeenSet() const
Definition: IdentityUsage.h:100
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::CognitoSync::Model::IdentityUsage::WithIdentityPoolId
IdentityUsage & WithIdentityPoolId(Aws::String &&value)
Definition: IdentityUsage.h:130
Aws::CognitoSync::Model::IdentityUsage::SetLastModifiedDate
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: IdentityUsage.h:152
Aws::CognitoSync::Model::IdentityUsage::IdentityIdHasBeenSet
bool IdentityIdHasBeenSet() const
Definition: IdentityUsage.h:51
Aws::CognitoSync::Model::IdentityUsage::SetLastModifiedDate
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: IdentityUsage.h:157
Aws::CognitoSync::Model::IdentityUsage::DataStorageHasBeenSet
bool DataStorageHasBeenSet() const
Definition: IdentityUsage.h:199
Aws::CognitoSync::Model::IdentityUsage::WithIdentityId
IdentityUsage & WithIdentityId(const Aws::String &value)
Definition: IdentityUsage.h:75
Aws::CognitoSync::Model::IdentityUsage::WithDatasetCount
IdentityUsage & WithDatasetCount(int value)
Definition: IdentityUsage.h:188
Aws::CognitoSync::Model::IdentityUsage::IdentityUsage
IdentityUsage(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::CognitoSync::Model::IdentityUsage::operator=
IdentityUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CognitoSync::Model::IdentityUsage::WithIdentityId
IdentityUsage & WithIdentityId(Aws::String &&value)
Definition: IdentityUsage.h:81
AWS_COGNITOSYNC_API
#define AWS_COGNITOSYNC_API
Definition: CognitoSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CognitoSync::Model::IdentityUsage
Definition: IdentityUsage.h:33
Aws::CognitoSync::Model::IdentityUsage::SetIdentityId
void SetIdentityId(const char *value)
Definition: IdentityUsage.h:69
Aws::CognitoSync::Model::IdentityUsage::LastModifiedDateHasBeenSet
bool LastModifiedDateHasBeenSet() const
Definition: IdentityUsage.h:147
Aws::CognitoSync::Model::IdentityUsage::DatasetCountHasBeenSet
bool DatasetCountHasBeenSet() const
Definition: IdentityUsage.h:178
Aws::CognitoSync::Model::IdentityUsage::WithIdentityPoolId
IdentityUsage & WithIdentityPoolId(const Aws::String &value)
Definition: IdentityUsage.h:124