AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AuthenticationConfiguration.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kendra/model/BasicAuthenticationConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace kendra
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KENDRA_API AuthenticationConfiguration() = default;
39 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::Vector<BasicAuthenticationConfiguration>& GetBasicAuthentication() const { return m_basicAuthentication; }
49 inline bool BasicAuthenticationHasBeenSet() const { return m_basicAuthenticationHasBeenSet; }
50 template<typename BasicAuthenticationT = Aws::Vector<BasicAuthenticationConfiguration>>
51 void SetBasicAuthentication(BasicAuthenticationT&& value) { m_basicAuthenticationHasBeenSet = true; m_basicAuthentication = std::forward<BasicAuthenticationT>(value); }
52 template<typename BasicAuthenticationT = Aws::Vector<BasicAuthenticationConfiguration>>
53 AuthenticationConfiguration& WithBasicAuthentication(BasicAuthenticationT&& value) { SetBasicAuthentication(std::forward<BasicAuthenticationT>(value)); return *this;}
54 template<typename BasicAuthenticationT = BasicAuthenticationConfiguration>
55 AuthenticationConfiguration& AddBasicAuthentication(BasicAuthenticationT&& value) { m_basicAuthenticationHasBeenSet = true; m_basicAuthentication.emplace_back(std::forward<BasicAuthenticationT>(value)); return *this; }
57 private:
58
60 bool m_basicAuthenticationHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace kendra
65} // namespace Aws
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KENDRA_API AuthenticationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthenticationConfiguration & AddBasicAuthentication(BasicAuthenticationT &&value)
AWS_KENDRA_API AuthenticationConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< BasicAuthenticationConfiguration > & GetBasicAuthentication() const
AWS_KENDRA_API AuthenticationConfiguration()=default
AuthenticationConfiguration & WithBasicAuthentication(BasicAuthenticationT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue