/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Output from an AddInstanceGroups call.See Also:
AWS
* API Reference
The job flow ID in which the instance groups are added.
*/ inline const Aws::String& GetJobFlowId() const{ return m_jobFlowId; } /** *The job flow ID in which the instance groups are added.
*/ inline void SetJobFlowId(const Aws::String& value) { m_jobFlowId = value; } /** *The job flow ID in which the instance groups are added.
*/ inline void SetJobFlowId(Aws::String&& value) { m_jobFlowId = std::move(value); } /** *The job flow ID in which the instance groups are added.
*/ inline void SetJobFlowId(const char* value) { m_jobFlowId.assign(value); } /** *The job flow ID in which the instance groups are added.
*/ inline AddInstanceGroupsResult& WithJobFlowId(const Aws::String& value) { SetJobFlowId(value); return *this;} /** *The job flow ID in which the instance groups are added.
*/ inline AddInstanceGroupsResult& WithJobFlowId(Aws::String&& value) { SetJobFlowId(std::move(value)); return *this;} /** *The job flow ID in which the instance groups are added.
*/ inline AddInstanceGroupsResult& WithJobFlowId(const char* value) { SetJobFlowId(value); return *this;} /** *Instance group IDs of the newly created instance groups.
*/ inline const Aws::VectorInstance group IDs of the newly created instance groups.
*/ inline void SetInstanceGroupIds(const Aws::VectorInstance group IDs of the newly created instance groups.
*/ inline void SetInstanceGroupIds(Aws::VectorInstance group IDs of the newly created instance groups.
*/ inline AddInstanceGroupsResult& WithInstanceGroupIds(const Aws::VectorInstance group IDs of the newly created instance groups.
*/ inline AddInstanceGroupsResult& WithInstanceGroupIds(Aws::VectorInstance group IDs of the newly created instance groups.
*/ inline AddInstanceGroupsResult& AddInstanceGroupIds(const Aws::String& value) { m_instanceGroupIds.push_back(value); return *this; } /** *Instance group IDs of the newly created instance groups.
*/ inline AddInstanceGroupsResult& AddInstanceGroupIds(Aws::String&& value) { m_instanceGroupIds.push_back(std::move(value)); return *this; } /** *Instance group IDs of the newly created instance groups.
*/ inline AddInstanceGroupsResult& AddInstanceGroupIds(const char* value) { m_instanceGroupIds.push_back(value); return *this; } /** *The Amazon Resource Name of the cluster.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** *The Amazon Resource Name of the cluster.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArn = value; } /** *The Amazon Resource Name of the cluster.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArn = std::move(value); } /** *The Amazon Resource Name of the cluster.
*/ inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); } /** *The Amazon Resource Name of the cluster.
*/ inline AddInstanceGroupsResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *The Amazon Resource Name of the cluster.
*/ inline AddInstanceGroupsResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** *The Amazon Resource Name of the cluster.
*/ inline AddInstanceGroupsResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline AddInstanceGroupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AddInstanceGroupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AddInstanceGroupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_jobFlowId; Aws::Vector