AWS SDK for C++  1.9.104
AWS SDK for C++
OptInPhoneNumberResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sns/SNS_EXPORTS.h>
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 SNS
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
40 
41  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
42 
43 
44  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
45 
46 
47  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
48 
49 
50  inline OptInPhoneNumberResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
51 
52 
53  inline OptInPhoneNumberResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
54 
55  private:
56 
57  ResponseMetadata m_responseMetadata;
58  };
59 
60 } // namespace Model
61 } // namespace SNS
62 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SNS::Model::OptInPhoneNumberResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: OptInPhoneNumberResult.h:47
Aws::SNS::Model::OptInPhoneNumberResult::OptInPhoneNumberResult
OptInPhoneNumberResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SNS::Model::OptInPhoneNumberResult::OptInPhoneNumberResult
OptInPhoneNumberResult()
Aws::SNS::Model::OptInPhoneNumberResult
Definition: OptInPhoneNumberResult.h:33
Aws::SNS::Model::OptInPhoneNumberResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: OptInPhoneNumberResult.h:41
ResponseMetadata.h
Aws::SNS::Model::OptInPhoneNumberResult::WithResponseMetadata
OptInPhoneNumberResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: OptInPhoneNumberResult.h:50
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
SNS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SNS::Model::OptInPhoneNumberResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: OptInPhoneNumberResult.h:44
Aws::SNS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SNS::Model::OptInPhoneNumberResult::operator=
OptInPhoneNumberResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SNS::Model::OptInPhoneNumberResult::WithResponseMetadata
OptInPhoneNumberResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: OptInPhoneNumberResult.h:53