AWS SDK for C++  1.9.158
AWS SDK for C++
BlacklistEntry.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SESV2
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetRblName() const{ return m_rblName; }
47 
51  inline bool RblNameHasBeenSet() const { return m_rblNameHasBeenSet; }
52 
56  inline void SetRblName(const Aws::String& value) { m_rblNameHasBeenSet = true; m_rblName = value; }
57 
61  inline void SetRblName(Aws::String&& value) { m_rblNameHasBeenSet = true; m_rblName = std::move(value); }
62 
66  inline void SetRblName(const char* value) { m_rblNameHasBeenSet = true; m_rblName.assign(value); }
67 
71  inline BlacklistEntry& WithRblName(const Aws::String& value) { SetRblName(value); return *this;}
72 
76  inline BlacklistEntry& WithRblName(Aws::String&& value) { SetRblName(std::move(value)); return *this;}
77 
81  inline BlacklistEntry& WithRblName(const char* value) { SetRblName(value); return *this;}
82 
83 
87  inline const Aws::Utils::DateTime& GetListingTime() const{ return m_listingTime; }
88 
92  inline bool ListingTimeHasBeenSet() const { return m_listingTimeHasBeenSet; }
93 
97  inline void SetListingTime(const Aws::Utils::DateTime& value) { m_listingTimeHasBeenSet = true; m_listingTime = value; }
98 
102  inline void SetListingTime(Aws::Utils::DateTime&& value) { m_listingTimeHasBeenSet = true; m_listingTime = std::move(value); }
103 
107  inline BlacklistEntry& WithListingTime(const Aws::Utils::DateTime& value) { SetListingTime(value); return *this;}
108 
112  inline BlacklistEntry& WithListingTime(Aws::Utils::DateTime&& value) { SetListingTime(std::move(value)); return *this;}
113 
114 
119  inline const Aws::String& GetDescription() const{ return m_description; }
120 
125  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
126 
131  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
132 
137  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
138 
143  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
144 
149  inline BlacklistEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
150 
155  inline BlacklistEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
156 
161  inline BlacklistEntry& WithDescription(const char* value) { SetDescription(value); return *this;}
162 
163  private:
164 
165  Aws::String m_rblName;
166  bool m_rblNameHasBeenSet;
167 
168  Aws::Utils::DateTime m_listingTime;
169  bool m_listingTimeHasBeenSet;
170 
171  Aws::String m_description;
172  bool m_descriptionHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace SESV2
177 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SESV2::Model::BlacklistEntry::SetListingTime
void SetListingTime(Aws::Utils::DateTime &&value)
Definition: BlacklistEntry.h:102
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
DateTime.h
Aws::SESV2::Model::BlacklistEntry::SetDescription
void SetDescription(const Aws::String &value)
Definition: BlacklistEntry.h:131
Aws::SESV2::Model::BlacklistEntry::WithRblName
BlacklistEntry & WithRblName(Aws::String &&value)
Definition: BlacklistEntry.h:76
Aws::SESV2::Model::BlacklistEntry::SetDescription
void SetDescription(const char *value)
Definition: BlacklistEntry.h:143
Aws::SESV2::Model::BlacklistEntry::ListingTimeHasBeenSet
bool ListingTimeHasBeenSet() const
Definition: BlacklistEntry.h:92
Aws::SESV2::Model::BlacklistEntry::WithRblName
BlacklistEntry & WithRblName(const char *value)
Definition: BlacklistEntry.h:81
Aws::SESV2::Model::BlacklistEntry::BlacklistEntry
BlacklistEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::BlacklistEntry::WithRblName
BlacklistEntry & WithRblName(const Aws::String &value)
Definition: BlacklistEntry.h:71
Aws::SESV2::Model::BlacklistEntry::WithListingTime
BlacklistEntry & WithListingTime(const Aws::Utils::DateTime &value)
Definition: BlacklistEntry.h:107
Aws::SESV2::Model::BlacklistEntry::SetDescription
void SetDescription(Aws::String &&value)
Definition: BlacklistEntry.h:137
Aws::SESV2::Model::BlacklistEntry::operator=
BlacklistEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::BlacklistEntry::WithDescription
BlacklistEntry & WithDescription(Aws::String &&value)
Definition: BlacklistEntry.h:155
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::BlacklistEntry::RblNameHasBeenSet
bool RblNameHasBeenSet() const
Definition: BlacklistEntry.h:51
Aws::SESV2::Model::BlacklistEntry::SetRblName
void SetRblName(Aws::String &&value)
Definition: BlacklistEntry.h:61
Aws::SESV2::Model::BlacklistEntry
Definition: BlacklistEntry.h:35
Aws::SESV2::Model::BlacklistEntry::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: BlacklistEntry.h:125
Aws::SESV2::Model::BlacklistEntry::GetRblName
const Aws::String & GetRblName() const
Definition: BlacklistEntry.h:46
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::BlacklistEntry::GetListingTime
const Aws::Utils::DateTime & GetListingTime() const
Definition: BlacklistEntry.h:87
Aws::SESV2::Model::BlacklistEntry::BlacklistEntry
BlacklistEntry()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::BlacklistEntry::SetListingTime
void SetListingTime(const Aws::Utils::DateTime &value)
Definition: BlacklistEntry.h:97
Aws::SESV2::Model::BlacklistEntry::WithDescription
BlacklistEntry & WithDescription(const Aws::String &value)
Definition: BlacklistEntry.h:149
Aws::SESV2::Model::BlacklistEntry::GetDescription
const Aws::String & GetDescription() const
Definition: BlacklistEntry.h:119
Aws::SESV2::Model::BlacklistEntry::SetRblName
void SetRblName(const char *value)
Definition: BlacklistEntry.h:66
Aws::SESV2::Model::BlacklistEntry::WithDescription
BlacklistEntry & WithDescription(const char *value)
Definition: BlacklistEntry.h:161
Aws::SESV2::Model::BlacklistEntry::SetRblName
void SetRblName(const Aws::String &value)
Definition: BlacklistEntry.h:56
Aws::SESV2::Model::BlacklistEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::BlacklistEntry::WithListingTime
BlacklistEntry & WithListingTime(Aws::Utils::DateTime &&value)
Definition: BlacklistEntry.h:112