| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- /*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- #ifndef ALIBABACLOUD_ECS_MODEL_CREATECOMMANDREQUEST_H_
- #define ALIBABACLOUD_ECS_MODEL_CREATECOMMANDREQUEST_H_
- #include <alibabacloud/ecs/EcsExport.h>
- #include <alibabacloud/core/RpcServiceRequest.h>
- #include <string>
- #include <vector>
- #include <map>
- namespace AlibabaCloud {
- namespace Ecs {
- namespace Model {
- class ALIBABACLOUD_ECS_EXPORT CreateCommandRequest : public RpcServiceRequest {
- public:
- struct SystemTag {
- std::string key;
- std::string value;
- std::string scope;
- };
- struct Tag {
- std::string key;
- std::string value;
- };
- CreateCommandRequest();
- ~CreateCommandRequest();
- long getResourceOwnerId() const;
- void setResourceOwnerId(long resourceOwnerId);
- std::vector<SystemTag> getSystemTag() const;
- void setSystemTag(const std::vector<SystemTag> &systemTag);
- std::string getWorkingDir() const;
- void setWorkingDir(const std::string &workingDir);
- std::string getDescription() const;
- void setDescription(const std::string &description);
- std::string getType() const;
- void setType(const std::string &type);
- std::string getCommandContent() const;
- void setCommandContent(const std::string &commandContent);
- long getTimeout() const;
- void setTimeout(long timeout);
- std::string getResourceGroupId() const;
- void setResourceGroupId(const std::string &resourceGroupId);
- std::string getRegionId() const;
- void setRegionId(const std::string ®ionId);
- std::string getContentEncoding() const;
- void setContentEncoding(const std::string &contentEncoding);
- std::vector<Tag> getTag() const;
- void setTag(const std::vector<Tag> &tag);
- std::string getResourceOwnerAccount() const;
- void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
- std::string getOwnerAccount() const;
- void setOwnerAccount(const std::string &ownerAccount);
- long getOwnerId() const;
- void setOwnerId(long ownerId);
- std::string getName() const;
- void setName(const std::string &name);
- bool getEnableParameter() const;
- void setEnableParameter(bool enableParameter);
- private:
- long resourceOwnerId_;
- std::vector<SystemTag> systemTag_;
- std::string workingDir_;
- std::string description_;
- std::string type_;
- std::string commandContent_;
- long timeout_;
- std::string resourceGroupId_;
- std::string regionId_;
- std::string contentEncoding_;
- std::vector<Tag> tag_;
- std::string resourceOwnerAccount_;
- std::string ownerAccount_;
- long ownerId_;
- std::string name_;
- bool enableParameter_;
- };
- } // namespace Model
- } // namespace Ecs
- } // namespace AlibabaCloud
- #endif // !ALIBABACLOUD_ECS_MODEL_CREATECOMMANDREQUEST_H_
|