AWS SDK for C++  1.8.126
AWS SDK for C++
DescribeIdentityUsageRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CognitoSync
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeIdentityUsage"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
43  inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
44 
49  inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
50 
55  inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
56 
61  inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
62 
67  inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
68 
73  inline DescribeIdentityUsageRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
74 
79  inline DescribeIdentityUsageRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
80 
85  inline DescribeIdentityUsageRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
86 
87 
92  inline const Aws::String& GetIdentityId() const{ return m_identityId; }
93 
98  inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
99 
104  inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
105 
110  inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
111 
116  inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
117 
122  inline DescribeIdentityUsageRequest& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
123 
128  inline DescribeIdentityUsageRequest& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
129 
134  inline DescribeIdentityUsageRequest& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
135 
136  private:
137 
138  Aws::String m_identityPoolId;
139  bool m_identityPoolIdHasBeenSet;
140 
141  Aws::String m_identityId;
142  bool m_identityIdHasBeenSet;
143  };
144 
145 } // namespace Model
146 } // namespace CognitoSync
147 } // namespace Aws
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::SetIdentityPoolId
void SetIdentityPoolId(const char *value)
Definition: DescribeIdentityUsageRequest.h:67
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::SetIdentityId
void SetIdentityId(const Aws::String &value)
Definition: DescribeIdentityUsageRequest.h:104
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::GetIdentityId
const Aws::String & GetIdentityId() const
Definition: DescribeIdentityUsageRequest.h:92
Aws::CognitoSync::Model::DescribeIdentityUsageRequest
Definition: DescribeIdentityUsageRequest.h:26
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeIdentityUsageRequest.h:34
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::WithIdentityId
DescribeIdentityUsageRequest & WithIdentityId(const Aws::String &value)
Definition: DescribeIdentityUsageRequest.h:122
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::IdentityPoolIdHasBeenSet
bool IdentityPoolIdHasBeenSet() const
Definition: DescribeIdentityUsageRequest.h:49
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::GetIdentityPoolId
const Aws::String & GetIdentityPoolId() const
Definition: DescribeIdentityUsageRequest.h:43
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::WithIdentityId
DescribeIdentityUsageRequest & WithIdentityId(Aws::String &&value)
Definition: DescribeIdentityUsageRequest.h:128
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::IdentityIdHasBeenSet
bool IdentityIdHasBeenSet() const
Definition: DescribeIdentityUsageRequest.h:98
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::WithIdentityPoolId
DescribeIdentityUsageRequest & WithIdentityPoolId(const Aws::String &value)
Definition: DescribeIdentityUsageRequest.h:73
Aws::CognitoSync::CognitoSyncRequest
Definition: CognitoSyncRequest.h:17
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::SetIdentityPoolId
void SetIdentityPoolId(Aws::String &&value)
Definition: DescribeIdentityUsageRequest.h:61
AWSString.h
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::SetIdentityId
void SetIdentityId(const char *value)
Definition: DescribeIdentityUsageRequest.h:116
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::WithIdentityPoolId
DescribeIdentityUsageRequest & WithIdentityPoolId(const char *value)
Definition: DescribeIdentityUsageRequest.h:85
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::SetIdentityId
void SetIdentityId(Aws::String &&value)
Definition: DescribeIdentityUsageRequest.h:110
Aws
Definition: AccessManagementClient.h:15
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::WithIdentityPoolId
DescribeIdentityUsageRequest & WithIdentityPoolId(Aws::String &&value)
Definition: DescribeIdentityUsageRequest.h:79
AWS_COGNITOSYNC_API
#define AWS_COGNITOSYNC_API
Definition: CognitoSync_EXPORTS.h:28
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::WithIdentityId
DescribeIdentityUsageRequest & WithIdentityId(const char *value)
Definition: DescribeIdentityUsageRequest.h:134
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CognitoSyncRequest.h
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::DescribeIdentityUsageRequest
DescribeIdentityUsageRequest()
Aws::CognitoSync::Model::DescribeIdentityUsageRequest::SetIdentityPoolId
void SetIdentityPoolId(const Aws::String &value)
Definition: DescribeIdentityUsageRequest.h:55