AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InboxPlacementTrackingOption.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.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
36 {
37 public:
41 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline bool GetGlobal() const{ return m_global; }
49 inline bool GlobalHasBeenSet() const { return m_globalHasBeenSet; }
50 inline void SetGlobal(bool value) { m_globalHasBeenSet = true; m_global = value; }
51 inline InboxPlacementTrackingOption& WithGlobal(bool value) { SetGlobal(value); return *this;}
53
55
59 inline const Aws::Vector<Aws::String>& GetTrackedIsps() const{ return m_trackedIsps; }
60 inline bool TrackedIspsHasBeenSet() const { return m_trackedIspsHasBeenSet; }
61 inline void SetTrackedIsps(const Aws::Vector<Aws::String>& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps = value; }
62 inline void SetTrackedIsps(Aws::Vector<Aws::String>&& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps = std::move(value); }
64 inline InboxPlacementTrackingOption& WithTrackedIsps(Aws::Vector<Aws::String>&& value) { SetTrackedIsps(std::move(value)); return *this;}
65 inline InboxPlacementTrackingOption& AddTrackedIsps(const Aws::String& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps.push_back(value); return *this; }
66 inline InboxPlacementTrackingOption& AddTrackedIsps(Aws::String&& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps.push_back(std::move(value)); return *this; }
67 inline InboxPlacementTrackingOption& AddTrackedIsps(const char* value) { m_trackedIspsHasBeenSet = true; m_trackedIsps.push_back(value); return *this; }
69 private:
70
71 bool m_global;
72 bool m_globalHasBeenSet = false;
73
74 Aws::Vector<Aws::String> m_trackedIsps;
75 bool m_trackedIspsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SESV2
80} // namespace Aws
const Aws::Vector< Aws::String > & GetTrackedIsps() const
InboxPlacementTrackingOption & WithGlobal(bool value)
InboxPlacementTrackingOption & WithTrackedIsps(const Aws::Vector< Aws::String > &value)
InboxPlacementTrackingOption & AddTrackedIsps(const char *value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
InboxPlacementTrackingOption & AddTrackedIsps(Aws::String &&value)
void SetTrackedIsps(Aws::Vector< Aws::String > &&value)
AWS_SESV2_API InboxPlacementTrackingOption & operator=(Aws::Utils::Json::JsonView jsonValue)
InboxPlacementTrackingOption & WithTrackedIsps(Aws::Vector< Aws::String > &&value)
InboxPlacementTrackingOption & AddTrackedIsps(const Aws::String &value)
AWS_SESV2_API InboxPlacementTrackingOption(Aws::Utils::Json::JsonView jsonValue)
void SetTrackedIsps(const Aws::Vector< Aws::String > &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