AWS SDK for C++  1.8.126
AWS SDK for C++
IdentityPoolUsage.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& GetIdentityPoolId() const{ return m_identityPoolId; }
46 
51  inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
52 
57  inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
58 
63  inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
64 
69  inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
70 
75  inline IdentityPoolUsage& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
76 
81  inline IdentityPoolUsage& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
82 
87  inline IdentityPoolUsage& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
88 
89 
93  inline long long GetSyncSessionsCount() const{ return m_syncSessionsCount; }
94 
98  inline bool SyncSessionsCountHasBeenSet() const { return m_syncSessionsCountHasBeenSet; }
99 
103  inline void SetSyncSessionsCount(long long value) { m_syncSessionsCountHasBeenSet = true; m_syncSessionsCount = value; }
104 
108  inline IdentityPoolUsage& WithSyncSessionsCount(long long value) { SetSyncSessionsCount(value); return *this;}
109 
110 
114  inline long long GetDataStorage() const{ return m_dataStorage; }
115 
119  inline bool DataStorageHasBeenSet() const { return m_dataStorageHasBeenSet; }
120 
124  inline void SetDataStorage(long long value) { m_dataStorageHasBeenSet = true; m_dataStorage = value; }
125 
129  inline IdentityPoolUsage& WithDataStorage(long long value) { SetDataStorage(value); return *this;}
130 
131 
135  inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
136 
140  inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
141 
145  inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
146 
150  inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
151 
155  inline IdentityPoolUsage& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
156 
160  inline IdentityPoolUsage& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
161 
162  private:
163 
164  Aws::String m_identityPoolId;
165  bool m_identityPoolIdHasBeenSet;
166 
167  long long m_syncSessionsCount;
168  bool m_syncSessionsCountHasBeenSet;
169 
170  long long m_dataStorage;
171  bool m_dataStorageHasBeenSet;
172 
173  Aws::Utils::DateTime m_lastModifiedDate;
174  bool m_lastModifiedDateHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace CognitoSync
179 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::CognitoSync::Model::IdentityPoolUsage::IdentityPoolUsage
IdentityPoolUsage()
Aws::CognitoSync::Model::IdentityPoolUsage::LastModifiedDateHasBeenSet
bool LastModifiedDateHasBeenSet() const
Definition: IdentityPoolUsage.h:140
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::IdentityPoolUsage::SetIdentityPoolId
void SetIdentityPoolId(const char *value)
Definition: IdentityPoolUsage.h:69
Aws::CognitoSync::Model::IdentityPoolUsage::SetIdentityPoolId
void SetIdentityPoolId(const Aws::String &value)
Definition: IdentityPoolUsage.h:57
DateTime.h
Aws::CognitoSync::Model::IdentityPoolUsage::SetDataStorage
void SetDataStorage(long long value)
Definition: IdentityPoolUsage.h:124
Aws::CognitoSync::Model::IdentityPoolUsage::WithLastModifiedDate
IdentityPoolUsage & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: IdentityPoolUsage.h:155
Aws::CognitoSync::Model::IdentityPoolUsage::GetSyncSessionsCount
long long GetSyncSessionsCount() const
Definition: IdentityPoolUsage.h:93
Aws::CognitoSync::Model::IdentityPoolUsage::IdentityPoolIdHasBeenSet
bool IdentityPoolIdHasBeenSet() const
Definition: IdentityPoolUsage.h:51
Aws::CognitoSync::Model::IdentityPoolUsage::WithDataStorage
IdentityPoolUsage & WithDataStorage(long long value)
Definition: IdentityPoolUsage.h:129
Aws::CognitoSync::Model::IdentityPoolUsage::GetDataStorage
long long GetDataStorage() const
Definition: IdentityPoolUsage.h:114
Aws::CognitoSync::Model::IdentityPoolUsage::WithLastModifiedDate
IdentityPoolUsage & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: IdentityPoolUsage.h:160
Aws::CognitoSync::Model::IdentityPoolUsage::SetIdentityPoolId
void SetIdentityPoolId(Aws::String &&value)
Definition: IdentityPoolUsage.h:63
Aws::CognitoSync::Model::IdentityPoolUsage::WithIdentityPoolId
IdentityPoolUsage & WithIdentityPoolId(const Aws::String &value)
Definition: IdentityPoolUsage.h:75
Aws::CognitoSync::Model::IdentityPoolUsage::GetLastModifiedDate
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition: IdentityPoolUsage.h:135
Aws::CognitoSync::Model::IdentityPoolUsage::operator=
IdentityPoolUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CognitoSync::Model::IdentityPoolUsage::WithIdentityPoolId
IdentityPoolUsage & WithIdentityPoolId(const char *value)
Definition: IdentityPoolUsage.h:87
Aws::CognitoSync::Model::IdentityPoolUsage::SetSyncSessionsCount
void SetSyncSessionsCount(long long value)
Definition: IdentityPoolUsage.h:103
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::CognitoSync::Model::IdentityPoolUsage::WithIdentityPoolId
IdentityPoolUsage & WithIdentityPoolId(Aws::String &&value)
Definition: IdentityPoolUsage.h:81
Aws::CognitoSync::Model::IdentityPoolUsage::DataStorageHasBeenSet
bool DataStorageHasBeenSet() const
Definition: IdentityPoolUsage.h:119
Aws::CognitoSync::Model::IdentityPoolUsage::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CognitoSync::Model::IdentityPoolUsage::IdentityPoolUsage
IdentityPoolUsage(Aws::Utils::Json::JsonView jsonValue)
Aws::CognitoSync::Model::IdentityPoolUsage::GetIdentityPoolId
const Aws::String & GetIdentityPoolId() const
Definition: IdentityPoolUsage.h:45
Aws::CognitoSync::Model::IdentityPoolUsage::SetLastModifiedDate
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: IdentityPoolUsage.h:145
Aws::CognitoSync::Model::IdentityPoolUsage::WithSyncSessionsCount
IdentityPoolUsage & WithSyncSessionsCount(long long value)
Definition: IdentityPoolUsage.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::CognitoSync::Model::IdentityPoolUsage::SetLastModifiedDate
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: IdentityPoolUsage.h:150
Aws::CognitoSync::Model::IdentityPoolUsage
Definition: IdentityPoolUsage.h:33
AWS_COGNITOSYNC_API
#define AWS_COGNITOSYNC_API
Definition: CognitoSync_EXPORTS.h:28
Aws::CognitoSync::Model::IdentityPoolUsage::SyncSessionsCountHasBeenSet
bool SyncSessionsCountHasBeenSet() const
Definition: IdentityPoolUsage.h:98
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97