AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AuthenticationConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/kendra/Kendra_EXPORTS.h>
9#include <aws/kendra/model/BasicAuthenticationConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace kendra {
21namespace Model {
22
30 public:
31 AWS_KENDRA_API AuthenticationConfiguration() = default;
34 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::Vector<BasicAuthenticationConfiguration>& GetBasicAuthentication() const { return m_basicAuthentication; }
43 inline bool BasicAuthenticationHasBeenSet() const { return m_basicAuthenticationHasBeenSet; }
44 template <typename BasicAuthenticationT = Aws::Vector<BasicAuthenticationConfiguration>>
45 void SetBasicAuthentication(BasicAuthenticationT&& value) {
46 m_basicAuthenticationHasBeenSet = true;
47 m_basicAuthentication = std::forward<BasicAuthenticationT>(value);
48 }
49 template <typename BasicAuthenticationT = Aws::Vector<BasicAuthenticationConfiguration>>
51 SetBasicAuthentication(std::forward<BasicAuthenticationT>(value));
52 return *this;
53 }
54 template <typename BasicAuthenticationT = BasicAuthenticationConfiguration>
55 AuthenticationConfiguration& AddBasicAuthentication(BasicAuthenticationT&& value) {
56 m_basicAuthenticationHasBeenSet = true;
57 m_basicAuthentication.emplace_back(std::forward<BasicAuthenticationT>(value));
58 return *this;
59 }
61 private:
63 bool m_basicAuthenticationHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace kendra
68} // 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