AWS SDK for C++  1.8.126
AWS SDK for C++
GetCognitoEventsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace CognitoSync
25 {
26 namespace Model
27 {
34  {
35  public:
39 
40 
44  inline const Aws::Map<Aws::String, Aws::String>& GetEvents() const{ return m_events; }
45 
49  inline void SetEvents(const Aws::Map<Aws::String, Aws::String>& value) { m_events = value; }
50 
54  inline void SetEvents(Aws::Map<Aws::String, Aws::String>&& value) { m_events = std::move(value); }
55 
59  inline GetCognitoEventsResult& WithEvents(const Aws::Map<Aws::String, Aws::String>& value) { SetEvents(value); return *this;}
60 
64  inline GetCognitoEventsResult& WithEvents(Aws::Map<Aws::String, Aws::String>&& value) { SetEvents(std::move(value)); return *this;}
65 
69  inline GetCognitoEventsResult& AddEvents(const Aws::String& key, const Aws::String& value) { m_events.emplace(key, value); return *this; }
70 
74  inline GetCognitoEventsResult& AddEvents(Aws::String&& key, const Aws::String& value) { m_events.emplace(std::move(key), value); return *this; }
75 
79  inline GetCognitoEventsResult& AddEvents(const Aws::String& key, Aws::String&& value) { m_events.emplace(key, std::move(value)); return *this; }
80 
84  inline GetCognitoEventsResult& AddEvents(Aws::String&& key, Aws::String&& value) { m_events.emplace(std::move(key), std::move(value)); return *this; }
85 
89  inline GetCognitoEventsResult& AddEvents(const char* key, Aws::String&& value) { m_events.emplace(key, std::move(value)); return *this; }
90 
94  inline GetCognitoEventsResult& AddEvents(Aws::String&& key, const char* value) { m_events.emplace(std::move(key), value); return *this; }
95 
99  inline GetCognitoEventsResult& AddEvents(const char* key, const char* value) { m_events.emplace(key, value); return *this; }
100 
101  private:
102 
104  };
105 
106 } // namespace Model
107 } // namespace CognitoSync
108 } // namespace Aws
Aws::CognitoSync::Model::GetCognitoEventsResult::AddEvents
GetCognitoEventsResult & AddEvents(Aws::String &&key, const Aws::String &value)
Definition: GetCognitoEventsResult.h:74
Aws::CognitoSync::Model::GetCognitoEventsResult::GetCognitoEventsResult
GetCognitoEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CognitoSync::Model::GetCognitoEventsResult::AddEvents
GetCognitoEventsResult & AddEvents(const char *key, const char *value)
Definition: GetCognitoEventsResult.h:99
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::GetCognitoEventsResult::WithEvents
GetCognitoEventsResult & WithEvents(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetCognitoEventsResult.h:59
Aws::CognitoSync::Model::GetCognitoEventsResult::AddEvents
GetCognitoEventsResult & AddEvents(const Aws::String &key, const Aws::String &value)
Definition: GetCognitoEventsResult.h:69
Aws::CognitoSync::Model::GetCognitoEventsResult::SetEvents
void SetEvents(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetCognitoEventsResult.h:49
Aws::CognitoSync::Model::GetCognitoEventsResult::AddEvents
GetCognitoEventsResult & AddEvents(Aws::String &&key, Aws::String &&value)
Definition: GetCognitoEventsResult.h:84
Aws::CognitoSync::Model::GetCognitoEventsResult::operator=
GetCognitoEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CognitoSync::Model::GetCognitoEventsResult::AddEvents
GetCognitoEventsResult & AddEvents(const Aws::String &key, Aws::String &&value)
Definition: GetCognitoEventsResult.h:79
Aws::CognitoSync::Model::GetCognitoEventsResult::WithEvents
GetCognitoEventsResult & WithEvents(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetCognitoEventsResult.h:64
Aws::CognitoSync::Model::GetCognitoEventsResult::AddEvents
GetCognitoEventsResult & AddEvents(Aws::String &&key, const char *value)
Definition: GetCognitoEventsResult.h:94
AWSString.h
Aws::CognitoSync::Model::GetCognitoEventsResult::GetCognitoEventsResult
GetCognitoEventsResult()
Aws::CognitoSync::Model::GetCognitoEventsResult::SetEvents
void SetEvents(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetCognitoEventsResult.h:54
Aws
Definition: AccessManagementClient.h:15
AWS_COGNITOSYNC_API
#define AWS_COGNITOSYNC_API
Definition: CognitoSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::CognitoSync::Model::GetCognitoEventsResult::GetEvents
const Aws::Map< Aws::String, Aws::String > & GetEvents() const
Definition: GetCognitoEventsResult.h:44
Aws::CognitoSync::Model::GetCognitoEventsResult::AddEvents
GetCognitoEventsResult & AddEvents(const char *key, Aws::String &&value)
Definition: GetCognitoEventsResult.h:89
Aws::CognitoSync::Model::GetCognitoEventsResult
Definition: GetCognitoEventsResult.h:34