/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Input to an AddInstanceGroups call.See Also:
AWS
* API Reference
Instance groups to add.
*/ inline const Aws::VectorInstance groups to add.
*/ inline bool InstanceGroupsHasBeenSet() const { return m_instanceGroupsHasBeenSet; } /** *Instance groups to add.
*/ inline void SetInstanceGroups(const Aws::VectorInstance groups to add.
*/ inline void SetInstanceGroups(Aws::VectorInstance groups to add.
*/ inline AddInstanceGroupsRequest& WithInstanceGroups(const Aws::VectorInstance groups to add.
*/ inline AddInstanceGroupsRequest& WithInstanceGroups(Aws::VectorInstance groups to add.
*/ inline AddInstanceGroupsRequest& AddInstanceGroups(const InstanceGroupConfig& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups.push_back(value); return *this; } /** *Instance groups to add.
*/ inline AddInstanceGroupsRequest& AddInstanceGroups(InstanceGroupConfig&& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups.push_back(std::move(value)); return *this; } /** *Job flow in which to add the instance groups.
*/ inline const Aws::String& GetJobFlowId() const{ return m_jobFlowId; } /** *Job flow in which to add the instance groups.
*/ inline bool JobFlowIdHasBeenSet() const { return m_jobFlowIdHasBeenSet; } /** *Job flow in which to add the instance groups.
*/ inline void SetJobFlowId(const Aws::String& value) { m_jobFlowIdHasBeenSet = true; m_jobFlowId = value; } /** *Job flow in which to add the instance groups.
*/ inline void SetJobFlowId(Aws::String&& value) { m_jobFlowIdHasBeenSet = true; m_jobFlowId = std::move(value); } /** *Job flow in which to add the instance groups.
*/ inline void SetJobFlowId(const char* value) { m_jobFlowIdHasBeenSet = true; m_jobFlowId.assign(value); } /** *Job flow in which to add the instance groups.
*/ inline AddInstanceGroupsRequest& WithJobFlowId(const Aws::String& value) { SetJobFlowId(value); return *this;} /** *Job flow in which to add the instance groups.
*/ inline AddInstanceGroupsRequest& WithJobFlowId(Aws::String&& value) { SetJobFlowId(std::move(value)); return *this;} /** *Job flow in which to add the instance groups.
*/ inline AddInstanceGroupsRequest& WithJobFlowId(const char* value) { SetJobFlowId(value); return *this;} private: Aws::Vector