/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include One or more targets associated with the specified event window. Only one
* type of target (instance ID, instance tag, or Dedicated Host ID) can be
* associated with an event window.See Also:
AWS
* API Reference
The IDs of the instances to associate with the event window. If the instance * is on a Dedicated Host, you can't specify the Instance ID parameter; you must * use the Dedicated Host ID parameter.
*/ inline const Aws::VectorThe IDs of the instances to associate with the event window. If the instance * is on a Dedicated Host, you can't specify the Instance ID parameter; you must * use the Dedicated Host ID parameter.
*/ inline bool InstanceIdsHasBeenSet() const { return m_instanceIdsHasBeenSet; } /** *The IDs of the instances to associate with the event window. If the instance * is on a Dedicated Host, you can't specify the Instance ID parameter; you must * use the Dedicated Host ID parameter.
*/ inline void SetInstanceIds(const Aws::VectorThe IDs of the instances to associate with the event window. If the instance * is on a Dedicated Host, you can't specify the Instance ID parameter; you must * use the Dedicated Host ID parameter.
*/ inline void SetInstanceIds(Aws::VectorThe IDs of the instances to associate with the event window. If the instance * is on a Dedicated Host, you can't specify the Instance ID parameter; you must * use the Dedicated Host ID parameter.
*/ inline InstanceEventWindowAssociationRequest& WithInstanceIds(const Aws::VectorThe IDs of the instances to associate with the event window. If the instance * is on a Dedicated Host, you can't specify the Instance ID parameter; you must * use the Dedicated Host ID parameter.
*/ inline InstanceEventWindowAssociationRequest& WithInstanceIds(Aws::VectorThe IDs of the instances to associate with the event window. If the instance * is on a Dedicated Host, you can't specify the Instance ID parameter; you must * use the Dedicated Host ID parameter.
*/ inline InstanceEventWindowAssociationRequest& AddInstanceIds(const Aws::String& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(value); return *this; } /** *The IDs of the instances to associate with the event window. If the instance * is on a Dedicated Host, you can't specify the Instance ID parameter; you must * use the Dedicated Host ID parameter.
*/ inline InstanceEventWindowAssociationRequest& AddInstanceIds(Aws::String&& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(std::move(value)); return *this; } /** *The IDs of the instances to associate with the event window. If the instance * is on a Dedicated Host, you can't specify the Instance ID parameter; you must * use the Dedicated Host ID parameter.
*/ inline InstanceEventWindowAssociationRequest& AddInstanceIds(const char* value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(value); return *this; } /** *The instance tags to associate with the event window. Any instances * associated with the tags will be associated with the event window.
*/ inline const Aws::VectorThe instance tags to associate with the event window. Any instances * associated with the tags will be associated with the event window.
*/ inline bool InstanceTagsHasBeenSet() const { return m_instanceTagsHasBeenSet; } /** *The instance tags to associate with the event window. Any instances * associated with the tags will be associated with the event window.
*/ inline void SetInstanceTags(const Aws::VectorThe instance tags to associate with the event window. Any instances * associated with the tags will be associated with the event window.
*/ inline void SetInstanceTags(Aws::VectorThe instance tags to associate with the event window. Any instances * associated with the tags will be associated with the event window.
*/ inline InstanceEventWindowAssociationRequest& WithInstanceTags(const Aws::VectorThe instance tags to associate with the event window. Any instances * associated with the tags will be associated with the event window.
*/ inline InstanceEventWindowAssociationRequest& WithInstanceTags(Aws::VectorThe instance tags to associate with the event window. Any instances * associated with the tags will be associated with the event window.
*/ inline InstanceEventWindowAssociationRequest& AddInstanceTags(const Tag& value) { m_instanceTagsHasBeenSet = true; m_instanceTags.push_back(value); return *this; } /** *The instance tags to associate with the event window. Any instances * associated with the tags will be associated with the event window.
*/ inline InstanceEventWindowAssociationRequest& AddInstanceTags(Tag&& value) { m_instanceTagsHasBeenSet = true; m_instanceTags.push_back(std::move(value)); return *this; } /** *The IDs of the Dedicated Hosts to associate with the event window.
*/ inline const Aws::VectorThe IDs of the Dedicated Hosts to associate with the event window.
*/ inline bool DedicatedHostIdsHasBeenSet() const { return m_dedicatedHostIdsHasBeenSet; } /** *The IDs of the Dedicated Hosts to associate with the event window.
*/ inline void SetDedicatedHostIds(const Aws::VectorThe IDs of the Dedicated Hosts to associate with the event window.
*/ inline void SetDedicatedHostIds(Aws::VectorThe IDs of the Dedicated Hosts to associate with the event window.
*/ inline InstanceEventWindowAssociationRequest& WithDedicatedHostIds(const Aws::VectorThe IDs of the Dedicated Hosts to associate with the event window.
*/ inline InstanceEventWindowAssociationRequest& WithDedicatedHostIds(Aws::VectorThe IDs of the Dedicated Hosts to associate with the event window.
*/ inline InstanceEventWindowAssociationRequest& AddDedicatedHostIds(const Aws::String& value) { m_dedicatedHostIdsHasBeenSet = true; m_dedicatedHostIds.push_back(value); return *this; } /** *The IDs of the Dedicated Hosts to associate with the event window.
*/ inline InstanceEventWindowAssociationRequest& AddDedicatedHostIds(Aws::String&& value) { m_dedicatedHostIdsHasBeenSet = true; m_dedicatedHostIds.push_back(std::move(value)); return *this; } /** *The IDs of the Dedicated Hosts to associate with the event window.
*/ inline InstanceEventWindowAssociationRequest& AddDedicatedHostIds(const char* value) { m_dedicatedHostIdsHasBeenSet = true; m_dedicatedHostIds.push_back(value); return *this; } private: Aws::Vector