CreateAggregateRemediationRequest.cc 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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/config/model/CreateAggregateRemediationRequest.h>
  17. using AlibabaCloud::Config::Model::CreateAggregateRemediationRequest;
  18. CreateAggregateRemediationRequest::CreateAggregateRemediationRequest()
  19. : RpcServiceRequest("config", "2020-09-07", "CreateAggregateRemediation") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. CreateAggregateRemediationRequest::~CreateAggregateRemediationRequest() {}
  23. std::string CreateAggregateRemediationRequest::getConfigRuleId() const {
  24. return configRuleId_;
  25. }
  26. void CreateAggregateRemediationRequest::setConfigRuleId(const std::string &configRuleId) {
  27. configRuleId_ = configRuleId;
  28. setBodyParameter(std::string("ConfigRuleId"), configRuleId);
  29. }
  30. std::string CreateAggregateRemediationRequest::getRemediationType() const {
  31. return remediationType_;
  32. }
  33. void CreateAggregateRemediationRequest::setRemediationType(const std::string &remediationType) {
  34. remediationType_ = remediationType;
  35. setBodyParameter(std::string("RemediationType"), remediationType);
  36. }
  37. std::string CreateAggregateRemediationRequest::getClientToken() const {
  38. return clientToken_;
  39. }
  40. void CreateAggregateRemediationRequest::setClientToken(const std::string &clientToken) {
  41. clientToken_ = clientToken;
  42. setBodyParameter(std::string("ClientToken"), clientToken);
  43. }
  44. std::string CreateAggregateRemediationRequest::getAggregatorId() const {
  45. return aggregatorId_;
  46. }
  47. void CreateAggregateRemediationRequest::setAggregatorId(const std::string &aggregatorId) {
  48. aggregatorId_ = aggregatorId;
  49. setBodyParameter(std::string("AggregatorId"), aggregatorId);
  50. }
  51. std::string CreateAggregateRemediationRequest::getSourceType() const {
  52. return sourceType_;
  53. }
  54. void CreateAggregateRemediationRequest::setSourceType(const std::string &sourceType) {
  55. sourceType_ = sourceType;
  56. setBodyParameter(std::string("SourceType"), sourceType);
  57. }
  58. std::string CreateAggregateRemediationRequest::getRemediationTemplateId() const {
  59. return remediationTemplateId_;
  60. }
  61. void CreateAggregateRemediationRequest::setRemediationTemplateId(const std::string &remediationTemplateId) {
  62. remediationTemplateId_ = remediationTemplateId;
  63. setBodyParameter(std::string("RemediationTemplateId"), remediationTemplateId);
  64. }
  65. std::string CreateAggregateRemediationRequest::getParams() const {
  66. return params_;
  67. }
  68. void CreateAggregateRemediationRequest::setParams(const std::string &params) {
  69. params_ = params;
  70. setBodyParameter(std::string("Params"), params);
  71. }
  72. std::string CreateAggregateRemediationRequest::getInvokeType() const {
  73. return invokeType_;
  74. }
  75. void CreateAggregateRemediationRequest::setInvokeType(const std::string &invokeType) {
  76. invokeType_ = invokeType;
  77. setBodyParameter(std::string("InvokeType"), invokeType);
  78. }