/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains all the information about a watchlist.See Also:
AWS
* API Reference
The timestamp of when the watchlist was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The timestamp of when the watchlist was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The timestamp of when the watchlist was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The timestamp of when the watchlist was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The timestamp of when the watchlist was created.
*/ inline Watchlist& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The timestamp of when the watchlist was created.
*/ inline Watchlist& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *Whether the specified watchlist is the default watchlist of a domain.
*/ inline bool GetDefaultWatchlist() const{ return m_defaultWatchlist; } /** *Whether the specified watchlist is the default watchlist of a domain.
*/ inline bool DefaultWatchlistHasBeenSet() const { return m_defaultWatchlistHasBeenSet; } /** *Whether the specified watchlist is the default watchlist of a domain.
*/ inline void SetDefaultWatchlist(bool value) { m_defaultWatchlistHasBeenSet = true; m_defaultWatchlist = value; } /** *Whether the specified watchlist is the default watchlist of a domain.
*/ inline Watchlist& WithDefaultWatchlist(bool value) { SetDefaultWatchlist(value); return *this;} /** *The description of the watchlist.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the watchlist.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the watchlist.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the watchlist.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the watchlist.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the watchlist.
*/ inline Watchlist& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the watchlist.
*/ inline Watchlist& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the watchlist.
*/ inline Watchlist& 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 Watchlist& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *The identifier of the domain that contains the watchlist.
*/ inline Watchlist& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *The identifier of the domain that contains the watchlist.
*/ inline Watchlist& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *The name for the watchlist.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name for the watchlist.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name for the watchlist.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name for the watchlist.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name for the watchlist.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name for the watchlist.
*/ inline Watchlist& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name for the watchlist.
*/ inline Watchlist& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name for the watchlist.
*/ inline Watchlist& WithName(const char* value) { SetName(value); return *this;} /** *The timestamp of when the watchlist was updated.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *The timestamp of when the watchlist was updated.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *The timestamp of when the watchlist was updated.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *The timestamp of when the watchlist was updated.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *The timestamp of when the watchlist was updated.
*/ inline Watchlist& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *The timestamp of when the watchlist was updated.
*/ inline Watchlist& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} /** *The identifier of the watchlist.
*/ inline const Aws::String& GetWatchlistId() const{ return m_watchlistId; } /** *The identifier of the watchlist.
*/ inline bool WatchlistIdHasBeenSet() const { return m_watchlistIdHasBeenSet; } /** *The identifier of the watchlist.
*/ inline void SetWatchlistId(const Aws::String& value) { m_watchlistIdHasBeenSet = true; m_watchlistId = value; } /** *The identifier of the watchlist.
*/ inline void SetWatchlistId(Aws::String&& value) { m_watchlistIdHasBeenSet = true; m_watchlistId = std::move(value); } /** *The identifier of the watchlist.
*/ inline void SetWatchlistId(const char* value) { m_watchlistIdHasBeenSet = true; m_watchlistId.assign(value); } /** *The identifier of the watchlist.
*/ inline Watchlist& WithWatchlistId(const Aws::String& value) { SetWatchlistId(value); return *this;} /** *The identifier of the watchlist.
*/ inline Watchlist& WithWatchlistId(Aws::String&& value) { SetWatchlistId(std::move(value)); return *this;} /** *The identifier of the watchlist.
*/ inline Watchlist& WithWatchlistId(const char* value) { SetWatchlistId(value); return *this;} private: Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; bool m_defaultWatchlist; bool m_defaultWatchlistHasBeenSet = false; 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::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; Aws::String m_watchlistId; bool m_watchlistIdHasBeenSet = false; }; } // namespace Model } // namespace VoiceID } // namespace Aws