Files
aliyun-openapi-cpp-sdk/ehpc/include/alibabacloud/ehpc/model/StopNodesRequest.h
2018-05-23 12:30:50 +08:00

61 lines
1.7 KiB
C++

/*
* 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_EHPC_MODEL_STOPNODESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_STOPNODESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT StopNodesRequest : public RpcServiceRequest
{
struct Instance
{
std::string id;
};
public:
StopNodesRequest();
~StopNodesRequest();
std::string getRole()const;
void setRole(const std::string& role);
std::vector<Instance> getInstance()const;
void setInstance(const std::vector<Instance>& instance);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string role_;
std::vector<Instance> instance_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STOPNODESREQUEST_H_