AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetUserIdRequest.h
1
6#pragma once
7#include <aws/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/identitystore/IdentityStoreRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/identitystore/model/AlternateIdentifier.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IdentityStore
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IDENTITYSTORE_API GetUserIdRequest();
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 "GetUserId"; }
32
33 AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override;
34
35 AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; }
43 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
44 inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; }
45 inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); }
46 inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); }
47 inline GetUserIdRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;}
48 inline GetUserIdRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;}
49 inline GetUserIdRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;}
51
53
60 inline const AlternateIdentifier& GetAlternateIdentifier() const{ return m_alternateIdentifier; }
61 inline bool AlternateIdentifierHasBeenSet() const { return m_alternateIdentifierHasBeenSet; }
62 inline void SetAlternateIdentifier(const AlternateIdentifier& value) { m_alternateIdentifierHasBeenSet = true; m_alternateIdentifier = value; }
63 inline void SetAlternateIdentifier(AlternateIdentifier&& value) { m_alternateIdentifierHasBeenSet = true; m_alternateIdentifier = std::move(value); }
65 inline GetUserIdRequest& WithAlternateIdentifier(AlternateIdentifier&& value) { SetAlternateIdentifier(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_identityStoreId;
70 bool m_identityStoreIdHasBeenSet = false;
71
72 AlternateIdentifier m_alternateIdentifier;
73 bool m_alternateIdentifierHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IdentityStore
78} // namespace Aws
GetUserIdRequest & WithIdentityStoreId(const char *value)
const Aws::String & GetIdentityStoreId() const
GetUserIdRequest & WithIdentityStoreId(Aws::String &&value)
const AlternateIdentifier & GetAlternateIdentifier() const
void SetAlternateIdentifier(AlternateIdentifier &&value)
GetUserIdRequest & WithAlternateIdentifier(AlternateIdentifier &&value)
AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetUserIdRequest & WithIdentityStoreId(const Aws::String &value)
GetUserIdRequest & WithAlternateIdentifier(const AlternateIdentifier &value)
virtual const char * GetServiceRequestName() const override
void SetIdentityStoreId(const Aws::String &value)
AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override
void SetAlternateIdentifier(const AlternateIdentifier &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String