/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace ComprehendMedical { namespace Model { /** */ class InferICD10CMRequest : public ComprehendMedicalRequest { public: AWS_COMPREHENDMEDICAL_API InferICD10CMRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "InferICD10CM"; } AWS_COMPREHENDMEDICAL_API Aws::String SerializePayload() const override; AWS_COMPREHENDMEDICAL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The input text used for analysis.

*/ inline const Aws::String& GetText() const{ return m_text; } /** *

The input text used for analysis.

*/ inline bool TextHasBeenSet() const { return m_textHasBeenSet; } /** *

The input text used for analysis.

*/ inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } /** *

The input text used for analysis.

*/ inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } /** *

The input text used for analysis.

*/ inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } /** *

The input text used for analysis.

*/ inline InferICD10CMRequest& WithText(const Aws::String& value) { SetText(value); return *this;} /** *

The input text used for analysis.

*/ inline InferICD10CMRequest& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} /** *

The input text used for analysis.

*/ inline InferICD10CMRequest& WithText(const char* value) { SetText(value); return *this;} private: Aws::String m_text; bool m_textHasBeenSet = false; }; } // namespace Model } // namespace ComprehendMedical } // namespace Aws