/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { /** *

Summary information about the Kinesis data stream

See Also:

* AWS * API Reference

*/ class DestinationSummary { public: AWS_CUSTOMERPROFILES_API DestinationSummary(); AWS_CUSTOMERPROFILES_API DestinationSummary(Aws::Utils::Json::JsonView jsonValue); AWS_CUSTOMERPROFILES_API DestinationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The StreamARN of the destination to deliver profile events to. For example, * arn:aws:kinesis:region:account-id:stream/stream-name.

*/ inline const Aws::String& GetUri() const{ return m_uri; } /** *

The StreamARN of the destination to deliver profile events to. For example, * arn:aws:kinesis:region:account-id:stream/stream-name.

*/ inline bool UriHasBeenSet() const { return m_uriHasBeenSet; } /** *

The StreamARN of the destination to deliver profile events to. For example, * arn:aws:kinesis:region:account-id:stream/stream-name.

*/ inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; } /** *

The StreamARN of the destination to deliver profile events to. For example, * arn:aws:kinesis:region:account-id:stream/stream-name.

*/ inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); } /** *

The StreamARN of the destination to deliver profile events to. For example, * arn:aws:kinesis:region:account-id:stream/stream-name.

*/ inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); } /** *

The StreamARN of the destination to deliver profile events to. For example, * arn:aws:kinesis:region:account-id:stream/stream-name.

*/ inline DestinationSummary& WithUri(const Aws::String& value) { SetUri(value); return *this;} /** *

The StreamARN of the destination to deliver profile events to. For example, * arn:aws:kinesis:region:account-id:stream/stream-name.

*/ inline DestinationSummary& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;} /** *

The StreamARN of the destination to deliver profile events to. For example, * arn:aws:kinesis:region:account-id:stream/stream-name.

*/ inline DestinationSummary& WithUri(const char* value) { SetUri(value); return *this;} /** *

The status of enabling the Kinesis stream as a destination for export.

*/ inline const EventStreamDestinationStatus& GetStatus() const{ return m_status; } /** *

The status of enabling the Kinesis stream as a destination for export.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of enabling the Kinesis stream as a destination for export.

*/ inline void SetStatus(const EventStreamDestinationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of enabling the Kinesis stream as a destination for export.

*/ inline void SetStatus(EventStreamDestinationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of enabling the Kinesis stream as a destination for export.

*/ inline DestinationSummary& WithStatus(const EventStreamDestinationStatus& value) { SetStatus(value); return *this;} /** *

The status of enabling the Kinesis stream as a destination for export.

*/ inline DestinationSummary& WithStatus(EventStreamDestinationStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The timestamp when the status last changed to UNHEALHY.

*/ inline const Aws::Utils::DateTime& GetUnhealthySince() const{ return m_unhealthySince; } /** *

The timestamp when the status last changed to UNHEALHY.

*/ inline bool UnhealthySinceHasBeenSet() const { return m_unhealthySinceHasBeenSet; } /** *

The timestamp when the status last changed to UNHEALHY.

*/ inline void SetUnhealthySince(const Aws::Utils::DateTime& value) { m_unhealthySinceHasBeenSet = true; m_unhealthySince = value; } /** *

The timestamp when the status last changed to UNHEALHY.

*/ inline void SetUnhealthySince(Aws::Utils::DateTime&& value) { m_unhealthySinceHasBeenSet = true; m_unhealthySince = std::move(value); } /** *

The timestamp when the status last changed to UNHEALHY.

*/ inline DestinationSummary& WithUnhealthySince(const Aws::Utils::DateTime& value) { SetUnhealthySince(value); return *this;} /** *

The timestamp when the status last changed to UNHEALHY.

*/ inline DestinationSummary& WithUnhealthySince(Aws::Utils::DateTime&& value) { SetUnhealthySince(std::move(value)); return *this;} private: Aws::String m_uri; bool m_uriHasBeenSet = false; EventStreamDestinationStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_unhealthySince; bool m_unhealthySinceHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws