/** * 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 Connect { namespace Model { /** */ class DeleteTrafficDistributionGroupRequest : public ConnectRequest { public: AWS_CONNECT_API DeleteTrafficDistributionGroupRequest(); // 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 "DeleteTrafficDistributionGroup"; } AWS_CONNECT_API Aws::String SerializePayload() const override; /** *

The identifier of the traffic distribution group. This can be the ID or the * ARN if the API is being called in the Region where the traffic distribution * group was created. The ARN must be provided if the call is from the replicated * Region.

*/ inline const Aws::String& GetTrafficDistributionGroupId() const{ return m_trafficDistributionGroupId; } /** *

The identifier of the traffic distribution group. This can be the ID or the * ARN if the API is being called in the Region where the traffic distribution * group was created. The ARN must be provided if the call is from the replicated * Region.

*/ inline bool TrafficDistributionGroupIdHasBeenSet() const { return m_trafficDistributionGroupIdHasBeenSet; } /** *

The identifier of the traffic distribution group. This can be the ID or the * ARN if the API is being called in the Region where the traffic distribution * group was created. The ARN must be provided if the call is from the replicated * Region.

*/ inline void SetTrafficDistributionGroupId(const Aws::String& value) { m_trafficDistributionGroupIdHasBeenSet = true; m_trafficDistributionGroupId = value; } /** *

The identifier of the traffic distribution group. This can be the ID or the * ARN if the API is being called in the Region where the traffic distribution * group was created. The ARN must be provided if the call is from the replicated * Region.

*/ inline void SetTrafficDistributionGroupId(Aws::String&& value) { m_trafficDistributionGroupIdHasBeenSet = true; m_trafficDistributionGroupId = std::move(value); } /** *

The identifier of the traffic distribution group. This can be the ID or the * ARN if the API is being called in the Region where the traffic distribution * group was created. The ARN must be provided if the call is from the replicated * Region.

*/ inline void SetTrafficDistributionGroupId(const char* value) { m_trafficDistributionGroupIdHasBeenSet = true; m_trafficDistributionGroupId.assign(value); } /** *

The identifier of the traffic distribution group. This can be the ID or the * ARN if the API is being called in the Region where the traffic distribution * group was created. The ARN must be provided if the call is from the replicated * Region.

*/ inline DeleteTrafficDistributionGroupRequest& WithTrafficDistributionGroupId(const Aws::String& value) { SetTrafficDistributionGroupId(value); return *this;} /** *

The identifier of the traffic distribution group. This can be the ID or the * ARN if the API is being called in the Region where the traffic distribution * group was created. The ARN must be provided if the call is from the replicated * Region.

*/ inline DeleteTrafficDistributionGroupRequest& WithTrafficDistributionGroupId(Aws::String&& value) { SetTrafficDistributionGroupId(std::move(value)); return *this;} /** *

The identifier of the traffic distribution group. This can be the ID or the * ARN if the API is being called in the Region where the traffic distribution * group was created. The ARN must be provided if the call is from the replicated * Region.

*/ inline DeleteTrafficDistributionGroupRequest& WithTrafficDistributionGroupId(const char* value) { SetTrafficDistributionGroupId(value); return *this;} private: Aws::String m_trafficDistributionGroupId; bool m_trafficDistributionGroupIdHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws