/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an instance running on a Dedicated Host.See Also:
* AWS
* API Reference
The ID of instance that is running on the Dedicated Host.
*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *The ID of instance that is running on the Dedicated Host.
*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *The ID of instance that is running on the Dedicated Host.
*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *The ID of instance that is running on the Dedicated Host.
*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *The ID of instance that is running on the Dedicated Host.
*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *The ID of instance that is running on the Dedicated Host.
*/ inline HostInstance& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *The ID of instance that is running on the Dedicated Host.
*/ inline HostInstance& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *The ID of instance that is running on the Dedicated Host.
*/ inline HostInstance& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *The instance type (for example, m3.medium
) of the running
* instance.
The instance type (for example, m3.medium
) of the running
* instance.
The instance type (for example, m3.medium
) of the running
* instance.
The instance type (for example, m3.medium
) of the running
* instance.
The instance type (for example, m3.medium
) of the running
* instance.
The instance type (for example, m3.medium
) of the running
* instance.
The instance type (for example, m3.medium
) of the running
* instance.
The instance type (for example, m3.medium
) of the running
* instance.
The ID of the Amazon Web Services account that owns the instance.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The ID of the Amazon Web Services account that owns the instance.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The ID of the Amazon Web Services account that owns the instance.
*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *The ID of the Amazon Web Services account that owns the instance.
*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *The ID of the Amazon Web Services account that owns the instance.
*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *The ID of the Amazon Web Services account that owns the instance.
*/ inline HostInstance& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The ID of the Amazon Web Services account that owns the instance.
*/ inline HostInstance& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the instance.
*/ inline HostInstance& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} private: Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; Aws::String m_instanceType; bool m_instanceTypeHasBeenSet = false; Aws::String m_ownerId; bool m_ownerIdHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws