UpdateAggregateConfigDeliveryChannelRequest.cc 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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/UpdateAggregateConfigDeliveryChannelRequest.h>
  17. using AlibabaCloud::Config::Model::UpdateAggregateConfigDeliveryChannelRequest;
  18. UpdateAggregateConfigDeliveryChannelRequest::UpdateAggregateConfigDeliveryChannelRequest()
  19. : RpcServiceRequest("config", "2020-09-07", "UpdateAggregateConfigDeliveryChannel") {
  20. setMethod(HttpRequest::Method::Post);
  21. }
  22. UpdateAggregateConfigDeliveryChannelRequest::~UpdateAggregateConfigDeliveryChannelRequest() {}
  23. bool UpdateAggregateConfigDeliveryChannelRequest::getNonCompliantNotification() const {
  24. return nonCompliantNotification_;
  25. }
  26. void UpdateAggregateConfigDeliveryChannelRequest::setNonCompliantNotification(bool nonCompliantNotification) {
  27. nonCompliantNotification_ = nonCompliantNotification;
  28. setParameter(std::string("NonCompliantNotification"), nonCompliantNotification ? "true" : "false");
  29. }
  30. std::string UpdateAggregateConfigDeliveryChannelRequest::getClientToken() const {
  31. return clientToken_;
  32. }
  33. void UpdateAggregateConfigDeliveryChannelRequest::setClientToken(const std::string &clientToken) {
  34. clientToken_ = clientToken;
  35. setParameter(std::string("ClientToken"), clientToken);
  36. }
  37. bool UpdateAggregateConfigDeliveryChannelRequest::getConfigurationSnapshot() const {
  38. return configurationSnapshot_;
  39. }
  40. void UpdateAggregateConfigDeliveryChannelRequest::setConfigurationSnapshot(bool configurationSnapshot) {
  41. configurationSnapshot_ = configurationSnapshot;
  42. setParameter(std::string("ConfigurationSnapshot"), configurationSnapshot ? "true" : "false");
  43. }
  44. std::string UpdateAggregateConfigDeliveryChannelRequest::getDescription() const {
  45. return description_;
  46. }
  47. void UpdateAggregateConfigDeliveryChannelRequest::setDescription(const std::string &description) {
  48. description_ = description;
  49. setParameter(std::string("Description"), description);
  50. }
  51. std::string UpdateAggregateConfigDeliveryChannelRequest::getAggregatorId() const {
  52. return aggregatorId_;
  53. }
  54. void UpdateAggregateConfigDeliveryChannelRequest::setAggregatorId(const std::string &aggregatorId) {
  55. aggregatorId_ = aggregatorId;
  56. setParameter(std::string("AggregatorId"), aggregatorId);
  57. }
  58. std::string UpdateAggregateConfigDeliveryChannelRequest::getDeliveryChannelTargetArn() const {
  59. return deliveryChannelTargetArn_;
  60. }
  61. void UpdateAggregateConfigDeliveryChannelRequest::setDeliveryChannelTargetArn(const std::string &deliveryChannelTargetArn) {
  62. deliveryChannelTargetArn_ = deliveryChannelTargetArn;
  63. setParameter(std::string("DeliveryChannelTargetArn"), deliveryChannelTargetArn);
  64. }
  65. std::string UpdateAggregateConfigDeliveryChannelRequest::getDeliveryChannelCondition() const {
  66. return deliveryChannelCondition_;
  67. }
  68. void UpdateAggregateConfigDeliveryChannelRequest::setDeliveryChannelCondition(const std::string &deliveryChannelCondition) {
  69. deliveryChannelCondition_ = deliveryChannelCondition;
  70. setParameter(std::string("DeliveryChannelCondition"), deliveryChannelCondition);
  71. }
  72. bool UpdateAggregateConfigDeliveryChannelRequest::getConfigurationItemChangeNotification() const {
  73. return configurationItemChangeNotification_;
  74. }
  75. void UpdateAggregateConfigDeliveryChannelRequest::setConfigurationItemChangeNotification(bool configurationItemChangeNotification) {
  76. configurationItemChangeNotification_ = configurationItemChangeNotification;
  77. setParameter(std::string("ConfigurationItemChangeNotification"), configurationItemChangeNotification ? "true" : "false");
  78. }
  79. std::string UpdateAggregateConfigDeliveryChannelRequest::getDeliveryChannelName() const {
  80. return deliveryChannelName_;
  81. }
  82. void UpdateAggregateConfigDeliveryChannelRequest::setDeliveryChannelName(const std::string &deliveryChannelName) {
  83. deliveryChannelName_ = deliveryChannelName;
  84. setParameter(std::string("DeliveryChannelName"), deliveryChannelName);
  85. }
  86. std::string UpdateAggregateConfigDeliveryChannelRequest::getDeliveryChannelId() const {
  87. return deliveryChannelId_;
  88. }
  89. void UpdateAggregateConfigDeliveryChannelRequest::setDeliveryChannelId(const std::string &deliveryChannelId) {
  90. deliveryChannelId_ = deliveryChannelId;
  91. setParameter(std::string("DeliveryChannelId"), deliveryChannelId);
  92. }
  93. std::string UpdateAggregateConfigDeliveryChannelRequest::getOversizedDataOSSTargetArn() const {
  94. return oversizedDataOSSTargetArn_;
  95. }
  96. void UpdateAggregateConfigDeliveryChannelRequest::setOversizedDataOSSTargetArn(const std::string &oversizedDataOSSTargetArn) {
  97. oversizedDataOSSTargetArn_ = oversizedDataOSSTargetArn;
  98. setParameter(std::string("OversizedDataOSSTargetArn"), oversizedDataOSSTargetArn);
  99. }
  100. long UpdateAggregateConfigDeliveryChannelRequest::getStatus() const {
  101. return status_;
  102. }
  103. void UpdateAggregateConfigDeliveryChannelRequest::setStatus(long status) {
  104. status_ = status;
  105. setParameter(std::string("Status"), std::to_string(status));
  106. }