/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The error in server analysis.See Also:
AWS
* API Reference
The error category of server analysis.
*/ inline const ServerErrorCategory& GetServerErrorCategory() const{ return m_serverErrorCategory; } /** *The error category of server analysis.
*/ inline bool ServerErrorCategoryHasBeenSet() const { return m_serverErrorCategoryHasBeenSet; } /** *The error category of server analysis.
*/ inline void SetServerErrorCategory(const ServerErrorCategory& value) { m_serverErrorCategoryHasBeenSet = true; m_serverErrorCategory = value; } /** *The error category of server analysis.
*/ inline void SetServerErrorCategory(ServerErrorCategory&& value) { m_serverErrorCategoryHasBeenSet = true; m_serverErrorCategory = std::move(value); } /** *The error category of server analysis.
*/ inline ServerError& WithServerErrorCategory(const ServerErrorCategory& value) { SetServerErrorCategory(value); return *this;} /** *The error category of server analysis.
*/ inline ServerError& WithServerErrorCategory(ServerErrorCategory&& value) { SetServerErrorCategory(std::move(value)); return *this;} private: ServerErrorCategory m_serverErrorCategory; bool m_serverErrorCategoryHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws