AWS SDK for C++  1.8.184
AWS SDK for C++
GetAccountSendingEnabledResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlDocument;
21 } // namespace Xml
22 } // namespace Utils
23 namespace SES
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
45  inline bool GetEnabled() const{ return m_enabled; }
46 
51  inline void SetEnabled(bool value) { m_enabled = value; }
52 
57  inline GetAccountSendingEnabledResult& WithEnabled(bool value) { SetEnabled(value); return *this;}
58 
59 
60 
61  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
62 
63 
64  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
65 
66 
67  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
68 
69 
70  inline GetAccountSendingEnabledResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
71 
72 
73  inline GetAccountSendingEnabledResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
74 
75  private:
76 
77  bool m_enabled;
78 
79  ResponseMetadata m_responseMetadata;
80  };
81 
82 } // namespace Model
83 } // namespace SES
84 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::GetAccountSendingEnabledResult::operator=
GetAccountSendingEnabledResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::GetAccountSendingEnabledResult::WithEnabled
GetAccountSendingEnabledResult & WithEnabled(bool value)
Definition: GetAccountSendingEnabledResult.h:57
Aws::SES::Model::GetAccountSendingEnabledResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetAccountSendingEnabledResult.h:67
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SES::Model::GetAccountSendingEnabledResult::WithResponseMetadata
GetAccountSendingEnabledResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetAccountSendingEnabledResult.h:73
Aws::SES::Model::GetAccountSendingEnabledResult::GetAccountSendingEnabledResult
GetAccountSendingEnabledResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::GetAccountSendingEnabledResult::GetAccountSendingEnabledResult
GetAccountSendingEnabledResult()
Aws::SES::Model::GetAccountSendingEnabledResult::GetEnabled
bool GetEnabled() const
Definition: GetAccountSendingEnabledResult.h:45
Aws::SES::Model::GetAccountSendingEnabledResult
Definition: GetAccountSendingEnabledResult.h:34
Aws::SES::Model::GetAccountSendingEnabledResult::SetEnabled
void SetEnabled(bool value)
Definition: GetAccountSendingEnabledResult.h:51
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::GetAccountSendingEnabledResult::WithResponseMetadata
GetAccountSendingEnabledResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetAccountSendingEnabledResult.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::GetAccountSendingEnabledResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetAccountSendingEnabledResult.h:61
ResponseMetadata.h
Aws::SES::Model::GetAccountSendingEnabledResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetAccountSendingEnabledResult.h:64