AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
IngressPointConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/mailmanager/MailManager_EXPORTS.h>
10#include <aws/mailmanager/model/TlsAuthConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace MailManager {
21namespace Model {
22
30 public:
31 AWS_MAILMANAGER_API IngressPointConfiguration() = default;
32 AWS_MAILMANAGER_API IngressPointConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_MAILMANAGER_API IngressPointConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) 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
void SetTlsAuthConfiguration(TlsAuthConfigurationT &&value)
AWS_MAILMANAGER_API IngressPointConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const TlsAuthConfiguration & GetTlsAuthConfiguration() const
IngressPointConfiguration & WithSmtpPassword(SmtpPasswordT &&value)
AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
IngressPointConfiguration & WithSecretArn(SecretArnT &&value)
AWS_MAILMANAGER_API IngressPointConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String