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/dynamodbstreams/DynamoDBStreams_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 DynamoDBStreams
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DYNAMODBSTREAMS_API SequenceNumberRange();
36 AWS_DYNAMODBSTREAMS_API SequenceNumberRange(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DYNAMODBSTREAMS_API SequenceNumberRange& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DYNAMODBSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetStartingSequenceNumber() const{ return m_startingSequenceNumber; }
47 inline bool StartingSequenceNumberHasBeenSet() const { return m_startingSequenceNumberHasBeenSet; }
48 inline void SetStartingSequenceNumber(const Aws::String& value) { m_startingSequenceNumberHasBeenSet = true; m_startingSequenceNumber = value; }
49 inline void SetStartingSequenceNumber(Aws::String&& value) { m_startingSequenceNumberHasBeenSet = true; m_startingSequenceNumber = std::move(value); }
50 inline void SetStartingSequenceNumber(const char* value) { m_startingSequenceNumberHasBeenSet = true; m_startingSequenceNumber.assign(value); }
52 inline SequenceNumberRange& WithStartingSequenceNumber(Aws::String&& value) { SetStartingSequenceNumber(std::move(value)); return *this;}
53 inline SequenceNumberRange& WithStartingSequenceNumber(const char* value) { SetStartingSequenceNumber(value); return *this;}
55
57
61 inline const Aws::String& GetEndingSequenceNumber() const{ return m_endingSequenceNumber; }
62 inline bool EndingSequenceNumberHasBeenSet() const { return m_endingSequenceNumberHasBeenSet; }
63 inline void SetEndingSequenceNumber(const Aws::String& value) { m_endingSequenceNumberHasBeenSet = true; m_endingSequenceNumber = value; }
64 inline void SetEndingSequenceNumber(Aws::String&& value) { m_endingSequenceNumberHasBeenSet = true; m_endingSequenceNumber = std::move(value); }
65 inline void SetEndingSequenceNumber(const char* value) { m_endingSequenceNumberHasBeenSet = true; m_endingSequenceNumber.assign(value); }
67 inline SequenceNumberRange& WithEndingSequenceNumber(Aws::String&& value) { SetEndingSequenceNumber(std::move(value)); return *this;}
68 inline SequenceNumberRange& WithEndingSequenceNumber(const char* value) { SetEndingSequenceNumber(value); return *this;}
70 private:
71
72 Aws::String m_startingSequenceNumber;
73 bool m_startingSequenceNumberHasBeenSet = false;
74
75 Aws::String m_endingSequenceNumber;
76 bool m_endingSequenceNumberHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace DynamoDBStreams
81} // namespace Aws
void SetStartingSequenceNumber(const Aws::String &value)
SequenceNumberRange & WithEndingSequenceNumber(const char *value)
void SetEndingSequenceNumber(const Aws::String &value)
SequenceNumberRange & WithEndingSequenceNumber(Aws::String &&value)
SequenceNumberRange & WithStartingSequenceNumber(Aws::String &&value)
SequenceNumberRange & WithStartingSequenceNumber(const Aws::String &value)
AWS_DYNAMODBSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODBSTREAMS_API SequenceNumberRange(Aws::Utils::Json::JsonView jsonValue)
SequenceNumberRange & WithEndingSequenceNumber(const Aws::String &value)
SequenceNumberRange & WithStartingSequenceNumber(const char *value)
AWS_DYNAMODBSTREAMS_API SequenceNumberRange & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue