/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Deprecated. Describes a linked EC2-Classic
* instance.See Also:
AWS
* API Reference
The security groups.
*/ inline const Aws::VectorThe security groups.
*/ inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; } /** *The security groups.
*/ inline void SetGroups(const Aws::VectorThe security groups.
*/ inline void SetGroups(Aws::VectorThe security groups.
*/ inline ClassicLinkInstance& WithGroups(const Aws::VectorThe security groups.
*/ inline ClassicLinkInstance& WithGroups(Aws::VectorThe security groups.
*/ inline ClassicLinkInstance& AddGroups(const GroupIdentifier& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; } /** *The security groups.
*/ inline ClassicLinkInstance& AddGroups(GroupIdentifier&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; } /** *The ID of the instance.
*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *The ID of the instance.
*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *The ID of the instance.
*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *The ID of the instance.
*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *The ID of the instance.
*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *The ID of the instance.
*/ inline ClassicLinkInstance& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *The ID of the instance.
*/ inline ClassicLinkInstance& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *The ID of the instance.
*/ inline ClassicLinkInstance& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *Any tags assigned to the instance.
*/ inline const Aws::VectorAny tags assigned to the instance.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Any tags assigned to the instance.
*/ inline void SetTags(const Aws::VectorAny tags assigned to the instance.
*/ inline void SetTags(Aws::VectorAny tags assigned to the instance.
*/ inline ClassicLinkInstance& WithTags(const Aws::VectorAny tags assigned to the instance.
*/ inline ClassicLinkInstance& WithTags(Aws::VectorAny tags assigned to the instance.
*/ inline ClassicLinkInstance& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Any tags assigned to the instance.
*/ inline ClassicLinkInstance& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *The ID of the VPC.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The ID of the VPC.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The ID of the VPC.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The ID of the VPC.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The ID of the VPC.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The ID of the VPC.
*/ inline ClassicLinkInstance& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the VPC.
*/ inline ClassicLinkInstance& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the VPC.
*/ inline ClassicLinkInstance& WithVpcId(const char* value) { SetVpcId(value); return *this;} private: Aws::Vector