AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DescribeUserRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/identitystore/IdentityStoreRequest.h>
10#include <aws/identitystore/IdentityStore_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace IdentityStore {
16namespace Model {
17
21 public:
22 AWS_IDENTITYSTORE_API DescribeUserRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeUser"; }
29
30 AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override;
31
32 AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
45 inline const Aws::String& GetIdentityStoreId() const { return m_identityStoreId; }
46 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
47 template <typename IdentityStoreIdT = Aws::String>
48 void SetIdentityStoreId(IdentityStoreIdT&& value) {
49 m_identityStoreIdHasBeenSet = true;
50 m_identityStoreId = std::forward<IdentityStoreIdT>(value);
51 }
52 template <typename IdentityStoreIdT = Aws::String>
53 DescribeUserRequest& WithIdentityStoreId(IdentityStoreIdT&& value) {
54 SetIdentityStoreId(std::forward<IdentityStoreIdT>(value));
55 return *this;
56 }
58
60
66 inline const Aws::String& GetUserId() const { return m_userId; }
67 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
68 template <typename UserIdT = Aws::String>
69 void SetUserId(UserIdT&& value) {
70 m_userIdHasBeenSet = true;
71 m_userId = std::forward<UserIdT>(value);
72 }
73 template <typename UserIdT = Aws::String>
74 DescribeUserRequest& WithUserId(UserIdT&& value) {
75 SetUserId(std::forward<UserIdT>(value));
76 return *this;
77 }
79
81
87 inline const Aws::Vector<Aws::String>& GetExtensions() const { return m_extensions; }
88 inline bool ExtensionsHasBeenSet() const { return m_extensionsHasBeenSet; }
89 template <typename ExtensionsT = Aws::Vector<Aws::String>>
90 void SetExtensions(ExtensionsT&& value) {
91 m_extensionsHasBeenSet = true;
92 m_extensions = std::forward<ExtensionsT>(value);
93 }
94 template <typename ExtensionsT = Aws::Vector<Aws::String>>
95 DescribeUserRequest& WithExtensions(ExtensionsT&& value) {
96 SetExtensions(std::forward<ExtensionsT>(value));
97 return *this;
98 }
99 template <typename ExtensionsT = Aws::String>
100 DescribeUserRequest& AddExtensions(ExtensionsT&& value) {
101 m_extensionsHasBeenSet = true;
102 m_extensions.emplace_back(std::forward<ExtensionsT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_identityStoreId;
108
109 Aws::String m_userId;
110
111 Aws::Vector<Aws::String> m_extensions;
112 bool m_identityStoreIdHasBeenSet = false;
113 bool m_userIdHasBeenSet = false;
114 bool m_extensionsHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace IdentityStore
119} // namespace Aws
AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override
AWS_IDENTITYSTORE_API DescribeUserRequest()=default
DescribeUserRequest & WithExtensions(ExtensionsT &&value)
DescribeUserRequest & WithIdentityStoreId(IdentityStoreIdT &&value)
DescribeUserRequest & AddExtensions(ExtensionsT &&value)
AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeUserRequest & WithUserId(UserIdT &&value)
const Aws::Vector< Aws::String > & GetExtensions() const
virtual const char * GetServiceRequestName() const override
void SetIdentityStoreId(IdentityStoreIdT &&value)
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