AWS SDK for C++  1.9.103
AWS SDK for C++
SequenceNumberRange.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Kinesis
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetStartingSequenceNumber() const{ return m_startingSequenceNumber; }
45 
49  inline bool StartingSequenceNumberHasBeenSet() const { return m_startingSequenceNumberHasBeenSet; }
50 
54  inline void SetStartingSequenceNumber(const Aws::String& value) { m_startingSequenceNumberHasBeenSet = true; m_startingSequenceNumber = value; }
55 
59  inline void SetStartingSequenceNumber(Aws::String&& value) { m_startingSequenceNumberHasBeenSet = true; m_startingSequenceNumber = std::move(value); }
60 
64  inline void SetStartingSequenceNumber(const char* value) { m_startingSequenceNumberHasBeenSet = true; m_startingSequenceNumber.assign(value); }
65 
69  inline SequenceNumberRange& WithStartingSequenceNumber(const Aws::String& value) { SetStartingSequenceNumber(value); return *this;}
70 
74  inline SequenceNumberRange& WithStartingSequenceNumber(Aws::String&& value) { SetStartingSequenceNumber(std::move(value)); return *this;}
75 
79  inline SequenceNumberRange& WithStartingSequenceNumber(const char* value) { SetStartingSequenceNumber(value); return *this;}
80 
81 
86  inline const Aws::String& GetEndingSequenceNumber() const{ return m_endingSequenceNumber; }
87 
92  inline bool EndingSequenceNumberHasBeenSet() const { return m_endingSequenceNumberHasBeenSet; }
93 
98  inline void SetEndingSequenceNumber(const Aws::String& value) { m_endingSequenceNumberHasBeenSet = true; m_endingSequenceNumber = value; }
99 
104  inline void SetEndingSequenceNumber(Aws::String&& value) { m_endingSequenceNumberHasBeenSet = true; m_endingSequenceNumber = std::move(value); }
105 
110  inline void SetEndingSequenceNumber(const char* value) { m_endingSequenceNumberHasBeenSet = true; m_endingSequenceNumber.assign(value); }
111 
116  inline SequenceNumberRange& WithEndingSequenceNumber(const Aws::String& value) { SetEndingSequenceNumber(value); return *this;}
117 
122  inline SequenceNumberRange& WithEndingSequenceNumber(Aws::String&& value) { SetEndingSequenceNumber(std::move(value)); return *this;}
123 
128  inline SequenceNumberRange& WithEndingSequenceNumber(const char* value) { SetEndingSequenceNumber(value); return *this;}
129 
130  private:
131 
132  Aws::String m_startingSequenceNumber;
133  bool m_startingSequenceNumberHasBeenSet;
134 
135  Aws::String m_endingSequenceNumber;
136  bool m_endingSequenceNumberHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace Kinesis
141 } // namespace Aws
Aws::Kinesis::Model::SequenceNumberRange::SetEndingSequenceNumber
void SetEndingSequenceNumber(const char *value)
Definition: SequenceNumberRange.h:110
Aws::Kinesis::Model::SequenceNumberRange::WithEndingSequenceNumber
SequenceNumberRange & WithEndingSequenceNumber(const char *value)
Definition: SequenceNumberRange.h:128
Aws::Kinesis::Model::SequenceNumberRange::StartingSequenceNumberHasBeenSet
bool StartingSequenceNumberHasBeenSet() const
Definition: SequenceNumberRange.h:49
Aws::Kinesis::Model::SequenceNumberRange::SequenceNumberRange
SequenceNumberRange(Aws::Utils::Json::JsonView jsonValue)
Aws::Kinesis::Model::SequenceNumberRange::WithEndingSequenceNumber
SequenceNumberRange & WithEndingSequenceNumber(const Aws::String &value)
Definition: SequenceNumberRange.h:116
Aws::Kinesis::Model::SequenceNumberRange::WithStartingSequenceNumber
SequenceNumberRange & WithStartingSequenceNumber(Aws::String &&value)
Definition: SequenceNumberRange.h:74
Aws::Kinesis::Model::SequenceNumberRange::GetStartingSequenceNumber
const Aws::String & GetStartingSequenceNumber() const
Definition: SequenceNumberRange.h:44
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::SequenceNumberRange::SetStartingSequenceNumber
void SetStartingSequenceNumber(const char *value)
Definition: SequenceNumberRange.h:64
Aws::Kinesis::Model::SequenceNumberRange::operator=
SequenceNumberRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kinesis::Model::SequenceNumberRange::WithStartingSequenceNumber
SequenceNumberRange & WithStartingSequenceNumber(const char *value)
Definition: SequenceNumberRange.h:79
Aws::Kinesis::Model::SequenceNumberRange::SetStartingSequenceNumber
void SetStartingSequenceNumber(const Aws::String &value)
Definition: SequenceNumberRange.h:54
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Kinesis::Model::SequenceNumberRange::SetStartingSequenceNumber
void SetStartingSequenceNumber(Aws::String &&value)
Definition: SequenceNumberRange.h:59
Aws::Kinesis::Model::SequenceNumberRange
Definition: SequenceNumberRange.h:33
Kinesis_EXPORTS.h
Aws::Kinesis::Model::SequenceNumberRange::WithStartingSequenceNumber
SequenceNumberRange & WithStartingSequenceNumber(const Aws::String &value)
Definition: SequenceNumberRange.h:69
Aws::Kinesis::Model::SequenceNumberRange::EndingSequenceNumberHasBeenSet
bool EndingSequenceNumberHasBeenSet() const
Definition: SequenceNumberRange.h:92
Aws
Definition: AccessManagementClient.h:15
Aws::Kinesis::Model::SequenceNumberRange::SetEndingSequenceNumber
void SetEndingSequenceNumber(const Aws::String &value)
Definition: SequenceNumberRange.h:98
Aws::Kinesis::Model::SequenceNumberRange::SequenceNumberRange
SequenceNumberRange()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kinesis::Model::SequenceNumberRange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kinesis::Model::SequenceNumberRange::GetEndingSequenceNumber
const Aws::String & GetEndingSequenceNumber() const
Definition: SequenceNumberRange.h:86
Aws::Kinesis::Model::SequenceNumberRange::SetEndingSequenceNumber
void SetEndingSequenceNumber(Aws::String &&value)
Definition: SequenceNumberRange.h:104
Aws::Kinesis::Model::SequenceNumberRange::WithEndingSequenceNumber
SequenceNumberRange & WithEndingSequenceNumber(Aws::String &&value)
Definition: SequenceNumberRange.h:122