olp-cpp-sdk
1.22.0
|
Represents a consumer configuration entry of one stream layer. More...
#include <ConsumerProperties.h>
Public Member Functions | |
ConsumerOption (std::string key, std::string value) | |
Creates the ConsumerOption instance. More... | |
ConsumerOption (std::string key, const char *value) | |
Creates the ConsumerOption instance. More... | |
ConsumerOption (std::string key, int32_t value) | |
Creates the ConsumerOption instance. More... | |
ConsumerOption (std::string key, bool value) | |
Creates the ConsumerOption instance. More... | |
const std::string & | GetKey () const |
Gets the key of the consumer configuration entry. More... | |
const std::string & | GetValue () const |
Gets the value of the consumer configuration entry. More... | |
Represents a consumer configuration entry of one stream layer.
The accepted variable types are string, int32, or bool.
|
inline |
Creates the ConsumerOption
instance.
key | The string representation of the key. |
value | The string representation of the key value. |
|
inline |
Creates the ConsumerOption
instance.
key | The string representation of the key. |
value | The string representation of the key value. |
|
inline |
Creates the ConsumerOption
instance.
key | The string representation of the key. |
value | The value of the key represented as an integer. |
|
inline |
Creates the ConsumerOption
instance.
key | The string representation of the key. |
value | The value of the key represented as a boolean. |
|
inline |
Gets the key of the consumer configuration entry.
|
inline |
Gets the value of the consumer configuration entry.