AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
UserIdentityConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kendra/Kendra_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace kendra {
20namespace Model {
21
29 public:
30 AWS_KENDRA_API UserIdentityConfiguration() = default;
33 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
47 inline const Aws::String& GetIdentityAttributeName() const { return m_identityAttributeName; }
48 inline bool IdentityAttributeNameHasBeenSet() const { return m_identityAttributeNameHasBeenSet; }
49 template <typename IdentityAttributeNameT = Aws::String>
50 void SetIdentityAttributeName(IdentityAttributeNameT&& value) {
51 m_identityAttributeNameHasBeenSet = true;
52 m_identityAttributeName = std::forward<IdentityAttributeNameT>(value);
53 }
54 template <typename IdentityAttributeNameT = Aws::String>
55 UserIdentityConfiguration& WithIdentityAttributeName(IdentityAttributeNameT&& value) {
56 SetIdentityAttributeName(std::forward<IdentityAttributeNameT>(value));
57 return *this;
58 }
60 private:
61 Aws::String m_identityAttributeName;
62 bool m_identityAttributeNameHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace kendra
67} // namespace Aws
UserIdentityConfiguration & WithIdentityAttributeName(IdentityAttributeNameT &&value)
AWS_KENDRA_API UserIdentityConfiguration()=default
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIdentityAttributeName(IdentityAttributeNameT &&value)
AWS_KENDRA_API UserIdentityConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API UserIdentityConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue