CreateCustomizedStoryRequest.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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_IMM_MODEL_CREATECUSTOMIZEDSTORYREQUEST_H_
  17. #define ALIBABACLOUD_IMM_MODEL_CREATECUSTOMIZEDSTORYREQUEST_H_
  18. #include <alibabacloud/imm/ImmExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Imm {
  25. namespace Model {
  26. class ALIBABACLOUD_IMM_EXPORT CreateCustomizedStoryRequest : public RpcServiceRequest {
  27. public:
  28. struct Cover {
  29. std::string uRI;
  30. };
  31. struct Files {
  32. std::string uRI;
  33. };
  34. CreateCustomizedStoryRequest();
  35. ~CreateCustomizedStoryRequest();
  36. std::map<std::string, std::string> getCustomLabels() const;
  37. void setCustomLabels(const std::map<std::string, std::string> &customLabels);
  38. Cover getCover() const;
  39. void setCover(const Cover &cover);
  40. std::string getDatasetName() const;
  41. void setDatasetName(const std::string &datasetName);
  42. std::string getProjectName() const;
  43. void setProjectName(const std::string &projectName);
  44. std::string getStoryType() const;
  45. void setStoryType(const std::string &storyType);
  46. std::string getStorySubType() const;
  47. void setStorySubType(const std::string &storySubType);
  48. std::vector<Files> getFiles() const;
  49. void setFiles(const std::vector<Files> &files);
  50. std::string getStoryName() const;
  51. void setStoryName(const std::string &storyName);
  52. private:
  53. std::map<std::string, std::string> customLabels_;
  54. Cover cover_;
  55. std::string datasetName_;
  56. std::string projectName_;
  57. std::string storyType_;
  58. std::string storySubType_;
  59. std::vector<Files> files_;
  60. std::string storyName_;
  61. };
  62. } // namespace Model
  63. } // namespace Imm
  64. } // namespace AlibabaCloud
  65. #endif // !ALIBABACLOUD_IMM_MODEL_CREATECUSTOMIZEDSTORYREQUEST_H_