/**
* 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 ID of the mount target whose security groups you want to modify.
*/ inline const Aws::String& GetMountTargetId() const{ return m_mountTargetId; } /** *The ID of the mount target whose security groups you want to modify.
*/ inline bool MountTargetIdHasBeenSet() const { return m_mountTargetIdHasBeenSet; } /** *The ID of the mount target whose security groups you want to modify.
*/ inline void SetMountTargetId(const Aws::String& value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId = value; } /** *The ID of the mount target whose security groups you want to modify.
*/ inline void SetMountTargetId(Aws::String&& value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId = std::move(value); } /** *The ID of the mount target whose security groups you want to modify.
*/ inline void SetMountTargetId(const char* value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId.assign(value); } /** *The ID of the mount target whose security groups you want to modify.
*/ inline ModifyMountTargetSecurityGroupsRequest& WithMountTargetId(const Aws::String& value) { SetMountTargetId(value); return *this;} /** *The ID of the mount target whose security groups you want to modify.
*/ inline ModifyMountTargetSecurityGroupsRequest& WithMountTargetId(Aws::String&& value) { SetMountTargetId(std::move(value)); return *this;} /** *The ID of the mount target whose security groups you want to modify.
*/ inline ModifyMountTargetSecurityGroupsRequest& WithMountTargetId(const char* value) { SetMountTargetId(value); return *this;} /** *An array of up to five VPC security group IDs.
*/ inline const Aws::VectorAn array of up to five VPC security group IDs.
*/ inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } /** *An array of up to five VPC security group IDs.
*/ inline void SetSecurityGroups(const Aws::VectorAn array of up to five VPC security group IDs.
*/ inline void SetSecurityGroups(Aws::VectorAn array of up to five VPC security group IDs.
*/ inline ModifyMountTargetSecurityGroupsRequest& WithSecurityGroups(const Aws::VectorAn array of up to five VPC security group IDs.
*/ inline ModifyMountTargetSecurityGroupsRequest& WithSecurityGroups(Aws::VectorAn array of up to five VPC security group IDs.
*/ inline ModifyMountTargetSecurityGroupsRequest& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *An array of up to five VPC security group IDs.
*/ inline ModifyMountTargetSecurityGroupsRequest& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; } /** *An array of up to five VPC security group IDs.
*/ inline ModifyMountTargetSecurityGroupsRequest& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } private: Aws::String m_mountTargetId; bool m_mountTargetIdHasBeenSet = false; Aws::Vector