/**
* 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 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 TopicRuleDestinationSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The date and time when the topic rule destination was created.
*/ inline TopicRuleDestinationSummary& 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 TopicRuleDestinationSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *The date and time when the topic rule destination was last updated.
*/ inline TopicRuleDestinationSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *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;} /** *Information about the virtual private cloud (VPC) connection.
*/ inline const VpcDestinationSummary& GetVpcDestinationSummary() const{ return m_vpcDestinationSummary; } /** *Information about the virtual private cloud (VPC) connection.
*/ inline bool VpcDestinationSummaryHasBeenSet() const { return m_vpcDestinationSummaryHasBeenSet; } /** *Information about the virtual private cloud (VPC) connection.
*/ inline void SetVpcDestinationSummary(const VpcDestinationSummary& value) { m_vpcDestinationSummaryHasBeenSet = true; m_vpcDestinationSummary = value; } /** *Information about the virtual private cloud (VPC) connection.
*/ inline void SetVpcDestinationSummary(VpcDestinationSummary&& value) { m_vpcDestinationSummaryHasBeenSet = true; m_vpcDestinationSummary = std::move(value); } /** *Information about the virtual private cloud (VPC) connection.
*/ inline TopicRuleDestinationSummary& WithVpcDestinationSummary(const VpcDestinationSummary& value) { SetVpcDestinationSummary(value); return *this;} /** *Information about the virtual private cloud (VPC) connection.
*/ inline TopicRuleDestinationSummary& WithVpcDestinationSummary(VpcDestinationSummary&& value) { SetVpcDestinationSummary(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; HttpUrlDestinationSummary m_httpUrlSummary; bool m_httpUrlSummaryHasBeenSet = false; VpcDestinationSummary m_vpcDestinationSummary; bool m_vpcDestinationSummaryHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws