AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
IngressPointAuthConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mailmanager/MailManager_EXPORTS.h>
9#include <aws/mailmanager/model/IngressPointPasswordConfiguration.h>
10#include <aws/mailmanager/model/TlsAuthConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MailManager {
22namespace Model {
23
31 public:
32 AWS_MAILMANAGER_API IngressPointAuthConfiguration() = default;
35 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 return m_ingressPointPasswordConfiguration;
44 }
45 inline bool IngressPointPasswordConfigurationHasBeenSet() const { return m_ingressPointPasswordConfigurationHasBeenSet; }
46 template <typename IngressPointPasswordConfigurationT = IngressPointPasswordConfiguration>
47 void SetIngressPointPasswordConfiguration(IngressPointPasswordConfigurationT&& value) {
48 m_ingressPointPasswordConfigurationHasBeenSet = true;
49 m_ingressPointPasswordConfiguration = std::forward<IngressPointPasswordConfigurationT>(value);
50 }
51 template <typename IngressPointPasswordConfigurationT = IngressPointPasswordConfiguration>
52 IngressPointAuthConfiguration& WithIngressPointPasswordConfiguration(IngressPointPasswordConfigurationT&& value) {
53 SetIngressPointPasswordConfiguration(std::forward<IngressPointPasswordConfigurationT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
64 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
65 template <typename SecretArnT = Aws::String>
66 void SetSecretArn(SecretArnT&& value) {
67 m_secretArnHasBeenSet = true;
68 m_secretArn = std::forward<SecretArnT>(value);
69 }
70 template <typename SecretArnT = Aws::String>
72 SetSecretArn(std::forward<SecretArnT>(value));
73 return *this;
74 }
76
78
82 inline const TlsAuthConfiguration& GetTlsAuthConfiguration() const { return m_tlsAuthConfiguration; }
83 inline bool TlsAuthConfigurationHasBeenSet() const { return m_tlsAuthConfigurationHasBeenSet; }
84 template <typename TlsAuthConfigurationT = TlsAuthConfiguration>
85 void SetTlsAuthConfiguration(TlsAuthConfigurationT&& value) {
86 m_tlsAuthConfigurationHasBeenSet = true;
87 m_tlsAuthConfiguration = std::forward<TlsAuthConfigurationT>(value);
88 }
89 template <typename TlsAuthConfigurationT = TlsAuthConfiguration>
91 SetTlsAuthConfiguration(std::forward<TlsAuthConfigurationT>(value));
92 return *this;
93 }
95 private:
96 IngressPointPasswordConfiguration m_ingressPointPasswordConfiguration;
97
98 Aws::String m_secretArn;
99
100 TlsAuthConfiguration m_tlsAuthConfiguration;
101 bool m_ingressPointPasswordConfigurationHasBeenSet = false;
102 bool m_secretArnHasBeenSet = false;
103 bool m_tlsAuthConfigurationHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace MailManager
108} // namespace Aws
IngressPointAuthConfiguration & WithTlsAuthConfiguration(TlsAuthConfigurationT &&value)
AWS_MAILMANAGER_API IngressPointAuthConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API IngressPointAuthConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetIngressPointPasswordConfiguration(IngressPointPasswordConfigurationT &&value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAILMANAGER_API IngressPointAuthConfiguration()=default
IngressPointAuthConfiguration & WithSecretArn(SecretArnT &&value)
IngressPointAuthConfiguration & WithIngressPointPasswordConfiguration(IngressPointPasswordConfigurationT &&value)
const IngressPointPasswordConfiguration & GetIngressPointPasswordConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue