AWS SDK for C++

AWS SDK for C++ Version 1.11.935

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/sesv2/SESV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SESV2 {
21namespace Model {
22
32 public:
33 AWS_SESV2_API InboxPlacementTrackingOption() = default;
36 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline bool GetGlobal() const { return m_global; }
43 inline bool GlobalHasBeenSet() const { return m_globalHasBeenSet; }
44 inline void SetGlobal(bool value) {
45 m_globalHasBeenSet = true;
46 m_global = value;
47 }
49 SetGlobal(value);
50 return *this;
51 }
53
55
59 inline const Aws::Vector<Aws::String>& GetTrackedIsps() const { return m_trackedIsps; }
60 inline bool TrackedIspsHasBeenSet() const { return m_trackedIspsHasBeenSet; }
61 template <typename TrackedIspsT = Aws::Vector<Aws::String>>
62 void SetTrackedIsps(TrackedIspsT&& value) {
63 m_trackedIspsHasBeenSet = true;
64 m_trackedIsps = std::forward<TrackedIspsT>(value);
65 }
66 template <typename TrackedIspsT = Aws::Vector<Aws::String>>
68 SetTrackedIsps(std::forward<TrackedIspsT>(value));
69 return *this;
70 }
71 template <typename TrackedIspsT = Aws::String>
73 m_trackedIspsHasBeenSet = true;
74 m_trackedIsps.emplace_back(std::forward<TrackedIspsT>(value));
75 return *this;
76 }
78 private:
79 bool m_global{false};
80
81 Aws::Vector<Aws::String> m_trackedIsps;
82 bool m_globalHasBeenSet = false;
83 bool m_trackedIspsHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace SESV2
88} // namespace Aws
const Aws::Vector< Aws::String > & GetTrackedIsps() const
InboxPlacementTrackingOption & WithGlobal(bool value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
InboxPlacementTrackingOption & AddTrackedIsps(TrackedIspsT &&value)
AWS_SESV2_API InboxPlacementTrackingOption()=default
InboxPlacementTrackingOption & WithTrackedIsps(TrackedIspsT &&value)
AWS_SESV2_API InboxPlacementTrackingOption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API InboxPlacementTrackingOption(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue