/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Rekognition { namespace Model { /** *

The known gender identity for the celebrity that matches the provided ID. The * known gender identity can be Male, Female, Nonbinary, or Unlisted.

See * Also:

AWS * API Reference

*/ class KnownGender { public: AWS_REKOGNITION_API KnownGender(); AWS_REKOGNITION_API KnownGender(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API KnownGender& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A string value of the KnownGender info about the Celebrity.

*/ inline const KnownGenderType& GetType() const{ return m_type; } /** *

A string value of the KnownGender info about the Celebrity.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

A string value of the KnownGender info about the Celebrity.

*/ inline void SetType(const KnownGenderType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

A string value of the KnownGender info about the Celebrity.

*/ inline void SetType(KnownGenderType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

A string value of the KnownGender info about the Celebrity.

*/ inline KnownGender& WithType(const KnownGenderType& value) { SetType(value); return *this;} /** *

A string value of the KnownGender info about the Celebrity.

*/ inline KnownGender& WithType(KnownGenderType&& value) { SetType(std::move(value)); return *this;} private: KnownGenderType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws