/**
* 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.
*/ inline const Aws::VectorZero or more IAM roles to associate with the cluster. The roles must be in * their Amazon Resource Name (ARN) format.
*/ 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.
*/ 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.
*/ 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.
*/ 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.
*/ 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.
*/ 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.
*/ 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.
*/ 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.
*/ inline const Aws::VectorZero or more IAM roles in ARN format to disassociate from the cluster.
*/ inline bool RemoveIamRolesHasBeenSet() const { return m_removeIamRolesHasBeenSet; } /** *Zero or more IAM roles in ARN format to disassociate from the cluster.
*/ inline void SetRemoveIamRoles(const Aws::VectorZero or more IAM roles in ARN format to disassociate from the cluster.
*/ inline void SetRemoveIamRoles(Aws::VectorZero or more IAM roles in ARN format to disassociate from the cluster.
*/ inline ModifyClusterIamRolesRequest& WithRemoveIamRoles(const Aws::VectorZero or more IAM roles in ARN format to disassociate from the cluster.
*/ inline ModifyClusterIamRolesRequest& WithRemoveIamRoles(Aws::VectorZero or more IAM roles in ARN format to disassociate from the cluster.
*/ 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.
*/ 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.
*/ inline ModifyClusterIamRolesRequest& AddRemoveIamRoles(const char* value) { m_removeIamRolesHasBeenSet = true; m_removeIamRoles.push_back(value); return *this; } /** *The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was last modified.
*/ inline const Aws::String& GetDefaultIamRoleArn() const{ return m_defaultIamRoleArn; } /** *The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was last modified.
*/ inline bool DefaultIamRoleArnHasBeenSet() const { return m_defaultIamRoleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was last modified.
*/ inline void SetDefaultIamRoleArn(const Aws::String& value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn = value; } /** *The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was last modified.
*/ inline void SetDefaultIamRoleArn(Aws::String&& value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn = std::move(value); } /** *The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was last modified.
*/ inline void SetDefaultIamRoleArn(const char* value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn.assign(value); } /** *The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was last modified.
*/ inline ModifyClusterIamRolesRequest& WithDefaultIamRoleArn(const Aws::String& value) { SetDefaultIamRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was last modified.
*/ inline ModifyClusterIamRolesRequest& WithDefaultIamRoleArn(Aws::String&& value) { SetDefaultIamRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was last modified.
*/ inline ModifyClusterIamRolesRequest& WithDefaultIamRoleArn(const char* value) { SetDefaultIamRoleArn(value); return *this;} private: Aws::String m_clusterIdentifier; bool m_clusterIdentifierHasBeenSet = false; Aws::Vector