AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
HashKeyRange.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesis/Kinesis_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Kinesis {
20namespace Model {
21
29 public:
30 AWS_KINESIS_API HashKeyRange() = default;
31 AWS_KINESIS_API HashKeyRange(Aws::Utils::Json::JsonView jsonValue);
33 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetStartingHashKey() const { return m_startingHashKey; }
40 inline bool StartingHashKeyHasBeenSet() const { return m_startingHashKeyHasBeenSet; }
41 template <typename StartingHashKeyT = Aws::String>
42 void SetStartingHashKey(StartingHashKeyT&& value) {
43 m_startingHashKeyHasBeenSet = true;
44 m_startingHashKey = std::forward<StartingHashKeyT>(value);
45 }
46 template <typename StartingHashKeyT = Aws::String>
47 HashKeyRange& WithStartingHashKey(StartingHashKeyT&& value) {
48 SetStartingHashKey(std::forward<StartingHashKeyT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetEndingHashKey() const { return m_endingHashKey; }
58 inline bool EndingHashKeyHasBeenSet() const { return m_endingHashKeyHasBeenSet; }
59 template <typename EndingHashKeyT = Aws::String>
60 void SetEndingHashKey(EndingHashKeyT&& value) {
61 m_endingHashKeyHasBeenSet = true;
62 m_endingHashKey = std::forward<EndingHashKeyT>(value);
63 }
64 template <typename EndingHashKeyT = Aws::String>
65 HashKeyRange& WithEndingHashKey(EndingHashKeyT&& value) {
66 SetEndingHashKey(std::forward<EndingHashKeyT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_startingHashKey;
72
73 Aws::String m_endingHashKey;
74 bool m_startingHashKeyHasBeenSet = false;
75 bool m_endingHashKeyHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Kinesis
80} // namespace Aws
AWS_KINESIS_API HashKeyRange & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStartingHashKey() const
const Aws::String & GetEndingHashKey() const
void SetEndingHashKey(EndingHashKeyT &&value)
AWS_KINESIS_API HashKeyRange(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStartingHashKey(StartingHashKeyT &&value)
AWS_KINESIS_API HashKeyRange()=default
HashKeyRange & WithEndingHashKey(EndingHashKeyT &&value)
HashKeyRange & WithStartingHashKey(StartingHashKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue