AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
InboxPlacementTrackingOption.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PinpointEmail {
21namespace Model {
22
33 public:
34 AWS_PINPOINTEMAIL_API InboxPlacementTrackingOption() = default;
37 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline bool GetGlobal() const { return m_global; }
44 inline bool GlobalHasBeenSet() const { return m_globalHasBeenSet; }
45 inline void SetGlobal(bool value) {
46 m_globalHasBeenSet = true;
47 m_global = value;
48 }
50 SetGlobal(value);
51 return *this;
52 }
54
56
60 inline const Aws::Vector<Aws::String>& GetTrackedIsps() const { return m_trackedIsps; }
61 inline bool TrackedIspsHasBeenSet() const { return m_trackedIspsHasBeenSet; }
62 template <typename TrackedIspsT = Aws::Vector<Aws::String>>
63 void SetTrackedIsps(TrackedIspsT&& value) {
64 m_trackedIspsHasBeenSet = true;
65 m_trackedIsps = std::forward<TrackedIspsT>(value);
66 }
67 template <typename TrackedIspsT = Aws::Vector<Aws::String>>
69 SetTrackedIsps(std::forward<TrackedIspsT>(value));
70 return *this;
71 }
72 template <typename TrackedIspsT = Aws::String>
74 m_trackedIspsHasBeenSet = true;
75 m_trackedIsps.emplace_back(std::forward<TrackedIspsT>(value));
76 return *this;
77 }
79 private:
80 bool m_global{false};
81
82 Aws::Vector<Aws::String> m_trackedIsps;
83 bool m_globalHasBeenSet = false;
84 bool m_trackedIspsHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace PinpointEmail
89} // namespace Aws
AWS_PINPOINTEMAIL_API InboxPlacementTrackingOption()=default
InboxPlacementTrackingOption & WithTrackedIsps(TrackedIspsT &&value)
InboxPlacementTrackingOption & AddTrackedIsps(TrackedIspsT &&value)
AWS_PINPOINTEMAIL_API InboxPlacementTrackingOption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API InboxPlacementTrackingOption(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue