AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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