AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
KinesisParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/scheduler/Scheduler_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Scheduler {
20namespace Model {
21
30 public:
31 AWS_SCHEDULER_API KinesisParameters() = default;
32 AWS_SCHEDULER_API KinesisParameters(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
44 inline const Aws::String& GetPartitionKey() const { return m_partitionKey; }
45 inline bool PartitionKeyHasBeenSet() const { return m_partitionKeyHasBeenSet; }
46 template <typename PartitionKeyT = Aws::String>
47 void SetPartitionKey(PartitionKeyT&& value) {
48 m_partitionKeyHasBeenSet = true;
49 m_partitionKey = std::forward<PartitionKeyT>(value);
50 }
51 template <typename PartitionKeyT = Aws::String>
52 KinesisParameters& WithPartitionKey(PartitionKeyT&& value) {
53 SetPartitionKey(std::forward<PartitionKeyT>(value));
54 return *this;
55 }
57 private:
58 Aws::String m_partitionKey;
59 bool m_partitionKeyHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace Scheduler
64} // namespace Aws
AWS_SCHEDULER_API KinesisParameters(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPartitionKey() const
void SetPartitionKey(PartitionKeyT &&value)
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SCHEDULER_API KinesisParameters()=default
KinesisParameters & WithPartitionKey(PartitionKeyT &&value)
AWS_SCHEDULER_API KinesisParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue