/** * 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 ChimeSDKVoice { namespace Model { /** */ class UpdateSipMediaApplicationRequest : public ChimeSDKVoiceRequest { public: AWS_CHIMESDKVOICE_API UpdateSipMediaApplicationRequest(); // 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 "UpdateSipMediaApplication"; } AWS_CHIMESDKVOICE_API Aws::String SerializePayload() const override; /** *

The SIP media application ID.

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

The SIP media application ID.

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

The SIP media application ID.

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

The SIP media application ID.

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

The SIP media application ID.

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

The SIP media application ID.

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

The SIP media application ID.

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

The SIP media application ID.

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

The new name for the specified SIP media application.

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

The new name for the specified SIP media application.

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

The new name for the specified SIP media application.

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

The new name for the specified SIP media application.

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

The new name for the specified SIP media application.

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

The new name for the specified SIP media application.

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

The new name for the specified SIP media application.

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

The new name for the specified SIP media application.

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

The new set of endpoints for the specified SIP media application.

*/ inline const Aws::Vector& GetEndpoints() const{ return m_endpoints; } /** *

The new set of endpoints for the specified SIP media application.

*/ inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; } /** *

The new set of endpoints for the specified SIP media application.

*/ inline void SetEndpoints(const Aws::Vector& value) { m_endpointsHasBeenSet = true; m_endpoints = value; } /** *

The new set of endpoints for the specified SIP media application.

*/ inline void SetEndpoints(Aws::Vector&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); } /** *

The new set of endpoints for the specified SIP media application.

*/ inline UpdateSipMediaApplicationRequest& WithEndpoints(const Aws::Vector& value) { SetEndpoints(value); return *this;} /** *

The new set of endpoints for the specified SIP media application.

*/ inline UpdateSipMediaApplicationRequest& WithEndpoints(Aws::Vector&& value) { SetEndpoints(std::move(value)); return *this;} /** *

The new set of endpoints for the specified SIP media application.

*/ inline UpdateSipMediaApplicationRequest& AddEndpoints(const SipMediaApplicationEndpoint& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; } /** *

The new set of endpoints for the specified SIP media application.

*/ inline UpdateSipMediaApplicationRequest& AddEndpoints(SipMediaApplicationEndpoint&& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(std::move(value)); return *this; } private: Aws::String m_sipMediaApplicationId; bool m_sipMediaApplicationIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector m_endpoints; bool m_endpointsHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws