/** * 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 DescribeWatchlistRequest : public VoiceIDRequest { public: AWS_VOICEID_API DescribeWatchlistRequest(); // 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 "DescribeWatchlist"; } AWS_VOICEID_API Aws::String SerializePayload() const override; AWS_VOICEID_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

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 DescribeWatchlistRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *

The identifier of the domain that contains the watchlist.

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

The identifier of the domain that contains the watchlist.

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

The identifier of the watchlist that you are describing.

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

The identifier of the watchlist that you are describing.

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

The identifier of the watchlist that you are describing.

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

The identifier of the watchlist that you are describing.

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

The identifier of the watchlist that you are describing.

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

The identifier of the watchlist that you are describing.

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

The identifier of the watchlist that you are describing.

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

The identifier of the watchlist that you are describing.

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