AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SubscribeResult.h
1
6#pragma once
7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sns/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace SNS
25{
26namespace Model
27{
34 {
35 public:
36 AWS_SNS_API SubscribeResult();
39
40
42
48 inline const Aws::String& GetSubscriptionArn() const{ return m_subscriptionArn; }
49 inline void SetSubscriptionArn(const Aws::String& value) { m_subscriptionArn = value; }
50 inline void SetSubscriptionArn(Aws::String&& value) { m_subscriptionArn = std::move(value); }
51 inline void SetSubscriptionArn(const char* value) { m_subscriptionArn.assign(value); }
52 inline SubscribeResult& WithSubscriptionArn(const Aws::String& value) { SetSubscriptionArn(value); return *this;}
53 inline SubscribeResult& WithSubscriptionArn(Aws::String&& value) { SetSubscriptionArn(std::move(value)); return *this;}
54 inline SubscribeResult& WithSubscriptionArn(const char* value) { SetSubscriptionArn(value); return *this;}
56
58
59 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
60 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
61 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
62 inline SubscribeResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
63 inline SubscribeResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
65 private:
66
67 Aws::String m_subscriptionArn;
68
69 ResponseMetadata m_responseMetadata;
70 };
71
72} // namespace Model
73} // namespace SNS
74} // namespace Aws
const ResponseMetadata & GetResponseMetadata() const
SubscribeResult & WithSubscriptionArn(const char *value)
AWS_SNS_API SubscribeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetSubscriptionArn() const
void SetResponseMetadata(const ResponseMetadata &value)
SubscribeResult & WithResponseMetadata(const ResponseMetadata &value)
void SetSubscriptionArn(const Aws::String &value)
SubscribeResult & WithSubscriptionArn(const Aws::String &value)
SubscribeResult & WithResponseMetadata(ResponseMetadata &&value)
void SetSubscriptionArn(Aws::String &&value)
void SetResponseMetadata(ResponseMetadata &&value)
void SetSubscriptionArn(const char *value)
SubscribeResult & WithSubscriptionArn(Aws::String &&value)
AWS_SNS_API SubscribeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument