/** * 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 BatchPutPropertyValuesRequest : public IoTTwinMakerRequest { public: AWS_IOTTWINMAKER_API BatchPutPropertyValuesRequest(); // 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 "BatchPutPropertyValues"; } AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override; /** *

The ID of the workspace that contains the properties to set.

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

The ID of the workspace that contains the properties to set.

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

The ID of the workspace that contains the properties to set.

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

The ID of the workspace that contains the properties to set.

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

The ID of the workspace that contains the properties to set.

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

The ID of the workspace that contains the properties to set.

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

The ID of the workspace that contains the properties to set.

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

The ID of the workspace that contains the properties to set.

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

An object that maps strings to the property value entries to set. Each string * in the mapping must be unique to this object.

*/ inline const Aws::Vector& GetEntries() const{ return m_entries; } /** *

An object that maps strings to the property value entries to set. Each string * in the mapping must be unique to this object.

*/ inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; } /** *

An object that maps strings to the property value entries to set. Each string * in the mapping must be unique to this object.

*/ inline void SetEntries(const Aws::Vector& value) { m_entriesHasBeenSet = true; m_entries = value; } /** *

An object that maps strings to the property value entries to set. Each string * in the mapping must be unique to this object.

*/ inline void SetEntries(Aws::Vector&& value) { m_entriesHasBeenSet = true; m_entries = std::move(value); } /** *

An object that maps strings to the property value entries to set. Each string * in the mapping must be unique to this object.

*/ inline BatchPutPropertyValuesRequest& WithEntries(const Aws::Vector& value) { SetEntries(value); return *this;} /** *

An object that maps strings to the property value entries to set. Each string * in the mapping must be unique to this object.

*/ inline BatchPutPropertyValuesRequest& WithEntries(Aws::Vector&& value) { SetEntries(std::move(value)); return *this;} /** *

An object that maps strings to the property value entries to set. Each string * in the mapping must be unique to this object.

*/ inline BatchPutPropertyValuesRequest& AddEntries(const PropertyValueEntry& value) { m_entriesHasBeenSet = true; m_entries.push_back(value); return *this; } /** *

An object that maps strings to the property value entries to set. Each string * in the mapping must be unique to this object.

*/ inline BatchPutPropertyValuesRequest& AddEntries(PropertyValueEntry&& value) { m_entriesHasBeenSet = true; m_entries.push_back(std::move(value)); return *this; } private: Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; Aws::Vector m_entries; bool m_entriesHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws