/** * 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 IoTTwinMaker { namespace Model { /** */ class GetPropertyValueRequest : public IoTTwinMakerRequest { public: AWS_IOTTWINMAKER_API GetPropertyValueRequest(); // 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 "GetPropertyValue"; } AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override; /** *

The name of the component whose property values the operation returns.

*/ inline const Aws::String& GetComponentName() const{ return m_componentName; } /** *

The name of the component whose property values the operation returns.

*/ inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; } /** *

The name of the component whose property values the operation returns.

*/ inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; } /** *

The name of the component whose property values the operation returns.

*/ inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); } /** *

The name of the component whose property values the operation returns.

*/ inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); } /** *

The name of the component whose property values the operation returns.

*/ inline GetPropertyValueRequest& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;} /** *

The name of the component whose property values the operation returns.

*/ inline GetPropertyValueRequest& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;} /** *

The name of the component whose property values the operation returns.

*/ inline GetPropertyValueRequest& WithComponentName(const char* value) { SetComponentName(value); return *this;} /** *

The ID of the component type whose property values the operation returns.

*/ inline const Aws::String& GetComponentTypeId() const{ return m_componentTypeId; } /** *

The ID of the component type whose property values the operation returns.

*/ inline bool ComponentTypeIdHasBeenSet() const { return m_componentTypeIdHasBeenSet; } /** *

The ID of the component type whose property values the operation returns.

*/ inline void SetComponentTypeId(const Aws::String& value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId = value; } /** *

The ID of the component type whose property values the operation returns.

*/ inline void SetComponentTypeId(Aws::String&& value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId = std::move(value); } /** *

The ID of the component type whose property values the operation returns.

*/ inline void SetComponentTypeId(const char* value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId.assign(value); } /** *

The ID of the component type whose property values the operation returns.

*/ inline GetPropertyValueRequest& WithComponentTypeId(const Aws::String& value) { SetComponentTypeId(value); return *this;} /** *

The ID of the component type whose property values the operation returns.

*/ inline GetPropertyValueRequest& WithComponentTypeId(Aws::String&& value) { SetComponentTypeId(std::move(value)); return *this;} /** *

The ID of the component type whose property values the operation returns.

*/ inline GetPropertyValueRequest& WithComponentTypeId(const char* value) { SetComponentTypeId(value); return *this;} /** *

The ID of the entity whose property values the operation returns.

*/ inline const Aws::String& GetEntityId() const{ return m_entityId; } /** *

The ID of the entity whose property values the operation returns.

*/ inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; } /** *

The ID of the entity whose property values the operation returns.

*/ inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; } /** *

The ID of the entity whose property values the operation returns.

*/ inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); } /** *

The ID of the entity whose property values the operation returns.

*/ inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); } /** *

The ID of the entity whose property values the operation returns.

*/ inline GetPropertyValueRequest& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;} /** *

The ID of the entity whose property values the operation returns.

*/ inline GetPropertyValueRequest& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;} /** *

The ID of the entity whose property values the operation returns.

*/ inline GetPropertyValueRequest& WithEntityId(const char* value) { SetEntityId(value); return *this;} /** *

The properties whose values the operation returns.

*/ inline const Aws::Vector& GetSelectedProperties() const{ return m_selectedProperties; } /** *

The properties whose values the operation returns.

*/ inline bool SelectedPropertiesHasBeenSet() const { return m_selectedPropertiesHasBeenSet; } /** *

The properties whose values the operation returns.

*/ inline void SetSelectedProperties(const Aws::Vector& value) { m_selectedPropertiesHasBeenSet = true; m_selectedProperties = value; } /** *

The properties whose values the operation returns.

*/ inline void SetSelectedProperties(Aws::Vector&& value) { m_selectedPropertiesHasBeenSet = true; m_selectedProperties = std::move(value); } /** *

The properties whose values the operation returns.

*/ inline GetPropertyValueRequest& WithSelectedProperties(const Aws::Vector& value) { SetSelectedProperties(value); return *this;} /** *

The properties whose values the operation returns.

*/ inline GetPropertyValueRequest& WithSelectedProperties(Aws::Vector&& value) { SetSelectedProperties(std::move(value)); return *this;} /** *

The properties whose values the operation returns.

*/ inline GetPropertyValueRequest& AddSelectedProperties(const Aws::String& value) { m_selectedPropertiesHasBeenSet = true; m_selectedProperties.push_back(value); return *this; } /** *

The properties whose values the operation returns.

*/ inline GetPropertyValueRequest& AddSelectedProperties(Aws::String&& value) { m_selectedPropertiesHasBeenSet = true; m_selectedProperties.push_back(std::move(value)); return *this; } /** *

The properties whose values the operation returns.

*/ inline GetPropertyValueRequest& AddSelectedProperties(const char* value) { m_selectedPropertiesHasBeenSet = true; m_selectedProperties.push_back(value); return *this; } /** *

The ID of the workspace whose values the operation returns.

*/ inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** *

The ID of the workspace whose values the operation returns.

*/ inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** *

The ID of the workspace whose values the operation returns.

*/ inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** *

The ID of the workspace whose values the operation returns.

*/ inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** *

The ID of the workspace whose values the operation returns.

*/ inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** *

The ID of the workspace whose values the operation returns.

*/ inline GetPropertyValueRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** *

The ID of the workspace whose values the operation returns.

*/ inline GetPropertyValueRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** *

The ID of the workspace whose values the operation returns.

*/ inline GetPropertyValueRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** *

The maximum number of results to return at one time. The default is 25.

*

Valid Range: Minimum value of 1. Maximum value of 250.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to return at one time. The default is 25.

*

Valid Range: Minimum value of 1. Maximum value of 250.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to return at one time. The default is 25.

*

Valid Range: Minimum value of 1. Maximum value of 250.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to return at one time. The default is 25.

*

Valid Range: Minimum value of 1. Maximum value of 250.

*/ inline GetPropertyValueRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The string that specifies the next page of results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The string that specifies the next page of results.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The string that specifies the next page of results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

The string that specifies the next page of results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

The string that specifies the next page of results.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

The string that specifies the next page of results.

*/ inline GetPropertyValueRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The string that specifies the next page of results.

*/ inline GetPropertyValueRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The string that specifies the next page of results.

*/ inline GetPropertyValueRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The property group name.

*/ inline const Aws::String& GetPropertyGroupName() const{ return m_propertyGroupName; } /** *

The property group name.

*/ inline bool PropertyGroupNameHasBeenSet() const { return m_propertyGroupNameHasBeenSet; } /** *

The property group name.

*/ inline void SetPropertyGroupName(const Aws::String& value) { m_propertyGroupNameHasBeenSet = true; m_propertyGroupName = value; } /** *

The property group name.

*/ inline void SetPropertyGroupName(Aws::String&& value) { m_propertyGroupNameHasBeenSet = true; m_propertyGroupName = std::move(value); } /** *

The property group name.

*/ inline void SetPropertyGroupName(const char* value) { m_propertyGroupNameHasBeenSet = true; m_propertyGroupName.assign(value); } /** *

The property group name.

*/ inline GetPropertyValueRequest& WithPropertyGroupName(const Aws::String& value) { SetPropertyGroupName(value); return *this;} /** *

The property group name.

*/ inline GetPropertyValueRequest& WithPropertyGroupName(Aws::String&& value) { SetPropertyGroupName(std::move(value)); return *this;} /** *

The property group name.

*/ inline GetPropertyValueRequest& WithPropertyGroupName(const char* value) { SetPropertyGroupName(value); return *this;} /** *

The tabular conditions.

*/ inline const TabularConditions& GetTabularConditions() const{ return m_tabularConditions; } /** *

The tabular conditions.

*/ inline bool TabularConditionsHasBeenSet() const { return m_tabularConditionsHasBeenSet; } /** *

The tabular conditions.

*/ inline void SetTabularConditions(const TabularConditions& value) { m_tabularConditionsHasBeenSet = true; m_tabularConditions = value; } /** *

The tabular conditions.

*/ inline void SetTabularConditions(TabularConditions&& value) { m_tabularConditionsHasBeenSet = true; m_tabularConditions = std::move(value); } /** *

The tabular conditions.

*/ inline GetPropertyValueRequest& WithTabularConditions(const TabularConditions& value) { SetTabularConditions(value); return *this;} /** *

The tabular conditions.

*/ inline GetPropertyValueRequest& WithTabularConditions(TabularConditions&& value) { SetTabularConditions(std::move(value)); return *this;} private: Aws::String m_componentName; bool m_componentNameHasBeenSet = false; Aws::String m_componentTypeId; bool m_componentTypeIdHasBeenSet = false; Aws::String m_entityId; bool m_entityIdHasBeenSet = false; Aws::Vector m_selectedProperties; bool m_selectedPropertiesHasBeenSet = false; Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_propertyGroupName; bool m_propertyGroupNameHasBeenSet = false; TabularConditions m_tabularConditions; bool m_tabularConditionsHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws