/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Source server CPU information.See Also:
AWS API
* Reference
The number of CPU cores on the source server.
*/ inline long long GetCores() const{ return m_cores; } /** *The number of CPU cores on the source server.
*/ inline bool CoresHasBeenSet() const { return m_coresHasBeenSet; } /** *The number of CPU cores on the source server.
*/ inline void SetCores(long long value) { m_coresHasBeenSet = true; m_cores = value; } /** *The number of CPU cores on the source server.
*/ inline CPU& WithCores(long long value) { SetCores(value); return *this;} /** *The source server's CPU model name.
*/ inline const Aws::String& GetModelName() const{ return m_modelName; } /** *The source server's CPU model name.
*/ inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; } /** *The source server's CPU model name.
*/ inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; } /** *The source server's CPU model name.
*/ inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); } /** *The source server's CPU model name.
*/ inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); } /** *The source server's CPU model name.
*/ inline CPU& WithModelName(const Aws::String& value) { SetModelName(value); return *this;} /** *The source server's CPU model name.
*/ inline CPU& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;} /** *The source server's CPU model name.
*/ inline CPU& WithModelName(const char* value) { SetModelName(value); return *this;} private: long long m_cores; bool m_coresHasBeenSet = false; Aws::String m_modelName; bool m_modelNameHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws