AWS SDK for C++  1.9.104
AWS SDK for C++
GetTopicAttributesResult.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 {
35  {
36  public:
40 
41 
84  inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
85 
128  inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributes = value; }
129 
172  inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributes = std::move(value); }
173 
216  inline GetTopicAttributesResult& WithAttributes(const Aws::Map<Aws::String, Aws::String>& value) { SetAttributes(value); return *this;}
217 
260  inline GetTopicAttributesResult& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
261 
304  inline GetTopicAttributesResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; }
305 
348  inline GetTopicAttributesResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; }
349 
392  inline GetTopicAttributesResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
393 
436  inline GetTopicAttributesResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; }
437 
480  inline GetTopicAttributesResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
481 
524  inline GetTopicAttributesResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; }
525 
568  inline GetTopicAttributesResult& AddAttributes(const char* key, const char* value) { m_attributes.emplace(key, value); return *this; }
569 
570 
571 
572  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
573 
574 
575  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
576 
577 
578  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
579 
580 
581  inline GetTopicAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
582 
583 
584  inline GetTopicAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
585 
586  private:
587 
589 
590  ResponseMetadata m_responseMetadata;
591  };
592 
593 } // namespace Model
594 } // namespace SNS
595 } // namespace Aws
Aws::SNS::Model::GetTopicAttributesResult::AddAttributes
GetTopicAttributesResult & AddAttributes(Aws::String &&key, const char *value)
Definition: GetTopicAttributesResult.h:524
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SNS::Model::GetTopicAttributesResult::AddAttributes
GetTopicAttributesResult & AddAttributes(Aws::String &&key, const Aws::String &value)
Definition: GetTopicAttributesResult.h:348
Aws::SNS::Model::GetTopicAttributesResult::WithAttributes
GetTopicAttributesResult & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetTopicAttributesResult.h:260
Aws::SNS::Model::GetTopicAttributesResult::SetAttributes
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetTopicAttributesResult.h:172
Aws::SNS::Model::GetTopicAttributesResult::WithResponseMetadata
GetTopicAttributesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetTopicAttributesResult.h:581
Aws::SNS::Model::GetTopicAttributesResult::GetTopicAttributesResult
GetTopicAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SNS::Model::GetTopicAttributesResult::AddAttributes
GetTopicAttributesResult & AddAttributes(const char *key, const char *value)
Definition: GetTopicAttributesResult.h:568
Aws::SNS::Model::GetTopicAttributesResult::AddAttributes
GetTopicAttributesResult & AddAttributes(const Aws::String &key, Aws::String &&value)
Definition: GetTopicAttributesResult.h:392
Aws::SNS::Model::GetTopicAttributesResult::AddAttributes
GetTopicAttributesResult & AddAttributes(const char *key, Aws::String &&value)
Definition: GetTopicAttributesResult.h:480
Aws::SNS::Model::GetTopicAttributesResult::SetAttributes
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetTopicAttributesResult.h:128
ResponseMetadata.h
Aws::SNS::Model::GetTopicAttributesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetTopicAttributesResult.h:578
Aws::SNS::Model::GetTopicAttributesResult::WithAttributes
GetTopicAttributesResult & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetTopicAttributesResult.h:216
AWSString.h
Aws::SNS::Model::GetTopicAttributesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetTopicAttributesResult.h:575
Aws::SNS::Model::GetTopicAttributesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetTopicAttributesResult.h:572
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
Aws::SNS::Model::GetTopicAttributesResult::GetTopicAttributesResult
GetTopicAttributesResult()
Aws::SNS::Model::GetTopicAttributesResult::AddAttributes
GetTopicAttributesResult & AddAttributes(Aws::String &&key, Aws::String &&value)
Definition: GetTopicAttributesResult.h:436
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
Aws::SNS::Model::GetTopicAttributesResult::WithResponseMetadata
GetTopicAttributesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetTopicAttributesResult.h:584
SNS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SNS::Model::GetTopicAttributesResult
Definition: GetTopicAttributesResult.h:35
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SNS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SNS::Model::GetTopicAttributesResult::GetAttributes
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
Definition: GetTopicAttributesResult.h:84
AWSMap.h
Aws::SNS::Model::GetTopicAttributesResult::AddAttributes
GetTopicAttributesResult & AddAttributes(const Aws::String &key, const Aws::String &value)
Definition: GetTopicAttributesResult.h:304
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::SNS::Model::GetTopicAttributesResult::operator=
GetTopicAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)