AWS SDK for C++  1.8.126
AWS SDK for C++
DescribeIdentityPoolUsageRequest.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 "DescribeIdentityPoolUsage"; }
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 DescribeIdentityPoolUsageRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
74 
79  inline DescribeIdentityPoolUsageRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
80 
85  inline DescribeIdentityPoolUsageRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
86 
87  private:
88 
89  Aws::String m_identityPoolId;
90  bool m_identityPoolIdHasBeenSet;
91  };
92 
93 } // namespace Model
94 } // namespace CognitoSync
95 } // namespace Aws
Aws::CognitoSync::Model::DescribeIdentityPoolUsageRequest::SerializePayload
Aws::String SerializePayload() const override
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::DescribeIdentityPoolUsageRequest::WithIdentityPoolId
DescribeIdentityPoolUsageRequest & WithIdentityPoolId(Aws::String &&value)
Definition: DescribeIdentityPoolUsageRequest.h:79
Aws::CognitoSync::Model::DescribeIdentityPoolUsageRequest::WithIdentityPoolId
DescribeIdentityPoolUsageRequest & WithIdentityPoolId(const char *value)
Definition: DescribeIdentityPoolUsageRequest.h:85
Aws::CognitoSync::Model::DescribeIdentityPoolUsageRequest::SetIdentityPoolId
void SetIdentityPoolId(const char *value)
Definition: DescribeIdentityPoolUsageRequest.h:67
Aws::CognitoSync::Model::DescribeIdentityPoolUsageRequest::WithIdentityPoolId
DescribeIdentityPoolUsageRequest & WithIdentityPoolId(const Aws::String &value)
Definition: DescribeIdentityPoolUsageRequest.h:73
Aws::CognitoSync::Model::DescribeIdentityPoolUsageRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeIdentityPoolUsageRequest.h:34
Aws::CognitoSync::CognitoSyncRequest
Definition: CognitoSyncRequest.h:17
AWSString.h
Aws::CognitoSync::Model::DescribeIdentityPoolUsageRequest
Definition: DescribeIdentityPoolUsageRequest.h:26
Aws::CognitoSync::Model::DescribeIdentityPoolUsageRequest::SetIdentityPoolId
void SetIdentityPoolId(Aws::String &&value)
Definition: DescribeIdentityPoolUsageRequest.h:61
Aws::CognitoSync::Model::DescribeIdentityPoolUsageRequest::IdentityPoolIdHasBeenSet
bool IdentityPoolIdHasBeenSet() const
Definition: DescribeIdentityPoolUsageRequest.h:49
Aws
Definition: AccessManagementClient.h:15
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
CognitoSyncRequest.h
Aws::CognitoSync::Model::DescribeIdentityPoolUsageRequest::DescribeIdentityPoolUsageRequest
DescribeIdentityPoolUsageRequest()
Aws::CognitoSync::Model::DescribeIdentityPoolUsageRequest::SetIdentityPoolId
void SetIdentityPoolId(const Aws::String &value)
Definition: DescribeIdentityPoolUsageRequest.h:55
Aws::CognitoSync::Model::DescribeIdentityPoolUsageRequest::GetIdentityPoolId
const Aws::String & GetIdentityPoolId() const
Definition: DescribeIdentityPoolUsageRequest.h:43