AbolishApiRequest.cc 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /*
  2. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #include <alibabacloud/cloudapi/model/AbolishApiRequest.h>
  17. using AlibabaCloud::CloudAPI::Model::AbolishApiRequest;
  18. AbolishApiRequest::AbolishApiRequest() :
  19. RpcServiceRequest("cloudapi", "2016-07-14", "AbolishApi")
  20. {}
  21. AbolishApiRequest::~AbolishApiRequest()
  22. {}
  23. std::string AbolishApiRequest::getStageName()const
  24. {
  25. return stageName_;
  26. }
  27. void AbolishApiRequest::setStageName(const std::string& stageName)
  28. {
  29. stageName_ = stageName;
  30. setCoreParameter("StageName", stageName);
  31. }
  32. std::string AbolishApiRequest::getGroupId()const
  33. {
  34. return groupId_;
  35. }
  36. void AbolishApiRequest::setGroupId(const std::string& groupId)
  37. {
  38. groupId_ = groupId;
  39. setCoreParameter("GroupId", groupId);
  40. }
  41. std::string AbolishApiRequest::getAccessKeyId()const
  42. {
  43. return accessKeyId_;
  44. }
  45. void AbolishApiRequest::setAccessKeyId(const std::string& accessKeyId)
  46. {
  47. accessKeyId_ = accessKeyId;
  48. setCoreParameter("AccessKeyId", accessKeyId);
  49. }
  50. std::string AbolishApiRequest::getSecurityToken()const
  51. {
  52. return securityToken_;
  53. }
  54. void AbolishApiRequest::setSecurityToken(const std::string& securityToken)
  55. {
  56. securityToken_ = securityToken;
  57. setCoreParameter("SecurityToken", securityToken);
  58. }
  59. std::string AbolishApiRequest::getApiId()const
  60. {
  61. return apiId_;
  62. }
  63. void AbolishApiRequest::setApiId(const std::string& apiId)
  64. {
  65. apiId_ = apiId;
  66. setCoreParameter("ApiId", apiId);
  67. }