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

The SIP rule ID.

*/ inline const Aws::String& GetSipRuleId() const{ return m_sipRuleId; } /** *

The SIP rule ID.

*/ inline bool SipRuleIdHasBeenSet() const { return m_sipRuleIdHasBeenSet; } /** *

The SIP rule ID.

*/ inline void SetSipRuleId(const Aws::String& value) { m_sipRuleIdHasBeenSet = true; m_sipRuleId = value; } /** *

The SIP rule ID.

*/ inline void SetSipRuleId(Aws::String&& value) { m_sipRuleIdHasBeenSet = true; m_sipRuleId = std::move(value); } /** *

The SIP rule ID.

*/ inline void SetSipRuleId(const char* value) { m_sipRuleIdHasBeenSet = true; m_sipRuleId.assign(value); } /** *

The SIP rule ID.

*/ inline DeleteSipRuleRequest& WithSipRuleId(const Aws::String& value) { SetSipRuleId(value); return *this;} /** *

The SIP rule ID.

*/ inline DeleteSipRuleRequest& WithSipRuleId(Aws::String&& value) { SetSipRuleId(std::move(value)); return *this;} /** *

The SIP rule ID.

*/ inline DeleteSipRuleRequest& WithSipRuleId(const char* value) { SetSipRuleId(value); return *this;} private: Aws::String m_sipRuleId; bool m_sipRuleIdHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws