/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/voice-id/VoiceID_EXPORTS.h> #include <aws/voice-id/VoiceIDRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace VoiceID { namespace Model { /** */ class DeleteFraudsterRequest : public VoiceIDRequest { public: AWS_VOICEID_API DeleteFraudsterRequest(); // 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 "DeleteFraudster"; } AWS_VOICEID_API Aws::String SerializePayload() const override; AWS_VOICEID_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** * <p>The identifier of the domain that contains the fraudster.</p> */ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** * <p>The identifier of the domain that contains the fraudster.</p> */ inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } /** * <p>The identifier of the domain that contains the fraudster.</p> */ inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } /** * <p>The identifier of the domain that contains the fraudster.</p> */ inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } /** * <p>The identifier of the domain that contains the fraudster.</p> */ inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } /** * <p>The identifier of the domain that contains the fraudster.</p> */ inline DeleteFraudsterRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** * <p>The identifier of the domain that contains the fraudster.</p> */ inline DeleteFraudsterRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** * <p>The identifier of the domain that contains the fraudster.</p> */ inline DeleteFraudsterRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** * <p>The identifier of the fraudster you want to delete.</p> */ inline const Aws::String& GetFraudsterId() const{ return m_fraudsterId; } /** * <p>The identifier of the fraudster you want to delete.</p> */ inline bool FraudsterIdHasBeenSet() const { return m_fraudsterIdHasBeenSet; } /** * <p>The identifier of the fraudster you want to delete.</p> */ inline void SetFraudsterId(const Aws::String& value) { m_fraudsterIdHasBeenSet = true; m_fraudsterId = value; } /** * <p>The identifier of the fraudster you want to delete.</p> */ inline void SetFraudsterId(Aws::String&& value) { m_fraudsterIdHasBeenSet = true; m_fraudsterId = std::move(value); } /** * <p>The identifier of the fraudster you want to delete.</p> */ inline void SetFraudsterId(const char* value) { m_fraudsterIdHasBeenSet = true; m_fraudsterId.assign(value); } /** * <p>The identifier of the fraudster you want to delete.</p> */ inline DeleteFraudsterRequest& WithFraudsterId(const Aws::String& value) { SetFraudsterId(value); return *this;} /** * <p>The identifier of the fraudster you want to delete.</p> */ inline DeleteFraudsterRequest& WithFraudsterId(Aws::String&& value) { SetFraudsterId(std::move(value)); return *this;} /** * <p>The identifier of the fraudster you want to delete.</p> */ inline DeleteFraudsterRequest& WithFraudsterId(const char* value) { SetFraudsterId(value); return *this;} private: Aws::String m_domainId; bool m_domainIdHasBeenSet = false; Aws::String m_fraudsterId; bool m_fraudsterIdHasBeenSet = false; }; } // namespace Model } // namespace VoiceID } // namespace Aws