/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the target groups to attach to a Spot Fleet. Spot Fleet registers
* the running Spot Instances with these target groups.See Also:
* AWS
* API Reference
One or more target groups.
*/ inline const Aws::VectorOne or more target groups.
*/ inline bool TargetGroupsHasBeenSet() const { return m_targetGroupsHasBeenSet; } /** *One or more target groups.
*/ inline void SetTargetGroups(const Aws::VectorOne or more target groups.
*/ inline void SetTargetGroups(Aws::VectorOne or more target groups.
*/ inline TargetGroupsConfig& WithTargetGroups(const Aws::VectorOne or more target groups.
*/ inline TargetGroupsConfig& WithTargetGroups(Aws::VectorOne or more target groups.
*/ inline TargetGroupsConfig& AddTargetGroups(const TargetGroup& value) { m_targetGroupsHasBeenSet = true; m_targetGroups.push_back(value); return *this; } /** *One or more target groups.
*/ inline TargetGroupsConfig& AddTargetGroups(TargetGroup&& value) { m_targetGroupsHasBeenSet = true; m_targetGroups.push_back(std::move(value)); return *this; } private: Aws::Vector