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

Identifying information about the device.

See Also:

AWS * API Reference

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

The ID of the job used to order the device.

*/ inline const Aws::String& GetAssociatedWithJob() const{ return m_associatedWithJob; } /** *

The ID of the job used to order the device.

*/ inline bool AssociatedWithJobHasBeenSet() const { return m_associatedWithJobHasBeenSet; } /** *

The ID of the job used to order the device.

*/ inline void SetAssociatedWithJob(const Aws::String& value) { m_associatedWithJobHasBeenSet = true; m_associatedWithJob = value; } /** *

The ID of the job used to order the device.

*/ inline void SetAssociatedWithJob(Aws::String&& value) { m_associatedWithJobHasBeenSet = true; m_associatedWithJob = std::move(value); } /** *

The ID of the job used to order the device.

*/ inline void SetAssociatedWithJob(const char* value) { m_associatedWithJobHasBeenSet = true; m_associatedWithJob.assign(value); } /** *

The ID of the job used to order the device.

*/ inline DeviceSummary& WithAssociatedWithJob(const Aws::String& value) { SetAssociatedWithJob(value); return *this;} /** *

The ID of the job used to order the device.

*/ inline DeviceSummary& WithAssociatedWithJob(Aws::String&& value) { SetAssociatedWithJob(std::move(value)); return *this;} /** *

The ID of the job used to order the device.

*/ inline DeviceSummary& WithAssociatedWithJob(const char* value) { SetAssociatedWithJob(value); return *this;} /** *

The Amazon Resource Name (ARN) of the device.

*/ inline const Aws::String& GetManagedDeviceArn() const{ return m_managedDeviceArn; } /** *

The Amazon Resource Name (ARN) of the device.

*/ inline bool ManagedDeviceArnHasBeenSet() const { return m_managedDeviceArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the device.

*/ inline void SetManagedDeviceArn(const Aws::String& value) { m_managedDeviceArnHasBeenSet = true; m_managedDeviceArn = value; } /** *

The Amazon Resource Name (ARN) of the device.

*/ inline void SetManagedDeviceArn(Aws::String&& value) { m_managedDeviceArnHasBeenSet = true; m_managedDeviceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the device.

*/ inline void SetManagedDeviceArn(const char* value) { m_managedDeviceArnHasBeenSet = true; m_managedDeviceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the device.

*/ inline DeviceSummary& WithManagedDeviceArn(const Aws::String& value) { SetManagedDeviceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the device.

*/ inline DeviceSummary& WithManagedDeviceArn(Aws::String&& value) { SetManagedDeviceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the device.

*/ inline DeviceSummary& WithManagedDeviceArn(const char* value) { SetManagedDeviceArn(value); return *this;} /** *

The ID of the device.

*/ inline const Aws::String& GetManagedDeviceId() const{ return m_managedDeviceId; } /** *

The ID of the device.

*/ inline bool ManagedDeviceIdHasBeenSet() const { return m_managedDeviceIdHasBeenSet; } /** *

The ID of the device.

*/ inline void SetManagedDeviceId(const Aws::String& value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId = value; } /** *

The ID of the device.

*/ inline void SetManagedDeviceId(Aws::String&& value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId = std::move(value); } /** *

The ID of the device.

*/ inline void SetManagedDeviceId(const char* value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId.assign(value); } /** *

The ID of the device.

*/ inline DeviceSummary& WithManagedDeviceId(const Aws::String& value) { SetManagedDeviceId(value); return *this;} /** *

The ID of the device.

*/ inline DeviceSummary& WithManagedDeviceId(Aws::String&& value) { SetManagedDeviceId(std::move(value)); return *this;} /** *

The ID of the device.

*/ inline DeviceSummary& WithManagedDeviceId(const char* value) { SetManagedDeviceId(value); return *this;} /** *

Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.

*/ inline DeviceSummary& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.

*/ inline DeviceSummary& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.

*/ inline DeviceSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.

*/ inline DeviceSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.

*/ inline DeviceSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.

*/ inline DeviceSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.

*/ inline DeviceSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.

*/ inline DeviceSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.

*/ inline DeviceSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_associatedWithJob; bool m_associatedWithJobHasBeenSet = false; Aws::String m_managedDeviceArn; bool m_managedDeviceArnHasBeenSet = false; Aws::String m_managedDeviceId; bool m_managedDeviceIdHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace SnowDeviceManagement } // namespace Aws