AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
34 AWS_IOT_API DescribeEventConfigurationsResult() = default;
37
38
40
43 inline const Aws::Map<EventType, Configuration>& GetEventConfigurations() const { return m_eventConfigurations; }
44 template<typename EventConfigurationsT = Aws::Map<EventType, Configuration>>
45 void SetEventConfigurations(EventConfigurationsT&& value) { m_eventConfigurationsHasBeenSet = true; m_eventConfigurations = std::forward<EventConfigurationsT>(value); }
46 template<typename EventConfigurationsT = Aws::Map<EventType, Configuration>>
47 DescribeEventConfigurationsResult& WithEventConfigurations(EventConfigurationsT&& value) { SetEventConfigurations(std::forward<EventConfigurationsT>(value)); return *this;}
49 m_eventConfigurationsHasBeenSet = true; m_eventConfigurations.emplace(key, value); return *this;
50 }
52
54
57 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
58 template<typename CreationDateT = Aws::Utils::DateTime>
59 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
60 template<typename CreationDateT = Aws::Utils::DateTime>
61 DescribeEventConfigurationsResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
69 template<typename LastModifiedDateT = Aws::Utils::DateTime>
70 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
71 template<typename LastModifiedDateT = Aws::Utils::DateTime>
72 DescribeEventConfigurationsResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template<typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
80 template<typename RequestIdT = Aws::String>
81 DescribeEventConfigurationsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
83 private:
84
85 Aws::Map<EventType, Configuration> m_eventConfigurations;
86 bool m_eventConfigurationsHasBeenSet = false;
87
88 Aws::Utils::DateTime m_creationDate{};
89 bool m_creationDateHasBeenSet = false;
90
91 Aws::Utils::DateTime m_lastModifiedDate{};
92 bool m_lastModifiedDateHasBeenSet = false;
93
94 Aws::String m_requestId;
95 bool m_requestIdHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace IoT
100} // 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