AWS SDK for C++  1.9.104
AWS SDK for C++
CheckIfPhoneNumberIsOptedOutResult.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 {
34  {
35  public:
39 
40 
47  inline bool GetIsOptedOut() const{ return m_isOptedOut; }
48 
55  inline void SetIsOptedOut(bool value) { m_isOptedOut = value; }
56 
63  inline CheckIfPhoneNumberIsOptedOutResult& WithIsOptedOut(bool value) { SetIsOptedOut(value); return *this;}
64 
65 
66 
67  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
68 
69 
70  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
71 
72 
73  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
74 
75 
76  inline CheckIfPhoneNumberIsOptedOutResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
77 
78 
79  inline CheckIfPhoneNumberIsOptedOutResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
80 
81  private:
82 
83  bool m_isOptedOut;
84 
85  ResponseMetadata m_responseMetadata;
86  };
87 
88 } // namespace Model
89 } // namespace SNS
90 } // namespace Aws
Aws::SNS::Model::CheckIfPhoneNumberIsOptedOutResult
Definition: CheckIfPhoneNumberIsOptedOutResult.h:34
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SNS::Model::CheckIfPhoneNumberIsOptedOutResult::GetIsOptedOut
bool GetIsOptedOut() const
Definition: CheckIfPhoneNumberIsOptedOutResult.h:47
Aws::SNS::Model::CheckIfPhoneNumberIsOptedOutResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CheckIfPhoneNumberIsOptedOutResult.h:73
Aws::SNS::Model::CheckIfPhoneNumberIsOptedOutResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CheckIfPhoneNumberIsOptedOutResult.h:67
Aws::SNS::Model::CheckIfPhoneNumberIsOptedOutResult::SetIsOptedOut
void SetIsOptedOut(bool value)
Definition: CheckIfPhoneNumberIsOptedOutResult.h:55
Aws::SNS::Model::CheckIfPhoneNumberIsOptedOutResult::WithResponseMetadata
CheckIfPhoneNumberIsOptedOutResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: CheckIfPhoneNumberIsOptedOutResult.h:76
Aws::SNS::Model::CheckIfPhoneNumberIsOptedOutResult::WithResponseMetadata
CheckIfPhoneNumberIsOptedOutResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: CheckIfPhoneNumberIsOptedOutResult.h:79
Aws::SNS::Model::CheckIfPhoneNumberIsOptedOutResult::operator=
CheckIfPhoneNumberIsOptedOutResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ResponseMetadata.h
Aws::SNS::Model::CheckIfPhoneNumberIsOptedOutResult::CheckIfPhoneNumberIsOptedOutResult
CheckIfPhoneNumberIsOptedOutResult()
Aws::SNS::Model::CheckIfPhoneNumberIsOptedOutResult::WithIsOptedOut
CheckIfPhoneNumberIsOptedOutResult & WithIsOptedOut(bool value)
Definition: CheckIfPhoneNumberIsOptedOutResult.h:63
Aws::SNS::Model::CheckIfPhoneNumberIsOptedOutResult::CheckIfPhoneNumberIsOptedOutResult
CheckIfPhoneNumberIsOptedOutResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
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::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SNS::Model::CheckIfPhoneNumberIsOptedOutResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CheckIfPhoneNumberIsOptedOutResult.h:70