AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomAuthCredentials.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/AWSMap.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 Appflow
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPFLOW_API CustomAuthCredentials();
39 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetCustomAuthenticationType() const{ return m_customAuthenticationType; }
47 inline bool CustomAuthenticationTypeHasBeenSet() const { return m_customAuthenticationTypeHasBeenSet; }
48 inline void SetCustomAuthenticationType(const Aws::String& value) { m_customAuthenticationTypeHasBeenSet = true; m_customAuthenticationType = value; }
49 inline void SetCustomAuthenticationType(Aws::String&& value) { m_customAuthenticationTypeHasBeenSet = true; m_customAuthenticationType = std::move(value); }
50 inline void SetCustomAuthenticationType(const char* value) { m_customAuthenticationTypeHasBeenSet = true; m_customAuthenticationType.assign(value); }
53 inline CustomAuthCredentials& WithCustomAuthenticationType(const char* value) { SetCustomAuthenticationType(value); return *this;}
55
57
60 inline const Aws::Map<Aws::String, Aws::String>& GetCredentialsMap() const{ return m_credentialsMap; }
61 inline bool CredentialsMapHasBeenSet() const { return m_credentialsMapHasBeenSet; }
62 inline void SetCredentialsMap(const Aws::Map<Aws::String, Aws::String>& value) { m_credentialsMapHasBeenSet = true; m_credentialsMap = value; }
63 inline void SetCredentialsMap(Aws::Map<Aws::String, Aws::String>&& value) { m_credentialsMapHasBeenSet = true; m_credentialsMap = std::move(value); }
66 inline CustomAuthCredentials& AddCredentialsMap(const Aws::String& key, const Aws::String& value) { m_credentialsMapHasBeenSet = true; m_credentialsMap.emplace(key, value); return *this; }
67 inline CustomAuthCredentials& AddCredentialsMap(Aws::String&& key, const Aws::String& value) { m_credentialsMapHasBeenSet = true; m_credentialsMap.emplace(std::move(key), value); return *this; }
68 inline CustomAuthCredentials& AddCredentialsMap(const Aws::String& key, Aws::String&& value) { m_credentialsMapHasBeenSet = true; m_credentialsMap.emplace(key, std::move(value)); return *this; }
69 inline CustomAuthCredentials& AddCredentialsMap(Aws::String&& key, Aws::String&& value) { m_credentialsMapHasBeenSet = true; m_credentialsMap.emplace(std::move(key), std::move(value)); return *this; }
70 inline CustomAuthCredentials& AddCredentialsMap(const char* key, Aws::String&& value) { m_credentialsMapHasBeenSet = true; m_credentialsMap.emplace(key, std::move(value)); return *this; }
71 inline CustomAuthCredentials& AddCredentialsMap(Aws::String&& key, const char* value) { m_credentialsMapHasBeenSet = true; m_credentialsMap.emplace(std::move(key), value); return *this; }
72 inline CustomAuthCredentials& AddCredentialsMap(const char* key, const char* value) { m_credentialsMapHasBeenSet = true; m_credentialsMap.emplace(key, value); return *this; }
74 private:
75
76 Aws::String m_customAuthenticationType;
77 bool m_customAuthenticationTypeHasBeenSet = false;
78
80 bool m_credentialsMapHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Appflow
85} // namespace Aws
CustomAuthCredentials & WithCredentialsMap(Aws::Map< Aws::String, Aws::String > &&value)
CustomAuthCredentials & WithCustomAuthenticationType(const char *value)
const Aws::String & GetCustomAuthenticationType() const
CustomAuthCredentials & WithCredentialsMap(const Aws::Map< Aws::String, Aws::String > &value)
AWS_APPFLOW_API CustomAuthCredentials(Aws::Utils::Json::JsonView jsonValue)
CustomAuthCredentials & WithCustomAuthenticationType(Aws::String &&value)
CustomAuthCredentials & AddCredentialsMap(Aws::String &&key, const Aws::String &value)
CustomAuthCredentials & AddCredentialsMap(Aws::String &&key, Aws::String &&value)
CustomAuthCredentials & AddCredentialsMap(Aws::String &&key, const char *value)
AWS_APPFLOW_API CustomAuthCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomAuthCredentials & AddCredentialsMap(const char *key, Aws::String &&value)
CustomAuthCredentials & AddCredentialsMap(const char *key, const char *value)
CustomAuthCredentials & AddCredentialsMap(const Aws::String &key, Aws::String &&value)
CustomAuthCredentials & AddCredentialsMap(const Aws::String &key, const Aws::String &value)
void SetCredentialsMap(const Aws::Map< Aws::String, Aws::String > &value)
void SetCredentialsMap(Aws::Map< Aws::String, Aws::String > &&value)
CustomAuthCredentials & WithCustomAuthenticationType(const Aws::String &value)
void SetCustomAuthenticationType(const Aws::String &value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetCredentialsMap() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue