AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrackingOptions.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sesv2/model/HttpsPolicy.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
39 {
40 public:
41 AWS_SESV2_API TrackingOptions();
44 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetCustomRedirectDomain() const{ return m_customRedirectDomain; }
52 inline bool CustomRedirectDomainHasBeenSet() const { return m_customRedirectDomainHasBeenSet; }
53 inline void SetCustomRedirectDomain(const Aws::String& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = value; }
54 inline void SetCustomRedirectDomain(Aws::String&& value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain = std::move(value); }
55 inline void SetCustomRedirectDomain(const char* value) { m_customRedirectDomainHasBeenSet = true; m_customRedirectDomain.assign(value); }
56 inline TrackingOptions& WithCustomRedirectDomain(const Aws::String& value) { SetCustomRedirectDomain(value); return *this;}
57 inline TrackingOptions& WithCustomRedirectDomain(Aws::String&& value) { SetCustomRedirectDomain(std::move(value)); return *this;}
58 inline TrackingOptions& WithCustomRedirectDomain(const char* value) { SetCustomRedirectDomain(value); return *this;}
60
62
65 inline const HttpsPolicy& GetHttpsPolicy() const{ return m_httpsPolicy; }
66 inline bool HttpsPolicyHasBeenSet() const { return m_httpsPolicyHasBeenSet; }
67 inline void SetHttpsPolicy(const HttpsPolicy& value) { m_httpsPolicyHasBeenSet = true; m_httpsPolicy = value; }
68 inline void SetHttpsPolicy(HttpsPolicy&& value) { m_httpsPolicyHasBeenSet = true; m_httpsPolicy = std::move(value); }
69 inline TrackingOptions& WithHttpsPolicy(const HttpsPolicy& value) { SetHttpsPolicy(value); return *this;}
70 inline TrackingOptions& WithHttpsPolicy(HttpsPolicy&& value) { SetHttpsPolicy(std::move(value)); return *this;}
72 private:
73
74 Aws::String m_customRedirectDomain;
75 bool m_customRedirectDomainHasBeenSet = false;
76
77 HttpsPolicy m_httpsPolicy;
78 bool m_httpsPolicyHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SESV2
83} // namespace Aws
TrackingOptions & WithCustomRedirectDomain(const Aws::String &value)
void SetHttpsPolicy(const HttpsPolicy &value)
TrackingOptions & WithHttpsPolicy(const HttpsPolicy &value)
const HttpsPolicy & GetHttpsPolicy() const
void SetCustomRedirectDomain(Aws::String &&value)
void SetHttpsPolicy(HttpsPolicy &&value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCustomRedirectDomain(const char *value)
TrackingOptions & WithCustomRedirectDomain(Aws::String &&value)
AWS_SESV2_API TrackingOptions(Aws::Utils::Json::JsonView jsonValue)
TrackingOptions & WithHttpsPolicy(HttpsPolicy &&value)
const Aws::String & GetCustomRedirectDomain() const
TrackingOptions & WithCustomRedirectDomain(const char *value)
AWS_SESV2_API TrackingOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCustomRedirectDomain(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue