CreateFileUncompressionTaskRequest.h 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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_CREATEFILEUNCOMPRESSIONTASKREQUEST_H_
  17. #define ALIBABACLOUD_IMM_MODEL_CREATEFILEUNCOMPRESSIONTASKREQUEST_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 CreateFileUncompressionTaskRequest : public RpcServiceRequest {
  27. public:
  28. struct Notification {
  29. struct MNS {
  30. std::string endpoint;
  31. std::string topicName;
  32. };
  33. MNS mNS;
  34. struct RocketMQ {
  35. std::string endpoint;
  36. std::string instanceId;
  37. std::string topicName;
  38. };
  39. RocketMQ rocketMQ;
  40. };
  41. struct CredentialConfig {
  42. struct ChainItem {
  43. std::string role;
  44. std::string roleType;
  45. std::string assumeRoleFor;
  46. };
  47. ChainItem chainItem;
  48. std::vector<ChainItem> chain;
  49. std::string serviceRole;
  50. std::string policy;
  51. };
  52. struct Target {
  53. std::string manifestURI;
  54. std::string uRI;
  55. };
  56. CreateFileUncompressionTaskRequest();
  57. ~CreateFileUncompressionTaskRequest();
  58. std::string getUserData() const;
  59. void setUserData(const std::string &userData);
  60. Notification getNotification() const;
  61. void setNotification(const Notification &notification);
  62. std::string getPassword() const;
  63. void setPassword(const std::string &password);
  64. std::vector<std::string> getSelectedFiles() const;
  65. void setSelectedFiles(const std::vector<std::string> &selectedFiles);
  66. std::string getNotifyEndpoint() const;
  67. void setNotifyEndpoint(const std::string &notifyEndpoint);
  68. std::string getProjectName() const;
  69. void setProjectName(const std::string &projectName);
  70. std::string getNotifyTopicName() const;
  71. void setNotifyTopicName(const std::string &notifyTopicName);
  72. CredentialConfig getCredentialConfig() const;
  73. void setCredentialConfig(const CredentialConfig &credentialConfig);
  74. Target getTarget() const;
  75. void setTarget(const Target &target);
  76. std::string getSourceURI() const;
  77. void setSourceURI(const std::string &sourceURI);
  78. private:
  79. std::string userData_;
  80. Notification notification_;
  81. std::string password_;
  82. std::vector<std::string> selectedFiles_;
  83. std::string notifyEndpoint_;
  84. std::string projectName_;
  85. std::string notifyTopicName_;
  86. CredentialConfig credentialConfig_;
  87. Target target_;
  88. std::string sourceURI_;
  89. };
  90. } // namespace Model
  91. } // namespace Imm
  92. } // namespace AlibabaCloud
  93. #endif // !ALIBABACLOUD_IMM_MODEL_CREATEFILEUNCOMPRESSIONTASKREQUEST_H_