AWS SDK for C++  1.9.161
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 Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SESV2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
49  inline const TlsPolicy& GetTlsPolicy() const{ return m_tlsPolicy; }
50 
58  inline bool TlsPolicyHasBeenSet() const { return m_tlsPolicyHasBeenSet; }
59 
67  inline void SetTlsPolicy(const TlsPolicy& value) { m_tlsPolicyHasBeenSet = true; m_tlsPolicy = value; }
68 
76  inline void SetTlsPolicy(TlsPolicy&& value) { m_tlsPolicyHasBeenSet = true; m_tlsPolicy = std::move(value); }
77 
85  inline DeliveryOptions& WithTlsPolicy(const TlsPolicy& value) { SetTlsPolicy(value); return *this;}
86 
94  inline DeliveryOptions& WithTlsPolicy(TlsPolicy&& value) { SetTlsPolicy(std::move(value)); return *this;}
95 
96 
101  inline const Aws::String& GetSendingPoolName() const{ return m_sendingPoolName; }
102 
107  inline bool SendingPoolNameHasBeenSet() const { return m_sendingPoolNameHasBeenSet; }
108 
113  inline void SetSendingPoolName(const Aws::String& value) { m_sendingPoolNameHasBeenSet = true; m_sendingPoolName = value; }
114 
119  inline void SetSendingPoolName(Aws::String&& value) { m_sendingPoolNameHasBeenSet = true; m_sendingPoolName = std::move(value); }
120 
125  inline void SetSendingPoolName(const char* value) { m_sendingPoolNameHasBeenSet = true; m_sendingPoolName.assign(value); }
126 
131  inline DeliveryOptions& WithSendingPoolName(const Aws::String& value) { SetSendingPoolName(value); return *this;}
132 
137  inline DeliveryOptions& WithSendingPoolName(Aws::String&& value) { SetSendingPoolName(std::move(value)); return *this;}
138 
143  inline DeliveryOptions& WithSendingPoolName(const char* value) { SetSendingPoolName(value); return *this;}
144 
145  private:
146 
147  TlsPolicy m_tlsPolicy;
148  bool m_tlsPolicyHasBeenSet;
149 
150  Aws::String m_sendingPoolName;
151  bool m_sendingPoolNameHasBeenSet;
152  };
153 
154 } // namespace Model
155 } // namespace SESV2
156 } // namespace Aws
Aws::SESV2::Model::DeliveryOptions::WithSendingPoolName
DeliveryOptions & WithSendingPoolName(Aws::String &&value)
Definition: DeliveryOptions.h:137
Aws::SESV2::Model::DeliveryOptions::SetTlsPolicy
void SetTlsPolicy(TlsPolicy &&value)
Definition: DeliveryOptions.h:76
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::DeliveryOptions::operator=
DeliveryOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::DeliveryOptions::WithTlsPolicy
DeliveryOptions & WithTlsPolicy(TlsPolicy &&value)
Definition: DeliveryOptions.h:94
Aws::SESV2::Model::DeliveryOptions::SetTlsPolicy
void SetTlsPolicy(const TlsPolicy &value)
Definition: DeliveryOptions.h:67
TlsPolicy.h
Aws::SESV2::Model::DeliveryOptions::SetSendingPoolName
void SetSendingPoolName(const Aws::String &value)
Definition: DeliveryOptions.h:113
Aws::SESV2::Model::DeliveryOptions::WithSendingPoolName
DeliveryOptions & WithSendingPoolName(const char *value)
Definition: DeliveryOptions.h:143
Aws::SESV2::Model::DeliveryOptions::WithTlsPolicy
DeliveryOptions & WithTlsPolicy(const TlsPolicy &value)
Definition: DeliveryOptions.h:85
Aws::SESV2::Model::DeliveryOptions
Definition: DeliveryOptions.h:34
Aws::SESV2::Model::DeliveryOptions::TlsPolicyHasBeenSet
bool TlsPolicyHasBeenSet() const
Definition: DeliveryOptions.h:58
Aws::SESV2::Model::DeliveryOptions::WithSendingPoolName
DeliveryOptions & WithSendingPoolName(const Aws::String &value)
Definition: DeliveryOptions.h:131
Aws::SESV2::Model::DeliveryOptions::DeliveryOptions
DeliveryOptions()
Aws::SESV2::Model::TlsPolicy
TlsPolicy
Definition: TlsPolicy.h:17
Aws::SESV2::Model::DeliveryOptions::SetSendingPoolName
void SetSendingPoolName(const char *value)
Definition: DeliveryOptions.h:125
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::DeliveryOptions::SendingPoolNameHasBeenSet
bool SendingPoolNameHasBeenSet() const
Definition: DeliveryOptions.h:107
Aws::SESV2::Model::DeliveryOptions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::DeliveryOptions::DeliveryOptions
DeliveryOptions(Aws::Utils::Json::JsonView jsonValue)
SESV2_EXPORTS.h
Aws::SESV2::Model::DeliveryOptions::GetSendingPoolName
const Aws::String & GetSendingPoolName() const
Definition: DeliveryOptions.h:101
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::DeliveryOptions::GetTlsPolicy
const TlsPolicy & GetTlsPolicy() const
Definition: DeliveryOptions.h:49
Aws::SESV2::Model::DeliveryOptions::SetSendingPoolName
void SetSendingPoolName(Aws::String &&value)
Definition: DeliveryOptions.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97