This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-iotanalytics/include/aws/iotanalytics/model/ChannelActivity.h

178 lines
5.1 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>The activity that determines the source of the messages to be
* processed.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ChannelActivity">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API ChannelActivity
{
public:
ChannelActivity();
ChannelActivity(Aws::Utils::Json::JsonView jsonValue);
ChannelActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the 'channel' activity.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the 'channel' activity.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the 'channel' activity.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the 'channel' activity.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the 'channel' activity.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the 'channel' activity.</p>
*/
inline ChannelActivity& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the 'channel' activity.</p>
*/
inline ChannelActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the 'channel' activity.</p>
*/
inline ChannelActivity& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline const Aws::String& GetChannelName() const{ return m_channelName; }
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline ChannelActivity& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline ChannelActivity& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline ChannelActivity& WithChannelName(const char* value) { SetChannelName(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline const Aws::String& GetNext() const{ return m_next; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline ChannelActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline ChannelActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline ChannelActivity& WithNext(const char* value) { SetNext(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_channelName;
bool m_channelNameHasBeenSet;
Aws::String m_next;
bool m_nextHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws