AWS SDK for C++  1.9.104
AWS SDK for C++
HashKeyRange.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& GetStartingHashKey() const{ return m_startingHashKey; }
45 
49  inline bool StartingHashKeyHasBeenSet() const { return m_startingHashKeyHasBeenSet; }
50 
54  inline void SetStartingHashKey(const Aws::String& value) { m_startingHashKeyHasBeenSet = true; m_startingHashKey = value; }
55 
59  inline void SetStartingHashKey(Aws::String&& value) { m_startingHashKeyHasBeenSet = true; m_startingHashKey = std::move(value); }
60 
64  inline void SetStartingHashKey(const char* value) { m_startingHashKeyHasBeenSet = true; m_startingHashKey.assign(value); }
65 
69  inline HashKeyRange& WithStartingHashKey(const Aws::String& value) { SetStartingHashKey(value); return *this;}
70 
74  inline HashKeyRange& WithStartingHashKey(Aws::String&& value) { SetStartingHashKey(std::move(value)); return *this;}
75 
79  inline HashKeyRange& WithStartingHashKey(const char* value) { SetStartingHashKey(value); return *this;}
80 
81 
85  inline const Aws::String& GetEndingHashKey() const{ return m_endingHashKey; }
86 
90  inline bool EndingHashKeyHasBeenSet() const { return m_endingHashKeyHasBeenSet; }
91 
95  inline void SetEndingHashKey(const Aws::String& value) { m_endingHashKeyHasBeenSet = true; m_endingHashKey = value; }
96 
100  inline void SetEndingHashKey(Aws::String&& value) { m_endingHashKeyHasBeenSet = true; m_endingHashKey = std::move(value); }
101 
105  inline void SetEndingHashKey(const char* value) { m_endingHashKeyHasBeenSet = true; m_endingHashKey.assign(value); }
106 
110  inline HashKeyRange& WithEndingHashKey(const Aws::String& value) { SetEndingHashKey(value); return *this;}
111 
115  inline HashKeyRange& WithEndingHashKey(Aws::String&& value) { SetEndingHashKey(std::move(value)); return *this;}
116 
120  inline HashKeyRange& WithEndingHashKey(const char* value) { SetEndingHashKey(value); return *this;}
121 
122  private:
123 
124  Aws::String m_startingHashKey;
125  bool m_startingHashKeyHasBeenSet;
126 
127  Aws::String m_endingHashKey;
128  bool m_endingHashKeyHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace Kinesis
133 } // namespace Aws
Aws::Kinesis::Model::HashKeyRange::HashKeyRange
HashKeyRange(Aws::Utils::Json::JsonView jsonValue)
Aws::Kinesis::Model::HashKeyRange::StartingHashKeyHasBeenSet
bool StartingHashKeyHasBeenSet() const
Definition: HashKeyRange.h:49
Aws::Kinesis::Model::HashKeyRange::operator=
HashKeyRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kinesis::Model::HashKeyRange::WithStartingHashKey
HashKeyRange & WithStartingHashKey(Aws::String &&value)
Definition: HashKeyRange.h:74
Aws::Kinesis::Model::HashKeyRange::WithEndingHashKey
HashKeyRange & WithEndingHashKey(const Aws::String &value)
Definition: HashKeyRange.h:110
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::HashKeyRange::SetStartingHashKey
void SetStartingHashKey(Aws::String &&value)
Definition: HashKeyRange.h:59
Aws::Kinesis::Model::HashKeyRange::WithEndingHashKey
HashKeyRange & WithEndingHashKey(const char *value)
Definition: HashKeyRange.h:120
Aws::Kinesis::Model::HashKeyRange::SetStartingHashKey
void SetStartingHashKey(const Aws::String &value)
Definition: HashKeyRange.h:54
Aws::Kinesis::Model::HashKeyRange::WithStartingHashKey
HashKeyRange & WithStartingHashKey(const char *value)
Definition: HashKeyRange.h:79
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Kinesis::Model::HashKeyRange::SetEndingHashKey
void SetEndingHashKey(Aws::String &&value)
Definition: HashKeyRange.h:100
Aws::Kinesis::Model::HashKeyRange::GetEndingHashKey
const Aws::String & GetEndingHashKey() const
Definition: HashKeyRange.h:85
Kinesis_EXPORTS.h
Aws::Kinesis::Model::HashKeyRange::GetStartingHashKey
const Aws::String & GetStartingHashKey() const
Definition: HashKeyRange.h:44
Aws::Kinesis::Model::HashKeyRange
Definition: HashKeyRange.h:33
Aws::Kinesis::Model::HashKeyRange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kinesis::Model::HashKeyRange::WithStartingHashKey
HashKeyRange & WithStartingHashKey(const Aws::String &value)
Definition: HashKeyRange.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::Kinesis::Model::HashKeyRange::WithEndingHashKey
HashKeyRange & WithEndingHashKey(Aws::String &&value)
Definition: HashKeyRange.h:115
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kinesis::Model::HashKeyRange::SetStartingHashKey
void SetStartingHashKey(const char *value)
Definition: HashKeyRange.h:64
Aws::Kinesis::Model::HashKeyRange::HashKeyRange
HashKeyRange()
Aws::Kinesis::Model::HashKeyRange::SetEndingHashKey
void SetEndingHashKey(const Aws::String &value)
Definition: HashKeyRange.h:95
Aws::Kinesis::Model::HashKeyRange::EndingHashKeyHasBeenSet
bool EndingHashKeyHasBeenSet() const
Definition: HashKeyRange.h:90
Aws::Kinesis::Model::HashKeyRange::SetEndingHashKey
void SetEndingHashKey(const char *value)
Definition: HashKeyRange.h:105