7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/TopicRuleDestinationStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iot/model/HttpUrlDestinationProperties.h>
12#include <aws/iot/model/VpcDestinationProperties.h>
50 template<
typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
52 template<
typename ArnT = Aws::String>
89 template<
typename CreatedAtT = Aws::Utils::DateTime>
90 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
91 template<
typename CreatedAtT = Aws::Utils::DateTime>
101 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
102 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
103 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
114 template<
typename StatusReasonT = Aws::String>
115 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
116 template<
typename StatusReasonT = Aws::String>
126 template<
typename HttpUrlPropertiesT = HttpUrlDestinationProperties>
127 void SetHttpUrlProperties(HttpUrlPropertiesT&& value) { m_httpUrlPropertiesHasBeenSet =
true; m_httpUrlProperties = std::forward<HttpUrlPropertiesT>(value); }
128 template<
typename HttpUrlPropertiesT = HttpUrlDestinationProperties>
138 template<
typename VpcPropertiesT = VpcDestinationProperties>
139 void SetVpcProperties(VpcPropertiesT&& value) { m_vpcPropertiesHasBeenSet =
true; m_vpcProperties = std::forward<VpcPropertiesT>(value); }
140 template<
typename VpcPropertiesT = VpcDestinationProperties>
146 bool m_arnHasBeenSet =
false;
149 bool m_statusHasBeenSet =
false;
152 bool m_createdAtHasBeenSet =
false;
155 bool m_lastUpdatedAtHasBeenSet =
false;
158 bool m_statusReasonHasBeenSet =
false;
160 HttpUrlDestinationProperties m_httpUrlProperties;
161 bool m_httpUrlPropertiesHasBeenSet =
false;
163 VpcDestinationProperties m_vpcProperties;
164 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