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/sesv2/SESV2_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 SESV2
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_SESV2_API BlacklistEntry();
40 AWS_SESV2_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 SESV2
97} // namespace Aws
AWS_SESV2_API BlacklistEntry()
BlacklistEntry & WithListingTime(Aws::Utils::DateTime &&value)
BlacklistEntry & WithDescription(const Aws::String &value)
bool ListingTimeHasBeenSet() const
BlacklistEntry & WithRblName(const char *value)
BlacklistEntry & WithRblName(Aws::String &&value)
void SetListingTime(const Aws::Utils::DateTime &value)
const Aws::String & GetDescription() const
void SetDescription(const char *value)
const Aws::Utils::DateTime & GetListingTime() const
BlacklistEntry & WithRblName(const Aws::String &value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool RblNameHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetListingTime(Aws::Utils::DateTime &&value)
const Aws::String & GetRblName() const
AWS_SESV2_API BlacklistEntry(Aws::Utils::Json::JsonView jsonValue)
void SetRblName(const char *value)
BlacklistEntry & WithDescription(const char *value)
void SetRblName(const Aws::String &value)
void SetDescription(Aws::String &&value)
AWS_SESV2_API BlacklistEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRblName(Aws::String &&value)
BlacklistEntry & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
BlacklistEntry & WithListingTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue