AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSMSAttributesResult.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
47 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
48 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributes = value; }
49 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributes = std::move(value); }
52 inline GetSMSAttributesResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; }
53 inline GetSMSAttributesResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; }
54 inline GetSMSAttributesResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
55 inline GetSMSAttributesResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; }
56 inline GetSMSAttributesResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
57 inline GetSMSAttributesResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; }
58 inline GetSMSAttributesResult& AddAttributes(const char* key, const char* value) { m_attributes.emplace(key, value); return *this; }
60
62
63 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
64 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
65 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
67 inline GetSMSAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
69 private:
70
72
73 ResponseMetadata m_responseMetadata;
74 };
75
76} // namespace Model
77} // namespace SNS
78} // namespace Aws
void SetResponseMetadata(const ResponseMetadata &value)
GetSMSAttributesResult & WithResponseMetadata(const ResponseMetadata &value)
GetSMSAttributesResult & AddAttributes(const Aws::String &key, Aws::String &&value)
const ResponseMetadata & GetResponseMetadata() const
AWS_SNS_API GetSMSAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetSMSAttributesResult & AddAttributes(const char *key, Aws::String &&value)
GetSMSAttributesResult & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SNS_API GetSMSAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(ResponseMetadata &&value)
GetSMSAttributesResult & AddAttributes(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
GetSMSAttributesResult & AddAttributes(Aws::String &&key, const char *value)
GetSMSAttributesResult & AddAttributes(const char *key, const char *value)
GetSMSAttributesResult & AddAttributes(Aws::String &&key, const Aws::String &value)
GetSMSAttributesResult & WithResponseMetadata(ResponseMetadata &&value)
GetSMSAttributesResult & AddAttributes(Aws::String &&key, Aws::String &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
GetSMSAttributesResult & WithAttributes(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