AWS SDK for C++  1.8.128
AWS SDK for C++
DescribeReceiptRuleResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace SES
25 {
26 namespace Model
27 {
34  {
35  public:
39 
40 
46  inline const ReceiptRule& GetRule() const{ return m_rule; }
47 
53  inline void SetRule(const ReceiptRule& value) { m_rule = value; }
54 
60  inline void SetRule(ReceiptRule&& value) { m_rule = std::move(value); }
61 
67  inline DescribeReceiptRuleResult& WithRule(const ReceiptRule& value) { SetRule(value); return *this;}
68 
74  inline DescribeReceiptRuleResult& WithRule(ReceiptRule&& value) { SetRule(std::move(value)); return *this;}
75 
76 
77 
78  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
79 
80 
81  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
82 
83 
84  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
85 
86 
87  inline DescribeReceiptRuleResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
88 
89 
90  inline DescribeReceiptRuleResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
91 
92  private:
93 
94  ReceiptRule m_rule;
95 
96  ResponseMetadata m_responseMetadata;
97  };
98 
99 } // namespace Model
100 } // namespace SES
101 } // namespace Aws
Aws::SES::Model::DescribeReceiptRuleResult::SetRule
void SetRule(const ReceiptRule &value)
Definition: DescribeReceiptRuleResult.h:53
Aws::SES::Model::DescribeReceiptRuleResult::DescribeReceiptRuleResult
DescribeReceiptRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::DescribeReceiptRuleResult::WithResponseMetadata
DescribeReceiptRuleResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeReceiptRuleResult.h:90
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::DescribeReceiptRuleResult::SetRule
void SetRule(ReceiptRule &&value)
Definition: DescribeReceiptRuleResult.h:60
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SES::Model::DescribeReceiptRuleResult::WithRule
DescribeReceiptRuleResult & WithRule(const ReceiptRule &value)
Definition: DescribeReceiptRuleResult.h:67
Aws::SES::Model::DescribeReceiptRuleResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeReceiptRuleResult.h:84
Aws::SES::Model::DescribeReceiptRuleResult::WithRule
DescribeReceiptRuleResult & WithRule(ReceiptRule &&value)
Definition: DescribeReceiptRuleResult.h:74
Aws::SES::Model::ReceiptRule
Definition: ReceiptRule.h:42
Aws::SES::Model::DescribeReceiptRuleResult::WithResponseMetadata
DescribeReceiptRuleResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeReceiptRuleResult.h:87
ReceiptRule.h
Aws::SES::Model::DescribeReceiptRuleResult::operator=
DescribeReceiptRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::DescribeReceiptRuleResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeReceiptRuleResult.h:81
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::DescribeReceiptRuleResult::GetRule
const ReceiptRule & GetRule() const
Definition: DescribeReceiptRuleResult.h:46
Aws::SES::Model::DescribeReceiptRuleResult
Definition: DescribeReceiptRuleResult.h:34
ResponseMetadata.h
Aws::SES::Model::DescribeReceiptRuleResult::DescribeReceiptRuleResult
DescribeReceiptRuleResult()
Aws::SES::Model::DescribeReceiptRuleResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeReceiptRuleResult.h:78