/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains a summary of information about a speaker.See Also:
* AWS
* API Reference
A timestamp showing the speaker's creation time.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *A timestamp showing the speaker's creation time.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *A timestamp showing the speaker's creation time.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *A timestamp showing the speaker's creation time.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *A timestamp showing the speaker's creation time.
*/ inline SpeakerSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *A timestamp showing the speaker's creation time.
*/ inline SpeakerSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The client-provided identifier for the speaker.
*/ inline const Aws::String& GetCustomerSpeakerId() const{ return m_customerSpeakerId; } /** *The client-provided identifier for the speaker.
*/ inline bool CustomerSpeakerIdHasBeenSet() const { return m_customerSpeakerIdHasBeenSet; } /** *The client-provided identifier for the speaker.
*/ inline void SetCustomerSpeakerId(const Aws::String& value) { m_customerSpeakerIdHasBeenSet = true; m_customerSpeakerId = value; } /** *The client-provided identifier for the speaker.
*/ inline void SetCustomerSpeakerId(Aws::String&& value) { m_customerSpeakerIdHasBeenSet = true; m_customerSpeakerId = std::move(value); } /** *The client-provided identifier for the speaker.
*/ inline void SetCustomerSpeakerId(const char* value) { m_customerSpeakerIdHasBeenSet = true; m_customerSpeakerId.assign(value); } /** *The client-provided identifier for the speaker.
*/ inline SpeakerSummary& WithCustomerSpeakerId(const Aws::String& value) { SetCustomerSpeakerId(value); return *this;} /** *The client-provided identifier for the speaker.
*/ inline SpeakerSummary& WithCustomerSpeakerId(Aws::String&& value) { SetCustomerSpeakerId(std::move(value)); return *this;} /** *The client-provided identifier for the speaker.
*/ inline SpeakerSummary& WithCustomerSpeakerId(const char* value) { SetCustomerSpeakerId(value); return *this;} /** *The identifier of the domain that contains the speaker.
*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** *The identifier of the domain that contains the speaker.
*/ inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } /** *The identifier of the domain that contains the speaker.
*/ inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } /** *The identifier of the domain that contains the speaker.
*/ inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } /** *The identifier of the domain that contains the speaker.
*/ inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } /** *The identifier of the domain that contains the speaker.
*/ inline SpeakerSummary& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *The identifier of the domain that contains the speaker.
*/ inline SpeakerSummary& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *The identifier of the domain that contains the speaker.
*/ inline SpeakerSummary& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *The service-generated identifier for the speaker.
*/ inline const Aws::String& GetGeneratedSpeakerId() const{ return m_generatedSpeakerId; } /** *The service-generated identifier for the speaker.
*/ inline bool GeneratedSpeakerIdHasBeenSet() const { return m_generatedSpeakerIdHasBeenSet; } /** *The service-generated identifier for the speaker.
*/ inline void SetGeneratedSpeakerId(const Aws::String& value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId = value; } /** *The service-generated identifier for the speaker.
*/ inline void SetGeneratedSpeakerId(Aws::String&& value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId = std::move(value); } /** *The service-generated identifier for the speaker.
*/ inline void SetGeneratedSpeakerId(const char* value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId.assign(value); } /** *The service-generated identifier for the speaker.
*/ inline SpeakerSummary& WithGeneratedSpeakerId(const Aws::String& value) { SetGeneratedSpeakerId(value); return *this;} /** *The service-generated identifier for the speaker.
*/ inline SpeakerSummary& WithGeneratedSpeakerId(Aws::String&& value) { SetGeneratedSpeakerId(std::move(value)); return *this;} /** *The service-generated identifier for the speaker.
*/ inline SpeakerSummary& WithGeneratedSpeakerId(const char* value) { SetGeneratedSpeakerId(value); return *this;} /** *The timestamp when the speaker was last accessed for enrollment, * re-enrollment or a successful authentication. This timestamp is accurate to one * hour.
*/ inline const Aws::Utils::DateTime& GetLastAccessedAt() const{ return m_lastAccessedAt; } /** *The timestamp when the speaker was last accessed for enrollment, * re-enrollment or a successful authentication. This timestamp is accurate to one * hour.
*/ inline bool LastAccessedAtHasBeenSet() const { return m_lastAccessedAtHasBeenSet; } /** *The timestamp when the speaker was last accessed for enrollment, * re-enrollment or a successful authentication. This timestamp is accurate to one * hour.
*/ inline void SetLastAccessedAt(const Aws::Utils::DateTime& value) { m_lastAccessedAtHasBeenSet = true; m_lastAccessedAt = value; } /** *The timestamp when the speaker was last accessed for enrollment, * re-enrollment or a successful authentication. This timestamp is accurate to one * hour.
*/ inline void SetLastAccessedAt(Aws::Utils::DateTime&& value) { m_lastAccessedAtHasBeenSet = true; m_lastAccessedAt = std::move(value); } /** *The timestamp when the speaker was last accessed for enrollment, * re-enrollment or a successful authentication. This timestamp is accurate to one * hour.
*/ inline SpeakerSummary& WithLastAccessedAt(const Aws::Utils::DateTime& value) { SetLastAccessedAt(value); return *this;} /** *The timestamp when the speaker was last accessed for enrollment, * re-enrollment or a successful authentication. This timestamp is accurate to one * hour.
*/ inline SpeakerSummary& WithLastAccessedAt(Aws::Utils::DateTime&& value) { SetLastAccessedAt(std::move(value)); return *this;} /** *The current status of the speaker.
*/ inline const SpeakerStatus& GetStatus() const{ return m_status; } /** *The current status of the speaker.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status of the speaker.
*/ inline void SetStatus(const SpeakerStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status of the speaker.
*/ inline void SetStatus(SpeakerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status of the speaker.
*/ inline SpeakerSummary& WithStatus(const SpeakerStatus& value) { SetStatus(value); return *this;} /** *The current status of the speaker.
*/ inline SpeakerSummary& WithStatus(SpeakerStatus&& value) { SetStatus(std::move(value)); return *this;} /** *A timestamp showing the speaker's last update.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *A timestamp showing the speaker's last update.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *A timestamp showing the speaker's last update.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *A timestamp showing the speaker's last update.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *A timestamp showing the speaker's last update.
*/ inline SpeakerSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *A timestamp showing the speaker's last update.
*/ inline SpeakerSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_customerSpeakerId; bool m_customerSpeakerIdHasBeenSet = false; Aws::String m_domainId; bool m_domainIdHasBeenSet = false; Aws::String m_generatedSpeakerId; bool m_generatedSpeakerIdHasBeenSet = false; Aws::Utils::DateTime m_lastAccessedAt; bool m_lastAccessedAtHasBeenSet = false; SpeakerStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace VoiceID } // namespace Aws