/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace IoTThingsGraph { namespace Model { /** */ class AWS_IOTTHINGSGRAPH_API GetEntitiesRequest : public IoTThingsGraphRequest { public: GetEntitiesRequest(); // 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 "GetEntities"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

An array of entity IDs.

The IDs should be in the following format.

*

urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

*/ inline const Aws::Vector& GetIds() const{ return m_ids; } /** *

An array of entity IDs.

The IDs should be in the following format.

*

urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

*/ inline bool IdsHasBeenSet() const { return m_idsHasBeenSet; } /** *

An array of entity IDs.

The IDs should be in the following format.

*

urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

*/ inline void SetIds(const Aws::Vector& value) { m_idsHasBeenSet = true; m_ids = value; } /** *

An array of entity IDs.

The IDs should be in the following format.

*

urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

*/ inline void SetIds(Aws::Vector&& value) { m_idsHasBeenSet = true; m_ids = std::move(value); } /** *

An array of entity IDs.

The IDs should be in the following format.

*

urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

*/ inline GetEntitiesRequest& WithIds(const Aws::Vector& value) { SetIds(value); return *this;} /** *

An array of entity IDs.

The IDs should be in the following format.

*

urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

*/ inline GetEntitiesRequest& WithIds(Aws::Vector&& value) { SetIds(std::move(value)); return *this;} /** *

An array of entity IDs.

The IDs should be in the following format.

*

urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

*/ inline GetEntitiesRequest& AddIds(const Aws::String& value) { m_idsHasBeenSet = true; m_ids.push_back(value); return *this; } /** *

An array of entity IDs.

The IDs should be in the following format.

*

urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

*/ inline GetEntitiesRequest& AddIds(Aws::String&& value) { m_idsHasBeenSet = true; m_ids.push_back(std::move(value)); return *this; } /** *

An array of entity IDs.

The IDs should be in the following format.

*

urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

*/ inline GetEntitiesRequest& AddIds(const char* value) { m_idsHasBeenSet = true; m_ids.push_back(value); return *this; } /** *

The version of the user's namespace. Defaults to the latest version of the * user's namespace.

*/ inline long long GetNamespaceVersion() const{ return m_namespaceVersion; } /** *

The version of the user's namespace. Defaults to the latest version of the * user's namespace.

*/ inline bool NamespaceVersionHasBeenSet() const { return m_namespaceVersionHasBeenSet; } /** *

The version of the user's namespace. Defaults to the latest version of the * user's namespace.

*/ inline void SetNamespaceVersion(long long value) { m_namespaceVersionHasBeenSet = true; m_namespaceVersion = value; } /** *

The version of the user's namespace. Defaults to the latest version of the * user's namespace.

*/ inline GetEntitiesRequest& WithNamespaceVersion(long long value) { SetNamespaceVersion(value); return *this;} private: Aws::Vector m_ids; bool m_idsHasBeenSet; long long m_namespaceVersion; bool m_namespaceVersionHasBeenSet; }; } // namespace Model } // namespace IoTThingsGraph } // namespace Aws