AWS SDK for C++  1.9.108
AWS SDK for C++
GetSMSAttributesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sns/SNS_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace SNS
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
47 
51  inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributes = value; }
52 
56  inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributes = std::move(value); }
57 
61  inline GetSMSAttributesResult& WithAttributes(const Aws::Map<Aws::String, Aws::String>& value) { SetAttributes(value); return *this;}
62 
66  inline GetSMSAttributesResult& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
67 
71  inline GetSMSAttributesResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; }
72 
76  inline GetSMSAttributesResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; }
77 
81  inline GetSMSAttributesResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
82 
86  inline GetSMSAttributesResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; }
87 
91  inline GetSMSAttributesResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
92 
96  inline GetSMSAttributesResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; }
97 
101  inline GetSMSAttributesResult& AddAttributes(const char* key, const char* value) { m_attributes.emplace(key, value); return *this; }
102 
103 
104 
105  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
106 
107 
108  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
109 
110 
111  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
112 
113 
114  inline GetSMSAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
115 
116 
117  inline GetSMSAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
118 
119  private:
120 
122 
123  ResponseMetadata m_responseMetadata;
124  };
125 
126 } // namespace Model
127 } // namespace SNS
128 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SNS::Model::GetSMSAttributesResult::SetAttributes
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetSMSAttributesResult.h:56
Aws::SNS::Model::GetSMSAttributesResult::AddAttributes
GetSMSAttributesResult & AddAttributes(const char *key, Aws::String &&value)
Definition: GetSMSAttributesResult.h:91
Aws::SNS::Model::GetSMSAttributesResult::AddAttributes
GetSMSAttributesResult & AddAttributes(Aws::String &&key, const Aws::String &value)
Definition: GetSMSAttributesResult.h:76
Aws::SNS::Model::GetSMSAttributesResult::AddAttributes
GetSMSAttributesResult & AddAttributes(const Aws::String &key, const Aws::String &value)
Definition: GetSMSAttributesResult.h:71
Aws::SNS::Model::GetSMSAttributesResult::operator=
GetSMSAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SNS::Model::GetSMSAttributesResult::GetSMSAttributesResult
GetSMSAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SNS::Model::GetSMSAttributesResult::WithResponseMetadata
GetSMSAttributesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetSMSAttributesResult.h:117
Aws::SNS::Model::GetSMSAttributesResult::GetAttributes
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
Definition: GetSMSAttributesResult.h:46
Aws::SNS::Model::GetSMSAttributesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetSMSAttributesResult.h:108
Aws::SNS::Model::GetSMSAttributesResult::SetAttributes
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetSMSAttributesResult.h:51
ResponseMetadata.h
Aws::SNS::Model::GetSMSAttributesResult::AddAttributes
GetSMSAttributesResult & AddAttributes(const char *key, const char *value)
Definition: GetSMSAttributesResult.h:101
Aws::SNS::Model::GetSMSAttributesResult::WithAttributes
GetSMSAttributesResult & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetSMSAttributesResult.h:66
Aws::SNS::Model::GetSMSAttributesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetSMSAttributesResult.h:105
AWSString.h
Aws::SNS::Model::GetSMSAttributesResult::AddAttributes
GetSMSAttributesResult & AddAttributes(Aws::String &&key, Aws::String &&value)
Definition: GetSMSAttributesResult.h:86
Aws::SNS::Model::GetSMSAttributesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetSMSAttributesResult.h:111
Aws::SNS::Model::GetSMSAttributesResult::AddAttributes
GetSMSAttributesResult & AddAttributes(const Aws::String &key, Aws::String &&value)
Definition: GetSMSAttributesResult.h:81
Aws::SNS::Model::GetSMSAttributesResult::WithAttributes
GetSMSAttributesResult & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetSMSAttributesResult.h:61
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
Aws::SNS::Model::GetSMSAttributesResult::WithResponseMetadata
GetSMSAttributesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetSMSAttributesResult.h:114
SNS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SNS::Model::GetSMSAttributesResult::GetSMSAttributesResult
GetSMSAttributesResult()
Aws::SNS::Model::GetSMSAttributesResult::AddAttributes
GetSMSAttributesResult & AddAttributes(Aws::String &&key, const char *value)
Definition: GetSMSAttributesResult.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SNS::Model::GetSMSAttributesResult
Definition: GetSMSAttributesResult.h:36
Aws::SNS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19