86 lines
2.9 KiB
C++
86 lines
2.9 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/transcribe/TranscribeService_EXPORTS.h>
|
|
#include <aws/transcribe/TranscribeServiceRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace TranscribeService
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_TRANSCRIBESERVICE_API DescribeLanguageModelRequest : public TranscribeServiceRequest
|
|
{
|
|
public:
|
|
DescribeLanguageModelRequest();
|
|
|
|
// 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 "DescribeLanguageModel"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>The name of the custom language model you submit to get more information.</p>
|
|
*/
|
|
inline const Aws::String& GetModelName() const{ return m_modelName; }
|
|
|
|
/**
|
|
* <p>The name of the custom language model you submit to get more information.</p>
|
|
*/
|
|
inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the custom language model you submit to get more information.</p>
|
|
*/
|
|
inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
|
|
|
|
/**
|
|
* <p>The name of the custom language model you submit to get more information.</p>
|
|
*/
|
|
inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the custom language model you submit to get more information.</p>
|
|
*/
|
|
inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the custom language model you submit to get more information.</p>
|
|
*/
|
|
inline DescribeLanguageModelRequest& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the custom language model you submit to get more information.</p>
|
|
*/
|
|
inline DescribeLanguageModelRequest& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the custom language model you submit to get more information.</p>
|
|
*/
|
|
inline DescribeLanguageModelRequest& WithModelName(const char* value) { SetModelName(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_modelName;
|
|
bool m_modelNameHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace TranscribeService
|
|
} // namespace Aws
|