/**
* 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.
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;} private: Aws::String m_arn; bool m_arnHasBeenSet; TopicRuleDestinationStatus m_status; bool m_statusHasBeenSet; Aws::String m_statusReason; bool m_statusReasonHasBeenSet; HttpUrlDestinationProperties m_httpUrlProperties; bool m_httpUrlPropertiesHasBeenSet; }; } // namespace Model } // namespace IoT } // namespace Aws