text: /*
   * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *    http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  #ifndef TENCENTCLOUD_DAYU_V20180709_MODEL_BARADDATA_H_
  #define TENCENTCLOUD_DAYU_V20180709_MODEL_BARADDATA_H_
  
  #include <string>
  #include <vector>
  #include <map>
  #include <tencentcloud/core/utils/rapidjson/document.h>
  #include <tencentcloud/core/utils/rapidjson/writer.h>
  #include <tencentcloud/core/utils/rapidjson/stringbuffer.h>
  #include <tencentcloud/core/AbstractModel.h>
  
  
  namespace TencentCloud
  {
      namespace Dayu
      {
          namespace V20180709
          {
              namespace Model
              {
                  /**
                  * Data returned by Barad
                  */
                  class BaradData : public AbstractModel
                  {
                  public:
                      BaradData();
                      ~BaradData() = default;
                      void ToJsonObject(rapidjson::Value &value, rapidjson::Document::AllocatorType& allocator) const;
                      CoreInternalOutcome Deserialize(const rapidjson::Value &value);
  
  
                      /**
                       * 获取Metric name (connum: number of active TCP connections;
  new_conn: number of new TCP connections;
  inactive_conn: number of inactive connections;
  intraffic: inbound traffic;
  outtraffic: outbound traffic;
  alltraffic: sum of inbound and outbound traffic;
  inpkg: inbound packet rate;
  outpkg: outbound packet rate;)
                       * @return MetricName Metric name (connum: number of active TCP connections;
  new_conn: number of new TCP connections;
  inactive_conn: number of inactive connections;
  intraffic: inbound traffic;
  outtraffic: outbound traffic;
  alltraffic: sum of inbound and outbound traffic;
  inpkg: inbound packet rate;
  outpkg: outbound packet rate;)
                       */
                      std::string GetMetricName() const;
  
                      /**
                       * 设置Metric name (connum: number of active TCP connections;
  new_conn: number of new TCP connections;
  inactive_conn: number of inactive connections;
  intraffic: inbound traffic;
  outtraffic: outbound traffic;
  alltraffic: sum of inbound and outbound traffic;
  inpkg: inbound packet rate;
  outpkg: outbound packet rate;)
                       * @param MetricName Metric name (connum: number of active TCP connections;
  new_conn: number of new TCP connections;
  inactive_conn: number of inactive connections;
  intraffic: inbound traffic;
  outtraffic: outbound traffic;
  alltraffic: sum of inbound and outbound traffic;
  inpkg: inbound packet rate;
  outpkg: outbound packet rate;)
                       */
                      void SetMetricName(const std::string& _metricName);
  
                      /**
                       * 判断参数 MetricName 是否已赋值
                       * @return MetricName 是否已赋值
                       */
                      bool MetricNameHasBeenSet() const;
  
                      /**
                       * 获取Value array
                       * @return Data Value array
                       */
                      std::vector<double> GetData() const;
  
                      /**
                       * 设置Value array
                       * @param Data Value array
                       */
                      void SetData(const std::vector<double>& _data);
  
                      /**
                       * 判断参数 Data 是否已赋值
                       * @return Data 是否已赋值
                       */
                      bool DataHasBeenSet() const;
  
                      /**
                       * 获取Value array size
                       * @return Count Value array size
                       */
                      uint64_t GetCount() const;
  
                      /**
                       * 设置Value array size
                       * @param Count Value array size
                       */
                      void SetCount(const uint64_t& _count);
  
                      /**
                       * 判断参数 Count 是否已赋值
                       * @return Count 是否已赋值
                       */
                      bool CountHasBeenSet() const;
  
                  private:
  
                      /**
                       * Metric name (connum: number of active TCP connections;
  new_conn: number of new TCP connections;
  inactive_conn: number of inactive connections;
  intraffic: inbound traffic;
  outtraffic: outbound traffic;
  alltraffic: sum of inbound and outbound traffic;
  inpkg: inbound packet rate;
  outpkg: outbound packet rate;)
                       */
                      std::string m_metricName;
                      bool m_metricNameHasBeenSet;
  
                      /**
                       * Value array
                       */
                      std::vector<double> m_data;
                      bool m_dataHasBeenSet;
  
                      /**
                       * Value array size
                       */
                      uint64_t m_count;
                      bool m_countHasBeenSet;
  
                  };
              }
          }
      }
  }
  
  #endif // !TENCENTCLOUD_DAYU_V20180709_MODEL_BARADDATA_H_
  