AWS SDK for C++  1.8.129
AWS SDK for C++
ReceiptFilter.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace SES
23 {
24 namespace Model
25 {
26 
37  {
38  public:
42 
43  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44  void OutputToStream(Aws::OStream& oStream, const char* location) const;
45 
46 
53  inline const Aws::String& GetName() const{ return m_name; }
54 
61  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 
69  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
70 
77  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 
85  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
86 
93  inline ReceiptFilter& WithName(const Aws::String& value) { SetName(value); return *this;}
94 
101  inline ReceiptFilter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
102 
109  inline ReceiptFilter& WithName(const char* value) { SetName(value); return *this;}
110 
111 
116  inline const ReceiptIpFilter& GetIpFilter() const{ return m_ipFilter; }
117 
122  inline bool IpFilterHasBeenSet() const { return m_ipFilterHasBeenSet; }
123 
128  inline void SetIpFilter(const ReceiptIpFilter& value) { m_ipFilterHasBeenSet = true; m_ipFilter = value; }
129 
134  inline void SetIpFilter(ReceiptIpFilter&& value) { m_ipFilterHasBeenSet = true; m_ipFilter = std::move(value); }
135 
140  inline ReceiptFilter& WithIpFilter(const ReceiptIpFilter& value) { SetIpFilter(value); return *this;}
141 
146  inline ReceiptFilter& WithIpFilter(ReceiptIpFilter&& value) { SetIpFilter(std::move(value)); return *this;}
147 
148  private:
149 
150  Aws::String m_name;
151  bool m_nameHasBeenSet;
152 
153  ReceiptIpFilter m_ipFilter;
154  bool m_ipFilterHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace SES
159 } // namespace Aws
Aws::SES::Model::ReceiptFilter::operator=
ReceiptFilter & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::ReceiptFilter::WithName
ReceiptFilter & WithName(Aws::String &&value)
Definition: ReceiptFilter.h:101
Aws::SES::Model::ReceiptFilter::IpFilterHasBeenSet
bool IpFilterHasBeenSet() const
Definition: ReceiptFilter.h:122
Aws::SES::Model::ReceiptFilter::SetIpFilter
void SetIpFilter(const ReceiptIpFilter &value)
Definition: ReceiptFilter.h:128
Aws::SES::Model::ReceiptFilter::ReceiptFilter
ReceiptFilter()
Aws::SES::Model::ReceiptFilter::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::ReceiptFilter::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWSStreamFwd.h
Aws::SES::Model::ReceiptFilter::WithName
ReceiptFilter & WithName(const Aws::String &value)
Definition: ReceiptFilter.h:93
Aws::SES::Model::ReceiptFilter::WithIpFilter
ReceiptFilter & WithIpFilter(ReceiptIpFilter &&value)
Definition: ReceiptFilter.h:146
Aws::SES::Model::ReceiptFilter::SetName
void SetName(const Aws::String &value)
Definition: ReceiptFilter.h:69
ReceiptIpFilter.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::ReceiptFilter
Definition: ReceiptFilter.h:37
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::ReceiptFilter::ReceiptFilter
ReceiptFilter(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::ReceiptFilter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ReceiptFilter.h:61
AWSString.h
Aws::SES::Model::ReceiptIpFilter
Definition: ReceiptIpFilter.h:37
Aws::SES::Model::ReceiptFilter::WithIpFilter
ReceiptFilter & WithIpFilter(const ReceiptIpFilter &value)
Definition: ReceiptFilter.h:140
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::ReceiptFilter::GetIpFilter
const ReceiptIpFilter & GetIpFilter() const
Definition: ReceiptFilter.h:116
Aws::SES::Model::ReceiptFilter::GetName
const Aws::String & GetName() const
Definition: ReceiptFilter.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::ReceiptFilter::WithName
ReceiptFilter & WithName(const char *value)
Definition: ReceiptFilter.h:109
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::SES::Model::ReceiptFilter::SetIpFilter
void SetIpFilter(ReceiptIpFilter &&value)
Definition: ReceiptFilter.h:134
Aws::SES::Model::ReceiptFilter::SetName
void SetName(const char *value)
Definition: ReceiptFilter.h:85
Aws::SES::Model::ReceiptFilter::SetName
void SetName(Aws::String &&value)
Definition: ReceiptFilter.h:77