AWS SDK for C++  1.8.129
AWS SDK for C++
DeliveryOptions.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SES
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
50  inline const TlsPolicy& GetTlsPolicy() const{ return m_tlsPolicy; }
51 
59  inline bool TlsPolicyHasBeenSet() const { return m_tlsPolicyHasBeenSet; }
60 
68  inline void SetTlsPolicy(const TlsPolicy& value) { m_tlsPolicyHasBeenSet = true; m_tlsPolicy = value; }
69 
77  inline void SetTlsPolicy(TlsPolicy&& value) { m_tlsPolicyHasBeenSet = true; m_tlsPolicy = std::move(value); }
78 
86  inline DeliveryOptions& WithTlsPolicy(const TlsPolicy& value) { SetTlsPolicy(value); return *this;}
87 
95  inline DeliveryOptions& WithTlsPolicy(TlsPolicy&& value) { SetTlsPolicy(std::move(value)); return *this;}
96 
97  private:
98 
99  TlsPolicy m_tlsPolicy;
100  bool m_tlsPolicyHasBeenSet;
101  };
102 
103 } // namespace Model
104 } // namespace SES
105 } // namespace Aws
Aws::SES::Model::DeliveryOptions::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::DeliveryOptions::SetTlsPolicy
void SetTlsPolicy(const TlsPolicy &value)
Definition: DeliveryOptions.h:68
Aws::SES::Model::DeliveryOptions::DeliveryOptions
DeliveryOptions()
Aws::SES::Model::DeliveryOptions::SetTlsPolicy
void SetTlsPolicy(TlsPolicy &&value)
Definition: DeliveryOptions.h:77
Aws::SES::Model::DeliveryOptions::DeliveryOptions
DeliveryOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::DeliveryOptions::GetTlsPolicy
const TlsPolicy & GetTlsPolicy() const
Definition: DeliveryOptions.h:50
AWSStreamFwd.h
Aws::SES::Model::DeliveryOptions::operator=
DeliveryOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::DeliveryOptions::WithTlsPolicy
DeliveryOptions & WithTlsPolicy(const TlsPolicy &value)
Definition: DeliveryOptions.h:86
Aws::SES::Model::DeliveryOptions
Definition: DeliveryOptions.h:33
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::DeliveryOptions::WithTlsPolicy
DeliveryOptions & WithTlsPolicy(TlsPolicy &&value)
Definition: DeliveryOptions.h:95
TlsPolicy.h
Aws::SES::Model::TlsPolicy
TlsPolicy
Definition: TlsPolicy.h:17
Aws::SES::Model::DeliveryOptions::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::DeliveryOptions::TlsPolicyHasBeenSet
bool TlsPolicyHasBeenSet() const
Definition: DeliveryOptions.h:59
Aws
Definition: AccessManagementClient.h:15
index
int index
Definition: cJSON.h:171