/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the topic rule destination.See Also:
AWS
* API Reference
The topic rule destination ARN.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The topic rule destination ARN.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The topic rule destination ARN.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The topic rule destination ARN.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The topic rule destination ARN.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The topic rule destination ARN.
*/ inline TopicRuleDestinationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The topic rule destination ARN.
*/ inline TopicRuleDestinationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The topic rule destination ARN.
*/ inline TopicRuleDestinationSummary& 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 reason the topic rule destination is in the current status.
*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *The reason the topic rule destination is in the current status.
*/ inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } /** *The reason the topic rule destination is in the current status.
*/ inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; } /** *The reason the topic rule destination is in the current status.
*/ inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); } /** *The reason the topic rule destination is in the current status.
*/ inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); } /** *The reason the topic rule destination is in the current status.
*/ inline TopicRuleDestinationSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *The reason the topic rule destination is in the current status.
*/ inline TopicRuleDestinationSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *The reason the topic rule destination is in the current status.
*/ inline TopicRuleDestinationSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} /** *Information about the HTTP URL.
*/ inline const HttpUrlDestinationSummary& GetHttpUrlSummary() const{ return m_httpUrlSummary; } /** *Information about the HTTP URL.
*/ inline bool HttpUrlSummaryHasBeenSet() const { return m_httpUrlSummaryHasBeenSet; } /** *Information about the HTTP URL.
*/ inline void SetHttpUrlSummary(const HttpUrlDestinationSummary& value) { m_httpUrlSummaryHasBeenSet = true; m_httpUrlSummary = value; } /** *Information about the HTTP URL.
*/ inline void SetHttpUrlSummary(HttpUrlDestinationSummary&& value) { m_httpUrlSummaryHasBeenSet = true; m_httpUrlSummary = std::move(value); } /** *Information about the HTTP URL.
*/ inline TopicRuleDestinationSummary& WithHttpUrlSummary(const HttpUrlDestinationSummary& value) { SetHttpUrlSummary(value); return *this;} /** *Information about the HTTP URL.
*/ inline TopicRuleDestinationSummary& WithHttpUrlSummary(HttpUrlDestinationSummary&& value) { SetHttpUrlSummary(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; HttpUrlDestinationSummary m_httpUrlSummary; bool m_httpUrlSummaryHasBeenSet; }; } // namespace Model } // namespace IoT } // namespace Aws