AWS SDK for C++  1.8.128
AWS SDK for C++
CreateReceiptFilterRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SES
15 {
16 namespace Model
17 {
18 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "CreateReceiptFilter"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
50  inline const ReceiptFilter& GetFilter() const{ return m_filter; }
51 
57  inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
58 
64  inline void SetFilter(const ReceiptFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
65 
71  inline void SetFilter(ReceiptFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
72 
78  inline CreateReceiptFilterRequest& WithFilter(const ReceiptFilter& value) { SetFilter(value); return *this;}
79 
85  inline CreateReceiptFilterRequest& WithFilter(ReceiptFilter&& value) { SetFilter(std::move(value)); return *this;}
86 
87  private:
88 
89  ReceiptFilter m_filter;
90  bool m_filterHasBeenSet;
91  };
92 
93 } // namespace Model
94 } // namespace SES
95 } // namespace Aws
Aws::SES::Model::CreateReceiptFilterRequest::SetFilter
void SetFilter(ReceiptFilter &&value)
Definition: CreateReceiptFilterRequest.h:71
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::CreateReceiptFilterRequest::GetFilter
const ReceiptFilter & GetFilter() const
Definition: CreateReceiptFilterRequest.h:50
Aws::SES::Model::CreateReceiptFilterRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateReceiptFilterRequest.h:36
Aws::SES::Model::CreateReceiptFilterRequest::WithFilter
CreateReceiptFilterRequest & WithFilter(ReceiptFilter &&value)
Definition: CreateReceiptFilterRequest.h:85
Aws::SES::Model::ReceiptFilter
Definition: ReceiptFilter.h:37
SESRequest.h
Aws::SES::Model::CreateReceiptFilterRequest::SetFilter
void SetFilter(const ReceiptFilter &value)
Definition: CreateReceiptFilterRequest.h:64
ReceiptFilter.h
Aws::SES::Model::CreateReceiptFilterRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
SES_EXPORTS.h
Aws::SES::Model::CreateReceiptFilterRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::CreateReceiptFilterRequest::CreateReceiptFilterRequest
CreateReceiptFilterRequest()
Aws::SES::Model::CreateReceiptFilterRequest
Definition: CreateReceiptFilterRequest.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::CreateReceiptFilterRequest::FilterHasBeenSet
bool FilterHasBeenSet() const
Definition: CreateReceiptFilterRequest.h:57
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::CreateReceiptFilterRequest::WithFilter
CreateReceiptFilterRequest & WithFilter(const ReceiptFilter &value)
Definition: CreateReceiptFilterRequest.h:78