AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CustomAuthenticationProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/ConnectorProperty.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API CustomAuthenticationProperties() = default;
35
37
41 inline const Aws::Vector<ConnectorProperty>& GetAuthenticationParameters() const { return m_authenticationParameters; }
42 inline bool AuthenticationParametersHasBeenSet() const { return m_authenticationParametersHasBeenSet; }
43 template <typename AuthenticationParametersT = Aws::Vector<ConnectorProperty>>
44 void SetAuthenticationParameters(AuthenticationParametersT&& value) {
45 m_authenticationParametersHasBeenSet = true;
46 m_authenticationParameters = std::forward<AuthenticationParametersT>(value);
47 }
48 template <typename AuthenticationParametersT = Aws::Vector<ConnectorProperty>>
50 SetAuthenticationParameters(std::forward<AuthenticationParametersT>(value));
51 return *this;
52 }
53 template <typename AuthenticationParametersT = ConnectorProperty>
54 CustomAuthenticationProperties& AddAuthenticationParameters(AuthenticationParametersT&& value) {
55 m_authenticationParametersHasBeenSet = true;
56 m_authenticationParameters.emplace_back(std::forward<AuthenticationParametersT>(value));
57 return *this;
58 }
60 private:
61 Aws::Vector<ConnectorProperty> m_authenticationParameters;
62 bool m_authenticationParametersHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace Glue
67} // namespace Aws
CustomAuthenticationProperties & AddAuthenticationParameters(AuthenticationParametersT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API CustomAuthenticationProperties(Aws::Utils::Json::JsonView jsonValue)
void SetAuthenticationParameters(AuthenticationParametersT &&value)
CustomAuthenticationProperties & WithAuthenticationParameters(AuthenticationParametersT &&value)
AWS_GLUE_API CustomAuthenticationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ConnectorProperty > & GetAuthenticationParameters() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue