AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ConfirmSubscriptionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sns/SNS_EXPORTS.h>
9#include <aws/sns/model/ResponseMetadata.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace SNS {
23namespace Model {
30 public:
31 AWS_SNS_API ConfirmSubscriptionResult() = default;
34
36
39 inline const Aws::String& GetSubscriptionArn() const { return m_subscriptionArn; }
40 template <typename SubscriptionArnT = Aws::String>
41 void SetSubscriptionArn(SubscriptionArnT&& value) {
42 m_subscriptionArnHasBeenSet = true;
43 m_subscriptionArn = std::forward<SubscriptionArnT>(value);
44 }
45 template <typename SubscriptionArnT = Aws::String>
47 SetSubscriptionArn(std::forward<SubscriptionArnT>(value));
48 return *this;
49 }
51
53
54 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
55 template <typename ResponseMetadataT = ResponseMetadata>
56 void SetResponseMetadata(ResponseMetadataT&& value) {
57 m_responseMetadataHasBeenSet = true;
58 m_responseMetadata = std::forward<ResponseMetadataT>(value);
59 }
60 template <typename ResponseMetadataT = ResponseMetadata>
61 ConfirmSubscriptionResult& WithResponseMetadata(ResponseMetadataT&& value) {
62 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_subscriptionArn;
68
69 ResponseMetadata m_responseMetadata;
70 bool m_subscriptionArnHasBeenSet = false;
71 bool m_responseMetadataHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace SNS
76} // namespace Aws
AWS_SNS_API ConfirmSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ConfirmSubscriptionResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_SNS_API ConfirmSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
void SetResponseMetadata(ResponseMetadataT &&value)
ConfirmSubscriptionResult & WithSubscriptionArn(SubscriptionArnT &&value)
AWS_SNS_API ConfirmSubscriptionResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument