BatchSetDcdnDomainConfigsRequest.cc 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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/dcdn/model/BatchSetDcdnDomainConfigsRequest.h>
  17. using AlibabaCloud::Dcdn::Model::BatchSetDcdnDomainConfigsRequest;
  18. BatchSetDcdnDomainConfigsRequest::BatchSetDcdnDomainConfigsRequest() :
  19. RpcServiceRequest("dcdn", "2018-01-15", "BatchSetDcdnDomainConfigs")
  20. {}
  21. BatchSetDcdnDomainConfigsRequest::~BatchSetDcdnDomainConfigsRequest()
  22. {}
  23. std::string BatchSetDcdnDomainConfigsRequest::getFunctions()const
  24. {
  25. return functions_;
  26. }
  27. void BatchSetDcdnDomainConfigsRequest::setFunctions(const std::string& functions)
  28. {
  29. functions_ = functions;
  30. setParameter("Functions", functions);
  31. }
  32. std::string BatchSetDcdnDomainConfigsRequest::getSecurityToken()const
  33. {
  34. return securityToken_;
  35. }
  36. void BatchSetDcdnDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
  37. {
  38. securityToken_ = securityToken;
  39. setParameter("SecurityToken", securityToken);
  40. }
  41. std::string BatchSetDcdnDomainConfigsRequest::getDomainNames()const
  42. {
  43. return domainNames_;
  44. }
  45. void BatchSetDcdnDomainConfigsRequest::setDomainNames(const std::string& domainNames)
  46. {
  47. domainNames_ = domainNames;
  48. setParameter("DomainNames", domainNames);
  49. }
  50. std::string BatchSetDcdnDomainConfigsRequest::getOwnerAccount()const
  51. {
  52. return ownerAccount_;
  53. }
  54. void BatchSetDcdnDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount)
  55. {
  56. ownerAccount_ = ownerAccount;
  57. setParameter("OwnerAccount", ownerAccount);
  58. }
  59. long BatchSetDcdnDomainConfigsRequest::getOwnerId()const
  60. {
  61. return ownerId_;
  62. }
  63. void BatchSetDcdnDomainConfigsRequest::setOwnerId(long ownerId)
  64. {
  65. ownerId_ = ownerId;
  66. setParameter("OwnerId", std::to_string(ownerId));
  67. }
  68. std::string BatchSetDcdnDomainConfigsRequest::getAccessKeyId()const
  69. {
  70. return accessKeyId_;
  71. }
  72. void BatchSetDcdnDomainConfigsRequest::setAccessKeyId(const std::string& accessKeyId)
  73. {
  74. accessKeyId_ = accessKeyId;
  75. setParameter("AccessKeyId", accessKeyId);
  76. }