AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteIdentitiesRequest.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
8#include <aws/cognito-identity/CognitoIdentityRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CognitoIdentity
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_COGNITOIDENTITY_API DeleteIdentitiesRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteIdentities"; }
36
37 AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override;
38
39 AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetIdentityIdsToDelete() const{ return m_identityIdsToDelete; }
47 inline bool IdentityIdsToDeleteHasBeenSet() const { return m_identityIdsToDeleteHasBeenSet; }
48 inline void SetIdentityIdsToDelete(const Aws::Vector<Aws::String>& value) { m_identityIdsToDeleteHasBeenSet = true; m_identityIdsToDelete = value; }
49 inline void SetIdentityIdsToDelete(Aws::Vector<Aws::String>&& value) { m_identityIdsToDeleteHasBeenSet = true; m_identityIdsToDelete = std::move(value); }
52 inline DeleteIdentitiesRequest& AddIdentityIdsToDelete(const Aws::String& value) { m_identityIdsToDeleteHasBeenSet = true; m_identityIdsToDelete.push_back(value); return *this; }
53 inline DeleteIdentitiesRequest& AddIdentityIdsToDelete(Aws::String&& value) { m_identityIdsToDeleteHasBeenSet = true; m_identityIdsToDelete.push_back(std::move(value)); return *this; }
54 inline DeleteIdentitiesRequest& AddIdentityIdsToDelete(const char* value) { m_identityIdsToDeleteHasBeenSet = true; m_identityIdsToDelete.push_back(value); return *this; }
56 private:
57
58 Aws::Vector<Aws::String> m_identityIdsToDelete;
59 bool m_identityIdsToDeleteHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace CognitoIdentity
64} // namespace Aws
DeleteIdentitiesRequest & WithIdentityIdsToDelete(const Aws::Vector< Aws::String > &value)
DeleteIdentitiesRequest & AddIdentityIdsToDelete(Aws::String &&value)
DeleteIdentitiesRequest & AddIdentityIdsToDelete(const char *value)
void SetIdentityIdsToDelete(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetIdentityIdsToDelete() const
DeleteIdentitiesRequest & AddIdentityIdsToDelete(const Aws::String &value)
AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override
DeleteIdentitiesRequest & WithIdentityIdsToDelete(Aws::Vector< Aws::String > &&value)
void SetIdentityIdsToDelete(const Aws::Vector< Aws::String > &value)
AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector