/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The unique identifier of the cluster for which you want to associate or * disassociate IAM roles.
*/ inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; } /** *The unique identifier of the cluster for which you want to associate or * disassociate IAM roles.
*/ inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; } /** *The unique identifier of the cluster for which you want to associate or * disassociate IAM roles.
*/ inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; } /** *The unique identifier of the cluster for which you want to associate or * disassociate IAM roles.
*/ inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); } /** *The unique identifier of the cluster for which you want to associate or * disassociate IAM roles.
*/ inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); } /** *The unique identifier of the cluster for which you want to associate or * disassociate IAM roles.
*/ inline ModifyClusterIamRolesRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;} /** *The unique identifier of the cluster for which you want to associate or * disassociate IAM roles.
*/ inline ModifyClusterIamRolesRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;} /** *The unique identifier of the cluster for which you want to associate or * disassociate IAM roles.
*/ inline ModifyClusterIamRolesRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;} /** *Zero or more IAM roles to associate with the cluster. The roles must be in * their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles * with a single cluster in a single request.
*/ inline const Aws::VectorZero or more IAM roles to associate with the cluster. The roles must be in * their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles * with a single cluster in a single request.
*/ inline bool AddIamRolesHasBeenSet() const { return m_addIamRolesHasBeenSet; } /** *Zero or more IAM roles to associate with the cluster. The roles must be in * their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles * with a single cluster in a single request.
*/ inline void SetAddIamRoles(const Aws::VectorZero or more IAM roles to associate with the cluster. The roles must be in * their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles * with a single cluster in a single request.
*/ inline void SetAddIamRoles(Aws::VectorZero or more IAM roles to associate with the cluster. The roles must be in * their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles * with a single cluster in a single request.
*/ inline ModifyClusterIamRolesRequest& WithAddIamRoles(const Aws::VectorZero or more IAM roles to associate with the cluster. The roles must be in * their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles * with a single cluster in a single request.
*/ inline ModifyClusterIamRolesRequest& WithAddIamRoles(Aws::VectorZero or more IAM roles to associate with the cluster. The roles must be in * their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles * with a single cluster in a single request.
*/ inline ModifyClusterIamRolesRequest& AddAddIamRoles(const Aws::String& value) { m_addIamRolesHasBeenSet = true; m_addIamRoles.push_back(value); return *this; } /** *Zero or more IAM roles to associate with the cluster. The roles must be in * their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles * with a single cluster in a single request.
*/ inline ModifyClusterIamRolesRequest& AddAddIamRoles(Aws::String&& value) { m_addIamRolesHasBeenSet = true; m_addIamRoles.push_back(std::move(value)); return *this; } /** *Zero or more IAM roles to associate with the cluster. The roles must be in * their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles * with a single cluster in a single request.
*/ inline ModifyClusterIamRolesRequest& AddAddIamRoles(const char* value) { m_addIamRolesHasBeenSet = true; m_addIamRoles.push_back(value); return *this; } /** *Zero or more IAM roles in ARN format to disassociate from the cluster. You * can disassociate up to 10 IAM roles from a single cluster in a single * request.
*/ inline const Aws::VectorZero or more IAM roles in ARN format to disassociate from the cluster. You * can disassociate up to 10 IAM roles from a single cluster in a single * request.
*/ inline bool RemoveIamRolesHasBeenSet() const { return m_removeIamRolesHasBeenSet; } /** *Zero or more IAM roles in ARN format to disassociate from the cluster. You * can disassociate up to 10 IAM roles from a single cluster in a single * request.
*/ inline void SetRemoveIamRoles(const Aws::VectorZero or more IAM roles in ARN format to disassociate from the cluster. You * can disassociate up to 10 IAM roles from a single cluster in a single * request.
*/ inline void SetRemoveIamRoles(Aws::VectorZero or more IAM roles in ARN format to disassociate from the cluster. You * can disassociate up to 10 IAM roles from a single cluster in a single * request.
*/ inline ModifyClusterIamRolesRequest& WithRemoveIamRoles(const Aws::VectorZero or more IAM roles in ARN format to disassociate from the cluster. You * can disassociate up to 10 IAM roles from a single cluster in a single * request.
*/ inline ModifyClusterIamRolesRequest& WithRemoveIamRoles(Aws::VectorZero or more IAM roles in ARN format to disassociate from the cluster. You * can disassociate up to 10 IAM roles from a single cluster in a single * request.
*/ inline ModifyClusterIamRolesRequest& AddRemoveIamRoles(const Aws::String& value) { m_removeIamRolesHasBeenSet = true; m_removeIamRoles.push_back(value); return *this; } /** *Zero or more IAM roles in ARN format to disassociate from the cluster. You * can disassociate up to 10 IAM roles from a single cluster in a single * request.
*/ inline ModifyClusterIamRolesRequest& AddRemoveIamRoles(Aws::String&& value) { m_removeIamRolesHasBeenSet = true; m_removeIamRoles.push_back(std::move(value)); return *this; } /** *Zero or more IAM roles in ARN format to disassociate from the cluster. You * can disassociate up to 10 IAM roles from a single cluster in a single * request.
*/ inline ModifyClusterIamRolesRequest& AddRemoveIamRoles(const char* value) { m_removeIamRolesHasBeenSet = true; m_removeIamRoles.push_back(value); return *this; } private: Aws::String m_clusterIdentifier; bool m_clusterIdentifierHasBeenSet; Aws::Vector