AWS SDK for C++  1.9.104
AWS SDK for C++
GetSubscriptionAttributesResult.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 
80  inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
81 
120  inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributes = value; }
121 
160  inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributes = std::move(value); }
161 
200  inline GetSubscriptionAttributesResult& WithAttributes(const Aws::Map<Aws::String, Aws::String>& value) { SetAttributes(value); return *this;}
201 
240  inline GetSubscriptionAttributesResult& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
241 
280  inline GetSubscriptionAttributesResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; }
281 
320  inline GetSubscriptionAttributesResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; }
321 
360  inline GetSubscriptionAttributesResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
361 
400  inline GetSubscriptionAttributesResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; }
401 
440  inline GetSubscriptionAttributesResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
441 
480  inline GetSubscriptionAttributesResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; }
481 
520  inline GetSubscriptionAttributesResult& AddAttributes(const char* key, const char* value) { m_attributes.emplace(key, value); return *this; }
521 
522 
523 
524  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
525 
526 
527  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
528 
529 
530  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
531 
532 
533  inline GetSubscriptionAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
534 
535 
536  inline GetSubscriptionAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
537 
538  private:
539 
541 
542  ResponseMetadata m_responseMetadata;
543  };
544 
545 } // namespace Model
546 } // namespace SNS
547 } // namespace Aws
Aws::SNS::Model::GetSubscriptionAttributesResult::operator=
GetSubscriptionAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SNS::Model::GetSubscriptionAttributesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetSubscriptionAttributesResult.h:524
Aws::SNS::Model::GetSubscriptionAttributesResult::AddAttributes
GetSubscriptionAttributesResult & AddAttributes(Aws::String &&key, const char *value)
Definition: GetSubscriptionAttributesResult.h:480
Aws::SNS::Model::GetSubscriptionAttributesResult::SetAttributes
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetSubscriptionAttributesResult.h:120
Aws::SNS::Model::GetSubscriptionAttributesResult::AddAttributes
GetSubscriptionAttributesResult & AddAttributes(const char *key, const char *value)
Definition: GetSubscriptionAttributesResult.h:520
Aws::SNS::Model::GetSubscriptionAttributesResult::WithResponseMetadata
GetSubscriptionAttributesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetSubscriptionAttributesResult.h:533
Aws::SNS::Model::GetSubscriptionAttributesResult::SetAttributes
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetSubscriptionAttributesResult.h:160
Aws::SNS::Model::GetSubscriptionAttributesResult::WithAttributes
GetSubscriptionAttributesResult & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetSubscriptionAttributesResult.h:240
Aws::SNS::Model::GetSubscriptionAttributesResult::GetSubscriptionAttributesResult
GetSubscriptionAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SNS::Model::GetSubscriptionAttributesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetSubscriptionAttributesResult.h:530
Aws::SNS::Model::GetSubscriptionAttributesResult::WithResponseMetadata
GetSubscriptionAttributesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetSubscriptionAttributesResult.h:536
Aws::SNS::Model::GetSubscriptionAttributesResult::AddAttributes
GetSubscriptionAttributesResult & AddAttributes(const char *key, Aws::String &&value)
Definition: GetSubscriptionAttributesResult.h:440
Aws::SNS::Model::GetSubscriptionAttributesResult
Definition: GetSubscriptionAttributesResult.h:35
ResponseMetadata.h
Aws::SNS::Model::GetSubscriptionAttributesResult::GetAttributes
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
Definition: GetSubscriptionAttributesResult.h:80
Aws::SNS::Model::GetSubscriptionAttributesResult::AddAttributes
GetSubscriptionAttributesResult & AddAttributes(const Aws::String &key, const Aws::String &value)
Definition: GetSubscriptionAttributesResult.h:280
AWSString.h
Aws::SNS::Model::GetSubscriptionAttributesResult::AddAttributes
GetSubscriptionAttributesResult & AddAttributes(Aws::String &&key, const Aws::String &value)
Definition: GetSubscriptionAttributesResult.h:320
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
SNS_EXPORTS.h
Aws::SNS::Model::GetSubscriptionAttributesResult::WithAttributes
GetSubscriptionAttributesResult & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetSubscriptionAttributesResult.h:200
Aws::SNS::Model::GetSubscriptionAttributesResult::GetSubscriptionAttributesResult
GetSubscriptionAttributesResult()
Aws
Definition: AccessManagementClient.h:15
Aws::SNS::Model::GetSubscriptionAttributesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetSubscriptionAttributesResult.h:527
Aws::SNS::Model::GetSubscriptionAttributesResult::AddAttributes
GetSubscriptionAttributesResult & AddAttributes(Aws::String &&key, Aws::String &&value)
Definition: GetSubscriptionAttributesResult.h:400
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
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::SNS::Model::GetSubscriptionAttributesResult::AddAttributes
GetSubscriptionAttributesResult & AddAttributes(const Aws::String &key, Aws::String &&value)
Definition: GetSubscriptionAttributesResult.h:360