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/pinpoint-email/PinpointEmail_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 PinpointEmail
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_PINPOINTEMAIL_API InboxPlacementTrackingOption();
42 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline bool GetGlobal() const{ return m_global; }
50 inline bool GlobalHasBeenSet() const { return m_globalHasBeenSet; }
51 inline void SetGlobal(bool value) { m_globalHasBeenSet = true; m_global = value; }
52 inline InboxPlacementTrackingOption& WithGlobal(bool value) { SetGlobal(value); return *this;}
54
56
60 inline const Aws::Vector<Aws::String>& GetTrackedIsps() const{ return m_trackedIsps; }
61 inline bool TrackedIspsHasBeenSet() const { return m_trackedIspsHasBeenSet; }
62 inline void SetTrackedIsps(const Aws::Vector<Aws::String>& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps = value; }
63 inline void SetTrackedIsps(Aws::Vector<Aws::String>&& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps = std::move(value); }
65 inline InboxPlacementTrackingOption& WithTrackedIsps(Aws::Vector<Aws::String>&& value) { SetTrackedIsps(std::move(value)); return *this;}
66 inline InboxPlacementTrackingOption& AddTrackedIsps(const Aws::String& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps.push_back(value); return *this; }
67 inline InboxPlacementTrackingOption& AddTrackedIsps(Aws::String&& value) { m_trackedIspsHasBeenSet = true; m_trackedIsps.push_back(std::move(value)); return *this; }
68 inline InboxPlacementTrackingOption& AddTrackedIsps(const char* value) { m_trackedIspsHasBeenSet = true; m_trackedIsps.push_back(value); return *this; }
70 private:
71
72 bool m_global;
73 bool m_globalHasBeenSet = false;
74
75 Aws::Vector<Aws::String> m_trackedIsps;
76 bool m_trackedIspsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace PinpointEmail
81} // namespace Aws
InboxPlacementTrackingOption & AddTrackedIsps(const Aws::String &value)
InboxPlacementTrackingOption & WithTrackedIsps(const Aws::Vector< Aws::String > &value)
AWS_PINPOINTEMAIL_API InboxPlacementTrackingOption & operator=(Aws::Utils::Json::JsonView jsonValue)
InboxPlacementTrackingOption & AddTrackedIsps(const char *value)
void SetTrackedIsps(const Aws::Vector< Aws::String > &value)
AWS_PINPOINTEMAIL_API InboxPlacementTrackingOption(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
InboxPlacementTrackingOption & WithTrackedIsps(Aws::Vector< Aws::String > &&value)
InboxPlacementTrackingOption & AddTrackedIsps(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