/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The activity that determines the source of the messages to be
* processed.See Also:
AWS
* API Reference
The name of the channel activity.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the channel activity.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the channel activity.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the channel activity.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the channel activity.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the channel activity.
*/ inline ChannelActivity& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the channel activity.
*/ inline ChannelActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the channel activity.
*/ inline ChannelActivity& WithName(const char* value) { SetName(value); return *this;} /** *The name of the channel from which the messages are processed.
*/ inline const Aws::String& GetChannelName() const{ return m_channelName; } /** *The name of the channel from which the messages are processed.
*/ inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; } /** *The name of the channel from which the messages are processed.
*/ inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; } /** *The name of the channel from which the messages are processed.
*/ inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); } /** *The name of the channel from which the messages are processed.
*/ inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); } /** *The name of the channel from which the messages are processed.
*/ inline ChannelActivity& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;} /** *The name of the channel from which the messages are processed.
*/ inline ChannelActivity& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;} /** *The name of the channel from which the messages are processed.
*/ inline ChannelActivity& WithChannelName(const char* value) { SetChannelName(value); return *this;} /** *The next activity in the pipeline.
*/ inline const Aws::String& GetNext() const{ return m_next; } /** *The next activity in the pipeline.
*/ inline bool NextHasBeenSet() const { return m_nextHasBeenSet; } /** *The next activity in the pipeline.
*/ inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; } /** *The next activity in the pipeline.
*/ inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); } /** *The next activity in the pipeline.
*/ inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); } /** *The next activity in the pipeline.
*/ inline ChannelActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;} /** *The next activity in the pipeline.
*/ inline ChannelActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;} /** *The next activity in the pipeline.
*/ inline ChannelActivity& WithNext(const char* value) { SetNext(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_channelName; bool m_channelNameHasBeenSet = false; Aws::String m_next; bool m_nextHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws