由治世发起的CS SDK自动发布, BUILD_ID=442, 版本号:1.2.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
1573
cs/src/CSClient.cc
Normal file
1573
cs/src/CSClient.cc
Normal file
File diff suppressed because it is too large
Load Diff
27
cs/src/model/AddAgilityClusterRequest.cc
Normal file
27
cs/src/model/AddAgilityClusterRequest.cc
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/AddAgilityClusterRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::AddAgilityClusterRequest;
|
||||
|
||||
AddAgilityClusterRequest::AddAgilityClusterRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
AddAgilityClusterRequest::~AddAgilityClusterRequest()
|
||||
{}
|
||||
|
||||
45
cs/src/model/AddAgilityClusterResult.cc
Normal file
45
cs/src/model/AddAgilityClusterResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/AddAgilityClusterResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
AddAgilityClusterResult::AddAgilityClusterResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddAgilityClusterResult::AddAgilityClusterResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddAgilityClusterResult::~AddAgilityClusterResult()
|
||||
{}
|
||||
|
||||
void AddAgilityClusterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/AttachInstancesRequest.cc
Normal file
38
cs/src/model/AttachInstancesRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/AttachInstancesRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::AttachInstancesRequest;
|
||||
|
||||
AttachInstancesRequest::AttachInstancesRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
AttachInstancesRequest::~AttachInstancesRequest()
|
||||
{}
|
||||
|
||||
std::string AttachInstancesRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void AttachInstancesRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/AttachInstancesResult.cc
Normal file
45
cs/src/model/AttachInstancesResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/AttachInstancesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
AttachInstancesResult::AttachInstancesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AttachInstancesResult::AttachInstancesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AttachInstancesResult::~AttachInstancesResult()
|
||||
{}
|
||||
|
||||
void AttachInstancesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
49
cs/src/model/CallBackAgilityClusterRequest.cc
Normal file
49
cs/src/model/CallBackAgilityClusterRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CallBackAgilityClusterRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::CallBackAgilityClusterRequest;
|
||||
|
||||
CallBackAgilityClusterRequest::CallBackAgilityClusterRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
CallBackAgilityClusterRequest::~CallBackAgilityClusterRequest()
|
||||
{}
|
||||
|
||||
std::string CallBackAgilityClusterRequest::getReqOnce()const
|
||||
{
|
||||
return reqOnce_;
|
||||
}
|
||||
|
||||
void CallBackAgilityClusterRequest::setReqOnce(const std::string& reqOnce)
|
||||
{
|
||||
reqOnce_ = reqOnce;
|
||||
setParameter("ReqOnce", reqOnce);
|
||||
}
|
||||
|
||||
std::string CallBackAgilityClusterRequest::getToken()const
|
||||
{
|
||||
return token_;
|
||||
}
|
||||
|
||||
void CallBackAgilityClusterRequest::setToken(const std::string& token)
|
||||
{
|
||||
token_ = token;
|
||||
setParameter("Token", token);
|
||||
}
|
||||
|
||||
45
cs/src/model/CallBackAgilityClusterResult.cc
Normal file
45
cs/src/model/CallBackAgilityClusterResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CallBackAgilityClusterResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
CallBackAgilityClusterResult::CallBackAgilityClusterResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CallBackAgilityClusterResult::CallBackAgilityClusterResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CallBackAgilityClusterResult::~CallBackAgilityClusterResult()
|
||||
{}
|
||||
|
||||
void CallBackAgilityClusterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
49
cs/src/model/CallbackClusterTokenRequest.cc
Normal file
49
cs/src/model/CallbackClusterTokenRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CallbackClusterTokenRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::CallbackClusterTokenRequest;
|
||||
|
||||
CallbackClusterTokenRequest::CallbackClusterTokenRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
CallbackClusterTokenRequest::~CallbackClusterTokenRequest()
|
||||
{}
|
||||
|
||||
std::string CallbackClusterTokenRequest::getReqOnce()const
|
||||
{
|
||||
return reqOnce_;
|
||||
}
|
||||
|
||||
void CallbackClusterTokenRequest::setReqOnce(const std::string& reqOnce)
|
||||
{
|
||||
reqOnce_ = reqOnce;
|
||||
setParameter("ReqOnce", reqOnce);
|
||||
}
|
||||
|
||||
std::string CallbackClusterTokenRequest::getToken()const
|
||||
{
|
||||
return token_;
|
||||
}
|
||||
|
||||
void CallbackClusterTokenRequest::setToken(const std::string& token)
|
||||
{
|
||||
token_ = token;
|
||||
setParameter("Token", token);
|
||||
}
|
||||
|
||||
45
cs/src/model/CallbackClusterTokenResult.cc
Normal file
45
cs/src/model/CallbackClusterTokenResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CallbackClusterTokenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
CallbackClusterTokenResult::CallbackClusterTokenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CallbackClusterTokenResult::CallbackClusterTokenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CallbackClusterTokenResult::~CallbackClusterTokenResult()
|
||||
{}
|
||||
|
||||
void CallbackClusterTokenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
27
cs/src/model/CheckAliyunCSServiceRoleRequest.cc
Normal file
27
cs/src/model/CheckAliyunCSServiceRoleRequest.cc
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CheckAliyunCSServiceRoleRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::CheckAliyunCSServiceRoleRequest;
|
||||
|
||||
CheckAliyunCSServiceRoleRequest::CheckAliyunCSServiceRoleRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
CheckAliyunCSServiceRoleRequest::~CheckAliyunCSServiceRoleRequest()
|
||||
{}
|
||||
|
||||
45
cs/src/model/CheckAliyunCSServiceRoleResult.cc
Normal file
45
cs/src/model/CheckAliyunCSServiceRoleResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CheckAliyunCSServiceRoleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
CheckAliyunCSServiceRoleResult::CheckAliyunCSServiceRoleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CheckAliyunCSServiceRoleResult::CheckAliyunCSServiceRoleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CheckAliyunCSServiceRoleResult::~CheckAliyunCSServiceRoleResult()
|
||||
{}
|
||||
|
||||
void CheckAliyunCSServiceRoleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
27
cs/src/model/CreateClusterRequest.cc
Normal file
27
cs/src/model/CreateClusterRequest.cc
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CreateClusterRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::CreateClusterRequest;
|
||||
|
||||
CreateClusterRequest::CreateClusterRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
CreateClusterRequest::~CreateClusterRequest()
|
||||
{}
|
||||
|
||||
45
cs/src/model/CreateClusterResult.cc
Normal file
45
cs/src/model/CreateClusterResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CreateClusterResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
CreateClusterResult::CreateClusterResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateClusterResult::CreateClusterResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateClusterResult::~CreateClusterResult()
|
||||
{}
|
||||
|
||||
void CreateClusterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/CreateClusterTokenRequest.cc
Normal file
38
cs/src/model/CreateClusterTokenRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CreateClusterTokenRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::CreateClusterTokenRequest;
|
||||
|
||||
CreateClusterTokenRequest::CreateClusterTokenRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
CreateClusterTokenRequest::~CreateClusterTokenRequest()
|
||||
{}
|
||||
|
||||
std::string CreateClusterTokenRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void CreateClusterTokenRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/CreateClusterTokenResult.cc
Normal file
45
cs/src/model/CreateClusterTokenResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CreateClusterTokenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
CreateClusterTokenResult::CreateClusterTokenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateClusterTokenResult::CreateClusterTokenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateClusterTokenResult::~CreateClusterTokenResult()
|
||||
{}
|
||||
|
||||
void CreateClusterTokenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
27
cs/src/model/CreateTemplateRequest.cc
Normal file
27
cs/src/model/CreateTemplateRequest.cc
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CreateTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::CreateTemplateRequest;
|
||||
|
||||
CreateTemplateRequest::CreateTemplateRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
CreateTemplateRequest::~CreateTemplateRequest()
|
||||
{}
|
||||
|
||||
45
cs/src/model/CreateTemplateResult.cc
Normal file
45
cs/src/model/CreateTemplateResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/CreateTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
CreateTemplateResult::CreateTemplateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateTemplateResult::CreateTemplateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateTemplateResult::~CreateTemplateResult()
|
||||
{}
|
||||
|
||||
void CreateTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
71
cs/src/model/DeleteClusterNodeRequest.cc
Normal file
71
cs/src/model/DeleteClusterNodeRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DeleteClusterNodeRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DeleteClusterNodeRequest;
|
||||
|
||||
DeleteClusterNodeRequest::DeleteClusterNodeRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DeleteClusterNodeRequest::~DeleteClusterNodeRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteClusterNodeRequest::getReleaseInstance()const
|
||||
{
|
||||
return releaseInstance_;
|
||||
}
|
||||
|
||||
void DeleteClusterNodeRequest::setReleaseInstance(const std::string& releaseInstance)
|
||||
{
|
||||
releaseInstance_ = releaseInstance;
|
||||
setParameter("ReleaseInstance", releaseInstance);
|
||||
}
|
||||
|
||||
std::string DeleteClusterNodeRequest::getIp()const
|
||||
{
|
||||
return ip_;
|
||||
}
|
||||
|
||||
void DeleteClusterNodeRequest::setIp(const std::string& ip)
|
||||
{
|
||||
ip_ = ip;
|
||||
setParameter("Ip", ip);
|
||||
}
|
||||
|
||||
std::string DeleteClusterNodeRequest::getForce()const
|
||||
{
|
||||
return force_;
|
||||
}
|
||||
|
||||
void DeleteClusterNodeRequest::setForce(const std::string& force)
|
||||
{
|
||||
force_ = force;
|
||||
setParameter("Force", force);
|
||||
}
|
||||
|
||||
std::string DeleteClusterNodeRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DeleteClusterNodeRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/DeleteClusterNodeResult.cc
Normal file
45
cs/src/model/DeleteClusterNodeResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DeleteClusterNodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DeleteClusterNodeResult::DeleteClusterNodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteClusterNodeResult::DeleteClusterNodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteClusterNodeResult::~DeleteClusterNodeResult()
|
||||
{}
|
||||
|
||||
void DeleteClusterNodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/DeleteClusterRequest.cc
Normal file
38
cs/src/model/DeleteClusterRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DeleteClusterRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DeleteClusterRequest;
|
||||
|
||||
DeleteClusterRequest::DeleteClusterRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DeleteClusterRequest::~DeleteClusterRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteClusterRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DeleteClusterRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/DeleteClusterResult.cc
Normal file
45
cs/src/model/DeleteClusterResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DeleteClusterResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DeleteClusterResult::DeleteClusterResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteClusterResult::DeleteClusterResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteClusterResult::~DeleteClusterResult()
|
||||
{}
|
||||
|
||||
void DeleteClusterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/DescribeAgilityTunnelAgentInfoRequest.cc
Normal file
38
cs/src/model/DescribeAgilityTunnelAgentInfoRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeAgilityTunnelAgentInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeAgilityTunnelAgentInfoRequest;
|
||||
|
||||
DescribeAgilityTunnelAgentInfoRequest::DescribeAgilityTunnelAgentInfoRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeAgilityTunnelAgentInfoRequest::~DescribeAgilityTunnelAgentInfoRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAgilityTunnelAgentInfoRequest::getToken()const
|
||||
{
|
||||
return token_;
|
||||
}
|
||||
|
||||
void DescribeAgilityTunnelAgentInfoRequest::setToken(const std::string& token)
|
||||
{
|
||||
token_ = token;
|
||||
setParameter("Token", token);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeAgilityTunnelAgentInfoResult.cc
Normal file
45
cs/src/model/DescribeAgilityTunnelAgentInfoResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeAgilityTunnelAgentInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeAgilityTunnelAgentInfoResult::DescribeAgilityTunnelAgentInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAgilityTunnelAgentInfoResult::DescribeAgilityTunnelAgentInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAgilityTunnelAgentInfoResult::~DescribeAgilityTunnelAgentInfoResult()
|
||||
{}
|
||||
|
||||
void DescribeAgilityTunnelAgentInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/DescribeAgilityTunnelCertsRequest.cc
Normal file
38
cs/src/model/DescribeAgilityTunnelCertsRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeAgilityTunnelCertsRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeAgilityTunnelCertsRequest;
|
||||
|
||||
DescribeAgilityTunnelCertsRequest::DescribeAgilityTunnelCertsRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeAgilityTunnelCertsRequest::~DescribeAgilityTunnelCertsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAgilityTunnelCertsRequest::getToken()const
|
||||
{
|
||||
return token_;
|
||||
}
|
||||
|
||||
void DescribeAgilityTunnelCertsRequest::setToken(const std::string& token)
|
||||
{
|
||||
token_ = token;
|
||||
setParameter("Token", token);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeAgilityTunnelCertsResult.cc
Normal file
45
cs/src/model/DescribeAgilityTunnelCertsResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeAgilityTunnelCertsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeAgilityTunnelCertsResult::DescribeAgilityTunnelCertsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAgilityTunnelCertsResult::DescribeAgilityTunnelCertsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAgilityTunnelCertsResult::~DescribeAgilityTunnelCertsResult()
|
||||
{}
|
||||
|
||||
void DescribeAgilityTunnelCertsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
27
cs/src/model/DescribeApiVersionRequest.cc
Normal file
27
cs/src/model/DescribeApiVersionRequest.cc
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeApiVersionRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeApiVersionRequest;
|
||||
|
||||
DescribeApiVersionRequest::DescribeApiVersionRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeApiVersionRequest::~DescribeApiVersionRequest()
|
||||
{}
|
||||
|
||||
45
cs/src/model/DescribeApiVersionResult.cc
Normal file
45
cs/src/model/DescribeApiVersionResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeApiVersionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeApiVersionResult::DescribeApiVersionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiVersionResult::DescribeApiVersionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiVersionResult::~DescribeApiVersionResult()
|
||||
{}
|
||||
|
||||
void DescribeApiVersionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/DescribeClusterCertsRequest.cc
Normal file
38
cs/src/model/DescribeClusterCertsRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterCertsRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeClusterCertsRequest;
|
||||
|
||||
DescribeClusterCertsRequest::DescribeClusterCertsRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeClusterCertsRequest::~DescribeClusterCertsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeClusterCertsRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeClusterCertsRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeClusterCertsResult.cc
Normal file
45
cs/src/model/DescribeClusterCertsResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterCertsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeClusterCertsResult::DescribeClusterCertsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClusterCertsResult::DescribeClusterCertsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClusterCertsResult::~DescribeClusterCertsResult()
|
||||
{}
|
||||
|
||||
void DescribeClusterCertsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/DescribeClusterDetailRequest.cc
Normal file
38
cs/src/model/DescribeClusterDetailRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeClusterDetailRequest;
|
||||
|
||||
DescribeClusterDetailRequest::DescribeClusterDetailRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeClusterDetailRequest::~DescribeClusterDetailRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeClusterDetailRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeClusterDetailRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeClusterDetailResult.cc
Normal file
45
cs/src/model/DescribeClusterDetailResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeClusterDetailResult::DescribeClusterDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClusterDetailResult::DescribeClusterDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClusterDetailResult::~DescribeClusterDetailResult()
|
||||
{}
|
||||
|
||||
void DescribeClusterDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/DescribeClusterHostsRequest.cc
Normal file
38
cs/src/model/DescribeClusterHostsRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterHostsRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeClusterHostsRequest;
|
||||
|
||||
DescribeClusterHostsRequest::DescribeClusterHostsRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeClusterHostsRequest::~DescribeClusterHostsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeClusterHostsRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeClusterHostsRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeClusterHostsResult.cc
Normal file
45
cs/src/model/DescribeClusterHostsResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterHostsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeClusterHostsResult::DescribeClusterHostsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClusterHostsResult::DescribeClusterHostsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClusterHostsResult::~DescribeClusterHostsResult()
|
||||
{}
|
||||
|
||||
void DescribeClusterHostsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/DescribeClusterLogsRequest.cc
Normal file
38
cs/src/model/DescribeClusterLogsRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterLogsRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeClusterLogsRequest;
|
||||
|
||||
DescribeClusterLogsRequest::DescribeClusterLogsRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeClusterLogsRequest::~DescribeClusterLogsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeClusterLogsRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeClusterLogsRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeClusterLogsResult.cc
Normal file
45
cs/src/model/DescribeClusterLogsResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterLogsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeClusterLogsResult::DescribeClusterLogsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClusterLogsResult::DescribeClusterLogsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClusterLogsResult::~DescribeClusterLogsResult()
|
||||
{}
|
||||
|
||||
void DescribeClusterLogsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/DescribeClusterNodeInfoRequest.cc
Normal file
38
cs/src/model/DescribeClusterNodeInfoRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterNodeInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeClusterNodeInfoRequest;
|
||||
|
||||
DescribeClusterNodeInfoRequest::DescribeClusterNodeInfoRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeClusterNodeInfoRequest::~DescribeClusterNodeInfoRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeClusterNodeInfoRequest::getToken()const
|
||||
{
|
||||
return token_;
|
||||
}
|
||||
|
||||
void DescribeClusterNodeInfoRequest::setToken(const std::string& token)
|
||||
{
|
||||
token_ = token;
|
||||
setParameter("Token", token);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeClusterNodeInfoResult.cc
Normal file
45
cs/src/model/DescribeClusterNodeInfoResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterNodeInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeClusterNodeInfoResult::DescribeClusterNodeInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClusterNodeInfoResult::DescribeClusterNodeInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClusterNodeInfoResult::~DescribeClusterNodeInfoResult()
|
||||
{}
|
||||
|
||||
void DescribeClusterNodeInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
49
cs/src/model/DescribeClusterNodeInfoWithInstanceRequest.cc
Normal file
49
cs/src/model/DescribeClusterNodeInfoWithInstanceRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterNodeInfoWithInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeClusterNodeInfoWithInstanceRequest;
|
||||
|
||||
DescribeClusterNodeInfoWithInstanceRequest::DescribeClusterNodeInfoWithInstanceRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeClusterNodeInfoWithInstanceRequest::~DescribeClusterNodeInfoWithInstanceRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeClusterNodeInfoWithInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DescribeClusterNodeInfoWithInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string DescribeClusterNodeInfoWithInstanceRequest::getToken()const
|
||||
{
|
||||
return token_;
|
||||
}
|
||||
|
||||
void DescribeClusterNodeInfoWithInstanceRequest::setToken(const std::string& token)
|
||||
{
|
||||
token_ = token;
|
||||
setParameter("Token", token);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeClusterNodeInfoWithInstanceResult.cc
Normal file
45
cs/src/model/DescribeClusterNodeInfoWithInstanceResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterNodeInfoWithInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeClusterNodeInfoWithInstanceResult::DescribeClusterNodeInfoWithInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClusterNodeInfoWithInstanceResult::DescribeClusterNodeInfoWithInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClusterNodeInfoWithInstanceResult::~DescribeClusterNodeInfoWithInstanceResult()
|
||||
{}
|
||||
|
||||
void DescribeClusterNodeInfoWithInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
60
cs/src/model/DescribeClusterNodesRequest.cc
Normal file
60
cs/src/model/DescribeClusterNodesRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterNodesRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeClusterNodesRequest;
|
||||
|
||||
DescribeClusterNodesRequest::DescribeClusterNodesRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeClusterNodesRequest::~DescribeClusterNodesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeClusterNodesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeClusterNodesRequest::setPageSize(const std::string& pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", pageSize);
|
||||
}
|
||||
|
||||
std::string DescribeClusterNodesRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeClusterNodesRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DescribeClusterNodesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeClusterNodesRequest::setPageNumber(const std::string& pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", pageNumber);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeClusterNodesResult.cc
Normal file
45
cs/src/model/DescribeClusterNodesResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterNodesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeClusterNodesResult::DescribeClusterNodesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClusterNodesResult::DescribeClusterNodesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClusterNodesResult::~DescribeClusterNodesResult()
|
||||
{}
|
||||
|
||||
void DescribeClusterNodesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/DescribeClusterScaledNodeRequest.cc
Normal file
38
cs/src/model/DescribeClusterScaledNodeRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterScaledNodeRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeClusterScaledNodeRequest;
|
||||
|
||||
DescribeClusterScaledNodeRequest::DescribeClusterScaledNodeRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeClusterScaledNodeRequest::~DescribeClusterScaledNodeRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeClusterScaledNodeRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeClusterScaledNodeRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeClusterScaledNodeResult.cc
Normal file
45
cs/src/model/DescribeClusterScaledNodeResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterScaledNodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeClusterScaledNodeResult::DescribeClusterScaledNodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClusterScaledNodeResult::DescribeClusterScaledNodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClusterScaledNodeResult::~DescribeClusterScaledNodeResult()
|
||||
{}
|
||||
|
||||
void DescribeClusterScaledNodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/DescribeClusterServicesRequest.cc
Normal file
38
cs/src/model/DescribeClusterServicesRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterServicesRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeClusterServicesRequest;
|
||||
|
||||
DescribeClusterServicesRequest::DescribeClusterServicesRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeClusterServicesRequest::~DescribeClusterServicesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeClusterServicesRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeClusterServicesRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeClusterServicesResult.cc
Normal file
45
cs/src/model/DescribeClusterServicesResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterServicesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeClusterServicesResult::DescribeClusterServicesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClusterServicesResult::DescribeClusterServicesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClusterServicesResult::~DescribeClusterServicesResult()
|
||||
{}
|
||||
|
||||
void DescribeClusterServicesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/DescribeClusterTokensRequest.cc
Normal file
38
cs/src/model/DescribeClusterTokensRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterTokensRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeClusterTokensRequest;
|
||||
|
||||
DescribeClusterTokensRequest::DescribeClusterTokensRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeClusterTokensRequest::~DescribeClusterTokensRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeClusterTokensRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeClusterTokensRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeClusterTokensResult.cc
Normal file
45
cs/src/model/DescribeClusterTokensResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClusterTokensResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeClusterTokensResult::DescribeClusterTokensResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClusterTokensResult::DescribeClusterTokensResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClusterTokensResult::~DescribeClusterTokensResult()
|
||||
{}
|
||||
|
||||
void DescribeClusterTokensResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
49
cs/src/model/DescribeClustersRequest.cc
Normal file
49
cs/src/model/DescribeClustersRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClustersRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeClustersRequest;
|
||||
|
||||
DescribeClustersRequest::DescribeClustersRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeClustersRequest::~DescribeClustersRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeClustersRequest::getClusterType()const
|
||||
{
|
||||
return clusterType_;
|
||||
}
|
||||
|
||||
void DescribeClustersRequest::setClusterType(const std::string& clusterType)
|
||||
{
|
||||
clusterType_ = clusterType;
|
||||
setParameter("ClusterType", clusterType);
|
||||
}
|
||||
|
||||
std::string DescribeClustersRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void DescribeClustersRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeClustersResult.cc
Normal file
45
cs/src/model/DescribeClustersResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeClustersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeClustersResult::DescribeClustersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeClustersResult::DescribeClustersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeClustersResult::~DescribeClustersResult()
|
||||
{}
|
||||
|
||||
void DescribeClustersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
60
cs/src/model/DescribeImagesRequest.cc
Normal file
60
cs/src/model/DescribeImagesRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeImagesRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeImagesRequest;
|
||||
|
||||
DescribeImagesRequest::DescribeImagesRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeImagesRequest::~DescribeImagesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeImagesRequest::getRegionID()const
|
||||
{
|
||||
return regionID_;
|
||||
}
|
||||
|
||||
void DescribeImagesRequest::setRegionID(const std::string& regionID)
|
||||
{
|
||||
regionID_ = regionID;
|
||||
setParameter("RegionID", regionID);
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getImageName()const
|
||||
{
|
||||
return imageName_;
|
||||
}
|
||||
|
||||
void DescribeImagesRequest::setImageName(const std::string& imageName)
|
||||
{
|
||||
imageName_ = imageName;
|
||||
setParameter("ImageName", imageName);
|
||||
}
|
||||
|
||||
std::string DescribeImagesRequest::getDockerVersion()const
|
||||
{
|
||||
return dockerVersion_;
|
||||
}
|
||||
|
||||
void DescribeImagesRequest::setDockerVersion(const std::string& dockerVersion)
|
||||
{
|
||||
dockerVersion_ = dockerVersion;
|
||||
setParameter("DockerVersion", dockerVersion);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeImagesResult.cc
Normal file
45
cs/src/model/DescribeImagesResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeImagesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeImagesResult::DescribeImagesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeImagesResult::DescribeImagesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeImagesResult::~DescribeImagesResult()
|
||||
{}
|
||||
|
||||
void DescribeImagesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
49
cs/src/model/DescribeServiceContainersRequest.cc
Normal file
49
cs/src/model/DescribeServiceContainersRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeServiceContainersRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeServiceContainersRequest;
|
||||
|
||||
DescribeServiceContainersRequest::DescribeServiceContainersRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeServiceContainersRequest::~DescribeServiceContainersRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeServiceContainersRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void DescribeServiceContainersRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string DescribeServiceContainersRequest::getServiceId()const
|
||||
{
|
||||
return serviceId_;
|
||||
}
|
||||
|
||||
void DescribeServiceContainersRequest::setServiceId(const std::string& serviceId)
|
||||
{
|
||||
serviceId_ = serviceId;
|
||||
setParameter("ServiceId", serviceId);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeServiceContainersResult.cc
Normal file
45
cs/src/model/DescribeServiceContainersResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeServiceContainersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeServiceContainersResult::DescribeServiceContainersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeServiceContainersResult::DescribeServiceContainersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeServiceContainersResult::~DescribeServiceContainersResult()
|
||||
{}
|
||||
|
||||
void DescribeServiceContainersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/DescribeTaskInfoRequest.cc
Normal file
38
cs/src/model/DescribeTaskInfoRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeTaskInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeTaskInfoRequest;
|
||||
|
||||
DescribeTaskInfoRequest::DescribeTaskInfoRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeTaskInfoRequest::~DescribeTaskInfoRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeTaskInfoRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void DescribeTaskInfoRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeTaskInfoResult.cc
Normal file
45
cs/src/model/DescribeTaskInfoResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeTaskInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeTaskInfoResult::DescribeTaskInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeTaskInfoResult::DescribeTaskInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeTaskInfoResult::~DescribeTaskInfoResult()
|
||||
{}
|
||||
|
||||
void DescribeTaskInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/DescribeTemplateAttributeRequest.cc
Normal file
38
cs/src/model/DescribeTemplateAttributeRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeTemplateAttributeRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeTemplateAttributeRequest;
|
||||
|
||||
DescribeTemplateAttributeRequest::DescribeTemplateAttributeRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeTemplateAttributeRequest::~DescribeTemplateAttributeRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeTemplateAttributeRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void DescribeTemplateAttributeRequest::setTemplateId(const std::string& templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", templateId);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeTemplateAttributeResult.cc
Normal file
45
cs/src/model/DescribeTemplateAttributeResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeTemplateAttributeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeTemplateAttributeResult::DescribeTemplateAttributeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeTemplateAttributeResult::DescribeTemplateAttributeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeTemplateAttributeResult::~DescribeTemplateAttributeResult()
|
||||
{}
|
||||
|
||||
void DescribeTemplateAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
27
cs/src/model/DescribeTemplatesRequest.cc
Normal file
27
cs/src/model/DescribeTemplatesRequest.cc
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeTemplatesRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeTemplatesRequest;
|
||||
|
||||
DescribeTemplatesRequest::DescribeTemplatesRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeTemplatesRequest::~DescribeTemplatesRequest()
|
||||
{}
|
||||
|
||||
45
cs/src/model/DescribeTemplatesResult.cc
Normal file
45
cs/src/model/DescribeTemplatesResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeTemplatesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeTemplatesResult::DescribeTemplatesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeTemplatesResult::DescribeTemplatesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeTemplatesResult::~DescribeTemplatesResult()
|
||||
{}
|
||||
|
||||
void DescribeTemplatesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
49
cs/src/model/DescribeUserContainersRequest.cc
Normal file
49
cs/src/model/DescribeUserContainersRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeUserContainersRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DescribeUserContainersRequest;
|
||||
|
||||
DescribeUserContainersRequest::DescribeUserContainersRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DescribeUserContainersRequest::~DescribeUserContainersRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeUserContainersRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeUserContainersRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeUserContainersRequest::getServiceId()const
|
||||
{
|
||||
return serviceId_;
|
||||
}
|
||||
|
||||
void DescribeUserContainersRequest::setServiceId(const std::string& serviceId)
|
||||
{
|
||||
serviceId_ = serviceId;
|
||||
setParameter("ServiceId", serviceId);
|
||||
}
|
||||
|
||||
45
cs/src/model/DescribeUserContainersResult.cc
Normal file
45
cs/src/model/DescribeUserContainersResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DescribeUserContainersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DescribeUserContainersResult::DescribeUserContainersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeUserContainersResult::DescribeUserContainersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeUserContainersResult::~DescribeUserContainersResult()
|
||||
{}
|
||||
|
||||
void DescribeUserContainersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
49
cs/src/model/DownloadClusterNodeCertsRequest.cc
Normal file
49
cs/src/model/DownloadClusterNodeCertsRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DownloadClusterNodeCertsRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::DownloadClusterNodeCertsRequest;
|
||||
|
||||
DownloadClusterNodeCertsRequest::DownloadClusterNodeCertsRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
DownloadClusterNodeCertsRequest::~DownloadClusterNodeCertsRequest()
|
||||
{}
|
||||
|
||||
std::string DownloadClusterNodeCertsRequest::getNodeId()const
|
||||
{
|
||||
return nodeId_;
|
||||
}
|
||||
|
||||
void DownloadClusterNodeCertsRequest::setNodeId(const std::string& nodeId)
|
||||
{
|
||||
nodeId_ = nodeId;
|
||||
setParameter("NodeId", nodeId);
|
||||
}
|
||||
|
||||
std::string DownloadClusterNodeCertsRequest::getToken()const
|
||||
{
|
||||
return token_;
|
||||
}
|
||||
|
||||
void DownloadClusterNodeCertsRequest::setToken(const std::string& token)
|
||||
{
|
||||
token_ = token;
|
||||
setParameter("Token", token);
|
||||
}
|
||||
|
||||
45
cs/src/model/DownloadClusterNodeCertsResult.cc
Normal file
45
cs/src/model/DownloadClusterNodeCertsResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/DownloadClusterNodeCertsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
DownloadClusterNodeCertsResult::DownloadClusterNodeCertsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DownloadClusterNodeCertsResult::DownloadClusterNodeCertsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DownloadClusterNodeCertsResult::~DownloadClusterNodeCertsResult()
|
||||
{}
|
||||
|
||||
void DownloadClusterNodeCertsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/GatherLogsTokenRequest.cc
Normal file
38
cs/src/model/GatherLogsTokenRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/GatherLogsTokenRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::GatherLogsTokenRequest;
|
||||
|
||||
GatherLogsTokenRequest::GatherLogsTokenRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
GatherLogsTokenRequest::~GatherLogsTokenRequest()
|
||||
{}
|
||||
|
||||
std::string GatherLogsTokenRequest::getToken()const
|
||||
{
|
||||
return token_;
|
||||
}
|
||||
|
||||
void GatherLogsTokenRequest::setToken(const std::string& token)
|
||||
{
|
||||
token_ = token;
|
||||
setParameter("Token", token);
|
||||
}
|
||||
|
||||
45
cs/src/model/GatherLogsTokenResult.cc
Normal file
45
cs/src/model/GatherLogsTokenResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/GatherLogsTokenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
GatherLogsTokenResult::GatherLogsTokenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GatherLogsTokenResult::GatherLogsTokenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GatherLogsTokenResult::~GatherLogsTokenResult()
|
||||
{}
|
||||
|
||||
void GatherLogsTokenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/GetClusterProjectsRequest.cc
Normal file
38
cs/src/model/GetClusterProjectsRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/GetClusterProjectsRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::GetClusterProjectsRequest;
|
||||
|
||||
GetClusterProjectsRequest::GetClusterProjectsRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
GetClusterProjectsRequest::~GetClusterProjectsRequest()
|
||||
{}
|
||||
|
||||
std::string GetClusterProjectsRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void GetClusterProjectsRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/GetClusterProjectsResult.cc
Normal file
45
cs/src/model/GetClusterProjectsResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/GetClusterProjectsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
GetClusterProjectsResult::GetClusterProjectsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetClusterProjectsResult::GetClusterProjectsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetClusterProjectsResult::~GetClusterProjectsResult()
|
||||
{}
|
||||
|
||||
void GetClusterProjectsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
49
cs/src/model/GetProjectEventsRequest.cc
Normal file
49
cs/src/model/GetProjectEventsRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/GetProjectEventsRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::GetProjectEventsRequest;
|
||||
|
||||
GetProjectEventsRequest::GetProjectEventsRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
GetProjectEventsRequest::~GetProjectEventsRequest()
|
||||
{}
|
||||
|
||||
std::string GetProjectEventsRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void GetProjectEventsRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string GetProjectEventsRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void GetProjectEventsRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
45
cs/src/model/GetProjectEventsResult.cc
Normal file
45
cs/src/model/GetProjectEventsResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/GetProjectEventsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
GetProjectEventsResult::GetProjectEventsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetProjectEventsResult::GetProjectEventsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetProjectEventsResult::~GetProjectEventsResult()
|
||||
{}
|
||||
|
||||
void GetProjectEventsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
49
cs/src/model/GetTriggerHookRequest.cc
Normal file
49
cs/src/model/GetTriggerHookRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/GetTriggerHookRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::GetTriggerHookRequest;
|
||||
|
||||
GetTriggerHookRequest::GetTriggerHookRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
GetTriggerHookRequest::~GetTriggerHookRequest()
|
||||
{}
|
||||
|
||||
std::string GetTriggerHookRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void GetTriggerHookRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
std::string GetTriggerHookRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void GetTriggerHookRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
45
cs/src/model/GetTriggerHookResult.cc
Normal file
45
cs/src/model/GetTriggerHookResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/GetTriggerHookResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
GetTriggerHookResult::GetTriggerHookResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTriggerHookResult::GetTriggerHookResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTriggerHookResult::~GetTriggerHookResult()
|
||||
{}
|
||||
|
||||
void GetTriggerHookResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
27
cs/src/model/ModifyClusterNameRequest.cc
Normal file
27
cs/src/model/ModifyClusterNameRequest.cc
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/ModifyClusterNameRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::ModifyClusterNameRequest;
|
||||
|
||||
ModifyClusterNameRequest::ModifyClusterNameRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
ModifyClusterNameRequest::~ModifyClusterNameRequest()
|
||||
{}
|
||||
|
||||
45
cs/src/model/ModifyClusterNameResult.cc
Normal file
45
cs/src/model/ModifyClusterNameResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/ModifyClusterNameResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
ModifyClusterNameResult::ModifyClusterNameResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyClusterNameResult::ModifyClusterNameResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyClusterNameResult::~ModifyClusterNameResult()
|
||||
{}
|
||||
|
||||
void ModifyClusterNameResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
49
cs/src/model/ResetClusterNodeRequest.cc
Normal file
49
cs/src/model/ResetClusterNodeRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/ResetClusterNodeRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::ResetClusterNodeRequest;
|
||||
|
||||
ResetClusterNodeRequest::ResetClusterNodeRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
ResetClusterNodeRequest::~ResetClusterNodeRequest()
|
||||
{}
|
||||
|
||||
std::string ResetClusterNodeRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ResetClusterNodeRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ResetClusterNodeRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void ResetClusterNodeRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/ResetClusterNodeResult.cc
Normal file
45
cs/src/model/ResetClusterNodeResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/ResetClusterNodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
ResetClusterNodeResult::ResetClusterNodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ResetClusterNodeResult::ResetClusterNodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ResetClusterNodeResult::~ResetClusterNodeResult()
|
||||
{}
|
||||
|
||||
void ResetClusterNodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/RevokeClusterTokenRequest.cc
Normal file
38
cs/src/model/RevokeClusterTokenRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/RevokeClusterTokenRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::RevokeClusterTokenRequest;
|
||||
|
||||
RevokeClusterTokenRequest::RevokeClusterTokenRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
RevokeClusterTokenRequest::~RevokeClusterTokenRequest()
|
||||
{}
|
||||
|
||||
std::string RevokeClusterTokenRequest::getToken()const
|
||||
{
|
||||
return token_;
|
||||
}
|
||||
|
||||
void RevokeClusterTokenRequest::setToken(const std::string& token)
|
||||
{
|
||||
token_ = token;
|
||||
setParameter("Token", token);
|
||||
}
|
||||
|
||||
45
cs/src/model/RevokeClusterTokenResult.cc
Normal file
45
cs/src/model/RevokeClusterTokenResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/RevokeClusterTokenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
RevokeClusterTokenResult::RevokeClusterTokenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RevokeClusterTokenResult::RevokeClusterTokenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RevokeClusterTokenResult::~RevokeClusterTokenResult()
|
||||
{}
|
||||
|
||||
void RevokeClusterTokenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/ScaleClusterRequest.cc
Normal file
38
cs/src/model/ScaleClusterRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/ScaleClusterRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::ScaleClusterRequest;
|
||||
|
||||
ScaleClusterRequest::ScaleClusterRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
ScaleClusterRequest::~ScaleClusterRequest()
|
||||
{}
|
||||
|
||||
std::string ScaleClusterRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void ScaleClusterRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/ScaleClusterResult.cc
Normal file
45
cs/src/model/ScaleClusterResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/ScaleClusterResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
ScaleClusterResult::ScaleClusterResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ScaleClusterResult::ScaleClusterResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ScaleClusterResult::~ScaleClusterResult()
|
||||
{}
|
||||
|
||||
void ScaleClusterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
38
cs/src/model/ScaleInClusterRequest.cc
Normal file
38
cs/src/model/ScaleInClusterRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/ScaleInClusterRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::ScaleInClusterRequest;
|
||||
|
||||
ScaleInClusterRequest::ScaleInClusterRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
ScaleInClusterRequest::~ScaleInClusterRequest()
|
||||
{}
|
||||
|
||||
std::string ScaleInClusterRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void ScaleInClusterRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/ScaleInClusterResult.cc
Normal file
45
cs/src/model/ScaleInClusterResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/ScaleInClusterResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
ScaleInClusterResult::ScaleInClusterResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ScaleInClusterResult::ScaleInClusterResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ScaleInClusterResult::~ScaleInClusterResult()
|
||||
{}
|
||||
|
||||
void ScaleInClusterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
27
cs/src/model/UpdateSubUserResoucesRequest.cc
Normal file
27
cs/src/model/UpdateSubUserResoucesRequest.cc
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/UpdateSubUserResoucesRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::UpdateSubUserResoucesRequest;
|
||||
|
||||
UpdateSubUserResoucesRequest::UpdateSubUserResoucesRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
UpdateSubUserResoucesRequest::~UpdateSubUserResoucesRequest()
|
||||
{}
|
||||
|
||||
45
cs/src/model/UpdateSubUserResoucesResult.cc
Normal file
45
cs/src/model/UpdateSubUserResoucesResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/UpdateSubUserResoucesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
UpdateSubUserResoucesResult::UpdateSubUserResoucesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateSubUserResoucesResult::UpdateSubUserResoucesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateSubUserResoucesResult::~UpdateSubUserResoucesResult()
|
||||
{}
|
||||
|
||||
void UpdateSubUserResoucesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
49
cs/src/model/UpgradeClusterComponentsRequest.cc
Normal file
49
cs/src/model/UpgradeClusterComponentsRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/UpgradeClusterComponentsRequest.h>
|
||||
|
||||
using AlibabaCloud::CS::Model::UpgradeClusterComponentsRequest;
|
||||
|
||||
UpgradeClusterComponentsRequest::UpgradeClusterComponentsRequest() :
|
||||
RoaServiceRequest("cs", "2015-12-15")
|
||||
{}
|
||||
|
||||
UpgradeClusterComponentsRequest::~UpgradeClusterComponentsRequest()
|
||||
{}
|
||||
|
||||
std::string UpgradeClusterComponentsRequest::getComponentId()const
|
||||
{
|
||||
return componentId_;
|
||||
}
|
||||
|
||||
void UpgradeClusterComponentsRequest::setComponentId(const std::string& componentId)
|
||||
{
|
||||
componentId_ = componentId;
|
||||
setParameter("ComponentId", componentId);
|
||||
}
|
||||
|
||||
std::string UpgradeClusterComponentsRequest::getClusterId()const
|
||||
{
|
||||
return clusterId_;
|
||||
}
|
||||
|
||||
void UpgradeClusterComponentsRequest::setClusterId(const std::string& clusterId)
|
||||
{
|
||||
clusterId_ = clusterId;
|
||||
setParameter("ClusterId", clusterId);
|
||||
}
|
||||
|
||||
45
cs/src/model/UpgradeClusterComponentsResult.cc
Normal file
45
cs/src/model/UpgradeClusterComponentsResult.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cs/model/UpgradeClusterComponentsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CS;
|
||||
using namespace AlibabaCloud::CS::Model;
|
||||
|
||||
UpgradeClusterComponentsResult::UpgradeClusterComponentsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpgradeClusterComponentsResult::UpgradeClusterComponentsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpgradeClusterComponentsResult::~UpgradeClusterComponentsResult()
|
||||
{}
|
||||
|
||||
void UpgradeClusterComponentsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user