AWS SDK for C++  1.8.126
AWS SDK for C++
GetCognitoEventsRequest.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 "GetCognitoEvents"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
43 
47  inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
48 
52  inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
53 
57  inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
58 
62  inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
63 
67  inline GetCognitoEventsRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
68 
72  inline GetCognitoEventsRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
73 
77  inline GetCognitoEventsRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
78 
79  private:
80 
81  Aws::String m_identityPoolId;
82  bool m_identityPoolIdHasBeenSet;
83  };
84 
85 } // namespace Model
86 } // namespace CognitoSync
87 } // namespace Aws
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::GetCognitoEventsRequest
Definition: GetCognitoEventsRequest.h:26
Aws::CognitoSync::Model::GetCognitoEventsRequest::GetIdentityPoolId
const Aws::String & GetIdentityPoolId() const
Definition: GetCognitoEventsRequest.h:42
Aws::CognitoSync::CognitoSyncRequest
Definition: CognitoSyncRequest.h:17
AWSString.h
Aws::CognitoSync::Model::GetCognitoEventsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetCognitoEventsRequest.h:34
Aws::CognitoSync::Model::GetCognitoEventsRequest::SetIdentityPoolId
void SetIdentityPoolId(Aws::String &&value)
Definition: GetCognitoEventsRequest.h:57
Aws::CognitoSync::Model::GetCognitoEventsRequest::GetCognitoEventsRequest
GetCognitoEventsRequest()
Aws::CognitoSync::Model::GetCognitoEventsRequest::SetIdentityPoolId
void SetIdentityPoolId(const char *value)
Definition: GetCognitoEventsRequest.h:62
Aws
Definition: AccessManagementClient.h:15
Aws::CognitoSync::Model::GetCognitoEventsRequest::WithIdentityPoolId
GetCognitoEventsRequest & WithIdentityPoolId(Aws::String &&value)
Definition: GetCognitoEventsRequest.h:72
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::GetCognitoEventsRequest::WithIdentityPoolId
GetCognitoEventsRequest & WithIdentityPoolId(const char *value)
Definition: GetCognitoEventsRequest.h:77
Aws::CognitoSync::Model::GetCognitoEventsRequest::SetIdentityPoolId
void SetIdentityPoolId(const Aws::String &value)
Definition: GetCognitoEventsRequest.h:52
Aws::CognitoSync::Model::GetCognitoEventsRequest::IdentityPoolIdHasBeenSet
bool IdentityPoolIdHasBeenSet() const
Definition: GetCognitoEventsRequest.h:47
Aws::CognitoSync::Model::GetCognitoEventsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CognitoSync::Model::GetCognitoEventsRequest::WithIdentityPoolId
GetCognitoEventsRequest & WithIdentityPoolId(const Aws::String &value)
Definition: GetCognitoEventsRequest.h:67