/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Detailed information on file system association status.See
* Also:
AWS
* API Reference
The error code for a given file system association status.
*/ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } /** *The error code for a given file system association status.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *The error code for a given file system association status.
*/ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *The error code for a given file system association status.
*/ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *The error code for a given file system association status.
*/ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } /** *The error code for a given file system association status.
*/ inline FileSystemAssociationStatusDetail& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} /** *The error code for a given file system association status.
*/ inline FileSystemAssociationStatusDetail& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} /** *The error code for a given file system association status.
*/ inline FileSystemAssociationStatusDetail& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} private: Aws::String m_errorCode; bool m_errorCodeHasBeenSet = false; }; } // namespace Model } // namespace StorageGateway } // namespace Aws