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/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/TlsPolicy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SESV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SESV2_API DeliveryOptions();
39 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const TlsPolicy& GetTlsPolicy() const{ return m_tlsPolicy; }
51 inline bool TlsPolicyHasBeenSet() const { return m_tlsPolicyHasBeenSet; }
52 inline void SetTlsPolicy(const TlsPolicy& value) { m_tlsPolicyHasBeenSet = true; m_tlsPolicy = value; }
53 inline void SetTlsPolicy(TlsPolicy&& value) { m_tlsPolicyHasBeenSet = true; m_tlsPolicy = std::move(value); }
54 inline DeliveryOptions& WithTlsPolicy(const TlsPolicy& value) { SetTlsPolicy(value); return *this;}
55 inline DeliveryOptions& WithTlsPolicy(TlsPolicy&& value) { SetTlsPolicy(std::move(value)); return *this;}
57
59
63 inline const Aws::String& GetSendingPoolName() const{ return m_sendingPoolName; }
64 inline bool SendingPoolNameHasBeenSet() const { return m_sendingPoolNameHasBeenSet; }
65 inline void SetSendingPoolName(const Aws::String& value) { m_sendingPoolNameHasBeenSet = true; m_sendingPoolName = value; }
66 inline void SetSendingPoolName(Aws::String&& value) { m_sendingPoolNameHasBeenSet = true; m_sendingPoolName = std::move(value); }
67 inline void SetSendingPoolName(const char* value) { m_sendingPoolNameHasBeenSet = true; m_sendingPoolName.assign(value); }
68 inline DeliveryOptions& WithSendingPoolName(const Aws::String& value) { SetSendingPoolName(value); return *this;}
69 inline DeliveryOptions& WithSendingPoolName(Aws::String&& value) { SetSendingPoolName(std::move(value)); return *this;}
70 inline DeliveryOptions& WithSendingPoolName(const char* value) { SetSendingPoolName(value); return *this;}
72
74
79 inline long long GetMaxDeliverySeconds() const{ return m_maxDeliverySeconds; }
80 inline bool MaxDeliverySecondsHasBeenSet() const { return m_maxDeliverySecondsHasBeenSet; }
81 inline void SetMaxDeliverySeconds(long long value) { m_maxDeliverySecondsHasBeenSet = true; m_maxDeliverySeconds = value; }
82 inline DeliveryOptions& WithMaxDeliverySeconds(long long value) { SetMaxDeliverySeconds(value); return *this;}
84 private:
85
86 TlsPolicy m_tlsPolicy;
87 bool m_tlsPolicyHasBeenSet = false;
88
89 Aws::String m_sendingPoolName;
90 bool m_sendingPoolNameHasBeenSet = false;
91
92 long long m_maxDeliverySeconds;
93 bool m_maxDeliverySecondsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SESV2
98} // namespace Aws
void SetSendingPoolName(const char *value)
AWS_SESV2_API DeliveryOptions(Aws::Utils::Json::JsonView jsonValue)
const TlsPolicy & GetTlsPolicy() const
void SetTlsPolicy(TlsPolicy &&value)
AWS_SESV2_API DeliveryOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
DeliveryOptions & WithSendingPoolName(Aws::String &&value)
void SetSendingPoolName(const Aws::String &value)
DeliveryOptions & WithMaxDeliverySeconds(long long value)
void SetMaxDeliverySeconds(long long value)
DeliveryOptions & WithSendingPoolName(const Aws::String &value)
DeliveryOptions & WithSendingPoolName(const char *value)
DeliveryOptions & WithTlsPolicy(const TlsPolicy &value)
const Aws::String & GetSendingPoolName() const
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSendingPoolName(Aws::String &&value)
DeliveryOptions & WithTlsPolicy(TlsPolicy &&value)
void SetTlsPolicy(const TlsPolicy &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue