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/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/pinpoint-email/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 PinpointEmail
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PINPOINTEMAIL_API DeliveryOptions();
37 AWS_PINPOINTEMAIL_API DeliveryOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PINPOINTEMAIL_API DeliveryOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINTEMAIL_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 private:
73
74 TlsPolicy m_tlsPolicy;
75 bool m_tlsPolicyHasBeenSet = false;
76
77 Aws::String m_sendingPoolName;
78 bool m_sendingPoolNameHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace PinpointEmail
83} // namespace Aws
DeliveryOptions & WithSendingPoolName(const char *value)
AWS_PINPOINTEMAIL_API DeliveryOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API DeliveryOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
DeliveryOptions & WithSendingPoolName(Aws::String &&value)
void SetTlsPolicy(const TlsPolicy &value)
void SetSendingPoolName(Aws::String &&value)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
DeliveryOptions & WithSendingPoolName(const Aws::String &value)
DeliveryOptions & WithTlsPolicy(TlsPolicy &&value)
const Aws::String & GetSendingPoolName() const
void SetSendingPoolName(const Aws::String &value)
DeliveryOptions & WithTlsPolicy(const TlsPolicy &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue