AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEventConfigurationsResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/iot/model/EventType.h>
12#include <aws/iot/model/Configuration.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace IoT
28{
29namespace Model
30{
32 {
33 public:
37
38
40
43 inline const Aws::Map<EventType, Configuration>& GetEventConfigurations() const{ return m_eventConfigurations; }
44 inline void SetEventConfigurations(const Aws::Map<EventType, Configuration>& value) { m_eventConfigurations = value; }
45 inline void SetEventConfigurations(Aws::Map<EventType, Configuration>&& value) { m_eventConfigurations = std::move(value); }
48 inline DescribeEventConfigurationsResult& AddEventConfigurations(const EventType& key, const Configuration& value) { m_eventConfigurations.emplace(key, value); return *this; }
49 inline DescribeEventConfigurationsResult& AddEventConfigurations(EventType&& key, const Configuration& value) { m_eventConfigurations.emplace(std::move(key), value); return *this; }
50 inline DescribeEventConfigurationsResult& AddEventConfigurations(const EventType& key, Configuration&& value) { m_eventConfigurations.emplace(key, std::move(value)); return *this; }
51 inline DescribeEventConfigurationsResult& AddEventConfigurations(EventType&& key, Configuration&& value) { m_eventConfigurations.emplace(std::move(key), std::move(value)); return *this; }
53
55
58 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
59 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
60 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
64
66
69 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
70 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
71 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline DescribeEventConfigurationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline DescribeEventConfigurationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline DescribeEventConfigurationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
88 Aws::Map<EventType, Configuration> m_eventConfigurations;
89
90 Aws::Utils::DateTime m_creationDate;
91
92 Aws::Utils::DateTime m_lastModifiedDate;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace IoT
99} // namespace Aws
DescribeEventConfigurationsResult & WithCreationDate(const Aws::Utils::DateTime &value)
DescribeEventConfigurationsResult & AddEventConfigurations(EventType &&key, Configuration &&value)
DescribeEventConfigurationsResult & AddEventConfigurations(const EventType &key, Configuration &&value)
DescribeEventConfigurationsResult & WithEventConfigurations(const Aws::Map< EventType, Configuration > &value)
DescribeEventConfigurationsResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
DescribeEventConfigurationsResult & WithRequestId(const Aws::String &value)
DescribeEventConfigurationsResult & WithEventConfigurations(Aws::Map< EventType, Configuration > &&value)
void SetEventConfigurations(const Aws::Map< EventType, Configuration > &value)
DescribeEventConfigurationsResult & AddEventConfigurations(EventType &&key, const Configuration &value)
void SetEventConfigurations(Aws::Map< EventType, Configuration > &&value)
DescribeEventConfigurationsResult & WithRequestId(Aws::String &&value)
DescribeEventConfigurationsResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
DescribeEventConfigurationsResult & WithRequestId(const char *value)
AWS_IOT_API DescribeEventConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEventConfigurationsResult & WithCreationDate(Aws::Utils::DateTime &&value)
const Aws::Map< EventType, Configuration > & GetEventConfigurations() const
AWS_IOT_API DescribeEventConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEventConfigurationsResult & AddEventConfigurations(const EventType &key, const Configuration &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