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

The ID of the workspace.

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

The ID of the workspace.

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

The ID of the workspace.

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

The ID of the workspace.

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

The ID of the workspace.

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

The ID of the workspace.

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

The ID of the workspace.

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

The ID of the workspace.

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

The ID of the entity.

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

The ID of the entity.

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

The ID of the entity.

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

The ID of the entity.

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

The ID of the entity.

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

The ID of the entity.

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

The ID of the entity.

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

The ID of the entity.

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

The name of the component.

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

The name of the component.

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

The name of the component.

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

The name of the component.

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

The name of the component.

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

The name of the component.

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

The name of the component.

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

The name of the component.

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

The ID of the component type.

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

The ID of the component type.

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

The ID of the component type.

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

The ID of the component type.

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

The ID of the component type.

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

The ID of the component type.

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

The ID of the component type.

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

The ID of the component type.

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

A list of properties whose value histories the request retrieves.

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

A list of properties whose value histories the request retrieves.

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

A list of properties whose value histories the request retrieves.

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

A list of properties whose value histories the request retrieves.

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

A list of properties whose value histories the request retrieves.

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

A list of properties whose value histories the request retrieves.

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

A list of properties whose value histories the request retrieves.

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

A list of properties whose value histories the request retrieves.

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

A list of properties whose value histories the request retrieves.

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

A list of objects that filter the property value history request.

*/ inline const Aws::Vector& GetPropertyFilters() const{ return m_propertyFilters; } /** *

A list of objects that filter the property value history request.

*/ inline bool PropertyFiltersHasBeenSet() const { return m_propertyFiltersHasBeenSet; } /** *

A list of objects that filter the property value history request.

*/ inline void SetPropertyFilters(const Aws::Vector& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters = value; } /** *

A list of objects that filter the property value history request.

*/ inline void SetPropertyFilters(Aws::Vector&& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters = std::move(value); } /** *

A list of objects that filter the property value history request.

*/ inline GetPropertyValueHistoryRequest& WithPropertyFilters(const Aws::Vector& value) { SetPropertyFilters(value); return *this;} /** *

A list of objects that filter the property value history request.

*/ inline GetPropertyValueHistoryRequest& WithPropertyFilters(Aws::Vector&& value) { SetPropertyFilters(std::move(value)); return *this;} /** *

A list of objects that filter the property value history request.

*/ inline GetPropertyValueHistoryRequest& AddPropertyFilters(const PropertyFilter& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters.push_back(value); return *this; } /** *

A list of objects that filter the property value history request.

*/ inline GetPropertyValueHistoryRequest& AddPropertyFilters(PropertyFilter&& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters.push_back(std::move(value)); return *this; } /** *

An object that specifies the interpolation type and the interval over which * to interpolate data.

*/ inline const InterpolationParameters& GetInterpolation() const{ return m_interpolation; } /** *

An object that specifies the interpolation type and the interval over which * to interpolate data.

*/ inline bool InterpolationHasBeenSet() const { return m_interpolationHasBeenSet; } /** *

An object that specifies the interpolation type and the interval over which * to interpolate data.

*/ inline void SetInterpolation(const InterpolationParameters& value) { m_interpolationHasBeenSet = true; m_interpolation = value; } /** *

An object that specifies the interpolation type and the interval over which * to interpolate data.

*/ inline void SetInterpolation(InterpolationParameters&& value) { m_interpolationHasBeenSet = true; m_interpolation = std::move(value); } /** *

An object that specifies the interpolation type and the interval over which * to interpolate data.

*/ inline GetPropertyValueHistoryRequest& WithInterpolation(const InterpolationParameters& value) { SetInterpolation(value); return *this;} /** *

An object that specifies the interpolation type and the interval over which * to interpolate data.

*/ inline GetPropertyValueHistoryRequest& WithInterpolation(InterpolationParameters&& value) { SetInterpolation(std::move(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 GetPropertyValueHistoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The string that specifies the next page of results.

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

The string that specifies the next page of results.

*/ inline GetPropertyValueHistoryRequest& WithNextToken(const char* value) { SetNextToken(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 GetPropertyValueHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The time direction to use in the result order.

*/ inline const OrderByTime& GetOrderByTime() const{ return m_orderByTime; } /** *

The time direction to use in the result order.

*/ inline bool OrderByTimeHasBeenSet() const { return m_orderByTimeHasBeenSet; } /** *

The time direction to use in the result order.

*/ inline void SetOrderByTime(const OrderByTime& value) { m_orderByTimeHasBeenSet = true; m_orderByTime = value; } /** *

The time direction to use in the result order.

*/ inline void SetOrderByTime(OrderByTime&& value) { m_orderByTimeHasBeenSet = true; m_orderByTime = std::move(value); } /** *

The time direction to use in the result order.

*/ inline GetPropertyValueHistoryRequest& WithOrderByTime(const OrderByTime& value) { SetOrderByTime(value); return *this;} /** *

The time direction to use in the result order.

*/ inline GetPropertyValueHistoryRequest& WithOrderByTime(OrderByTime&& value) { SetOrderByTime(std::move(value)); return *this;} /** *

The ISO8601 DateTime of the earliest property value to return.

For * more information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline const Aws::String& GetStartTime() const{ return m_startTime; } /** *

The ISO8601 DateTime of the earliest property value to return.

For * more information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The ISO8601 DateTime of the earliest property value to return.

For * more information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The ISO8601 DateTime of the earliest property value to return.

For * more information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The ISO8601 DateTime of the earliest property value to return.

For * more information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); } /** *

The ISO8601 DateTime of the earliest property value to return.

For * more information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline GetPropertyValueHistoryRequest& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;} /** *

The ISO8601 DateTime of the earliest property value to return.

For * more information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline GetPropertyValueHistoryRequest& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;} /** *

The ISO8601 DateTime of the earliest property value to return.

For * more information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline GetPropertyValueHistoryRequest& WithStartTime(const char* value) { SetStartTime(value); return *this;} /** *

The ISO8601 DateTime of the latest property value to return.

For more * information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline const Aws::String& GetEndTime() const{ return m_endTime; } /** *

The ISO8601 DateTime of the latest property value to return.

For more * information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The ISO8601 DateTime of the latest property value to return.

For more * information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline void SetEndTime(const Aws::String& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

The ISO8601 DateTime of the latest property value to return.

For more * information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline void SetEndTime(Aws::String&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

The ISO8601 DateTime of the latest property value to return.

For more * information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline void SetEndTime(const char* value) { m_endTimeHasBeenSet = true; m_endTime.assign(value); } /** *

The ISO8601 DateTime of the latest property value to return.

For more * information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline GetPropertyValueHistoryRequest& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;} /** *

The ISO8601 DateTime of the latest property value to return.

For more * information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline GetPropertyValueHistoryRequest& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;} /** *

The ISO8601 DateTime of the latest property value to return.

For more * information about the ISO8601 DateTime format, see the data type PropertyValue.

*/ inline GetPropertyValueHistoryRequest& WithEndTime(const char* value) { SetEndTime(value); return *this;} private: Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; Aws::String m_entityId; bool m_entityIdHasBeenSet = false; Aws::String m_componentName; bool m_componentNameHasBeenSet = false; Aws::String m_componentTypeId; bool m_componentTypeIdHasBeenSet = false; Aws::Vector m_selectedProperties; bool m_selectedPropertiesHasBeenSet = false; Aws::Vector m_propertyFilters; bool m_propertyFiltersHasBeenSet = false; InterpolationParameters m_interpolation; bool m_interpolationHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; OrderByTime m_orderByTime; bool m_orderByTimeHasBeenSet = false; Aws::String m_startTime; bool m_startTimeHasBeenSet = false; Aws::String m_endTime; bool m_endTimeHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws