AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmailInsights.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sesv2/model/InsightsEvent.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SESV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SESV2_API EmailInsights();
38 AWS_SESV2_API EmailInsights(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDestination() const{ return m_destination; }
48 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
49 inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
50 inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
51 inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
52 inline EmailInsights& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
53 inline EmailInsights& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
54 inline EmailInsights& WithDestination(const char* value) { SetDestination(value); return *this;}
56
58
61 inline const Aws::String& GetIsp() const{ return m_isp; }
62 inline bool IspHasBeenSet() const { return m_ispHasBeenSet; }
63 inline void SetIsp(const Aws::String& value) { m_ispHasBeenSet = true; m_isp = value; }
64 inline void SetIsp(Aws::String&& value) { m_ispHasBeenSet = true; m_isp = std::move(value); }
65 inline void SetIsp(const char* value) { m_ispHasBeenSet = true; m_isp.assign(value); }
66 inline EmailInsights& WithIsp(const Aws::String& value) { SetIsp(value); return *this;}
67 inline EmailInsights& WithIsp(Aws::String&& value) { SetIsp(std::move(value)); return *this;}
68 inline EmailInsights& WithIsp(const char* value) { SetIsp(value); return *this;}
70
72
75 inline const Aws::Vector<InsightsEvent>& GetEvents() const{ return m_events; }
76 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
77 inline void SetEvents(const Aws::Vector<InsightsEvent>& value) { m_eventsHasBeenSet = true; m_events = value; }
78 inline void SetEvents(Aws::Vector<InsightsEvent>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); }
79 inline EmailInsights& WithEvents(const Aws::Vector<InsightsEvent>& value) { SetEvents(value); return *this;}
80 inline EmailInsights& WithEvents(Aws::Vector<InsightsEvent>&& value) { SetEvents(std::move(value)); return *this;}
81 inline EmailInsights& AddEvents(const InsightsEvent& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
82 inline EmailInsights& AddEvents(InsightsEvent&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; }
84 private:
85
86 Aws::String m_destination;
87 bool m_destinationHasBeenSet = false;
88
89 Aws::String m_isp;
90 bool m_ispHasBeenSet = false;
91
93 bool m_eventsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SESV2
98} // namespace Aws
EmailInsights & WithDestination(Aws::String &&value)
EmailInsights & WithEvents(Aws::Vector< InsightsEvent > &&value)
const Aws::String & GetIsp() const
EmailInsights & AddEvents(InsightsEvent &&value)
const Aws::Vector< InsightsEvent > & GetEvents() const
void SetDestination(const char *value)
void SetEvents(const Aws::Vector< InsightsEvent > &value)
void SetIsp(const char *value)
EmailInsights & WithIsp(const char *value)
EmailInsights & WithIsp(const Aws::String &value)
void SetDestination(const Aws::String &value)
EmailInsights & WithDestination(const char *value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SESV2_API EmailInsights & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEvents(Aws::Vector< InsightsEvent > &&value)
AWS_SESV2_API EmailInsights(Aws::Utils::Json::JsonView jsonValue)
void SetIsp(const Aws::String &value)
void SetDestination(Aws::String &&value)
void SetIsp(Aws::String &&value)
EmailInsights & AddEvents(const InsightsEvent &value)
const Aws::String & GetDestination() const
EmailInsights & WithIsp(Aws::String &&value)
EmailInsights & WithDestination(const Aws::String &value)
EmailInsights & WithEvents(const Aws::Vector< InsightsEvent > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue