AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
IngressPointConfiguration.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/TlsAuthConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MailManager {
21namespace Model {
22
30 public:
31 AWS_MAILMANAGER_API IngressPointConfiguration() = default;
34 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetSmtpPassword() const { return m_smtpPassword; }
41 inline bool SmtpPasswordHasBeenSet() const { return m_smtpPasswordHasBeenSet; }
42 template <typename SmtpPasswordT = Aws::String>
43 void SetSmtpPassword(SmtpPasswordT&& value) {
44 m_smtpPasswordHasBeenSet = true;
45 m_smtpPassword = std::forward<SmtpPasswordT>(value);
46 }
47 template <typename SmtpPasswordT = Aws::String>
49 SetSmtpPassword(std::forward<SmtpPasswordT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
59 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
60 template <typename SecretArnT = Aws::String>
61 void SetSecretArn(SecretArnT&& value) {
62 m_secretArnHasBeenSet = true;
63 m_secretArn = std::forward<SecretArnT>(value);
64 }
65 template <typename SecretArnT = Aws::String>
67 SetSecretArn(std::forward<SecretArnT>(value));
68 return *this;
69 }
71
73
77 inline const TlsAuthConfiguration& GetTlsAuthConfiguration() const { return m_tlsAuthConfiguration; }
78 inline bool TlsAuthConfigurationHasBeenSet() const { return m_tlsAuthConfigurationHasBeenSet; }
79 template <typename TlsAuthConfigurationT = TlsAuthConfiguration>
80 void SetTlsAuthConfiguration(TlsAuthConfigurationT&& value) {
81 m_tlsAuthConfigurationHasBeenSet = true;
82 m_tlsAuthConfiguration = std::forward<TlsAuthConfigurationT>(value);
83 }
84 template <typename TlsAuthConfigurationT = TlsAuthConfiguration>
85 IngressPointConfiguration& WithTlsAuthConfiguration(TlsAuthConfigurationT&& value) {
86 SetTlsAuthConfiguration(std::forward<TlsAuthConfigurationT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_smtpPassword;
92
93 Aws::String m_secretArn;
94
95 TlsAuthConfiguration m_tlsAuthConfiguration;
96 bool m_smtpPasswordHasBeenSet = false;
97 bool m_secretArnHasBeenSet = false;
98 bool m_tlsAuthConfigurationHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace MailManager
103} // namespace Aws
IngressPointConfiguration & WithTlsAuthConfiguration(TlsAuthConfigurationT &&value)
AWS_MAILMANAGER_API IngressPointConfiguration()=default
AWS_MAILMANAGER_API IngressPointConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTlsAuthConfiguration(TlsAuthConfigurationT &&value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const TlsAuthConfiguration & GetTlsAuthConfiguration() const
AWS_MAILMANAGER_API IngressPointConfiguration(Aws::Utils::Json::JsonView jsonValue)
IngressPointConfiguration & WithSmtpPassword(SmtpPasswordT &&value)
IngressPointConfiguration & WithSecretArn(SecretArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue