/** * 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 VoiceID { namespace Model { /** */ class UpdateWatchlistRequest : public VoiceIDRequest { public: AWS_VOICEID_API UpdateWatchlistRequest(); // 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 "UpdateWatchlist"; } AWS_VOICEID_API Aws::String SerializePayload() const override; AWS_VOICEID_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A brief description about this watchlist.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A brief description about this watchlist.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A brief description about this watchlist.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A brief description about this watchlist.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A brief description about this watchlist.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A brief description about this watchlist.

*/ inline UpdateWatchlistRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A brief description about this watchlist.

*/ inline UpdateWatchlistRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A brief description about this watchlist.

*/ inline UpdateWatchlistRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The identifier of the domain that contains the watchlist.

*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** *

The identifier of the domain that contains the watchlist.

*/ inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } /** *

The identifier of the domain that contains the watchlist.

*/ inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } /** *

The identifier of the domain that contains the watchlist.

*/ inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } /** *

The identifier of the domain that contains the watchlist.

*/ inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } /** *

The identifier of the domain that contains the watchlist.

*/ inline UpdateWatchlistRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *

The identifier of the domain that contains the watchlist.

*/ inline UpdateWatchlistRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *

The identifier of the domain that contains the watchlist.

*/ inline UpdateWatchlistRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *

The name of the watchlist.

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

The name of the watchlist.

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

The name of the watchlist.

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

The name of the watchlist.

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

The name of the watchlist.

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

The name of the watchlist.

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

The name of the watchlist.

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

The name of the watchlist.

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

The identifier of the watchlist to be updated.

*/ inline const Aws::String& GetWatchlistId() const{ return m_watchlistId; } /** *

The identifier of the watchlist to be updated.

*/ inline bool WatchlistIdHasBeenSet() const { return m_watchlistIdHasBeenSet; } /** *

The identifier of the watchlist to be updated.

*/ inline void SetWatchlistId(const Aws::String& value) { m_watchlistIdHasBeenSet = true; m_watchlistId = value; } /** *

The identifier of the watchlist to be updated.

*/ inline void SetWatchlistId(Aws::String&& value) { m_watchlistIdHasBeenSet = true; m_watchlistId = std::move(value); } /** *

The identifier of the watchlist to be updated.

*/ inline void SetWatchlistId(const char* value) { m_watchlistIdHasBeenSet = true; m_watchlistId.assign(value); } /** *

The identifier of the watchlist to be updated.

*/ inline UpdateWatchlistRequest& WithWatchlistId(const Aws::String& value) { SetWatchlistId(value); return *this;} /** *

The identifier of the watchlist to be updated.

*/ inline UpdateWatchlistRequest& WithWatchlistId(Aws::String&& value) { SetWatchlistId(std::move(value)); return *this;} /** *

The identifier of the watchlist to be updated.

*/ inline UpdateWatchlistRequest& WithWatchlistId(const char* value) { SetWatchlistId(value); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_domainId; bool m_domainIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_watchlistId; bool m_watchlistIdHasBeenSet = false; }; } // namespace Model } // namespace VoiceID } // namespace Aws