AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSubscriptionAttributesResult.h
1
6#pragma once
7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/sns/model/ResponseMetadata.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace SNS
26{
27namespace Model
28{
35 {
36 public:
40
41
43
85 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
86 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributes = value; }
87 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributes = std::move(value); }
90 inline GetSubscriptionAttributesResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; }
91 inline GetSubscriptionAttributesResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; }
92 inline GetSubscriptionAttributesResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
93 inline GetSubscriptionAttributesResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; }
94 inline GetSubscriptionAttributesResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
95 inline GetSubscriptionAttributesResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; }
96 inline GetSubscriptionAttributesResult& AddAttributes(const char* key, const char* value) { m_attributes.emplace(key, value); return *this; }
98
100
101 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
102 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
103 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
107 private:
108
110
111 ResponseMetadata m_responseMetadata;
112 };
113
114} // namespace Model
115} // namespace SNS
116} // namespace Aws
GetSubscriptionAttributesResult & WithResponseMetadata(const ResponseMetadata &value)
GetSubscriptionAttributesResult & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SNS_API GetSubscriptionAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_SNS_API GetSubscriptionAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetSubscriptionAttributesResult & AddAttributes(const Aws::String &key, Aws::String &&value)
GetSubscriptionAttributesResult & AddAttributes(const char *key, Aws::String &&value)
GetSubscriptionAttributesResult & AddAttributes(const char *key, const char *value)
GetSubscriptionAttributesResult & AddAttributes(Aws::String &&key, Aws::String &&value)
GetSubscriptionAttributesResult & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
GetSubscriptionAttributesResult & AddAttributes(Aws::String &&key, const char *value)
GetSubscriptionAttributesResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
GetSubscriptionAttributesResult & AddAttributes(Aws::String &&key, const Aws::String &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
GetSubscriptionAttributesResult & AddAttributes(const Aws::String &key, const Aws::String &value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument