/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include One or more network settings specified in the request are
* invalid.See Also:
AWS
* API Reference
Error message explaining what's wrong with network settings.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *Error message explaining what's wrong with network settings.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *Error message explaining what's wrong with network settings.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *Error message explaining what's wrong with network settings.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *Error message explaining what's wrong with network settings.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *Error message explaining what's wrong with network settings.
*/ inline InvalidNetworkSettings& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *Error message explaining what's wrong with network settings.
*/ inline InvalidNetworkSettings& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *Error message explaining what's wrong with network settings.
*/ inline InvalidNetworkSettings& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The subnet ID that is either invalid or not part of the VPC specified.
*/ inline const Aws::String& GetInvalidSubnetId() const{ return m_invalidSubnetId; } /** *The subnet ID that is either invalid or not part of the VPC specified.
*/ inline bool InvalidSubnetIdHasBeenSet() const { return m_invalidSubnetIdHasBeenSet; } /** *The subnet ID that is either invalid or not part of the VPC specified.
*/ inline void SetInvalidSubnetId(const Aws::String& value) { m_invalidSubnetIdHasBeenSet = true; m_invalidSubnetId = value; } /** *The subnet ID that is either invalid or not part of the VPC specified.
*/ inline void SetInvalidSubnetId(Aws::String&& value) { m_invalidSubnetIdHasBeenSet = true; m_invalidSubnetId = std::move(value); } /** *The subnet ID that is either invalid or not part of the VPC specified.
*/ inline void SetInvalidSubnetId(const char* value) { m_invalidSubnetIdHasBeenSet = true; m_invalidSubnetId.assign(value); } /** *The subnet ID that is either invalid or not part of the VPC specified.
*/ inline InvalidNetworkSettings& WithInvalidSubnetId(const Aws::String& value) { SetInvalidSubnetId(value); return *this;} /** *The subnet ID that is either invalid or not part of the VPC specified.
*/ inline InvalidNetworkSettings& WithInvalidSubnetId(Aws::String&& value) { SetInvalidSubnetId(std::move(value)); return *this;} /** *The subnet ID that is either invalid or not part of the VPC specified.
*/ inline InvalidNetworkSettings& WithInvalidSubnetId(const char* value) { SetInvalidSubnetId(value); return *this;} /** *The security group ID is either invalid or not part of the VPC specified.
*/ inline const Aws::String& GetInvalidSecurityGroupId() const{ return m_invalidSecurityGroupId; } /** *The security group ID is either invalid or not part of the VPC specified.
*/ inline bool InvalidSecurityGroupIdHasBeenSet() const { return m_invalidSecurityGroupIdHasBeenSet; } /** *The security group ID is either invalid or not part of the VPC specified.
*/ inline void SetInvalidSecurityGroupId(const Aws::String& value) { m_invalidSecurityGroupIdHasBeenSet = true; m_invalidSecurityGroupId = value; } /** *The security group ID is either invalid or not part of the VPC specified.
*/ inline void SetInvalidSecurityGroupId(Aws::String&& value) { m_invalidSecurityGroupIdHasBeenSet = true; m_invalidSecurityGroupId = std::move(value); } /** *The security group ID is either invalid or not part of the VPC specified.
*/ inline void SetInvalidSecurityGroupId(const char* value) { m_invalidSecurityGroupIdHasBeenSet = true; m_invalidSecurityGroupId.assign(value); } /** *The security group ID is either invalid or not part of the VPC specified.
*/ inline InvalidNetworkSettings& WithInvalidSecurityGroupId(const Aws::String& value) { SetInvalidSecurityGroupId(value); return *this;} /** *The security group ID is either invalid or not part of the VPC specified.
*/ inline InvalidNetworkSettings& WithInvalidSecurityGroupId(Aws::String&& value) { SetInvalidSecurityGroupId(std::move(value)); return *this;} /** *The security group ID is either invalid or not part of the VPC specified.
*/ inline InvalidNetworkSettings& WithInvalidSecurityGroupId(const char* value) { SetInvalidSecurityGroupId(value); return *this;} /** *The route table ID is either invalid or not part of the VPC specified.
*/ inline const Aws::String& GetInvalidRouteTableId() const{ return m_invalidRouteTableId; } /** *The route table ID is either invalid or not part of the VPC specified.
*/ inline bool InvalidRouteTableIdHasBeenSet() const { return m_invalidRouteTableIdHasBeenSet; } /** *The route table ID is either invalid or not part of the VPC specified.
*/ inline void SetInvalidRouteTableId(const Aws::String& value) { m_invalidRouteTableIdHasBeenSet = true; m_invalidRouteTableId = value; } /** *The route table ID is either invalid or not part of the VPC specified.
*/ inline void SetInvalidRouteTableId(Aws::String&& value) { m_invalidRouteTableIdHasBeenSet = true; m_invalidRouteTableId = std::move(value); } /** *The route table ID is either invalid or not part of the VPC specified.
*/ inline void SetInvalidRouteTableId(const char* value) { m_invalidRouteTableIdHasBeenSet = true; m_invalidRouteTableId.assign(value); } /** *The route table ID is either invalid or not part of the VPC specified.
*/ inline InvalidNetworkSettings& WithInvalidRouteTableId(const Aws::String& value) { SetInvalidRouteTableId(value); return *this;} /** *The route table ID is either invalid or not part of the VPC specified.
*/ inline InvalidNetworkSettings& WithInvalidRouteTableId(Aws::String&& value) { SetInvalidRouteTableId(std::move(value)); return *this;} /** *The route table ID is either invalid or not part of the VPC specified.
*/ inline InvalidNetworkSettings& WithInvalidRouteTableId(const char* value) { SetInvalidRouteTableId(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_invalidSubnetId; bool m_invalidSubnetIdHasBeenSet = false; Aws::String m_invalidSecurityGroupId; bool m_invalidSecurityGroupIdHasBeenSet = false; Aws::String m_invalidRouteTableId; bool m_invalidRouteTableIdHasBeenSet = false; }; } // namespace Model } // namespace FSx } // namespace Aws