AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCognitoEventsResult.h
1
6#pragma once
7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CognitoSync
25{
26namespace Model
27{
34 {
35 public:
36 AWS_COGNITOSYNC_API GetCognitoEventsResult();
39
40
42
45 inline const Aws::Map<Aws::String, Aws::String>& GetEvents() const{ return m_events; }
46 inline void SetEvents(const Aws::Map<Aws::String, Aws::String>& value) { m_events = value; }
47 inline void SetEvents(Aws::Map<Aws::String, Aws::String>&& value) { m_events = std::move(value); }
49 inline GetCognitoEventsResult& WithEvents(Aws::Map<Aws::String, Aws::String>&& value) { SetEvents(std::move(value)); return *this;}
50 inline GetCognitoEventsResult& AddEvents(const Aws::String& key, const Aws::String& value) { m_events.emplace(key, value); return *this; }
51 inline GetCognitoEventsResult& AddEvents(Aws::String&& key, const Aws::String& value) { m_events.emplace(std::move(key), value); return *this; }
52 inline GetCognitoEventsResult& AddEvents(const Aws::String& key, Aws::String&& value) { m_events.emplace(key, std::move(value)); return *this; }
53 inline GetCognitoEventsResult& AddEvents(Aws::String&& key, Aws::String&& value) { m_events.emplace(std::move(key), std::move(value)); return *this; }
54 inline GetCognitoEventsResult& AddEvents(const char* key, Aws::String&& value) { m_events.emplace(key, std::move(value)); return *this; }
55 inline GetCognitoEventsResult& AddEvents(Aws::String&& key, const char* value) { m_events.emplace(std::move(key), value); return *this; }
56 inline GetCognitoEventsResult& AddEvents(const char* key, const char* value) { m_events.emplace(key, value); return *this; }
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline GetCognitoEventsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline GetCognitoEventsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline GetCognitoEventsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
72
73 Aws::String m_requestId;
74 };
75
76} // namespace Model
77} // namespace CognitoSync
78} // namespace Aws
AWS_COGNITOSYNC_API GetCognitoEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCognitoEventsResult & AddEvents(Aws::String &&key, const Aws::String &value)
GetCognitoEventsResult & AddEvents(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetEvents() const
void SetEvents(Aws::Map< Aws::String, Aws::String > &&value)
GetCognitoEventsResult & WithRequestId(const char *value)
void SetEvents(const Aws::Map< Aws::String, Aws::String > &value)
GetCognitoEventsResult & AddEvents(const char *key, const char *value)
GetCognitoEventsResult & AddEvents(const char *key, Aws::String &&value)
GetCognitoEventsResult & WithEvents(const Aws::Map< Aws::String, Aws::String > &value)
GetCognitoEventsResult & WithEvents(Aws::Map< Aws::String, Aws::String > &&value)
GetCognitoEventsResult & WithRequestId(Aws::String &&value)
AWS_COGNITOSYNC_API GetCognitoEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCognitoEventsResult & AddEvents(const Aws::String &key, const Aws::String &value)
GetCognitoEventsResult & AddEvents(Aws::String &&key, Aws::String &&value)
GetCognitoEventsResult & WithRequestId(const Aws::String &value)
GetCognitoEventsResult & AddEvents(const Aws::String &key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue