/** * 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 Appflow { namespace Model { /** *

The high-level entity that can be queried in Amazon AppFlow. For example, a * Salesforce entity might be an Account or Opportunity, whereas a * ServiceNow entity might be an Incident.

See Also:

AWS * API Reference

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

The name of the connector entity.

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

The name of the connector entity.

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

The name of the connector entity.

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

The name of the connector entity.

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

The name of the connector entity.

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

The name of the connector entity.

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

The name of the connector entity.

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

The name of the connector entity.

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

The label applied to the connector entity.

*/ inline const Aws::String& GetLabel() const{ return m_label; } /** *

The label applied to the connector entity.

*/ inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } /** *

The label applied to the connector entity.

*/ inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; } /** *

The label applied to the connector entity.

*/ inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } /** *

The label applied to the connector entity.

*/ inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); } /** *

The label applied to the connector entity.

*/ inline ConnectorEntity& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} /** *

The label applied to the connector entity.

*/ inline ConnectorEntity& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} /** *

The label applied to the connector entity.

*/ inline ConnectorEntity& WithLabel(const char* value) { SetLabel(value); return *this;} /** *

Specifies whether the connector entity is a parent or a category and has * more entities nested underneath it. If another call is made with * entitiesPath = * "the_current_entity_name_with_hasNestedEntities_true", then it returns * the nested entities underneath it. This provides a way to retrieve all supported * entities in a recursive fashion.

*/ inline bool GetHasNestedEntities() const{ return m_hasNestedEntities; } /** *

Specifies whether the connector entity is a parent or a category and has * more entities nested underneath it. If another call is made with * entitiesPath = * "the_current_entity_name_with_hasNestedEntities_true", then it returns * the nested entities underneath it. This provides a way to retrieve all supported * entities in a recursive fashion.

*/ inline bool HasNestedEntitiesHasBeenSet() const { return m_hasNestedEntitiesHasBeenSet; } /** *

Specifies whether the connector entity is a parent or a category and has * more entities nested underneath it. If another call is made with * entitiesPath = * "the_current_entity_name_with_hasNestedEntities_true", then it returns * the nested entities underneath it. This provides a way to retrieve all supported * entities in a recursive fashion.

*/ inline void SetHasNestedEntities(bool value) { m_hasNestedEntitiesHasBeenSet = true; m_hasNestedEntities = value; } /** *

Specifies whether the connector entity is a parent or a category and has * more entities nested underneath it. If another call is made with * entitiesPath = * "the_current_entity_name_with_hasNestedEntities_true", then it returns * the nested entities underneath it. This provides a way to retrieve all supported * entities in a recursive fashion.

*/ inline ConnectorEntity& WithHasNestedEntities(bool value) { SetHasNestedEntities(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_label; bool m_labelHasBeenSet = false; bool m_hasNestedEntities; bool m_hasNestedEntitiesHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws