AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetEndpointAttributesResult.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{
36 {
37 public:
41
42
44
58 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
59 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributes = value; }
60 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributes = std::move(value); }
63 inline GetEndpointAttributesResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; }
64 inline GetEndpointAttributesResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; }
65 inline GetEndpointAttributesResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
66 inline GetEndpointAttributesResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; }
67 inline GetEndpointAttributesResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
68 inline GetEndpointAttributesResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; }
69 inline GetEndpointAttributesResult& AddAttributes(const char* key, const char* value) { m_attributes.emplace(key, value); return *this; }
71
73
74 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
75 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
76 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
78 inline GetEndpointAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
80 private:
81
83
84 ResponseMetadata m_responseMetadata;
85 };
86
87} // namespace Model
88} // namespace SNS
89} // namespace Aws
AWS_SNS_API GetEndpointAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
GetEndpointAttributesResult & WithResponseMetadata(const ResponseMetadata &value)
GetEndpointAttributesResult & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
GetEndpointAttributesResult & AddAttributes(Aws::String &&key, Aws::String &&value)
void SetResponseMetadata(const ResponseMetadata &value)
AWS_SNS_API GetEndpointAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetEndpointAttributesResult & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
GetEndpointAttributesResult & AddAttributes(Aws::String &&key, const Aws::String &value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
GetEndpointAttributesResult & AddAttributes(const Aws::String &key, const Aws::String &value)
GetEndpointAttributesResult & AddAttributes(const Aws::String &key, Aws::String &&value)
GetEndpointAttributesResult & WithResponseMetadata(ResponseMetadata &&value)
GetEndpointAttributesResult & AddAttributes(Aws::String &&key, const char *value)
GetEndpointAttributesResult & AddAttributes(const char *key, Aws::String &&value)
GetEndpointAttributesResult & AddAttributes(const char *key, const char *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