AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
BlacklistEntry.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.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
31 public:
32 AWS_PINPOINTEMAIL_API BlacklistEntry() = default;
33 AWS_PINPOINTEMAIL_API BlacklistEntry(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PINPOINTEMAIL_API BlacklistEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetRblName() const { return m_rblName; }
42 inline bool RblNameHasBeenSet() const { return m_rblNameHasBeenSet; }
43 template <typename RblNameT = Aws::String>
44 void SetRblName(RblNameT&& value) {
45 m_rblNameHasBeenSet = true;
46 m_rblName = std::forward<RblNameT>(value);
47 }
48 template <typename RblNameT = Aws::String>
49 BlacklistEntry& WithRblName(RblNameT&& value) {
50 SetRblName(std::forward<RblNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Utils::DateTime& GetListingTime() const { return m_listingTime; }
60 inline bool ListingTimeHasBeenSet() const { return m_listingTimeHasBeenSet; }
61 template <typename ListingTimeT = Aws::Utils::DateTime>
62 void SetListingTime(ListingTimeT&& value) {
63 m_listingTimeHasBeenSet = true;
64 m_listingTime = std::forward<ListingTimeT>(value);
65 }
66 template <typename ListingTimeT = Aws::Utils::DateTime>
67 BlacklistEntry& WithListingTime(ListingTimeT&& value) {
68 SetListingTime(std::forward<ListingTimeT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetDescription() const { return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 template <typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) {
82 m_descriptionHasBeenSet = true;
83 m_description = std::forward<DescriptionT>(value);
84 }
85 template <typename DescriptionT = Aws::String>
86 BlacklistEntry& WithDescription(DescriptionT&& value) {
87 SetDescription(std::forward<DescriptionT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_rblName;
93 bool m_rblNameHasBeenSet = false;
94
95 Aws::Utils::DateTime m_listingTime{};
96 bool m_listingTimeHasBeenSet = false;
97
98 Aws::String m_description;
99 bool m_descriptionHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace PinpointEmail
104} // namespace Aws
const Aws::String & GetRblName() const
BlacklistEntry & WithDescription(DescriptionT &&value)
void SetRblName(RblNameT &&value)
const Aws::Utils::DateTime & GetListingTime() const
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
void SetListingTime(ListingTimeT &&value)
AWS_PINPOINTEMAIL_API BlacklistEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API BlacklistEntry(Aws::Utils::Json::JsonView jsonValue)
bool ListingTimeHasBeenSet() const
void SetDescription(DescriptionT &&value)
AWS_PINPOINTEMAIL_API BlacklistEntry()=default
bool RblNameHasBeenSet() const
BlacklistEntry & WithListingTime(ListingTimeT &&value)
BlacklistEntry & WithRblName(RblNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue