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

An object that contains the properties associated with a dominant language * detection job.

*/ inline const DominantLanguageDetectionJobProperties& GetDominantLanguageDetectionJobProperties() const{ return m_dominantLanguageDetectionJobProperties; } /** *

An object that contains the properties associated with a dominant language * detection job.

*/ inline void SetDominantLanguageDetectionJobProperties(const DominantLanguageDetectionJobProperties& value) { m_dominantLanguageDetectionJobProperties = value; } /** *

An object that contains the properties associated with a dominant language * detection job.

*/ inline void SetDominantLanguageDetectionJobProperties(DominantLanguageDetectionJobProperties&& value) { m_dominantLanguageDetectionJobProperties = std::move(value); } /** *

An object that contains the properties associated with a dominant language * detection job.

*/ inline DescribeDominantLanguageDetectionJobResult& WithDominantLanguageDetectionJobProperties(const DominantLanguageDetectionJobProperties& value) { SetDominantLanguageDetectionJobProperties(value); return *this;} /** *

An object that contains the properties associated with a dominant language * detection job.

*/ inline DescribeDominantLanguageDetectionJobResult& WithDominantLanguageDetectionJobProperties(DominantLanguageDetectionJobProperties&& value) { SetDominantLanguageDetectionJobProperties(std::move(value)); return *this;} private: DominantLanguageDetectionJobProperties m_dominantLanguageDetectionJobProperties; }; } // namespace Model } // namespace Comprehend } // namespace Aws