AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRblName(const Aws::String& value) { m_rblNameHasBeenSet = true; m_rblName = value; }
50 inline void SetRblName(Aws::String&& value) { m_rblNameHasBeenSet = true; m_rblName = std::move(value); }
51 inline void SetRblName(const char* value) { m_rblNameHasBeenSet = true; m_rblName.assign(value); }
52 inline BlacklistEntry& WithRblName(const Aws::String& value) { SetRblName(value); return *this;}
53 inline BlacklistEntry& WithRblName(Aws::String&& value) { SetRblName(std::move(value)); return *this;}
54 inline BlacklistEntry& WithRblName(const char* value) { SetRblName(value); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetListingTime() const{ return m_listingTime; }
62 inline bool ListingTimeHasBeenSet() const { return m_listingTimeHasBeenSet; }
63 inline void SetListingTime(const Aws::Utils::DateTime& value) { m_listingTimeHasBeenSet = true; m_listingTime = value; }
64 inline void SetListingTime(Aws::Utils::DateTime&& value) { m_listingTimeHasBeenSet = true; m_listingTime = std::move(value); }
65 inline BlacklistEntry& WithListingTime(const Aws::Utils::DateTime& value) { SetListingTime(value); return *this;}
66 inline BlacklistEntry& WithListingTime(Aws::Utils::DateTime&& value) { SetListingTime(std::move(value)); return *this;}
68
70
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline BlacklistEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline BlacklistEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline BlacklistEntry& WithDescription(const char* value) { SetDescription(value); return *this;}
83 private:
84
85 Aws::String m_rblName;
86 bool m_rblNameHasBeenSet = false;
87
88 Aws::Utils::DateTime m_listingTime;
89 bool m_listingTimeHasBeenSet = false;
90
91 Aws::String m_description;
92 bool m_descriptionHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace PinpointEmail
97} // namespace Aws
const Aws::String & GetRblName() const
AWS_PINPOINTEMAIL_API BlacklistEntry()
void SetRblName(Aws::String &&value)
void SetRblName(const Aws::String &value)
void SetDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetListingTime() const
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
BlacklistEntry & WithRblName(const Aws::String &value)
bool DescriptionHasBeenSet() const
BlacklistEntry & WithDescription(const Aws::String &value)
BlacklistEntry & WithRblName(Aws::String &&value)
void SetDescription(const char *value)
AWS_PINPOINTEMAIL_API BlacklistEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
BlacklistEntry & WithDescription(const char *value)
void SetListingTime(const Aws::Utils::DateTime &value)
AWS_PINPOINTEMAIL_API BlacklistEntry(Aws::Utils::Json::JsonView jsonValue)
BlacklistEntry & WithListingTime(Aws::Utils::DateTime &&value)
bool ListingTimeHasBeenSet() const
BlacklistEntry & WithListingTime(const Aws::Utils::DateTime &value)
void SetRblName(const char *value)
bool RblNameHasBeenSet() const
void SetListingTime(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
BlacklistEntry & WithRblName(const char *value)
BlacklistEntry & WithDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue