AddContainerAppRequest.cc 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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/ehpc/model/AddContainerAppRequest.h>
  17. using AlibabaCloud::EHPC::Model::AddContainerAppRequest;
  18. AddContainerAppRequest::AddContainerAppRequest()
  19. : RpcServiceRequest("ehpc", "2018-04-12", "AddContainerApp") {
  20. setMethod(HttpRequest::Method::Get);
  21. }
  22. AddContainerAppRequest::~AddContainerAppRequest() {}
  23. std::string AddContainerAppRequest::getDescription() const {
  24. return description_;
  25. }
  26. void AddContainerAppRequest::setDescription(const std::string &description) {
  27. description_ = description;
  28. setParameter(std::string("Description"), description);
  29. }
  30. std::string AddContainerAppRequest::getRepository() const {
  31. return repository_;
  32. }
  33. void AddContainerAppRequest::setRepository(const std::string &repository) {
  34. repository_ = repository;
  35. setParameter(std::string("Repository"), repository);
  36. }
  37. std::string AddContainerAppRequest::getAccessKeyId() const {
  38. return accessKeyId_;
  39. }
  40. void AddContainerAppRequest::setAccessKeyId(const std::string &accessKeyId) {
  41. accessKeyId_ = accessKeyId;
  42. setParameter(std::string("AccessKeyId"), accessKeyId);
  43. }
  44. std::string AddContainerAppRequest::getContainerType() const {
  45. return containerType_;
  46. }
  47. void AddContainerAppRequest::setContainerType(const std::string &containerType) {
  48. containerType_ = containerType;
  49. setParameter(std::string("ContainerType"), containerType);
  50. }
  51. std::string AddContainerAppRequest::getName() const {
  52. return name_;
  53. }
  54. void AddContainerAppRequest::setName(const std::string &name) {
  55. name_ = name;
  56. setParameter(std::string("Name"), name);
  57. }
  58. std::string AddContainerAppRequest::getImageTag() const {
  59. return imageTag_;
  60. }
  61. void AddContainerAppRequest::setImageTag(const std::string &imageTag) {
  62. imageTag_ = imageTag;
  63. setParameter(std::string("ImageTag"), imageTag);
  64. }