AWS SDK for C++  1.9.160
AWS SDK for C++
GetEndpointAttributesResult.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 
57  inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
58 
73  inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributes = value; }
74 
89  inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributes = std::move(value); }
90 
105  inline GetEndpointAttributesResult& WithAttributes(const Aws::Map<Aws::String, Aws::String>& value) { SetAttributes(value); return *this;}
106 
121  inline GetEndpointAttributesResult& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
122 
137  inline GetEndpointAttributesResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; }
138 
153  inline GetEndpointAttributesResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; }
154 
169  inline GetEndpointAttributesResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
170 
185  inline GetEndpointAttributesResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; }
186 
201  inline GetEndpointAttributesResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
202 
217  inline GetEndpointAttributesResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; }
218 
233  inline GetEndpointAttributesResult& AddAttributes(const char* key, const char* value) { m_attributes.emplace(key, value); return *this; }
234 
235 
236 
237  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
238 
239 
240  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
241 
242 
243  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
244 
245 
246  inline GetEndpointAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
247 
248 
249  inline GetEndpointAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
250 
251  private:
252 
254 
255  ResponseMetadata m_responseMetadata;
256  };
257 
258 } // namespace Model
259 } // namespace SNS
260 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SNS::Model::GetEndpointAttributesResult::AddAttributes
GetEndpointAttributesResult & AddAttributes(const char *key, Aws::String &&value)
Definition: GetEndpointAttributesResult.h:201
Aws::SNS::Model::GetEndpointAttributesResult::AddAttributes
GetEndpointAttributesResult & AddAttributes(const char *key, const char *value)
Definition: GetEndpointAttributesResult.h:233
Aws::SNS::Model::GetEndpointAttributesResult::WithAttributes
GetEndpointAttributesResult & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetEndpointAttributesResult.h:105
Aws::SNS::Model::GetEndpointAttributesResult::GetEndpointAttributesResult
GetEndpointAttributesResult()
Aws::SNS::Model::GetEndpointAttributesResult::WithAttributes
GetEndpointAttributesResult & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetEndpointAttributesResult.h:121
Aws::SNS::Model::GetEndpointAttributesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetEndpointAttributesResult.h:237
Aws::SNS::Model::GetEndpointAttributesResult::SetAttributes
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetEndpointAttributesResult.h:73
ResponseMetadata.h
Aws::SNS::Model::GetEndpointAttributesResult::AddAttributes
GetEndpointAttributesResult & AddAttributes(Aws::String &&key, Aws::String &&value)
Definition: GetEndpointAttributesResult.h:185
Aws::SNS::Model::GetEndpointAttributesResult::AddAttributes
GetEndpointAttributesResult & AddAttributes(Aws::String &&key, const char *value)
Definition: GetEndpointAttributesResult.h:217
AWSString.h
Aws::SNS::Model::GetEndpointAttributesResult::WithResponseMetadata
GetEndpointAttributesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetEndpointAttributesResult.h:249
Aws::SNS::Model::GetEndpointAttributesResult::operator=
GetEndpointAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SNS::Model::GetEndpointAttributesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetEndpointAttributesResult.h:243
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
SNS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SNS::Model::GetEndpointAttributesResult::SetAttributes
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetEndpointAttributesResult.h:89
Aws::SNS::Model::GetEndpointAttributesResult::AddAttributes
GetEndpointAttributesResult & AddAttributes(const Aws::String &key, Aws::String &&value)
Definition: GetEndpointAttributesResult.h:169
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SNS::Model::GetEndpointAttributesResult::GetEndpointAttributesResult
GetEndpointAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SNS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SNS::Model::GetEndpointAttributesResult::GetAttributes
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
Definition: GetEndpointAttributesResult.h:57
Aws::SNS::Model::GetEndpointAttributesResult::AddAttributes
GetEndpointAttributesResult & AddAttributes(const Aws::String &key, const Aws::String &value)
Definition: GetEndpointAttributesResult.h:137
Aws::SNS::Model::GetEndpointAttributesResult::WithResponseMetadata
GetEndpointAttributesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetEndpointAttributesResult.h:246
AWSMap.h
Aws::SNS::Model::GetEndpointAttributesResult
Definition: GetEndpointAttributesResult.h:36
Aws::SNS::Model::GetEndpointAttributesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetEndpointAttributesResult.h:240
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::SNS::Model::GetEndpointAttributesResult::AddAttributes
GetEndpointAttributesResult & AddAttributes(Aws::String &&key, const Aws::String &value)
Definition: GetEndpointAttributesResult.h:153