CreateTimeTemplateRequest.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. #ifndef ALIBABACLOUD_LINKVISUAL_MODEL_CREATETIMETEMPLATEREQUEST_H_
  17. #define ALIBABACLOUD_LINKVISUAL_MODEL_CREATETIMETEMPLATEREQUEST_H_
  18. #include <alibabacloud/linkvisual/LinkvisualExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Linkvisual {
  25. namespace Model {
  26. class ALIBABACLOUD_LINKVISUAL_EXPORT CreateTimeTemplateRequest : public RpcServiceRequest {
  27. public:
  28. struct TimeSections {
  29. int dayOfWeek;
  30. int begin;
  31. int end;
  32. };
  33. CreateTimeTemplateRequest();
  34. ~CreateTimeTemplateRequest();
  35. std::vector<TimeSections> getTimeSections() const;
  36. void setTimeSections(const std::vector<TimeSections> &timeSections);
  37. int getAllDay() const;
  38. void setAllDay(int allDay);
  39. std::string getApiProduct() const;
  40. void setApiProduct(const std::string &apiProduct);
  41. std::string getName() const;
  42. void setName(const std::string &name);
  43. std::string getApiRevision() const;
  44. void setApiRevision(const std::string &apiRevision);
  45. private:
  46. std::vector<TimeSections> timeSections_;
  47. int allDay_;
  48. std::string apiProduct_;
  49. std::string name_;
  50. std::string apiRevision_;
  51. };
  52. } // namespace Model
  53. } // namespace Linkvisual
  54. } // namespace AlibabaCloud
  55. #endif // !ALIBABACLOUD_LINKVISUAL_MODEL_CREATETIMETEMPLATEREQUEST_H_