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

The range of possible sequence numbers for the shard.

See * Also:

AWS * API Reference

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

The starting sequence number for the range.

*/ inline const Aws::String& GetStartingSequenceNumber() const{ return m_startingSequenceNumber; } /** *

The starting sequence number for the range.

*/ inline bool StartingSequenceNumberHasBeenSet() const { return m_startingSequenceNumberHasBeenSet; } /** *

The starting sequence number for the range.

*/ inline void SetStartingSequenceNumber(const Aws::String& value) { m_startingSequenceNumberHasBeenSet = true; m_startingSequenceNumber = value; } /** *

The starting sequence number for the range.

*/ inline void SetStartingSequenceNumber(Aws::String&& value) { m_startingSequenceNumberHasBeenSet = true; m_startingSequenceNumber = std::move(value); } /** *

The starting sequence number for the range.

*/ inline void SetStartingSequenceNumber(const char* value) { m_startingSequenceNumberHasBeenSet = true; m_startingSequenceNumber.assign(value); } /** *

The starting sequence number for the range.

*/ inline SequenceNumberRange& WithStartingSequenceNumber(const Aws::String& value) { SetStartingSequenceNumber(value); return *this;} /** *

The starting sequence number for the range.

*/ inline SequenceNumberRange& WithStartingSequenceNumber(Aws::String&& value) { SetStartingSequenceNumber(std::move(value)); return *this;} /** *

The starting sequence number for the range.

*/ inline SequenceNumberRange& WithStartingSequenceNumber(const char* value) { SetStartingSequenceNumber(value); return *this;} /** *

The ending sequence number for the range. Shards that are in the OPEN state * have an ending sequence number of null.

*/ inline const Aws::String& GetEndingSequenceNumber() const{ return m_endingSequenceNumber; } /** *

The ending sequence number for the range. Shards that are in the OPEN state * have an ending sequence number of null.

*/ inline bool EndingSequenceNumberHasBeenSet() const { return m_endingSequenceNumberHasBeenSet; } /** *

The ending sequence number for the range. Shards that are in the OPEN state * have an ending sequence number of null.

*/ inline void SetEndingSequenceNumber(const Aws::String& value) { m_endingSequenceNumberHasBeenSet = true; m_endingSequenceNumber = value; } /** *

The ending sequence number for the range. Shards that are in the OPEN state * have an ending sequence number of null.

*/ inline void SetEndingSequenceNumber(Aws::String&& value) { m_endingSequenceNumberHasBeenSet = true; m_endingSequenceNumber = std::move(value); } /** *

The ending sequence number for the range. Shards that are in the OPEN state * have an ending sequence number of null.

*/ inline void SetEndingSequenceNumber(const char* value) { m_endingSequenceNumberHasBeenSet = true; m_endingSequenceNumber.assign(value); } /** *

The ending sequence number for the range. Shards that are in the OPEN state * have an ending sequence number of null.

*/ inline SequenceNumberRange& WithEndingSequenceNumber(const Aws::String& value) { SetEndingSequenceNumber(value); return *this;} /** *

The ending sequence number for the range. Shards that are in the OPEN state * have an ending sequence number of null.

*/ inline SequenceNumberRange& WithEndingSequenceNumber(Aws::String&& value) { SetEndingSequenceNumber(std::move(value)); return *this;} /** *

The ending sequence number for the range. Shards that are in the OPEN state * have an ending sequence number of null.

*/ inline SequenceNumberRange& WithEndingSequenceNumber(const char* value) { SetEndingSequenceNumber(value); return *this;} private: Aws::String m_startingSequenceNumber; bool m_startingSequenceNumberHasBeenSet; Aws::String m_endingSequenceNumber; bool m_endingSequenceNumberHasBeenSet; }; } // namespace Model } // namespace Kinesis } // namespace Aws