AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCustomAuthenticationType(const Aws::String& value) { m_customAuthenticationTypeHasBeenSet = true; m_customAuthenticationType = value; }
50 inline void SetCustomAuthenticationType(Aws::String&& value) { m_customAuthenticationTypeHasBeenSet = true; m_customAuthenticationType = std::move(value); }
51 inline void SetCustomAuthenticationType(const char* value) { m_customAuthenticationTypeHasBeenSet = true; m_customAuthenticationType.assign(value); }
53 inline CustomAuthConfig& WithCustomAuthenticationType(Aws::String&& value) { SetCustomAuthenticationType(std::move(value)); return *this;}
54 inline CustomAuthConfig& WithCustomAuthenticationType(const char* value) { SetCustomAuthenticationType(value); return *this;}
56
58
61 inline const Aws::Vector<AuthParameter>& GetAuthParameters() const{ return m_authParameters; }
62 inline bool AuthParametersHasBeenSet() const { return m_authParametersHasBeenSet; }
63 inline void SetAuthParameters(const Aws::Vector<AuthParameter>& value) { m_authParametersHasBeenSet = true; m_authParameters = value; }
64 inline void SetAuthParameters(Aws::Vector<AuthParameter>&& value) { m_authParametersHasBeenSet = true; m_authParameters = std::move(value); }
66 inline CustomAuthConfig& WithAuthParameters(Aws::Vector<AuthParameter>&& value) { SetAuthParameters(std::move(value)); return *this;}
67 inline CustomAuthConfig& AddAuthParameters(const AuthParameter& value) { m_authParametersHasBeenSet = true; m_authParameters.push_back(value); return *this; }
68 inline CustomAuthConfig& AddAuthParameters(AuthParameter&& value) { m_authParametersHasBeenSet = true; m_authParameters.push_back(std::move(value)); return *this; }
70 private:
71
72 Aws::String m_customAuthenticationType;
73 bool m_customAuthenticationTypeHasBeenSet = false;
74
75 Aws::Vector<AuthParameter> m_authParameters;
76 bool m_authParametersHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Appflow
81} // namespace Aws
CustomAuthConfig & WithCustomAuthenticationType(const Aws::String &value)
CustomAuthConfig & WithAuthParameters(Aws::Vector< AuthParameter > &&value)
void SetCustomAuthenticationType(const char *value)
CustomAuthConfig & WithAuthParameters(const Aws::Vector< AuthParameter > &value)
CustomAuthConfig & AddAuthParameters(AuthParameter &&value)
const Aws::Vector< AuthParameter > & GetAuthParameters() const
AWS_APPFLOW_API CustomAuthConfig(Aws::Utils::Json::JsonView jsonValue)
void SetAuthParameters(Aws::Vector< AuthParameter > &&value)
void SetAuthParameters(const Aws::Vector< AuthParameter > &value)
const Aws::String & GetCustomAuthenticationType() const
CustomAuthConfig & AddAuthParameters(const AuthParameter &value)
void SetCustomAuthenticationType(Aws::String &&value)
void SetCustomAuthenticationType(const Aws::String &value)
AWS_APPFLOW_API CustomAuthConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
CustomAuthConfig & WithCustomAuthenticationType(const char *value)
CustomAuthConfig & WithCustomAuthenticationType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue