/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoT { namespace Model { class DescribeEventConfigurationsResult { public: AWS_IOT_API DescribeEventConfigurationsResult(); AWS_IOT_API DescribeEventConfigurationsResult(const Aws::AmazonWebServiceResult& result); AWS_IOT_API DescribeEventConfigurationsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The event configurations.

*/ inline const Aws::Map& GetEventConfigurations() const{ return m_eventConfigurations; } /** *

The event configurations.

*/ inline void SetEventConfigurations(const Aws::Map& value) { m_eventConfigurations = value; } /** *

The event configurations.

*/ inline void SetEventConfigurations(Aws::Map&& value) { m_eventConfigurations = std::move(value); } /** *

The event configurations.

*/ inline DescribeEventConfigurationsResult& WithEventConfigurations(const Aws::Map& value) { SetEventConfigurations(value); return *this;} /** *

The event configurations.

*/ inline DescribeEventConfigurationsResult& WithEventConfigurations(Aws::Map&& value) { SetEventConfigurations(std::move(value)); return *this;} /** *

The event configurations.

*/ inline DescribeEventConfigurationsResult& AddEventConfigurations(const EventType& key, const Configuration& value) { m_eventConfigurations.emplace(key, value); return *this; } /** *

The event configurations.

*/ inline DescribeEventConfigurationsResult& AddEventConfigurations(EventType&& key, const Configuration& value) { m_eventConfigurations.emplace(std::move(key), value); return *this; } /** *

The event configurations.

*/ inline DescribeEventConfigurationsResult& AddEventConfigurations(const EventType& key, Configuration&& value) { m_eventConfigurations.emplace(key, std::move(value)); return *this; } /** *

The event configurations.

*/ inline DescribeEventConfigurationsResult& AddEventConfigurations(EventType&& key, Configuration&& value) { m_eventConfigurations.emplace(std::move(key), std::move(value)); return *this; } /** *

The creation date of the event configuration.

*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *

The creation date of the event configuration.

*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; } /** *

The creation date of the event configuration.

*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); } /** *

The creation date of the event configuration.

*/ inline DescribeEventConfigurationsResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *

The creation date of the event configuration.

*/ inline DescribeEventConfigurationsResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *

The date the event configurations were last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *

The date the event configurations were last modified.

*/ inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; } /** *

The date the event configurations were last modified.

*/ inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); } /** *

The date the event configurations were last modified.

*/ inline DescribeEventConfigurationsResult& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;} /** *

The date the event configurations were last modified.

*/ inline DescribeEventConfigurationsResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeEventConfigurationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeEventConfigurationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeEventConfigurationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Map m_eventConfigurations; Aws::Utils::DateTime m_creationDate; Aws::Utils::DateTime m_lastModifiedDate; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws