/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Scheduler { namespace Model { /** *

The templated target type for the Amazon Kinesis PutRecord * API operation.

See Also:

AWS * API Reference

*/ class KinesisParameters { public: AWS_SCHEDULER_API KinesisParameters(); AWS_SCHEDULER_API KinesisParameters(Aws::Utils::Json::JsonView jsonValue); AWS_SCHEDULER_API KinesisParameters& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Specifies the shard to which EventBridge Scheduler sends the event. For more * information, see Amazon * Kinesis Data Streams terminology and concepts in the Amazon Kinesis * Streams Developer Guide.

*/ inline const Aws::String& GetPartitionKey() const{ return m_partitionKey; } /** *

Specifies the shard to which EventBridge Scheduler sends the event. For more * information, see Amazon * Kinesis Data Streams terminology and concepts in the Amazon Kinesis * Streams Developer Guide.

*/ inline bool PartitionKeyHasBeenSet() const { return m_partitionKeyHasBeenSet; } /** *

Specifies the shard to which EventBridge Scheduler sends the event. For more * information, see Amazon * Kinesis Data Streams terminology and concepts in the Amazon Kinesis * Streams Developer Guide.

*/ inline void SetPartitionKey(const Aws::String& value) { m_partitionKeyHasBeenSet = true; m_partitionKey = value; } /** *

Specifies the shard to which EventBridge Scheduler sends the event. For more * information, see Amazon * Kinesis Data Streams terminology and concepts in the Amazon Kinesis * Streams Developer Guide.

*/ inline void SetPartitionKey(Aws::String&& value) { m_partitionKeyHasBeenSet = true; m_partitionKey = std::move(value); } /** *

Specifies the shard to which EventBridge Scheduler sends the event. For more * information, see Amazon * Kinesis Data Streams terminology and concepts in the Amazon Kinesis * Streams Developer Guide.

*/ inline void SetPartitionKey(const char* value) { m_partitionKeyHasBeenSet = true; m_partitionKey.assign(value); } /** *

Specifies the shard to which EventBridge Scheduler sends the event. For more * information, see Amazon * Kinesis Data Streams terminology and concepts in the Amazon Kinesis * Streams Developer Guide.

*/ inline KinesisParameters& WithPartitionKey(const Aws::String& value) { SetPartitionKey(value); return *this;} /** *

Specifies the shard to which EventBridge Scheduler sends the event. For more * information, see Amazon * Kinesis Data Streams terminology and concepts in the Amazon Kinesis * Streams Developer Guide.

*/ inline KinesisParameters& WithPartitionKey(Aws::String&& value) { SetPartitionKey(std::move(value)); return *this;} /** *

Specifies the shard to which EventBridge Scheduler sends the event. For more * information, see Amazon * Kinesis Data Streams terminology and concepts in the Amazon Kinesis * Streams Developer Guide.

*/ inline KinesisParameters& WithPartitionKey(const char* value) { SetPartitionKey(value); return *this;} private: Aws::String m_partitionKey; bool m_partitionKeyHasBeenSet = false; }; } // namespace Model } // namespace Scheduler } // namespace Aws