AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
DescribeEventConfigurationsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/iot/IoT_EXPORTS.h>
12#include <aws/iot/model/Configuration.h>
13#include <aws/iot/model/EventType.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoT {
27namespace Model {
29 public:
30 AWS_IOT_API DescribeEventConfigurationsResult() = default;
33
35
38 inline const Aws::Map<EventType, Configuration>& GetEventConfigurations() const { return m_eventConfigurations; }
39 template <typename EventConfigurationsT = Aws::Map<EventType, Configuration>>
40 void SetEventConfigurations(EventConfigurationsT&& value) {
41 m_eventConfigurationsHasBeenSet = true;
42 m_eventConfigurations = std::forward<EventConfigurationsT>(value);
43 }
44 template <typename EventConfigurationsT = Aws::Map<EventType, Configuration>>
46 SetEventConfigurations(std::forward<EventConfigurationsT>(value));
47 return *this;
48 }
50 m_eventConfigurationsHasBeenSet = true;
51 m_eventConfigurations.emplace(key, value);
52 return *this;
53 }
55
57
60 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
61 template <typename CreationDateT = Aws::Utils::DateTime>
62 void SetCreationDate(CreationDateT&& value) {
63 m_creationDateHasBeenSet = true;
64 m_creationDate = std::forward<CreationDateT>(value);
65 }
66 template <typename CreationDateT = Aws::Utils::DateTime>
68 SetCreationDate(std::forward<CreationDateT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
78 template <typename LastModifiedDateT = Aws::Utils::DateTime>
79 void SetLastModifiedDate(LastModifiedDateT&& value) {
80 m_lastModifiedDateHasBeenSet = true;
81 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
82 }
83 template <typename LastModifiedDateT = Aws::Utils::DateTime>
85 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
86 return *this;
87 }
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template <typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) {
95 m_requestIdHasBeenSet = true;
96 m_requestId = std::forward<RequestIdT>(value);
97 }
98 template <typename RequestIdT = Aws::String>
100 SetRequestId(std::forward<RequestIdT>(value));
101 return *this;
102 }
104 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
105
106 private:
107 Aws::Map<EventType, Configuration> m_eventConfigurations;
108
109 Aws::Utils::DateTime m_creationDate{};
110
111 Aws::Utils::DateTime m_lastModifiedDate{};
112
113 Aws::String m_requestId;
114 Aws::Http::HttpResponseCode m_HttpResponseCode;
115 bool m_eventConfigurationsHasBeenSet = false;
116 bool m_creationDateHasBeenSet = false;
117 bool m_lastModifiedDateHasBeenSet = false;
118 bool m_requestIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace IoT
123} // namespace Aws
DescribeEventConfigurationsResult & WithLastModifiedDate(LastModifiedDateT &&value)
DescribeEventConfigurationsResult & WithCreationDate(CreationDateT &&value)
DescribeEventConfigurationsResult & AddEventConfigurations(EventType key, Configuration value)
AWS_IOT_API DescribeEventConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< EventType, Configuration > & GetEventConfigurations() const
AWS_IOT_API DescribeEventConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEventConfigurationsResult & WithEventConfigurations(EventConfigurationsT &&value)
DescribeEventConfigurationsResult & WithRequestId(RequestIdT &&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