/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace TranscribeService { namespace Model { /** *

Provides you with the properties of the Call Analytics category you specified * in your request. This includes the list of rules that define the specified * category.

See Also:

AWS * API Reference

*/ class CategoryProperties { public: AWS_TRANSCRIBESERVICE_API CategoryProperties(); AWS_TRANSCRIBESERVICE_API CategoryProperties(Aws::Utils::Json::JsonView jsonValue); AWS_TRANSCRIBESERVICE_API CategoryProperties& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the Call Analytics category. Category names are case sensitive * and must be unique within an Amazon Web Services account.

*/ inline const Aws::String& GetCategoryName() const{ return m_categoryName; } /** *

The name of the Call Analytics category. Category names are case sensitive * and must be unique within an Amazon Web Services account.

*/ inline bool CategoryNameHasBeenSet() const { return m_categoryNameHasBeenSet; } /** *

The name of the Call Analytics category. Category names are case sensitive * and must be unique within an Amazon Web Services account.

*/ inline void SetCategoryName(const Aws::String& value) { m_categoryNameHasBeenSet = true; m_categoryName = value; } /** *

The name of the Call Analytics category. Category names are case sensitive * and must be unique within an Amazon Web Services account.

*/ inline void SetCategoryName(Aws::String&& value) { m_categoryNameHasBeenSet = true; m_categoryName = std::move(value); } /** *

The name of the Call Analytics category. Category names are case sensitive * and must be unique within an Amazon Web Services account.

*/ inline void SetCategoryName(const char* value) { m_categoryNameHasBeenSet = true; m_categoryName.assign(value); } /** *

The name of the Call Analytics category. Category names are case sensitive * and must be unique within an Amazon Web Services account.

*/ inline CategoryProperties& WithCategoryName(const Aws::String& value) { SetCategoryName(value); return *this;} /** *

The name of the Call Analytics category. Category names are case sensitive * and must be unique within an Amazon Web Services account.

*/ inline CategoryProperties& WithCategoryName(Aws::String&& value) { SetCategoryName(std::move(value)); return *this;} /** *

The name of the Call Analytics category. Category names are case sensitive * and must be unique within an Amazon Web Services account.

*/ inline CategoryProperties& WithCategoryName(const char* value) { SetCategoryName(value); return *this;} /** *

The rules used to define a Call Analytics category. Each category can have * between 1 and 20 rules.

*/ inline const Aws::Vector& GetRules() const{ return m_rules; } /** *

The rules used to define a Call Analytics category. Each category can have * between 1 and 20 rules.

*/ inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } /** *

The rules used to define a Call Analytics category. Each category can have * between 1 and 20 rules.

*/ inline void SetRules(const Aws::Vector& value) { m_rulesHasBeenSet = true; m_rules = value; } /** *

The rules used to define a Call Analytics category. Each category can have * between 1 and 20 rules.

*/ inline void SetRules(Aws::Vector&& value) { m_rulesHasBeenSet = true; m_rules = std::move(value); } /** *

The rules used to define a Call Analytics category. Each category can have * between 1 and 20 rules.

*/ inline CategoryProperties& WithRules(const Aws::Vector& value) { SetRules(value); return *this;} /** *

The rules used to define a Call Analytics category. Each category can have * between 1 and 20 rules.

*/ inline CategoryProperties& WithRules(Aws::Vector&& value) { SetRules(std::move(value)); return *this;} /** *

The rules used to define a Call Analytics category. Each category can have * between 1 and 20 rules.

*/ inline CategoryProperties& AddRules(const Rule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; } /** *

The rules used to define a Call Analytics category. Each category can have * between 1 and 20 rules.

*/ inline CategoryProperties& AddRules(Rule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; } /** *

The date and time the specified Call Analytics category was created.

*

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. * For example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM * UTC-7 on May 4, 2022.

*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *

The date and time the specified Call Analytics category was created.

*

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. * For example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM * UTC-7 on May 4, 2022.

*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *

The date and time the specified Call Analytics category was created.

*

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. * For example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM * UTC-7 on May 4, 2022.

*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *

The date and time the specified Call Analytics category was created.

*

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. * For example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM * UTC-7 on May 4, 2022.

*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *

The date and time the specified Call Analytics category was created.

*

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. * For example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM * UTC-7 on May 4, 2022.

*/ inline CategoryProperties& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *

The date and time the specified Call Analytics category was created.

*

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. * For example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM * UTC-7 on May 4, 2022.

*/ inline CategoryProperties& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *

The date and time the specified Call Analytics category was last updated.

*

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. * For example, 2022-05-05T12:45:32.691000-07:00 represents 12:45 PM * UTC-7 on May 5, 2022.

*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *

The date and time the specified Call Analytics category was last updated.

*

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. * For example, 2022-05-05T12:45:32.691000-07:00 represents 12:45 PM * UTC-7 on May 5, 2022.

*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *

The date and time the specified Call Analytics category was last updated.

*

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. * For example, 2022-05-05T12:45:32.691000-07:00 represents 12:45 PM * UTC-7 on May 5, 2022.

*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *

The date and time the specified Call Analytics category was last updated.

*

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. * For example, 2022-05-05T12:45:32.691000-07:00 represents 12:45 PM * UTC-7 on May 5, 2022.

*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *

The date and time the specified Call Analytics category was last updated.

*

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. * For example, 2022-05-05T12:45:32.691000-07:00 represents 12:45 PM * UTC-7 on May 5, 2022.

*/ inline CategoryProperties& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *

The date and time the specified Call Analytics category was last updated.

*

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. * For example, 2022-05-05T12:45:32.691000-07:00 represents 12:45 PM * UTC-7 on May 5, 2022.

*/ inline CategoryProperties& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} /** *

The input type associated with the specified category. POST_CALL * refers to a category that is applied to batch transcriptions; * REAL_TIME refers to a category that is applied to streaming * transcriptions.

*/ inline const InputType& GetInputType() const{ return m_inputType; } /** *

The input type associated with the specified category. POST_CALL * refers to a category that is applied to batch transcriptions; * REAL_TIME refers to a category that is applied to streaming * transcriptions.

*/ inline bool InputTypeHasBeenSet() const { return m_inputTypeHasBeenSet; } /** *

The input type associated with the specified category. POST_CALL * refers to a category that is applied to batch transcriptions; * REAL_TIME refers to a category that is applied to streaming * transcriptions.

*/ inline void SetInputType(const InputType& value) { m_inputTypeHasBeenSet = true; m_inputType = value; } /** *

The input type associated with the specified category. POST_CALL * refers to a category that is applied to batch transcriptions; * REAL_TIME refers to a category that is applied to streaming * transcriptions.

*/ inline void SetInputType(InputType&& value) { m_inputTypeHasBeenSet = true; m_inputType = std::move(value); } /** *

The input type associated with the specified category. POST_CALL * refers to a category that is applied to batch transcriptions; * REAL_TIME refers to a category that is applied to streaming * transcriptions.

*/ inline CategoryProperties& WithInputType(const InputType& value) { SetInputType(value); return *this;} /** *

The input type associated with the specified category. POST_CALL * refers to a category that is applied to batch transcriptions; * REAL_TIME refers to a category that is applied to streaming * transcriptions.

*/ inline CategoryProperties& WithInputType(InputType&& value) { SetInputType(std::move(value)); return *this;} private: Aws::String m_categoryName; bool m_categoryNameHasBeenSet = false; Aws::Vector m_rules; bool m_rulesHasBeenSet = false; Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateTime; bool m_lastUpdateTimeHasBeenSet = false; InputType m_inputType; bool m_inputTypeHasBeenSet = false; }; } // namespace Model } // namespace TranscribeService } // namespace Aws