AWS SDK for C++  1.9.132
AWS SDK for C++
DescribeEventConfigurationsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace IoT
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::Map<EventType, Configuration>& GetEventConfigurations() const{ return m_eventConfigurations; }
42 
46  inline void SetEventConfigurations(const Aws::Map<EventType, Configuration>& value) { m_eventConfigurations = value; }
47 
51  inline void SetEventConfigurations(Aws::Map<EventType, Configuration>&& value) { m_eventConfigurations = std::move(value); }
52 
56  inline DescribeEventConfigurationsResult& WithEventConfigurations(const Aws::Map<EventType, Configuration>& value) { SetEventConfigurations(value); return *this;}
57 
61  inline DescribeEventConfigurationsResult& WithEventConfigurations(Aws::Map<EventType, Configuration>&& value) { SetEventConfigurations(std::move(value)); return *this;}
62 
66  inline DescribeEventConfigurationsResult& AddEventConfigurations(const EventType& key, const Configuration& value) { m_eventConfigurations.emplace(key, value); return *this; }
67 
71  inline DescribeEventConfigurationsResult& AddEventConfigurations(EventType&& key, const Configuration& value) { m_eventConfigurations.emplace(std::move(key), value); return *this; }
72 
76  inline DescribeEventConfigurationsResult& AddEventConfigurations(const EventType& key, Configuration&& value) { m_eventConfigurations.emplace(key, std::move(value)); return *this; }
77 
81  inline DescribeEventConfigurationsResult& AddEventConfigurations(EventType&& key, Configuration&& value) { m_eventConfigurations.emplace(std::move(key), std::move(value)); return *this; }
82 
83 
87  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
88 
92  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
93 
97  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
98 
102  inline DescribeEventConfigurationsResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
103 
107  inline DescribeEventConfigurationsResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
108 
109 
113  inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
114 
118  inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
119 
123  inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
124 
128  inline DescribeEventConfigurationsResult& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
129 
133  inline DescribeEventConfigurationsResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
134 
135  private:
136 
137  Aws::Map<EventType, Configuration> m_eventConfigurations;
138 
139  Aws::Utils::DateTime m_creationDate;
140 
141  Aws::Utils::DateTime m_lastModifiedDate;
142  };
143 
144 } // namespace Model
145 } // namespace IoT
146 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::DescribeEventConfigurationsResult::DescribeEventConfigurationsResult
DescribeEventConfigurationsResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::DescribeEventConfigurationsResult::SetEventConfigurations
void SetEventConfigurations(Aws::Map< EventType, Configuration > &&value)
Definition: DescribeEventConfigurationsResult.h:51
Aws::IoT::Model::DescribeEventConfigurationsResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeEventConfigurationsResult.h:92
Aws::IoT::Model::DescribeEventConfigurationsResult::AddEventConfigurations
DescribeEventConfigurationsResult & AddEventConfigurations(const EventType &key, Configuration &&value)
Definition: DescribeEventConfigurationsResult.h:76
DateTime.h
Aws::IoT::Model::DescribeEventConfigurationsResult::WithCreationDate
DescribeEventConfigurationsResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeEventConfigurationsResult.h:102
Aws::IoT::Model::DescribeEventConfigurationsResult::GetEventConfigurations
const Aws::Map< EventType, Configuration > & GetEventConfigurations() const
Definition: DescribeEventConfigurationsResult.h:41
Aws::IoT::Model::Configuration
Definition: Configuration.h:30
Aws::IoT::Model::DescribeEventConfigurationsResult::SetEventConfigurations
void SetEventConfigurations(const Aws::Map< EventType, Configuration > &value)
Definition: DescribeEventConfigurationsResult.h:46
Aws::IoT::Model::DescribeEventConfigurationsResult
Definition: DescribeEventConfigurationsResult.h:31
Aws::IoT::Model::DescribeEventConfigurationsResult::WithEventConfigurations
DescribeEventConfigurationsResult & WithEventConfigurations(Aws::Map< EventType, Configuration > &&value)
Definition: DescribeEventConfigurationsResult.h:61
Aws::IoT::Model::DescribeEventConfigurationsResult::WithCreationDate
DescribeEventConfigurationsResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeEventConfigurationsResult.h:107
Aws::IoT::Model::DescribeEventConfigurationsResult::SetLastModifiedDate
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: DescribeEventConfigurationsResult.h:118
Aws::IoT::Model::DescribeEventConfigurationsResult::AddEventConfigurations
DescribeEventConfigurationsResult & AddEventConfigurations(EventType &&key, Configuration &&value)
Definition: DescribeEventConfigurationsResult.h:81
Aws::IoT::Model::DescribeEventConfigurationsResult::AddEventConfigurations
DescribeEventConfigurationsResult & AddEventConfigurations(const EventType &key, const Configuration &value)
Definition: DescribeEventConfigurationsResult.h:66
Aws::IoT::Model::DescribeEventConfigurationsResult::GetLastModifiedDate
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition: DescribeEventConfigurationsResult.h:113
Aws::IoT::Model::DescribeEventConfigurationsResult::WithLastModifiedDate
DescribeEventConfigurationsResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: DescribeEventConfigurationsResult.h:133
Aws::IoT::Model::DescribeEventConfigurationsResult::AddEventConfigurations
DescribeEventConfigurationsResult & AddEventConfigurations(EventType &&key, const Configuration &value)
Definition: DescribeEventConfigurationsResult.h:71
Aws::IoT::Model::DescribeEventConfigurationsResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeEventConfigurationsResult.h:97
Aws::IoT::Model::DescribeEventConfigurationsResult::SetLastModifiedDate
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: DescribeEventConfigurationsResult.h:123
Aws::IoT::Model::DescribeEventConfigurationsResult::operator=
DescribeEventConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeEventConfigurationsResult::WithLastModifiedDate
DescribeEventConfigurationsResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: DescribeEventConfigurationsResult.h:128
Aws::IoT::Model::DescribeEventConfigurationsResult::WithEventConfigurations
DescribeEventConfigurationsResult & WithEventConfigurations(const Aws::Map< EventType, Configuration > &value)
Definition: DescribeEventConfigurationsResult.h:56
Aws::IoT::Model::DescribeEventConfigurationsResult::DescribeEventConfigurationsResult
DescribeEventConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EventType.h
Aws
Definition: AccessManagementClient.h:15
Configuration.h
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::EventType
EventType
Definition: EventType.h:17
AWSMap.h
Aws::IoT::Model::DescribeEventConfigurationsResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: DescribeEventConfigurationsResult.h:87
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
IoT_EXPORTS.h