text: /**
  * OpenPerf API
  * REST API interface for OpenPerf
  *
  * OpenAPI spec version: 1
  * Contact: support@spirent.com
  *
  * NOTE: This class is auto generated by the swagger code generator program.
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
  /*
   * CpuGeneratorConfig.h
   *
   * CPU Generator Configuration
   */
  
  #ifndef CpuGeneratorConfig_H_
  #define CpuGeneratorConfig_H_
  
  
  #include "ModelBase.h"
  
  #include "CpuGeneratorCoreConfig.h"
  #include <string>
  #include "CpuGeneratorSystemConfig.h"
  #include <vector>
  
  namespace swagger {
  namespace v1 {
  namespace model {
  
  /// <summary>
  /// CPU Generator Configuration
  /// </summary>
  class  CpuGeneratorConfig
      : public ModelBase
  {
  public:
      CpuGeneratorConfig();
      virtual ~CpuGeneratorConfig();
  
      /////////////////////////////////////////////
      /// ModelBase overrides
  
      void validate() override;
  
      nlohmann::json toJson() const override;
      void fromJson(nlohmann::json& json) override;
  
      /////////////////////////////////////////////
      /// CpuGeneratorConfig members
  
      /// <summary>
      /// Configuration method
      /// </summary>
      std::string getMethod() const;
      void setMethod(std::string value);
      bool methodIsSet() const;
      void unsetMethod();
      /// <summary>
      /// 
      /// </summary>
      std::shared_ptr<CpuGeneratorSystemConfig> getSystem() const;
      void setSystem(std::shared_ptr<CpuGeneratorSystemConfig> value);
      bool systemIsSet() const;
      void unsetSystem();
      /// <summary>
      /// Per CPU core load configuration
      /// </summary>
      std::vector<std::shared_ptr<CpuGeneratorCoreConfig>>& getCores();
      bool coresIsSet() const;
      void unsetCores();
  
  protected:
      std::string m_Method;
      bool m_MethodIsSet;
      std::shared_ptr<CpuGeneratorSystemConfig> m_System;
      bool m_SystemIsSet;
      std::vector<std::shared_ptr<CpuGeneratorCoreConfig>> m_Cores;
      bool m_CoresIsSet;
  };
  
  }
  }
  }
  
  #endif /* CpuGeneratorConfig_H_ */
  