AWS SDK for C++  1.8.71
AWS SDK for C++
GetBlacklistReportsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace PinpointEmail
20 {
21 namespace Model
22 {
23 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "GetBlacklistReports"; }
40 
41  Aws::String SerializePayload() const override;
42 
43  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44 
45 
51  inline const Aws::Vector<Aws::String>& GetBlacklistItemNames() const{ return m_blacklistItemNames; }
52 
58  inline bool BlacklistItemNamesHasBeenSet() const { return m_blacklistItemNamesHasBeenSet; }
59 
65  inline void SetBlacklistItemNames(const Aws::Vector<Aws::String>& value) { m_blacklistItemNamesHasBeenSet = true; m_blacklistItemNames = value; }
66 
72  inline void SetBlacklistItemNames(Aws::Vector<Aws::String>&& value) { m_blacklistItemNamesHasBeenSet = true; m_blacklistItemNames = std::move(value); }
73 
79  inline GetBlacklistReportsRequest& WithBlacklistItemNames(const Aws::Vector<Aws::String>& value) { SetBlacklistItemNames(value); return *this;}
80 
86  inline GetBlacklistReportsRequest& WithBlacklistItemNames(Aws::Vector<Aws::String>&& value) { SetBlacklistItemNames(std::move(value)); return *this;}
87 
93  inline GetBlacklistReportsRequest& AddBlacklistItemNames(const Aws::String& value) { m_blacklistItemNamesHasBeenSet = true; m_blacklistItemNames.push_back(value); return *this; }
94 
100  inline GetBlacklistReportsRequest& AddBlacklistItemNames(Aws::String&& value) { m_blacklistItemNamesHasBeenSet = true; m_blacklistItemNames.push_back(std::move(value)); return *this; }
101 
107  inline GetBlacklistReportsRequest& AddBlacklistItemNames(const char* value) { m_blacklistItemNamesHasBeenSet = true; m_blacklistItemNames.push_back(value); return *this; }
108 
109  private:
110 
111  Aws::Vector<Aws::String> m_blacklistItemNames;
112  bool m_blacklistItemNamesHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace PinpointEmail
117 } // namespace Aws
GetBlacklistReportsRequest & AddBlacklistItemNames(const Aws::String &value)
GetBlacklistReportsRequest & AddBlacklistItemNames(Aws::String &&value)
#define AWS_PINPOINTEMAIL_API
const Aws::Vector< Aws::String > & GetBlacklistItemNames() const
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
GetBlacklistReportsRequest & AddBlacklistItemNames(const char *value)
void SetBlacklistItemNames(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetBlacklistItemNames(const Aws::Vector< Aws::String > &value)
GetBlacklistReportsRequest & WithBlacklistItemNames(Aws::Vector< Aws::String > &&value)
GetBlacklistReportsRequest & WithBlacklistItemNames(const Aws::Vector< Aws::String > &value)