AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeIdentityUsageRequest.h
1
6#pragma once
7#include <aws/cognito-sync/CognitoSyncRequest.h>
8#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CognitoSync {
15namespace Model {
16
24 public:
25 AWS_COGNITOSYNC_API DescribeIdentityUsageRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeIdentityUsage"; }
32
33 AWS_COGNITOSYNC_API Aws::String SerializePayload() const override;
34
36
40 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
41 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
42 template <typename IdentityPoolIdT = Aws::String>
43 void SetIdentityPoolId(IdentityPoolIdT&& value) {
44 m_identityPoolIdHasBeenSet = true;
45 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
46 }
47 template <typename IdentityPoolIdT = Aws::String>
49 SetIdentityPoolId(std::forward<IdentityPoolIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetIdentityId() const { return m_identityId; }
60 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
61 template <typename IdentityIdT = Aws::String>
62 void SetIdentityId(IdentityIdT&& value) {
63 m_identityIdHasBeenSet = true;
64 m_identityId = std::forward<IdentityIdT>(value);
65 }
66 template <typename IdentityIdT = Aws::String>
68 SetIdentityId(std::forward<IdentityIdT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_identityPoolId;
74
75 Aws::String m_identityId;
76 bool m_identityPoolIdHasBeenSet = false;
77 bool m_identityIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace CognitoSync
82} // namespace Aws
DescribeIdentityUsageRequest & WithIdentityPoolId(IdentityPoolIdT &&value)
AWS_COGNITOSYNC_API Aws::String SerializePayload() const override
DescribeIdentityUsageRequest & WithIdentityId(IdentityIdT &&value)
AWS_COGNITOSYNC_API DescribeIdentityUsageRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String