7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
10#include <aws/iot/model/HttpUrlDestinationProperties.h>
11#include <aws/iot/model/TopicRuleDestinationStatus.h>
12#include <aws/iot/model/VpcDestinationProperties.h>
44 template <
typename ArnT = Aws::String>
46 m_arnHasBeenSet =
true;
47 m_arn = std::forward<ArnT>(value);
49 template <
typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
80 m_statusHasBeenSet =
true;
95 template <
typename CreatedAtT = Aws::Utils::DateTime>
97 m_createdAtHasBeenSet =
true;
98 m_createdAt = std::forward<CreatedAtT>(value);
100 template <
typename CreatedAtT = Aws::Utils::DateTime>
113 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
115 m_lastUpdatedAtHasBeenSet =
true;
116 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
118 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
132 template <
typename StatusReasonT = Aws::String>
134 m_statusReasonHasBeenSet =
true;
135 m_statusReason = std::forward<StatusReasonT>(value);
137 template <
typename StatusReasonT = Aws::String>
150 template <
typename HttpUrlPropertiesT = HttpUrlDestinationProperties>
152 m_httpUrlPropertiesHasBeenSet =
true;
153 m_httpUrlProperties = std::forward<HttpUrlPropertiesT>(value);
155 template <
typename HttpUrlPropertiesT = HttpUrlDestinationProperties>
168 template <
typename VpcPropertiesT = VpcDestinationProperties>
170 m_vpcPropertiesHasBeenSet =
true;
171 m_vpcProperties = std::forward<VpcPropertiesT>(value);
173 template <
typename VpcPropertiesT = VpcDestinationProperties>
190 HttpUrlDestinationProperties m_httpUrlProperties;
192 VpcDestinationProperties m_vpcProperties;
193 bool m_arnHasBeenSet =
false;
194 bool m_statusHasBeenSet =
false;
195 bool m_createdAtHasBeenSet =
false;
196 bool m_lastUpdatedAtHasBeenSet =
false;
197 bool m_statusReasonHasBeenSet =
false;
198 bool m_httpUrlPropertiesHasBeenSet =
false;
199 bool m_vpcPropertiesHasBeenSet =
false;
bool StatusHasBeenSet() const
TopicRuleDestinationStatus GetStatus() const
void SetArn(ArnT &&value)
TopicRuleDestination & WithStatusReason(StatusReasonT &&value)
bool LastUpdatedAtHasBeenSet() const
const HttpUrlDestinationProperties & GetHttpUrlProperties() const
void SetHttpUrlProperties(HttpUrlPropertiesT &&value)
void SetStatus(TopicRuleDestinationStatus value)
AWS_IOT_API TopicRuleDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool CreatedAtHasBeenSet() const
bool StatusReasonHasBeenSet() const
TopicRuleDestination & WithStatus(TopicRuleDestinationStatus value)
bool HttpUrlPropertiesHasBeenSet() const
AWS_IOT_API TopicRuleDestination(Aws::Utils::Json::JsonView jsonValue)
TopicRuleDestination & WithCreatedAt(CreatedAtT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
bool ArnHasBeenSet() const
const Aws::String & GetArn() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpcProperties(VpcPropertiesT &&value)
void SetCreatedAt(CreatedAtT &&value)
const VpcDestinationProperties & GetVpcProperties() const
TopicRuleDestination & WithArn(ArnT &&value)
AWS_IOT_API TopicRuleDestination()=default
void SetStatusReason(StatusReasonT &&value)
bool VpcPropertiesHasBeenSet() const
TopicRuleDestination & WithLastUpdatedAt(LastUpdatedAtT &&value)
TopicRuleDestination & WithHttpUrlProperties(HttpUrlPropertiesT &&value)
const Aws::String & GetStatusReason() const
TopicRuleDestination & WithVpcProperties(VpcPropertiesT &&value)
TopicRuleDestinationStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue