/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Rekognition { namespace Model { class AWS_REKOGNITION_API GetCelebrityInfoResult { public: GetCelebrityInfoResult(); GetCelebrityInfoResult(const Aws::AmazonWebServiceResult& result); 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;} private: Aws::Vector m_urls; Aws::String m_name; }; } // namespace Model } // namespace Rekognition } // namespace Aws