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/trtc/v20190722/model/DissolveRoomRequest.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::Trtc::V20190722::Model;
  using namespace rapidjson;
  using namespace std;
  
  DissolveRoomRequest::DissolveRoomRequest() :
      m_sdkAppIdHasBeenSet(false),
      m_roomIdHasBeenSet(false)
  {
  }
  
  string DissolveRoomRequest::ToJsonString() const
  {
      Document d;
      d.SetObject();
      Document::AllocatorType& allocator = d.GetAllocator();
  
  
      if (m_sdkAppIdHasBeenSet)
      {
          Value iKey(kStringType);
          string key = "SdkAppId";
          iKey.SetString(key.c_str(), allocator);
          d.AddMember(iKey, m_sdkAppId, allocator);
      }
  
      if (m_roomIdHasBeenSet)
      {
          Value iKey(kStringType);
          string key = "RoomId";
          iKey.SetString(key.c_str(), allocator);
          d.AddMember(iKey, m_roomId, allocator);
      }
  
  
      StringBuffer buffer;
      Writer<StringBuffer> writer(buffer);
      d.Accept(writer);
      return buffer.GetString();
  }
  
  
  uint64_t DissolveRoomRequest::GetSdkAppId() const
  {
      return m_sdkAppId;
  }
  
  void DissolveRoomRequest::SetSdkAppId(const uint64_t& _sdkAppId)
  {
      m_sdkAppId = _sdkAppId;
      m_sdkAppIdHasBeenSet = true;
  }
  
  bool DissolveRoomRequest::SdkAppIdHasBeenSet() const
  {
      return m_sdkAppIdHasBeenSet;
  }
  
  uint64_t DissolveRoomRequest::GetRoomId() const
  {
      return m_roomId;
  }
  
  void DissolveRoomRequest::SetRoomId(const uint64_t& _roomId)
  {
      m_roomId = _roomId;
      m_roomIdHasBeenSet = true;
  }
  
  bool DissolveRoomRequest::RoomIdHasBeenSet() const
  {
      return m_roomIdHasBeenSet;
  }
  
  
  