AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BlacklistEntry.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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
35 {
36 public:
37 AWS_PINPOINTEMAIL_API BlacklistEntry() = default;
38 AWS_PINPOINTEMAIL_API BlacklistEntry(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINTEMAIL_API BlacklistEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetRblName() const { return m_rblName; }
48 inline bool RblNameHasBeenSet() const { return m_rblNameHasBeenSet; }
49 template<typename RblNameT = Aws::String>
50 void SetRblName(RblNameT&& value) { m_rblNameHasBeenSet = true; m_rblName = std::forward<RblNameT>(value); }
51 template<typename RblNameT = Aws::String>
52 BlacklistEntry& WithRblName(RblNameT&& value) { SetRblName(std::forward<RblNameT>(value)); return *this;}
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) { m_listingTimeHasBeenSet = true; m_listingTime = std::forward<ListingTimeT>(value); }
63 template<typename ListingTimeT = Aws::Utils::DateTime>
64 BlacklistEntry& WithListingTime(ListingTimeT&& value) { SetListingTime(std::forward<ListingTimeT>(value)); return *this;}
66
68
72 inline const Aws::String& GetDescription() const { return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 template<typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
76 template<typename DescriptionT = Aws::String>
77 BlacklistEntry& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
79 private:
80
81 Aws::String m_rblName;
82 bool m_rblNameHasBeenSet = false;
83
84 Aws::Utils::DateTime m_listingTime{};
85 bool m_listingTimeHasBeenSet = false;
86
87 Aws::String m_description;
88 bool m_descriptionHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace PinpointEmail
93} // 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