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

The details of a channel flow.

See Also:

AWS * API Reference

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

The ARN of the channel flow.

*/ inline const Aws::String& GetChannelFlowArn() const{ return m_channelFlowArn; } /** *

The ARN of the channel flow.

*/ inline bool ChannelFlowArnHasBeenSet() const { return m_channelFlowArnHasBeenSet; } /** *

The ARN of the channel flow.

*/ inline void SetChannelFlowArn(const Aws::String& value) { m_channelFlowArnHasBeenSet = true; m_channelFlowArn = value; } /** *

The ARN of the channel flow.

*/ inline void SetChannelFlowArn(Aws::String&& value) { m_channelFlowArnHasBeenSet = true; m_channelFlowArn = std::move(value); } /** *

The ARN of the channel flow.

*/ inline void SetChannelFlowArn(const char* value) { m_channelFlowArnHasBeenSet = true; m_channelFlowArn.assign(value); } /** *

The ARN of the channel flow.

*/ inline ChannelFlow& WithChannelFlowArn(const Aws::String& value) { SetChannelFlowArn(value); return *this;} /** *

The ARN of the channel flow.

*/ inline ChannelFlow& WithChannelFlowArn(Aws::String&& value) { SetChannelFlowArn(std::move(value)); return *this;} /** *

The ARN of the channel flow.

*/ inline ChannelFlow& WithChannelFlowArn(const char* value) { SetChannelFlowArn(value); return *this;} /** *

Information about the processor Lambda functions.

*/ inline const Aws::Vector& GetProcessors() const{ return m_processors; } /** *

Information about the processor Lambda functions.

*/ inline bool ProcessorsHasBeenSet() const { return m_processorsHasBeenSet; } /** *

Information about the processor Lambda functions.

*/ inline void SetProcessors(const Aws::Vector& value) { m_processorsHasBeenSet = true; m_processors = value; } /** *

Information about the processor Lambda functions.

*/ inline void SetProcessors(Aws::Vector&& value) { m_processorsHasBeenSet = true; m_processors = std::move(value); } /** *

Information about the processor Lambda functions.

*/ inline ChannelFlow& WithProcessors(const Aws::Vector& value) { SetProcessors(value); return *this;} /** *

Information about the processor Lambda functions.

*/ inline ChannelFlow& WithProcessors(Aws::Vector&& value) { SetProcessors(std::move(value)); return *this;} /** *

Information about the processor Lambda functions.

*/ inline ChannelFlow& AddProcessors(const Processor& value) { m_processorsHasBeenSet = true; m_processors.push_back(value); return *this; } /** *

Information about the processor Lambda functions.

*/ inline ChannelFlow& AddProcessors(Processor&& value) { m_processorsHasBeenSet = true; m_processors.push_back(std::move(value)); return *this; } /** *

The name of the channel flow.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the channel flow.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the channel flow.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the channel flow.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the channel flow.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the channel flow.

*/ inline ChannelFlow& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the channel flow.

*/ inline ChannelFlow& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the channel flow.

*/ inline ChannelFlow& WithName(const char* value) { SetName(value); return *this;} /** *

The time at which the channel flow was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *

The time at which the channel flow was created.

*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *

The time at which the channel flow was created.

*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *

The time at which the channel flow was created.

*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *

The time at which the channel flow was created.

*/ inline ChannelFlow& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *

The time at which the channel flow was created.

*/ inline ChannelFlow& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *

The time at which a channel flow was updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; } /** *

The time at which a channel flow was updated.

*/ inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; } /** *

The time at which a channel flow was updated.

*/ inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; } /** *

The time at which a channel flow was updated.

*/ inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); } /** *

The time at which a channel flow was updated.

*/ inline ChannelFlow& WithLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetLastUpdatedTimestamp(value); return *this;} /** *

The time at which a channel flow was updated.

*/ inline ChannelFlow& WithLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimestamp(std::move(value)); return *this;} private: Aws::String m_channelFlowArn; bool m_channelFlowArnHasBeenSet = false; Aws::Vector m_processors; bool m_processorsHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Utils::DateTime m_createdTimestamp; bool m_createdTimestampHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTimestamp; bool m_lastUpdatedTimestampHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMessaging } // namespace Aws