AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
KinesisParameters.h
1
6#pragma once
7#include <aws/scheduler/Scheduler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Scheduler
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SCHEDULER_API KinesisParameters() = default;
37 AWS_SCHEDULER_API KinesisParameters(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const Aws::String& GetPartitionKey() const { return m_partitionKey; }
51 inline bool PartitionKeyHasBeenSet() const { return m_partitionKeyHasBeenSet; }
52 template<typename PartitionKeyT = Aws::String>
53 void SetPartitionKey(PartitionKeyT&& value) { m_partitionKeyHasBeenSet = true; m_partitionKey = std::forward<PartitionKeyT>(value); }
54 template<typename PartitionKeyT = Aws::String>
55 KinesisParameters& WithPartitionKey(PartitionKeyT&& value) { SetPartitionKey(std::forward<PartitionKeyT>(value)); return *this;}
57 private:
58
59 Aws::String m_partitionKey;
60 bool m_partitionKeyHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace Scheduler
65} // 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