/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Rekognition { namespace Model { class GetCelebrityInfoResult { public: AWS_REKOGNITION_API GetCelebrityInfoResult(); AWS_REKOGNITION_API GetCelebrityInfoResult(const Aws::AmazonWebServiceResult& result); AWS_REKOGNITION_API GetCelebrityInfoResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of URLs pointing to additional celebrity information.

*/ inline const Aws::Vector& GetUrls() const{ return m_urls; } /** *

An array of URLs pointing to additional celebrity information.

*/ inline void SetUrls(const Aws::Vector& value) { m_urls = value; } /** *

An array of URLs pointing to additional celebrity information.

*/ inline void SetUrls(Aws::Vector&& value) { m_urls = std::move(value); } /** *

An array of URLs pointing to additional celebrity information.

*/ inline GetCelebrityInfoResult& WithUrls(const Aws::Vector& value) { SetUrls(value); return *this;} /** *

An array of URLs pointing to additional celebrity information.

*/ inline GetCelebrityInfoResult& WithUrls(Aws::Vector&& value) { SetUrls(std::move(value)); return *this;} /** *

An array of URLs pointing to additional celebrity information.

*/ inline GetCelebrityInfoResult& AddUrls(const Aws::String& value) { m_urls.push_back(value); return *this; } /** *

An array of URLs pointing to additional celebrity information.

*/ inline GetCelebrityInfoResult& AddUrls(Aws::String&& value) { m_urls.push_back(std::move(value)); return *this; } /** *

An array of URLs pointing to additional celebrity information.

*/ inline GetCelebrityInfoResult& AddUrls(const char* value) { m_urls.push_back(value); return *this; } /** *

The name of the celebrity.

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

The name of the celebrity.

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

The name of the celebrity.

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

The name of the celebrity.

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

The name of the celebrity.

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

The name of the celebrity.

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

The name of the celebrity.

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

Retrieves the known gender for the celebrity.

*/ inline const KnownGender& GetKnownGender() const{ return m_knownGender; } /** *

Retrieves the known gender for the celebrity.

*/ inline void SetKnownGender(const KnownGender& value) { m_knownGender = value; } /** *

Retrieves the known gender for the celebrity.

*/ inline void SetKnownGender(KnownGender&& value) { m_knownGender = std::move(value); } /** *

Retrieves the known gender for the celebrity.

*/ inline GetCelebrityInfoResult& WithKnownGender(const KnownGender& value) { SetKnownGender(value); return *this;} /** *

Retrieves the known gender for the celebrity.

*/ inline GetCelebrityInfoResult& WithKnownGender(KnownGender&& value) { SetKnownGender(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetCelebrityInfoResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetCelebrityInfoResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetCelebrityInfoResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_urls; Aws::String m_name; KnownGender m_knownGender; Aws::String m_requestId; }; } // namespace Model } // namespace Rekognition } // namespace Aws