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.
   */
  
  #include <tencentcloud/partners/v20180321/model/ModifyClientRemarkRequest.h>
  #include <tencentcloud/core/utils/rapidjson/document.h>
  #include <tencentcloud/core/utils/rapidjson/writer.h>
  #include <tencentcloud/core/utils/rapidjson/stringbuffer.h>
  
  using namespace TencentCloud::Partners::V20180321::Model;
  using namespace std;
  
  ModifyClientRemarkRequest::ModifyClientRemarkRequest() :
      m_clientRemarkHasBeenSet(false),
      m_clientUinHasBeenSet(false)
  {
  }
  
  string ModifyClientRemarkRequest::ToJsonString() const
  {
      rapidjson::Document d;
      d.SetObject();
      rapidjson::Document::AllocatorType& allocator = d.GetAllocator();
  
  
      if (m_clientRemarkHasBeenSet)
      {
          rapidjson::Value iKey(rapidjson::kStringType);
          string key = "ClientRemark";
          iKey.SetString(key.c_str(), allocator);
          d.AddMember(iKey, rapidjson::Value(m_clientRemark.c_str(), allocator).Move(), allocator);
      }
  
      if (m_clientUinHasBeenSet)
      {
          rapidjson::Value iKey(rapidjson::kStringType);
          string key = "ClientUin";
          iKey.SetString(key.c_str(), allocator);
          d.AddMember(iKey, rapidjson::Value(m_clientUin.c_str(), allocator).Move(), allocator);
      }
  
  
      rapidjson::StringBuffer buffer;
      rapidjson::Writer<rapidjson::StringBuffer> writer(buffer);
      d.Accept(writer);
      return buffer.GetString();
  }
  
  
  string ModifyClientRemarkRequest::GetClientRemark() const
  {
      return m_clientRemark;
  }
  
  void ModifyClientRemarkRequest::SetClientRemark(const string& _clientRemark)
  {
      m_clientRemark = _clientRemark;
      m_clientRemarkHasBeenSet = true;
  }
  
  bool ModifyClientRemarkRequest::ClientRemarkHasBeenSet() const
  {
      return m_clientRemarkHasBeenSet;
  }
  
  string ModifyClientRemarkRequest::GetClientUin() const
  {
      return m_clientUin;
  }
  
  void ModifyClientRemarkRequest::SetClientUin(const string& _clientUin)
  {
      m_clientUin = _clientUin;
      m_clientUinHasBeenSet = true;
  }
  
  bool ModifyClientRemarkRequest::ClientUinHasBeenSet() const
  {
      return m_clientUinHasBeenSet;
  }
  
  
  