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

The function request body.

See Also:

AWS * API Reference

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

The required properties of the function.

*/ inline const Aws::Vector& GetRequiredProperties() const{ return m_requiredProperties; } /** *

The required properties of the function.

*/ inline bool RequiredPropertiesHasBeenSet() const { return m_requiredPropertiesHasBeenSet; } /** *

The required properties of the function.

*/ inline void SetRequiredProperties(const Aws::Vector& value) { m_requiredPropertiesHasBeenSet = true; m_requiredProperties = value; } /** *

The required properties of the function.

*/ inline void SetRequiredProperties(Aws::Vector&& value) { m_requiredPropertiesHasBeenSet = true; m_requiredProperties = std::move(value); } /** *

The required properties of the function.

*/ inline FunctionRequest& WithRequiredProperties(const Aws::Vector& value) { SetRequiredProperties(value); return *this;} /** *

The required properties of the function.

*/ inline FunctionRequest& WithRequiredProperties(Aws::Vector&& value) { SetRequiredProperties(std::move(value)); return *this;} /** *

The required properties of the function.

*/ inline FunctionRequest& AddRequiredProperties(const Aws::String& value) { m_requiredPropertiesHasBeenSet = true; m_requiredProperties.push_back(value); return *this; } /** *

The required properties of the function.

*/ inline FunctionRequest& AddRequiredProperties(Aws::String&& value) { m_requiredPropertiesHasBeenSet = true; m_requiredProperties.push_back(std::move(value)); return *this; } /** *

The required properties of the function.

*/ inline FunctionRequest& AddRequiredProperties(const char* value) { m_requiredPropertiesHasBeenSet = true; m_requiredProperties.push_back(value); return *this; } /** *

The scope of the function.

*/ inline const Scope& GetScope() const{ return m_scope; } /** *

The scope of the function.

*/ inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; } /** *

The scope of the function.

*/ inline void SetScope(const Scope& value) { m_scopeHasBeenSet = true; m_scope = value; } /** *

The scope of the function.

*/ inline void SetScope(Scope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); } /** *

The scope of the function.

*/ inline FunctionRequest& WithScope(const Scope& value) { SetScope(value); return *this;} /** *

The scope of the function.

*/ inline FunctionRequest& WithScope(Scope&& value) { SetScope(std::move(value)); return *this;} /** *

The data connector.

*/ inline const DataConnector& GetImplementedBy() const{ return m_implementedBy; } /** *

The data connector.

*/ inline bool ImplementedByHasBeenSet() const { return m_implementedByHasBeenSet; } /** *

The data connector.

*/ inline void SetImplementedBy(const DataConnector& value) { m_implementedByHasBeenSet = true; m_implementedBy = value; } /** *

The data connector.

*/ inline void SetImplementedBy(DataConnector&& value) { m_implementedByHasBeenSet = true; m_implementedBy = std::move(value); } /** *

The data connector.

*/ inline FunctionRequest& WithImplementedBy(const DataConnector& value) { SetImplementedBy(value); return *this;} /** *

The data connector.

*/ inline FunctionRequest& WithImplementedBy(DataConnector&& value) { SetImplementedBy(std::move(value)); return *this;} private: Aws::Vector m_requiredProperties; bool m_requiredPropertiesHasBeenSet = false; Scope m_scope; bool m_scopeHasBeenSet = false; DataConnector m_implementedBy; bool m_implementedByHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws