/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace ChimeSDKVoice { namespace Model { /** */ class UpdateSipMediaApplicationCallRequest : public ChimeSDKVoiceRequest { public: AWS_CHIMESDKVOICE_API UpdateSipMediaApplicationCallRequest(); // 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 "UpdateSipMediaApplicationCall"; } AWS_CHIMESDKVOICE_API Aws::String SerializePayload() const override; /** *

The ID of the SIP media application handling the call.

*/ inline const Aws::String& GetSipMediaApplicationId() const{ return m_sipMediaApplicationId; } /** *

The ID of the SIP media application handling the call.

*/ inline bool SipMediaApplicationIdHasBeenSet() const { return m_sipMediaApplicationIdHasBeenSet; } /** *

The ID of the SIP media application handling the call.

*/ inline void SetSipMediaApplicationId(const Aws::String& value) { m_sipMediaApplicationIdHasBeenSet = true; m_sipMediaApplicationId = value; } /** *

The ID of the SIP media application handling the call.

*/ inline void SetSipMediaApplicationId(Aws::String&& value) { m_sipMediaApplicationIdHasBeenSet = true; m_sipMediaApplicationId = std::move(value); } /** *

The ID of the SIP media application handling the call.

*/ inline void SetSipMediaApplicationId(const char* value) { m_sipMediaApplicationIdHasBeenSet = true; m_sipMediaApplicationId.assign(value); } /** *

The ID of the SIP media application handling the call.

*/ inline UpdateSipMediaApplicationCallRequest& WithSipMediaApplicationId(const Aws::String& value) { SetSipMediaApplicationId(value); return *this;} /** *

The ID of the SIP media application handling the call.

*/ inline UpdateSipMediaApplicationCallRequest& WithSipMediaApplicationId(Aws::String&& value) { SetSipMediaApplicationId(std::move(value)); return *this;} /** *

The ID of the SIP media application handling the call.

*/ inline UpdateSipMediaApplicationCallRequest& WithSipMediaApplicationId(const char* value) { SetSipMediaApplicationId(value); return *this;} /** *

The ID of the call transaction.

*/ inline const Aws::String& GetTransactionId() const{ return m_transactionId; } /** *

The ID of the call transaction.

*/ inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; } /** *

The ID of the call transaction.

*/ inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; } /** *

The ID of the call transaction.

*/ inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); } /** *

The ID of the call transaction.

*/ inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); } /** *

The ID of the call transaction.

*/ inline UpdateSipMediaApplicationCallRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;} /** *

The ID of the call transaction.

*/ inline UpdateSipMediaApplicationCallRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;} /** *

The ID of the call transaction.

*/ inline UpdateSipMediaApplicationCallRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;} /** *

Arguments made available to the Lambda function as part of the * CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs.

*/ inline const Aws::Map& GetArguments() const{ return m_arguments; } /** *

Arguments made available to the Lambda function as part of the * CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs.

*/ inline bool ArgumentsHasBeenSet() const { return m_argumentsHasBeenSet; } /** *

Arguments made available to the Lambda function as part of the * CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs.

*/ inline void SetArguments(const Aws::Map& value) { m_argumentsHasBeenSet = true; m_arguments = value; } /** *

Arguments made available to the Lambda function as part of the * CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs.

*/ inline void SetArguments(Aws::Map&& value) { m_argumentsHasBeenSet = true; m_arguments = std::move(value); } /** *

Arguments made available to the Lambda function as part of the * CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs.

*/ inline UpdateSipMediaApplicationCallRequest& WithArguments(const Aws::Map& value) { SetArguments(value); return *this;} /** *

Arguments made available to the Lambda function as part of the * CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs.

*/ inline UpdateSipMediaApplicationCallRequest& WithArguments(Aws::Map&& value) { SetArguments(std::move(value)); return *this;} /** *

Arguments made available to the Lambda function as part of the * CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs.

*/ inline UpdateSipMediaApplicationCallRequest& AddArguments(const Aws::String& key, const Aws::String& value) { m_argumentsHasBeenSet = true; m_arguments.emplace(key, value); return *this; } /** *

Arguments made available to the Lambda function as part of the * CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs.

*/ inline UpdateSipMediaApplicationCallRequest& AddArguments(Aws::String&& key, const Aws::String& value) { m_argumentsHasBeenSet = true; m_arguments.emplace(std::move(key), value); return *this; } /** *

Arguments made available to the Lambda function as part of the * CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs.

*/ inline UpdateSipMediaApplicationCallRequest& AddArguments(const Aws::String& key, Aws::String&& value) { m_argumentsHasBeenSet = true; m_arguments.emplace(key, std::move(value)); return *this; } /** *

Arguments made available to the Lambda function as part of the * CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs.

*/ inline UpdateSipMediaApplicationCallRequest& AddArguments(Aws::String&& key, Aws::String&& value) { m_argumentsHasBeenSet = true; m_arguments.emplace(std::move(key), std::move(value)); return *this; } /** *

Arguments made available to the Lambda function as part of the * CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs.

*/ inline UpdateSipMediaApplicationCallRequest& AddArguments(const char* key, Aws::String&& value) { m_argumentsHasBeenSet = true; m_arguments.emplace(key, std::move(value)); return *this; } /** *

Arguments made available to the Lambda function as part of the * CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs.

*/ inline UpdateSipMediaApplicationCallRequest& AddArguments(Aws::String&& key, const char* value) { m_argumentsHasBeenSet = true; m_arguments.emplace(std::move(key), value); return *this; } /** *

Arguments made available to the Lambda function as part of the * CALL_UPDATE_REQUESTED event. Can contain 0-20 key-value pairs.

*/ inline UpdateSipMediaApplicationCallRequest& AddArguments(const char* key, const char* value) { m_argumentsHasBeenSet = true; m_arguments.emplace(key, value); return *this; } private: Aws::String m_sipMediaApplicationId; bool m_sipMediaApplicationIdHasBeenSet = false; Aws::String m_transactionId; bool m_transactionIdHasBeenSet = false; Aws::Map m_arguments; bool m_argumentsHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws