/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A topic rule destination.See Also:
AWS
* API Reference
The topic rule destination URL.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The topic rule destination URL.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The topic rule destination URL.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The topic rule destination URL.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The topic rule destination URL.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The topic rule destination URL.
*/ inline TopicRuleDestination& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The topic rule destination URL.
*/ inline TopicRuleDestination& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The topic rule destination URL.
*/ inline TopicRuleDestination& WithArn(const char* value) { SetArn(value); return *this;} /** *The status of the topic rule destination. Valid values are:
A topic rule destination was created but has not
* been confirmed. You can set status
to IN_PROGRESS
by
* calling UpdateTopicRuleDestination
. Calling
* UpdateTopicRuleDestination
causes a new confirmation challenge to
* be sent to your confirmation endpoint.
Confirmation was completed, and traffic to this destination is allowed. You
* can set status
to DISABLED
by calling
* UpdateTopicRuleDestination
.
Confirmation was completed, and traffic to this destination is not allowed.
* You can set status
to ENABLED
by calling
* UpdateTopicRuleDestination
.
Confirmation could not be completed, for example if the confirmation timed
* out. You can call GetTopicRuleDestination
for details about the
* error. You can set status
to IN_PROGRESS
by calling
* UpdateTopicRuleDestination
. Calling
* UpdateTopicRuleDestination
causes a new confirmation challenge to
* be sent to your confirmation endpoint.
The status of the topic rule destination. Valid values are:
A topic rule destination was created but has not
* been confirmed. You can set status
to IN_PROGRESS
by
* calling UpdateTopicRuleDestination
. Calling
* UpdateTopicRuleDestination
causes a new confirmation challenge to
* be sent to your confirmation endpoint.
Confirmation was completed, and traffic to this destination is allowed. You
* can set status
to DISABLED
by calling
* UpdateTopicRuleDestination
.
Confirmation was completed, and traffic to this destination is not allowed.
* You can set status
to ENABLED
by calling
* UpdateTopicRuleDestination
.
Confirmation could not be completed, for example if the confirmation timed
* out. You can call GetTopicRuleDestination
for details about the
* error. You can set status
to IN_PROGRESS
by calling
* UpdateTopicRuleDestination
. Calling
* UpdateTopicRuleDestination
causes a new confirmation challenge to
* be sent to your confirmation endpoint.
The status of the topic rule destination. Valid values are:
A topic rule destination was created but has not
* been confirmed. You can set status
to IN_PROGRESS
by
* calling UpdateTopicRuleDestination
. Calling
* UpdateTopicRuleDestination
causes a new confirmation challenge to
* be sent to your confirmation endpoint.
Confirmation was completed, and traffic to this destination is allowed. You
* can set status
to DISABLED
by calling
* UpdateTopicRuleDestination
.
Confirmation was completed, and traffic to this destination is not allowed.
* You can set status
to ENABLED
by calling
* UpdateTopicRuleDestination
.
Confirmation could not be completed, for example if the confirmation timed
* out. You can call GetTopicRuleDestination
for details about the
* error. You can set status
to IN_PROGRESS
by calling
* UpdateTopicRuleDestination
. Calling
* UpdateTopicRuleDestination
causes a new confirmation challenge to
* be sent to your confirmation endpoint.
The status of the topic rule destination. Valid values are:
A topic rule destination was created but has not
* been confirmed. You can set status
to IN_PROGRESS
by
* calling UpdateTopicRuleDestination
. Calling
* UpdateTopicRuleDestination
causes a new confirmation challenge to
* be sent to your confirmation endpoint.
Confirmation was completed, and traffic to this destination is allowed. You
* can set status
to DISABLED
by calling
* UpdateTopicRuleDestination
.
Confirmation was completed, and traffic to this destination is not allowed.
* You can set status
to ENABLED
by calling
* UpdateTopicRuleDestination
.
Confirmation could not be completed, for example if the confirmation timed
* out. You can call GetTopicRuleDestination
for details about the
* error. You can set status
to IN_PROGRESS
by calling
* UpdateTopicRuleDestination
. Calling
* UpdateTopicRuleDestination
causes a new confirmation challenge to
* be sent to your confirmation endpoint.
The status of the topic rule destination. Valid values are:
A topic rule destination was created but has not
* been confirmed. You can set status
to IN_PROGRESS
by
* calling UpdateTopicRuleDestination
. Calling
* UpdateTopicRuleDestination
causes a new confirmation challenge to
* be sent to your confirmation endpoint.
Confirmation was completed, and traffic to this destination is allowed. You
* can set status
to DISABLED
by calling
* UpdateTopicRuleDestination
.
Confirmation was completed, and traffic to this destination is not allowed.
* You can set status
to ENABLED
by calling
* UpdateTopicRuleDestination
.
Confirmation could not be completed, for example if the confirmation timed
* out. You can call GetTopicRuleDestination
for details about the
* error. You can set status
to IN_PROGRESS
by calling
* UpdateTopicRuleDestination
. Calling
* UpdateTopicRuleDestination
causes a new confirmation challenge to
* be sent to your confirmation endpoint.
The status of the topic rule destination. Valid values are:
A topic rule destination was created but has not
* been confirmed. You can set status
to IN_PROGRESS
by
* calling UpdateTopicRuleDestination
. Calling
* UpdateTopicRuleDestination
causes a new confirmation challenge to
* be sent to your confirmation endpoint.
Confirmation was completed, and traffic to this destination is allowed. You
* can set status
to DISABLED
by calling
* UpdateTopicRuleDestination
.
Confirmation was completed, and traffic to this destination is not allowed.
* You can set status
to ENABLED
by calling
* UpdateTopicRuleDestination
.
Confirmation could not be completed, for example if the confirmation timed
* out. You can call GetTopicRuleDestination
for details about the
* error. You can set status
to IN_PROGRESS
by calling
* UpdateTopicRuleDestination
. Calling
* UpdateTopicRuleDestination
causes a new confirmation challenge to
* be sent to your confirmation endpoint.
The date and time when the topic rule destination was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The date and time when the topic rule destination was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The date and time when the topic rule destination was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The date and time when the topic rule destination was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The date and time when the topic rule destination was created.
*/ inline TopicRuleDestination& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The date and time when the topic rule destination was created.
*/ inline TopicRuleDestination& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The date and time when the topic rule destination was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *The date and time when the topic rule destination was last updated.
*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *The date and time when the topic rule destination was last updated.
*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *The date and time when the topic rule destination was last updated.
*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *The date and time when the topic rule destination was last updated.
*/ inline TopicRuleDestination& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *The date and time when the topic rule destination was last updated.
*/ inline TopicRuleDestination& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *Additional details or reason why the topic rule destination is in the current * status.
*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *Additional details or reason why the topic rule destination is in the current * status.
*/ inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } /** *Additional details or reason why the topic rule destination is in the current * status.
*/ inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; } /** *Additional details or reason why the topic rule destination is in the current * status.
*/ inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); } /** *Additional details or reason why the topic rule destination is in the current * status.
*/ inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); } /** *Additional details or reason why the topic rule destination is in the current * status.
*/ inline TopicRuleDestination& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *Additional details or reason why the topic rule destination is in the current * status.
*/ inline TopicRuleDestination& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *Additional details or reason why the topic rule destination is in the current * status.
*/ inline TopicRuleDestination& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} /** *Properties of the HTTP URL.
*/ inline const HttpUrlDestinationProperties& GetHttpUrlProperties() const{ return m_httpUrlProperties; } /** *Properties of the HTTP URL.
*/ inline bool HttpUrlPropertiesHasBeenSet() const { return m_httpUrlPropertiesHasBeenSet; } /** *Properties of the HTTP URL.
*/ inline void SetHttpUrlProperties(const HttpUrlDestinationProperties& value) { m_httpUrlPropertiesHasBeenSet = true; m_httpUrlProperties = value; } /** *Properties of the HTTP URL.
*/ inline void SetHttpUrlProperties(HttpUrlDestinationProperties&& value) { m_httpUrlPropertiesHasBeenSet = true; m_httpUrlProperties = std::move(value); } /** *Properties of the HTTP URL.
*/ inline TopicRuleDestination& WithHttpUrlProperties(const HttpUrlDestinationProperties& value) { SetHttpUrlProperties(value); return *this;} /** *Properties of the HTTP URL.
*/ inline TopicRuleDestination& WithHttpUrlProperties(HttpUrlDestinationProperties&& value) { SetHttpUrlProperties(std::move(value)); return *this;} /** *Properties of the virtual private cloud (VPC) connection.
*/ inline const VpcDestinationProperties& GetVpcProperties() const{ return m_vpcProperties; } /** *Properties of the virtual private cloud (VPC) connection.
*/ inline bool VpcPropertiesHasBeenSet() const { return m_vpcPropertiesHasBeenSet; } /** *Properties of the virtual private cloud (VPC) connection.
*/ inline void SetVpcProperties(const VpcDestinationProperties& value) { m_vpcPropertiesHasBeenSet = true; m_vpcProperties = value; } /** *Properties of the virtual private cloud (VPC) connection.
*/ inline void SetVpcProperties(VpcDestinationProperties&& value) { m_vpcPropertiesHasBeenSet = true; m_vpcProperties = std::move(value); } /** *Properties of the virtual private cloud (VPC) connection.
*/ inline TopicRuleDestination& WithVpcProperties(const VpcDestinationProperties& value) { SetVpcProperties(value); return *this;} /** *Properties of the virtual private cloud (VPC) connection.
*/ inline TopicRuleDestination& WithVpcProperties(VpcDestinationProperties&& value) { SetVpcProperties(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; TopicRuleDestinationStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; Aws::String m_statusReason; bool m_statusReasonHasBeenSet = false; HttpUrlDestinationProperties m_httpUrlProperties; bool m_httpUrlPropertiesHasBeenSet = false; VpcDestinationProperties m_vpcProperties; bool m_vpcPropertiesHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws