/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace ChimeSDKMessaging { namespace Model { /** */ class CreateChannelFlowRequest : public ChimeSDKMessagingRequest { public: AWS_CHIMESDKMESSAGING_API CreateChannelFlowRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateChannelFlow"; } AWS_CHIMESDKMESSAGING_API Aws::String SerializePayload() const override; /** *

The ARN of the channel flow request.

*/ inline const Aws::String& GetAppInstanceArn() const{ return m_appInstanceArn; } /** *

The ARN of the channel flow request.

*/ inline bool AppInstanceArnHasBeenSet() const { return m_appInstanceArnHasBeenSet; } /** *

The ARN of the channel flow request.

*/ inline void SetAppInstanceArn(const Aws::String& value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn = value; } /** *

The ARN of the channel flow request.

*/ inline void SetAppInstanceArn(Aws::String&& value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn = std::move(value); } /** *

The ARN of the channel flow request.

*/ inline void SetAppInstanceArn(const char* value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn.assign(value); } /** *

The ARN of the channel flow request.

*/ inline CreateChannelFlowRequest& WithAppInstanceArn(const Aws::String& value) { SetAppInstanceArn(value); return *this;} /** *

The ARN of the channel flow request.

*/ inline CreateChannelFlowRequest& WithAppInstanceArn(Aws::String&& value) { SetAppInstanceArn(std::move(value)); return *this;} /** *

The ARN of the channel flow request.

*/ inline CreateChannelFlowRequest& WithAppInstanceArn(const char* value) { SetAppInstanceArn(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 CreateChannelFlowRequest& WithProcessors(const Aws::Vector& value) { SetProcessors(value); return *this;} /** *

Information about the processor Lambda functions.

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

Information about the processor Lambda functions.

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

Information about the processor Lambda functions.

*/ inline CreateChannelFlowRequest& 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 CreateChannelFlowRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the channel flow.

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

The name of the channel flow.

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

The tags for the creation request.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

The tags for the creation request.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags for the creation request.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags for the creation request.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags for the creation request.

*/ inline CreateChannelFlowRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

The tags for the creation request.

*/ inline CreateChannelFlowRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

The tags for the creation request.

*/ inline CreateChannelFlowRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

The tags for the creation request.

*/ inline CreateChannelFlowRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *

The client token for the request. An Idempotency token.

*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *

The client token for the request. An Idempotency token.

*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *

The client token for the request. An Idempotency token.

*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *

The client token for the request. An Idempotency token.

*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *

The client token for the request. An Idempotency token.

*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *

The client token for the request. An Idempotency token.

*/ inline CreateChannelFlowRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *

The client token for the request. An Idempotency token.

*/ inline CreateChannelFlowRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *

The client token for the request. An Idempotency token.

*/ inline CreateChannelFlowRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} private: Aws::String m_appInstanceArn; bool m_appInstanceArnHasBeenSet = false; Aws::Vector m_processors; bool m_processorsHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMessaging } // namespace Aws