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

Describes a Kinesis data stream destination.

See Also:

AWS * API Reference

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

The ARN for a specific Kinesis data stream.

*/ inline const Aws::String& GetStreamArn() const{ return m_streamArn; } /** *

The ARN for a specific Kinesis data stream.

*/ inline bool StreamArnHasBeenSet() const { return m_streamArnHasBeenSet; } /** *

The ARN for a specific Kinesis data stream.

*/ inline void SetStreamArn(const Aws::String& value) { m_streamArnHasBeenSet = true; m_streamArn = value; } /** *

The ARN for a specific Kinesis data stream.

*/ inline void SetStreamArn(Aws::String&& value) { m_streamArnHasBeenSet = true; m_streamArn = std::move(value); } /** *

The ARN for a specific Kinesis data stream.

*/ inline void SetStreamArn(const char* value) { m_streamArnHasBeenSet = true; m_streamArn.assign(value); } /** *

The ARN for a specific Kinesis data stream.

*/ inline KinesisDataStreamDestination& WithStreamArn(const Aws::String& value) { SetStreamArn(value); return *this;} /** *

The ARN for a specific Kinesis data stream.

*/ inline KinesisDataStreamDestination& WithStreamArn(Aws::String&& value) { SetStreamArn(std::move(value)); return *this;} /** *

The ARN for a specific Kinesis data stream.

*/ inline KinesisDataStreamDestination& WithStreamArn(const char* value) { SetStreamArn(value); return *this;} /** *

The current status of replication.

*/ inline const DestinationStatus& GetDestinationStatus() const{ return m_destinationStatus; } /** *

The current status of replication.

*/ inline bool DestinationStatusHasBeenSet() const { return m_destinationStatusHasBeenSet; } /** *

The current status of replication.

*/ inline void SetDestinationStatus(const DestinationStatus& value) { m_destinationStatusHasBeenSet = true; m_destinationStatus = value; } /** *

The current status of replication.

*/ inline void SetDestinationStatus(DestinationStatus&& value) { m_destinationStatusHasBeenSet = true; m_destinationStatus = std::move(value); } /** *

The current status of replication.

*/ inline KinesisDataStreamDestination& WithDestinationStatus(const DestinationStatus& value) { SetDestinationStatus(value); return *this;} /** *

The current status of replication.

*/ inline KinesisDataStreamDestination& WithDestinationStatus(DestinationStatus&& value) { SetDestinationStatus(std::move(value)); return *this;} /** *

The human-readable string that corresponds to the replica status.

*/ inline const Aws::String& GetDestinationStatusDescription() const{ return m_destinationStatusDescription; } /** *

The human-readable string that corresponds to the replica status.

*/ inline bool DestinationStatusDescriptionHasBeenSet() const { return m_destinationStatusDescriptionHasBeenSet; } /** *

The human-readable string that corresponds to the replica status.

*/ inline void SetDestinationStatusDescription(const Aws::String& value) { m_destinationStatusDescriptionHasBeenSet = true; m_destinationStatusDescription = value; } /** *

The human-readable string that corresponds to the replica status.

*/ inline void SetDestinationStatusDescription(Aws::String&& value) { m_destinationStatusDescriptionHasBeenSet = true; m_destinationStatusDescription = std::move(value); } /** *

The human-readable string that corresponds to the replica status.

*/ inline void SetDestinationStatusDescription(const char* value) { m_destinationStatusDescriptionHasBeenSet = true; m_destinationStatusDescription.assign(value); } /** *

The human-readable string that corresponds to the replica status.

*/ inline KinesisDataStreamDestination& WithDestinationStatusDescription(const Aws::String& value) { SetDestinationStatusDescription(value); return *this;} /** *

The human-readable string that corresponds to the replica status.

*/ inline KinesisDataStreamDestination& WithDestinationStatusDescription(Aws::String&& value) { SetDestinationStatusDescription(std::move(value)); return *this;} /** *

The human-readable string that corresponds to the replica status.

*/ inline KinesisDataStreamDestination& WithDestinationStatusDescription(const char* value) { SetDestinationStatusDescription(value); return *this;} private: Aws::String m_streamArn; bool m_streamArnHasBeenSet = false; DestinationStatus m_destinationStatus; bool m_destinationStatusHasBeenSet = false; Aws::String m_destinationStatusDescription; bool m_destinationStatusDescriptionHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws