/** * 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 CreateSipMediaApplicationCallRequest : public ChimeSDKVoiceRequest { public: AWS_CHIMESDKVOICE_API CreateSipMediaApplicationCallRequest(); // 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 "CreateSipMediaApplicationCall"; } AWS_CHIMESDKVOICE_API Aws::String SerializePayload() const override; /** *

The phone number that a user calls from. This is a phone number in your * Amazon Chime SDK phone number inventory.

*/ inline const Aws::String& GetFromPhoneNumber() const{ return m_fromPhoneNumber; } /** *

The phone number that a user calls from. This is a phone number in your * Amazon Chime SDK phone number inventory.

*/ inline bool FromPhoneNumberHasBeenSet() const { return m_fromPhoneNumberHasBeenSet; } /** *

The phone number that a user calls from. This is a phone number in your * Amazon Chime SDK phone number inventory.

*/ inline void SetFromPhoneNumber(const Aws::String& value) { m_fromPhoneNumberHasBeenSet = true; m_fromPhoneNumber = value; } /** *

The phone number that a user calls from. This is a phone number in your * Amazon Chime SDK phone number inventory.

*/ inline void SetFromPhoneNumber(Aws::String&& value) { m_fromPhoneNumberHasBeenSet = true; m_fromPhoneNumber = std::move(value); } /** *

The phone number that a user calls from. This is a phone number in your * Amazon Chime SDK phone number inventory.

*/ inline void SetFromPhoneNumber(const char* value) { m_fromPhoneNumberHasBeenSet = true; m_fromPhoneNumber.assign(value); } /** *

The phone number that a user calls from. This is a phone number in your * Amazon Chime SDK phone number inventory.

*/ inline CreateSipMediaApplicationCallRequest& WithFromPhoneNumber(const Aws::String& value) { SetFromPhoneNumber(value); return *this;} /** *

The phone number that a user calls from. This is a phone number in your * Amazon Chime SDK phone number inventory.

*/ inline CreateSipMediaApplicationCallRequest& WithFromPhoneNumber(Aws::String&& value) { SetFromPhoneNumber(std::move(value)); return *this;} /** *

The phone number that a user calls from. This is a phone number in your * Amazon Chime SDK phone number inventory.

*/ inline CreateSipMediaApplicationCallRequest& WithFromPhoneNumber(const char* value) { SetFromPhoneNumber(value); return *this;} /** *

The phone number that the service should call.

*/ inline const Aws::String& GetToPhoneNumber() const{ return m_toPhoneNumber; } /** *

The phone number that the service should call.

*/ inline bool ToPhoneNumberHasBeenSet() const { return m_toPhoneNumberHasBeenSet; } /** *

The phone number that the service should call.

*/ inline void SetToPhoneNumber(const Aws::String& value) { m_toPhoneNumberHasBeenSet = true; m_toPhoneNumber = value; } /** *

The phone number that the service should call.

*/ inline void SetToPhoneNumber(Aws::String&& value) { m_toPhoneNumberHasBeenSet = true; m_toPhoneNumber = std::move(value); } /** *

The phone number that the service should call.

*/ inline void SetToPhoneNumber(const char* value) { m_toPhoneNumberHasBeenSet = true; m_toPhoneNumber.assign(value); } /** *

The phone number that the service should call.

*/ inline CreateSipMediaApplicationCallRequest& WithToPhoneNumber(const Aws::String& value) { SetToPhoneNumber(value); return *this;} /** *

The phone number that the service should call.

*/ inline CreateSipMediaApplicationCallRequest& WithToPhoneNumber(Aws::String&& value) { SetToPhoneNumber(std::move(value)); return *this;} /** *

The phone number that the service should call.

*/ inline CreateSipMediaApplicationCallRequest& WithToPhoneNumber(const char* value) { SetToPhoneNumber(value); return *this;} /** *

The ID of the SIP media application.

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

The ID of the SIP media application.

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

The ID of the SIP media application.

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

The ID of the SIP media application.

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

The ID of the SIP media application.

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

The ID of the SIP media application.

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

The ID of the SIP media application.

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

The ID of the SIP media application.

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

The SIP headers added to an outbound call leg.

*/ inline const Aws::Map& GetSipHeaders() const{ return m_sipHeaders; } /** *

The SIP headers added to an outbound call leg.

*/ inline bool SipHeadersHasBeenSet() const { return m_sipHeadersHasBeenSet; } /** *

The SIP headers added to an outbound call leg.

*/ inline void SetSipHeaders(const Aws::Map& value) { m_sipHeadersHasBeenSet = true; m_sipHeaders = value; } /** *

The SIP headers added to an outbound call leg.

*/ inline void SetSipHeaders(Aws::Map&& value) { m_sipHeadersHasBeenSet = true; m_sipHeaders = std::move(value); } /** *

The SIP headers added to an outbound call leg.

*/ inline CreateSipMediaApplicationCallRequest& WithSipHeaders(const Aws::Map& value) { SetSipHeaders(value); return *this;} /** *

The SIP headers added to an outbound call leg.

*/ inline CreateSipMediaApplicationCallRequest& WithSipHeaders(Aws::Map&& value) { SetSipHeaders(std::move(value)); return *this;} /** *

The SIP headers added to an outbound call leg.

*/ inline CreateSipMediaApplicationCallRequest& AddSipHeaders(const Aws::String& key, const Aws::String& value) { m_sipHeadersHasBeenSet = true; m_sipHeaders.emplace(key, value); return *this; } /** *

The SIP headers added to an outbound call leg.

*/ inline CreateSipMediaApplicationCallRequest& AddSipHeaders(Aws::String&& key, const Aws::String& value) { m_sipHeadersHasBeenSet = true; m_sipHeaders.emplace(std::move(key), value); return *this; } /** *

The SIP headers added to an outbound call leg.

*/ inline CreateSipMediaApplicationCallRequest& AddSipHeaders(const Aws::String& key, Aws::String&& value) { m_sipHeadersHasBeenSet = true; m_sipHeaders.emplace(key, std::move(value)); return *this; } /** *

The SIP headers added to an outbound call leg.

*/ inline CreateSipMediaApplicationCallRequest& AddSipHeaders(Aws::String&& key, Aws::String&& value) { m_sipHeadersHasBeenSet = true; m_sipHeaders.emplace(std::move(key), std::move(value)); return *this; } /** *

The SIP headers added to an outbound call leg.

*/ inline CreateSipMediaApplicationCallRequest& AddSipHeaders(const char* key, Aws::String&& value) { m_sipHeadersHasBeenSet = true; m_sipHeaders.emplace(key, std::move(value)); return *this; } /** *

The SIP headers added to an outbound call leg.

*/ inline CreateSipMediaApplicationCallRequest& AddSipHeaders(Aws::String&& key, const char* value) { m_sipHeadersHasBeenSet = true; m_sipHeaders.emplace(std::move(key), value); return *this; } /** *

The SIP headers added to an outbound call leg.

*/ inline CreateSipMediaApplicationCallRequest& AddSipHeaders(const char* key, const char* value) { m_sipHeadersHasBeenSet = true; m_sipHeaders.emplace(key, value); return *this; } /** *

Context passed to a CreateSipMediaApplication API call. For example, you * could pass key-value pairs such as: "FirstName": "John", "LastName": * "Doe"

*/ inline const Aws::Map& GetArgumentsMap() const{ return m_argumentsMap; } /** *

Context passed to a CreateSipMediaApplication API call. For example, you * could pass key-value pairs such as: "FirstName": "John", "LastName": * "Doe"

*/ inline bool ArgumentsMapHasBeenSet() const { return m_argumentsMapHasBeenSet; } /** *

Context passed to a CreateSipMediaApplication API call. For example, you * could pass key-value pairs such as: "FirstName": "John", "LastName": * "Doe"

*/ inline void SetArgumentsMap(const Aws::Map& value) { m_argumentsMapHasBeenSet = true; m_argumentsMap = value; } /** *

Context passed to a CreateSipMediaApplication API call. For example, you * could pass key-value pairs such as: "FirstName": "John", "LastName": * "Doe"

*/ inline void SetArgumentsMap(Aws::Map&& value) { m_argumentsMapHasBeenSet = true; m_argumentsMap = std::move(value); } /** *

Context passed to a CreateSipMediaApplication API call. For example, you * could pass key-value pairs such as: "FirstName": "John", "LastName": * "Doe"

*/ inline CreateSipMediaApplicationCallRequest& WithArgumentsMap(const Aws::Map& value) { SetArgumentsMap(value); return *this;} /** *

Context passed to a CreateSipMediaApplication API call. For example, you * could pass key-value pairs such as: "FirstName": "John", "LastName": * "Doe"

*/ inline CreateSipMediaApplicationCallRequest& WithArgumentsMap(Aws::Map&& value) { SetArgumentsMap(std::move(value)); return *this;} /** *

Context passed to a CreateSipMediaApplication API call. For example, you * could pass key-value pairs such as: "FirstName": "John", "LastName": * "Doe"

*/ inline CreateSipMediaApplicationCallRequest& AddArgumentsMap(const Aws::String& key, const Aws::String& value) { m_argumentsMapHasBeenSet = true; m_argumentsMap.emplace(key, value); return *this; } /** *

Context passed to a CreateSipMediaApplication API call. For example, you * could pass key-value pairs such as: "FirstName": "John", "LastName": * "Doe"

*/ inline CreateSipMediaApplicationCallRequest& AddArgumentsMap(Aws::String&& key, const Aws::String& value) { m_argumentsMapHasBeenSet = true; m_argumentsMap.emplace(std::move(key), value); return *this; } /** *

Context passed to a CreateSipMediaApplication API call. For example, you * could pass key-value pairs such as: "FirstName": "John", "LastName": * "Doe"

*/ inline CreateSipMediaApplicationCallRequest& AddArgumentsMap(const Aws::String& key, Aws::String&& value) { m_argumentsMapHasBeenSet = true; m_argumentsMap.emplace(key, std::move(value)); return *this; } /** *

Context passed to a CreateSipMediaApplication API call. For example, you * could pass key-value pairs such as: "FirstName": "John", "LastName": * "Doe"

*/ inline CreateSipMediaApplicationCallRequest& AddArgumentsMap(Aws::String&& key, Aws::String&& value) { m_argumentsMapHasBeenSet = true; m_argumentsMap.emplace(std::move(key), std::move(value)); return *this; } /** *

Context passed to a CreateSipMediaApplication API call. For example, you * could pass key-value pairs such as: "FirstName": "John", "LastName": * "Doe"

*/ inline CreateSipMediaApplicationCallRequest& AddArgumentsMap(const char* key, Aws::String&& value) { m_argumentsMapHasBeenSet = true; m_argumentsMap.emplace(key, std::move(value)); return *this; } /** *

Context passed to a CreateSipMediaApplication API call. For example, you * could pass key-value pairs such as: "FirstName": "John", "LastName": * "Doe"

*/ inline CreateSipMediaApplicationCallRequest& AddArgumentsMap(Aws::String&& key, const char* value) { m_argumentsMapHasBeenSet = true; m_argumentsMap.emplace(std::move(key), value); return *this; } /** *

Context passed to a CreateSipMediaApplication API call. For example, you * could pass key-value pairs such as: "FirstName": "John", "LastName": * "Doe"

*/ inline CreateSipMediaApplicationCallRequest& AddArgumentsMap(const char* key, const char* value) { m_argumentsMapHasBeenSet = true; m_argumentsMap.emplace(key, value); return *this; } private: Aws::String m_fromPhoneNumber; bool m_fromPhoneNumberHasBeenSet = false; Aws::String m_toPhoneNumber; bool m_toPhoneNumberHasBeenSet = false; Aws::String m_sipMediaApplicationId; bool m_sipMediaApplicationIdHasBeenSet = false; Aws::Map m_sipHeaders; bool m_sipHeadersHasBeenSet = false; Aws::Map m_argumentsMap; bool m_argumentsMapHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws