/** * 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 TranscribeService { namespace Model { /** */ class UpdateCallAnalyticsCategoryRequest : public TranscribeServiceRequest { public: AWS_TRANSCRIBESERVICE_API UpdateCallAnalyticsCategoryRequest(); // 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 "UpdateCallAnalyticsCategory"; } AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override; AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the Call Analytics category you want to update. Category names * are case sensitive.

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

The name of the Call Analytics category you want to update. Category names * are case sensitive.

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

The name of the Call Analytics category you want to update. Category names * are case sensitive.

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

The name of the Call Analytics category you want to update. Category names * are case sensitive.

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

The name of the Call Analytics category you want to update. Category names * are case sensitive.

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

The name of the Call Analytics category you want to update. Category names * are case sensitive.

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

The name of the Call Analytics category you want to update. Category names * are case sensitive.

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

The name of the Call Analytics category you want to update. Category names * are case sensitive.

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

The rules used for the updated Call Analytics category. The rules you provide * in this field replace the ones that are currently being used in the specified * category.

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

The rules used for the updated Call Analytics category. The rules you provide * in this field replace the ones that are currently being used in the specified * category.

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

The rules used for the updated Call Analytics category. The rules you provide * in this field replace the ones that are currently being used in the specified * category.

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

The rules used for the updated Call Analytics category. The rules you provide * in this field replace the ones that are currently being used in the specified * category.

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

The rules used for the updated Call Analytics category. The rules you provide * in this field replace the ones that are currently being used in the specified * category.

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

The rules used for the updated Call Analytics category. The rules you provide * in this field replace the ones that are currently being used in the specified * category.

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

The rules used for the updated Call Analytics category. The rules you provide * in this field replace the ones that are currently being used in the specified * category.

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

The rules used for the updated Call Analytics category. The rules you provide * in this field replace the ones that are currently being used in the specified * category.

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

Choose whether you want to update a real-time or a post-call category. The * input type you specify must match the input type specified when the category was * created. For example, if you created a category with the POST_CALL * input type, you must use POST_CALL as the input type when updating * this category.

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

Choose whether you want to update a real-time or a post-call category. The * input type you specify must match the input type specified when the category was * created. For example, if you created a category with the POST_CALL * input type, you must use POST_CALL as the input type when updating * this category.

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

Choose whether you want to update a real-time or a post-call category. The * input type you specify must match the input type specified when the category was * created. For example, if you created a category with the POST_CALL * input type, you must use POST_CALL as the input type when updating * this category.

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

Choose whether you want to update a real-time or a post-call category. The * input type you specify must match the input type specified when the category was * created. For example, if you created a category with the POST_CALL * input type, you must use POST_CALL as the input type when updating * this category.

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

Choose whether you want to update a real-time or a post-call category. The * input type you specify must match the input type specified when the category was * created. For example, if you created a category with the POST_CALL * input type, you must use POST_CALL as the input type when updating * this category.

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

Choose whether you want to update a real-time or a post-call category. The * input type you specify must match the input type specified when the category was * created. For example, if you created a category with the POST_CALL * input type, you must use POST_CALL as the input type when updating * this category.

*/ inline UpdateCallAnalyticsCategoryRequest& 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; InputType m_inputType; bool m_inputTypeHasBeenSet = false; }; } // namespace Model } // namespace TranscribeService } // namespace Aws