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

Specifies a JSON classifier to be updated.

See Also:

AWS * API Reference

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

The name of the classifier.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the classifier.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the classifier.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the classifier.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the classifier.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the classifier.

*/ inline UpdateJsonClassifierRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the classifier.

*/ inline UpdateJsonClassifierRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the classifier.

*/ inline UpdateJsonClassifierRequest& WithName(const char* value) { SetName(value); return *this;} /** *

A JsonPath string defining the JSON data for the classifier to * classify. Glue supports a subset of JsonPath, as described in Writing * JsonPath Custom Classifiers.

*/ inline const Aws::String& GetJsonPath() const{ return m_jsonPath; } /** *

A JsonPath string defining the JSON data for the classifier to * classify. Glue supports a subset of JsonPath, as described in Writing * JsonPath Custom Classifiers.

*/ inline bool JsonPathHasBeenSet() const { return m_jsonPathHasBeenSet; } /** *

A JsonPath string defining the JSON data for the classifier to * classify. Glue supports a subset of JsonPath, as described in Writing * JsonPath Custom Classifiers.

*/ inline void SetJsonPath(const Aws::String& value) { m_jsonPathHasBeenSet = true; m_jsonPath = value; } /** *

A JsonPath string defining the JSON data for the classifier to * classify. Glue supports a subset of JsonPath, as described in Writing * JsonPath Custom Classifiers.

*/ inline void SetJsonPath(Aws::String&& value) { m_jsonPathHasBeenSet = true; m_jsonPath = std::move(value); } /** *

A JsonPath string defining the JSON data for the classifier to * classify. Glue supports a subset of JsonPath, as described in Writing * JsonPath Custom Classifiers.

*/ inline void SetJsonPath(const char* value) { m_jsonPathHasBeenSet = true; m_jsonPath.assign(value); } /** *

A JsonPath string defining the JSON data for the classifier to * classify. Glue supports a subset of JsonPath, as described in Writing * JsonPath Custom Classifiers.

*/ inline UpdateJsonClassifierRequest& WithJsonPath(const Aws::String& value) { SetJsonPath(value); return *this;} /** *

A JsonPath string defining the JSON data for the classifier to * classify. Glue supports a subset of JsonPath, as described in Writing * JsonPath Custom Classifiers.

*/ inline UpdateJsonClassifierRequest& WithJsonPath(Aws::String&& value) { SetJsonPath(std::move(value)); return *this;} /** *

A JsonPath string defining the JSON data for the classifier to * classify. Glue supports a subset of JsonPath, as described in Writing * JsonPath Custom Classifiers.

*/ inline UpdateJsonClassifierRequest& WithJsonPath(const char* value) { SetJsonPath(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_jsonPath; bool m_jsonPathHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws