AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CustomAuthConfig.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/appflow/model/AuthParameter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Appflow
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_APPFLOW_API CustomAuthConfig() = default;
38 AWS_APPFLOW_API CustomAuthConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetCustomAuthenticationType() const { return m_customAuthenticationType; }
48 inline bool CustomAuthenticationTypeHasBeenSet() const { return m_customAuthenticationTypeHasBeenSet; }
49 template<typename CustomAuthenticationTypeT = Aws::String>
50 void SetCustomAuthenticationType(CustomAuthenticationTypeT&& value) { m_customAuthenticationTypeHasBeenSet = true; m_customAuthenticationType = std::forward<CustomAuthenticationTypeT>(value); }
51 template<typename CustomAuthenticationTypeT = Aws::String>
52 CustomAuthConfig& WithCustomAuthenticationType(CustomAuthenticationTypeT&& value) { SetCustomAuthenticationType(std::forward<CustomAuthenticationTypeT>(value)); return *this;}
54
56
59 inline const Aws::Vector<AuthParameter>& GetAuthParameters() const { return m_authParameters; }
60 inline bool AuthParametersHasBeenSet() const { return m_authParametersHasBeenSet; }
61 template<typename AuthParametersT = Aws::Vector<AuthParameter>>
62 void SetAuthParameters(AuthParametersT&& value) { m_authParametersHasBeenSet = true; m_authParameters = std::forward<AuthParametersT>(value); }
63 template<typename AuthParametersT = Aws::Vector<AuthParameter>>
64 CustomAuthConfig& WithAuthParameters(AuthParametersT&& value) { SetAuthParameters(std::forward<AuthParametersT>(value)); return *this;}
65 template<typename AuthParametersT = AuthParameter>
66 CustomAuthConfig& AddAuthParameters(AuthParametersT&& value) { m_authParametersHasBeenSet = true; m_authParameters.emplace_back(std::forward<AuthParametersT>(value)); return *this; }
68 private:
69
70 Aws::String m_customAuthenticationType;
71 bool m_customAuthenticationTypeHasBeenSet = false;
72
73 Aws::Vector<AuthParameter> m_authParameters;
74 bool m_authParametersHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Appflow
79} // namespace Aws
void SetAuthParameters(AuthParametersT &&value)
CustomAuthConfig & WithCustomAuthenticationType(CustomAuthenticationTypeT &&value)
AWS_APPFLOW_API CustomAuthConfig()=default
const Aws::Vector< AuthParameter > & GetAuthParameters() const
AWS_APPFLOW_API CustomAuthConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCustomAuthenticationType() const
CustomAuthConfig & AddAuthParameters(AuthParametersT &&value)
CustomAuthConfig & WithAuthParameters(AuthParametersT &&value)
AWS_APPFLOW_API CustomAuthConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCustomAuthenticationType(CustomAuthenticationTypeT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue