This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-transcribe/include/aws/transcribe/model/VocabularyInfo.h

201 lines
6.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/core/utils/memory/stl/AWSString.h>
#include <aws/transcribe/model/LanguageCode.h>
#include <aws/core/utils/DateTime.h>
#include <aws/transcribe/model/VocabularyState.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace TranscribeService
{
namespace Model
{
/**
* <p>Provides information about a custom vocabulary. </p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/VocabularyInfo">AWS
* API Reference</a></p>
*/
class AWS_TRANSCRIBESERVICE_API VocabularyInfo
{
public:
VocabularyInfo();
VocabularyInfo(Aws::Utils::Json::JsonView jsonValue);
VocabularyInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the vocabulary.</p>
*/
inline const Aws::String& GetVocabularyName() const{ return m_vocabularyName; }
/**
* <p>The name of the vocabulary.</p>
*/
inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
/**
* <p>The name of the vocabulary.</p>
*/
inline void SetVocabularyName(const Aws::String& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = value; }
/**
* <p>The name of the vocabulary.</p>
*/
inline void SetVocabularyName(Aws::String&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::move(value); }
/**
* <p>The name of the vocabulary.</p>
*/
inline void SetVocabularyName(const char* value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName.assign(value); }
/**
* <p>The name of the vocabulary.</p>
*/
inline VocabularyInfo& WithVocabularyName(const Aws::String& value) { SetVocabularyName(value); return *this;}
/**
* <p>The name of the vocabulary.</p>
*/
inline VocabularyInfo& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;}
/**
* <p>The name of the vocabulary.</p>
*/
inline VocabularyInfo& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;}
/**
* <p>The language code of the vocabulary entries.</p>
*/
inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
/**
* <p>The language code of the vocabulary entries.</p>
*/
inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
/**
* <p>The language code of the vocabulary entries.</p>
*/
inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
/**
* <p>The language code of the vocabulary entries.</p>
*/
inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
/**
* <p>The language code of the vocabulary entries.</p>
*/
inline VocabularyInfo& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
/**
* <p>The language code of the vocabulary entries.</p>
*/
inline VocabularyInfo& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
/**
* <p>The date and time that the vocabulary was last modified.</p>
*/
inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
/**
* <p>The date and time that the vocabulary was last modified.</p>
*/
inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
/**
* <p>The date and time that the vocabulary was last modified.</p>
*/
inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
/**
* <p>The date and time that the vocabulary was last modified.</p>
*/
inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
/**
* <p>The date and time that the vocabulary was last modified.</p>
*/
inline VocabularyInfo& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
/**
* <p>The date and time that the vocabulary was last modified.</p>
*/
inline VocabularyInfo& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
/**
* <p>The processing state of the vocabulary. If the state is <code>READY</code>
* you can use the vocabulary in a <code>StartTranscriptionJob</code> request.</p>
*/
inline const VocabularyState& GetVocabularyState() const{ return m_vocabularyState; }
/**
* <p>The processing state of the vocabulary. If the state is <code>READY</code>
* you can use the vocabulary in a <code>StartTranscriptionJob</code> request.</p>
*/
inline bool VocabularyStateHasBeenSet() const { return m_vocabularyStateHasBeenSet; }
/**
* <p>The processing state of the vocabulary. If the state is <code>READY</code>
* you can use the vocabulary in a <code>StartTranscriptionJob</code> request.</p>
*/
inline void SetVocabularyState(const VocabularyState& value) { m_vocabularyStateHasBeenSet = true; m_vocabularyState = value; }
/**
* <p>The processing state of the vocabulary. If the state is <code>READY</code>
* you can use the vocabulary in a <code>StartTranscriptionJob</code> request.</p>
*/
inline void SetVocabularyState(VocabularyState&& value) { m_vocabularyStateHasBeenSet = true; m_vocabularyState = std::move(value); }
/**
* <p>The processing state of the vocabulary. If the state is <code>READY</code>
* you can use the vocabulary in a <code>StartTranscriptionJob</code> request.</p>
*/
inline VocabularyInfo& WithVocabularyState(const VocabularyState& value) { SetVocabularyState(value); return *this;}
/**
* <p>The processing state of the vocabulary. If the state is <code>READY</code>
* you can use the vocabulary in a <code>StartTranscriptionJob</code> request.</p>
*/
inline VocabularyInfo& WithVocabularyState(VocabularyState&& value) { SetVocabularyState(std::move(value)); return *this;}
private:
Aws::String m_vocabularyName;
bool m_vocabularyNameHasBeenSet;
LanguageCode m_languageCode;
bool m_languageCodeHasBeenSet;
Aws::Utils::DateTime m_lastModifiedTime;
bool m_lastModifiedTimeHasBeenSet;
VocabularyState m_vocabularyState;
bool m_vocabularyStateHasBeenSet;
};
} // namespace Model
} // namespace TranscribeService
} // namespace Aws