AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeliveryOptions.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/email/model/TlsPolicy.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace SES
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SES_API DeliveryOptions();
36 AWS_SES_API DeliveryOptions(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
51 inline const TlsPolicy& GetTlsPolicy() const{ return m_tlsPolicy; }
52 inline bool TlsPolicyHasBeenSet() const { return m_tlsPolicyHasBeenSet; }
53 inline void SetTlsPolicy(const TlsPolicy& value) { m_tlsPolicyHasBeenSet = true; m_tlsPolicy = value; }
54 inline void SetTlsPolicy(TlsPolicy&& value) { m_tlsPolicyHasBeenSet = true; m_tlsPolicy = std::move(value); }
55 inline DeliveryOptions& WithTlsPolicy(const TlsPolicy& value) { SetTlsPolicy(value); return *this;}
56 inline DeliveryOptions& WithTlsPolicy(TlsPolicy&& value) { SetTlsPolicy(std::move(value)); return *this;}
58 private:
59
60 TlsPolicy m_tlsPolicy;
61 bool m_tlsPolicyHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace SES
66} // namespace Aws
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_SES_API DeliveryOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API DeliveryOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DeliveryOptions & WithTlsPolicy(const TlsPolicy &value)
const TlsPolicy & GetTlsPolicy() const
void SetTlsPolicy(const TlsPolicy &value)
void SetTlsPolicy(TlsPolicy &&value)
DeliveryOptions & WithTlsPolicy(TlsPolicy &&value)
std::basic_ostream< char, std::char_traits< char > > OStream