AWS SDK for C++  1.9.104
AWS SDK for C++
GetPlatformApplicationAttributesResult.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 
55  inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
56 
69  inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributes = value; }
70 
83  inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributes = std::move(value); }
84 
97  inline GetPlatformApplicationAttributesResult& WithAttributes(const Aws::Map<Aws::String, Aws::String>& value) { SetAttributes(value); return *this;}
98 
111  inline GetPlatformApplicationAttributesResult& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
112 
125  inline GetPlatformApplicationAttributesResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; }
126 
139  inline GetPlatformApplicationAttributesResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; }
140 
153  inline GetPlatformApplicationAttributesResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
154 
167  inline GetPlatformApplicationAttributesResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; }
168 
181  inline GetPlatformApplicationAttributesResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
182 
195  inline GetPlatformApplicationAttributesResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; }
196 
209  inline GetPlatformApplicationAttributesResult& AddAttributes(const char* key, const char* value) { m_attributes.emplace(key, value); return *this; }
210 
211 
212 
213  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
214 
215 
216  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
217 
218 
219  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
220 
221 
222  inline GetPlatformApplicationAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
223 
224 
225  inline GetPlatformApplicationAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
226 
227  private:
228 
230 
231  ResponseMetadata m_responseMetadata;
232  };
233 
234 } // namespace Model
235 } // namespace SNS
236 } // namespace Aws
Aws::SNS::Model::GetPlatformApplicationAttributesResult::AddAttributes
GetPlatformApplicationAttributesResult & AddAttributes(const char *key, const char *value)
Definition: GetPlatformApplicationAttributesResult.h:209
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SNS::Model::GetPlatformApplicationAttributesResult::AddAttributes
GetPlatformApplicationAttributesResult & AddAttributes(const Aws::String &key, const Aws::String &value)
Definition: GetPlatformApplicationAttributesResult.h:125
Aws::SNS::Model::GetPlatformApplicationAttributesResult
Definition: GetPlatformApplicationAttributesResult.h:36
Aws::SNS::Model::GetPlatformApplicationAttributesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetPlatformApplicationAttributesResult.h:213
Aws::SNS::Model::GetPlatformApplicationAttributesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetPlatformApplicationAttributesResult.h:219
Aws::SNS::Model::GetPlatformApplicationAttributesResult::AddAttributes
GetPlatformApplicationAttributesResult & AddAttributes(Aws::String &&key, const Aws::String &value)
Definition: GetPlatformApplicationAttributesResult.h:139
Aws::SNS::Model::GetPlatformApplicationAttributesResult::WithResponseMetadata
GetPlatformApplicationAttributesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetPlatformApplicationAttributesResult.h:225
Aws::SNS::Model::GetPlatformApplicationAttributesResult::operator=
GetPlatformApplicationAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ResponseMetadata.h
Aws::SNS::Model::GetPlatformApplicationAttributesResult::WithResponseMetadata
GetPlatformApplicationAttributesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetPlatformApplicationAttributesResult.h:222
Aws::SNS::Model::GetPlatformApplicationAttributesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetPlatformApplicationAttributesResult.h:216
AWSString.h
Aws::SNS::Model::GetPlatformApplicationAttributesResult::GetPlatformApplicationAttributesResult
GetPlatformApplicationAttributesResult()
Aws::SNS::Model::GetPlatformApplicationAttributesResult::WithAttributes
GetPlatformApplicationAttributesResult & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetPlatformApplicationAttributesResult.h:111
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
Aws::SNS::Model::GetPlatformApplicationAttributesResult::WithAttributes
GetPlatformApplicationAttributesResult & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetPlatformApplicationAttributesResult.h:97
Aws::SNS::Model::GetPlatformApplicationAttributesResult::GetPlatformApplicationAttributesResult
GetPlatformApplicationAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
SNS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SNS::Model::GetPlatformApplicationAttributesResult::AddAttributes
GetPlatformApplicationAttributesResult & AddAttributes(Aws::String &&key, Aws::String &&value)
Definition: GetPlatformApplicationAttributesResult.h:167
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SNS::Model::GetPlatformApplicationAttributesResult::AddAttributes
GetPlatformApplicationAttributesResult & AddAttributes(const Aws::String &key, Aws::String &&value)
Definition: GetPlatformApplicationAttributesResult.h:153
Aws::SNS::Model::GetPlatformApplicationAttributesResult::SetAttributes
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetPlatformApplicationAttributesResult.h:83
Aws::SNS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SNS::Model::GetPlatformApplicationAttributesResult::AddAttributes
GetPlatformApplicationAttributesResult & AddAttributes(const char *key, Aws::String &&value)
Definition: GetPlatformApplicationAttributesResult.h:181
Aws::SNS::Model::GetPlatformApplicationAttributesResult::GetAttributes
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
Definition: GetPlatformApplicationAttributesResult.h:55
AWSMap.h
Aws::SNS::Model::GetPlatformApplicationAttributesResult::AddAttributes
GetPlatformApplicationAttributesResult & AddAttributes(Aws::String &&key, const char *value)
Definition: GetPlatformApplicationAttributesResult.h:195
Aws::SNS::Model::GetPlatformApplicationAttributesResult::SetAttributes
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetPlatformApplicationAttributesResult.h:69
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19