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_ANTIDDOS_V20200309_MODEL_CREATECCBLACKWHITEIPLISTREQUEST_H_
  #define TENCENTCLOUD_ANTIDDOS_V20200309_MODEL_CREATECCBLACKWHITEIPLISTREQUEST_H_
  
  #include <string>
  #include <vector>
  #include <map>
  #include <tencentcloud/core/AbstractModel.h>
  #include <tencentcloud/antiddos/v20200309/model/IpSegment.h>
  
  
  namespace TencentCloud
  {
      namespace Antiddos
      {
          namespace V20200309
          {
              namespace Model
              {
                  /**
                  * CreateCcBlackWhiteIpList request structure.
                  */
                  class CreateCcBlackWhiteIpListRequest : public AbstractModel
                  {
                  public:
                      CreateCcBlackWhiteIpListRequest();
                      ~CreateCcBlackWhiteIpListRequest() = default;
                      std::string ToJsonString() const;
  
  
                      /**
                       * 获取Instance ID
                       * @return InstanceId Instance ID
                       */
                      std::string GetInstanceId() const;
  
                      /**
                       * 设置Instance ID
                       * @param InstanceId Instance ID
                       */
                      void SetInstanceId(const std::string& _instanceId);
  
                      /**
                       * 判断参数 InstanceId 是否已赋值
                       * @return InstanceId 是否已赋值
                       */
                      bool InstanceIdHasBeenSet() const;
  
                      /**
                       * 获取List of IPs
                       * @return IpList List of IPs
                       */
                      std::vector<IpSegment> GetIpList() const;
  
                      /**
                       * 设置List of IPs
                       * @param IpList List of IPs
                       */
                      void SetIpList(const std::vector<IpSegment>& _ipList);
  
                      /**
                       * 判断参数 IpList 是否已赋值
                       * @return IpList 是否已赋值
                       */
                      bool IpListHasBeenSet() const;
  
                      /**
                       * 获取IP permission. Valid values: `black` (blocked IP), `white` (allowed IP).
                       * @return Type IP permission. Valid values: `black` (blocked IP), `white` (allowed IP).
                       */
                      std::string GetType() const;
  
                      /**
                       * 设置IP permission. Valid values: `black` (blocked IP), `white` (allowed IP).
                       * @param Type IP permission. Valid values: `black` (blocked IP), `white` (allowed IP).
                       */
                      void SetType(const std::string& _type);
  
                      /**
                       * 判断参数 Type 是否已赋值
                       * @return Type 是否已赋值
                       */
                      bool TypeHasBeenSet() const;
  
                      /**
                       * 获取IP address
                       * @return Ip IP address
                       */
                      std::string GetIp() const;
  
                      /**
                       * 设置IP address
                       * @param Ip IP address
                       */
                      void SetIp(const std::string& _ip);
  
                      /**
                       * 判断参数 Ip 是否已赋值
                       * @return Ip 是否已赋值
                       */
                      bool IpHasBeenSet() const;
  
                      /**
                       * 获取Domain name
                       * @return Domain Domain name
                       */
                      std::string GetDomain() const;
  
                      /**
                       * 设置Domain name
                       * @param Domain Domain name
                       */
                      void SetDomain(const std::string& _domain);
  
                      /**
                       * 判断参数 Domain 是否已赋值
                       * @return Domain 是否已赋值
                       */
                      bool DomainHasBeenSet() const;
  
                      /**
                       * 获取Protocol
                       * @return Protocol Protocol
                       */
                      std::string GetProtocol() const;
  
                      /**
                       * 设置Protocol
                       * @param Protocol Protocol
                       */
                      void SetProtocol(const std::string& _protocol);
  
                      /**
                       * 判断参数 Protocol 是否已赋值
                       * @return Protocol 是否已赋值
                       */
                      bool ProtocolHasBeenSet() const;
  
                  private:
  
                      /**
                       * Instance ID
                       */
                      std::string m_instanceId;
                      bool m_instanceIdHasBeenSet;
  
                      /**
                       * List of IPs
                       */
                      std::vector<IpSegment> m_ipList;
                      bool m_ipListHasBeenSet;
  
                      /**
                       * IP permission. Valid values: `black` (blocked IP), `white` (allowed IP).
                       */
                      std::string m_type;
                      bool m_typeHasBeenSet;
  
                      /**
                       * IP address
                       */
                      std::string m_ip;
                      bool m_ipHasBeenSet;
  
                      /**
                       * Domain name
                       */
                      std::string m_domain;
                      bool m_domainHasBeenSet;
  
                      /**
                       * Protocol
                       */
                      std::string m_protocol;
                      bool m_protocolHasBeenSet;
  
                  };
              }
          }
      }
  }
  
  #endif // !TENCENTCLOUD_ANTIDDOS_V20200309_MODEL_CREATECCBLACKWHITEIPLISTREQUEST_H_
  