AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SequenceNumberRange.h
1
6#pragma once
7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Kinesis
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_KINESIS_API SequenceNumberRange();
38 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetStartingSequenceNumber() const{ return m_startingSequenceNumber; }
46 inline bool StartingSequenceNumberHasBeenSet() const { return m_startingSequenceNumberHasBeenSet; }
47 inline void SetStartingSequenceNumber(const Aws::String& value) { m_startingSequenceNumberHasBeenSet = true; m_startingSequenceNumber = value; }
48 inline void SetStartingSequenceNumber(Aws::String&& value) { m_startingSequenceNumberHasBeenSet = true; m_startingSequenceNumber = std::move(value); }
49 inline void SetStartingSequenceNumber(const char* value) { m_startingSequenceNumberHasBeenSet = true; m_startingSequenceNumber.assign(value); }
51 inline SequenceNumberRange& WithStartingSequenceNumber(Aws::String&& value) { SetStartingSequenceNumber(std::move(value)); return *this;}
52 inline SequenceNumberRange& WithStartingSequenceNumber(const char* value) { SetStartingSequenceNumber(value); return *this;}
54
56
60 inline const Aws::String& GetEndingSequenceNumber() const{ return m_endingSequenceNumber; }
61 inline bool EndingSequenceNumberHasBeenSet() const { return m_endingSequenceNumberHasBeenSet; }
62 inline void SetEndingSequenceNumber(const Aws::String& value) { m_endingSequenceNumberHasBeenSet = true; m_endingSequenceNumber = value; }
63 inline void SetEndingSequenceNumber(Aws::String&& value) { m_endingSequenceNumberHasBeenSet = true; m_endingSequenceNumber = std::move(value); }
64 inline void SetEndingSequenceNumber(const char* value) { m_endingSequenceNumberHasBeenSet = true; m_endingSequenceNumber.assign(value); }
66 inline SequenceNumberRange& WithEndingSequenceNumber(Aws::String&& value) { SetEndingSequenceNumber(std::move(value)); return *this;}
67 inline SequenceNumberRange& WithEndingSequenceNumber(const char* value) { SetEndingSequenceNumber(value); return *this;}
69 private:
70
71 Aws::String m_startingSequenceNumber;
72 bool m_startingSequenceNumberHasBeenSet = false;
73
74 Aws::String m_endingSequenceNumber;
75 bool m_endingSequenceNumberHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Kinesis
80} // namespace Aws
AWS_KINESIS_API SequenceNumberRange & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndingSequenceNumber(Aws::String &&value)
SequenceNumberRange & WithEndingSequenceNumber(const Aws::String &value)
SequenceNumberRange & WithEndingSequenceNumber(const char *value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESIS_API SequenceNumberRange(Aws::Utils::Json::JsonView jsonValue)
SequenceNumberRange & WithStartingSequenceNumber(const Aws::String &value)
SequenceNumberRange & WithStartingSequenceNumber(const char *value)
void SetStartingSequenceNumber(const Aws::String &value)
SequenceNumberRange & WithEndingSequenceNumber(Aws::String &&value)
void SetStartingSequenceNumber(Aws::String &&value)
const Aws::String & GetEndingSequenceNumber() const
void SetEndingSequenceNumber(const Aws::String &value)
SequenceNumberRange & WithStartingSequenceNumber(Aws::String &&value)
const Aws::String & GetStartingSequenceNumber() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue