3761
cloudapi/src/CloudAPIClient.cc
Normal file
3761
cloudapi/src/CloudAPIClient.cc
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/AbolishApiRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::AbolishApiRequest;
|
||||
|
||||
AbolishApiRequest::AbolishApiRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "AbolishApi")
|
||||
{}
|
||||
|
||||
AbolishApiRequest::~AbolishApiRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/AbolishApiRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::AbolishApiRequest;
|
||||
|
||||
AbolishApiRequest::AbolishApiRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "AbolishApi")
|
||||
{}
|
||||
|
||||
AbolishApiRequest::~AbolishApiRequest()
|
||||
{}
|
||||
|
||||
std::string AbolishApiRequest::getStageName()const
|
||||
{
|
||||
return stageName_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/AbolishApiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
AbolishApiResult::AbolishApiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AbolishApiResult::AbolishApiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AbolishApiResult::~AbolishApiResult()
|
||||
{}
|
||||
|
||||
void AbolishApiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/AbolishApiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
AbolishApiResult::AbolishApiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AbolishApiResult::AbolishApiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AbolishApiResult::~AbolishApiResult()
|
||||
{}
|
||||
|
||||
void AbolishApiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/AddIpControlPolicyItemRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::AddIpControlPolicyItemRequest;
|
||||
|
||||
AddIpControlPolicyItemRequest::AddIpControlPolicyItemRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "AddIpControlPolicyItem")
|
||||
{}
|
||||
|
||||
AddIpControlPolicyItemRequest::~AddIpControlPolicyItemRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/AddIpControlPolicyItemRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::AddIpControlPolicyItemRequest;
|
||||
|
||||
AddIpControlPolicyItemRequest::AddIpControlPolicyItemRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "AddIpControlPolicyItem")
|
||||
{}
|
||||
|
||||
AddIpControlPolicyItemRequest::~AddIpControlPolicyItemRequest()
|
||||
{}
|
||||
|
||||
std::string AddIpControlPolicyItemRequest::getIpControlId()const
|
||||
{
|
||||
return ipControlId_;
|
||||
|
||||
@@ -1,50 +1,53 @@
|
||||
/*
|
||||
* 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/cloudapi/model/AddIpControlPolicyItemResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
AddIpControlPolicyItemResult::AddIpControlPolicyItemResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddIpControlPolicyItemResult::AddIpControlPolicyItemResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddIpControlPolicyItemResult::~AddIpControlPolicyItemResult()
|
||||
{}
|
||||
|
||||
void AddIpControlPolicyItemResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/AddIpControlPolicyItemResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
AddIpControlPolicyItemResult::AddIpControlPolicyItemResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddIpControlPolicyItemResult::AddIpControlPolicyItemResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddIpControlPolicyItemResult::~AddIpControlPolicyItemResult()
|
||||
{}
|
||||
|
||||
void AddIpControlPolicyItemResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["PolicyItemId"].isNull())
|
||||
policyItemId_ = value["PolicyItemId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::string AddIpControlPolicyItemResult::getPolicyItemId()const
|
||||
{
|
||||
return policyItemId_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/AddTrafficSpecialControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::AddTrafficSpecialControlRequest;
|
||||
|
||||
AddTrafficSpecialControlRequest::AddTrafficSpecialControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "AddTrafficSpecialControl")
|
||||
{}
|
||||
|
||||
AddTrafficSpecialControlRequest::~AddTrafficSpecialControlRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/AddTrafficSpecialControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::AddTrafficSpecialControlRequest;
|
||||
|
||||
AddTrafficSpecialControlRequest::AddTrafficSpecialControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "AddTrafficSpecialControl")
|
||||
{}
|
||||
|
||||
AddTrafficSpecialControlRequest::~AddTrafficSpecialControlRequest()
|
||||
{}
|
||||
|
||||
std::string AddTrafficSpecialControlRequest::getTrafficControlId()const
|
||||
{
|
||||
return trafficControlId_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/AddTrafficSpecialControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
AddTrafficSpecialControlResult::AddTrafficSpecialControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddTrafficSpecialControlResult::AddTrafficSpecialControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddTrafficSpecialControlResult::~AddTrafficSpecialControlResult()
|
||||
{}
|
||||
|
||||
void AddTrafficSpecialControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/AddTrafficSpecialControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
AddTrafficSpecialControlResult::AddTrafficSpecialControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddTrafficSpecialControlResult::AddTrafficSpecialControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddTrafficSpecialControlResult::~AddTrafficSpecialControlResult()
|
||||
{}
|
||||
|
||||
void AddTrafficSpecialControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateApiGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateApiGroupRequest;
|
||||
|
||||
CreateApiGroupRequest::CreateApiGroupRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateApiGroup")
|
||||
{}
|
||||
|
||||
CreateApiGroupRequest::~CreateApiGroupRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/CreateApiGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateApiGroupRequest;
|
||||
|
||||
CreateApiGroupRequest::CreateApiGroupRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateApiGroup")
|
||||
{}
|
||||
|
||||
CreateApiGroupRequest::~CreateApiGroupRequest()
|
||||
{}
|
||||
|
||||
std::string CreateApiGroupRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateApiGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateApiGroupResult::CreateApiGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateApiGroupResult::CreateApiGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateApiGroupResult::~CreateApiGroupResult()
|
||||
{}
|
||||
|
||||
void CreateApiGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/CreateApiGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateApiGroupResult::CreateApiGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateApiGroupResult::CreateApiGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateApiGroupResult::~CreateApiGroupResult()
|
||||
{}
|
||||
|
||||
void CreateApiGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["GroupId"].isNull())
|
||||
groupId_ = value["GroupId"].asString();
|
||||
if(!value["GroupName"].isNull())
|
||||
@@ -54,9 +57,9 @@ void CreateApiGroupResult::parse(const std::string &payload)
|
||||
instanceType_ = value["InstanceType"].asString();
|
||||
if(!value["TagStatus"].isNull())
|
||||
tagStatus_ = value["TagStatus"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::string CreateApiGroupResult::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateApiRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateApiRequest;
|
||||
|
||||
CreateApiRequest::CreateApiRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateApi")
|
||||
{}
|
||||
|
||||
CreateApiRequest::~CreateApiRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/CreateApiRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateApiRequest;
|
||||
|
||||
CreateApiRequest::CreateApiRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateApi")
|
||||
{}
|
||||
|
||||
CreateApiRequest::~CreateApiRequest()
|
||||
{}
|
||||
|
||||
std::string CreateApiRequest::getWebSocketApiType()const
|
||||
{
|
||||
return webSocketApiType_;
|
||||
|
||||
@@ -1,50 +1,53 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateApiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateApiResult::CreateApiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateApiResult::CreateApiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateApiResult::~CreateApiResult()
|
||||
{}
|
||||
|
||||
void CreateApiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/CreateApiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateApiResult::CreateApiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateApiResult::CreateApiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateApiResult::~CreateApiResult()
|
||||
{}
|
||||
|
||||
void CreateApiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ApiId"].isNull())
|
||||
apiId_ = value["ApiId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::string CreateApiResult::getApiId()const
|
||||
{
|
||||
return apiId_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateApiStageVariableRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateApiStageVariableRequest;
|
||||
|
||||
CreateApiStageVariableRequest::CreateApiStageVariableRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateApiStageVariable")
|
||||
{}
|
||||
|
||||
CreateApiStageVariableRequest::~CreateApiStageVariableRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/CreateApiStageVariableRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateApiStageVariableRequest;
|
||||
|
||||
CreateApiStageVariableRequest::CreateApiStageVariableRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateApiStageVariable")
|
||||
{}
|
||||
|
||||
CreateApiStageVariableRequest::~CreateApiStageVariableRequest()
|
||||
{}
|
||||
|
||||
bool CreateApiStageVariableRequest::getSupportRoute()const
|
||||
{
|
||||
return supportRoute_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateApiStageVariableResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateApiStageVariableResult::CreateApiStageVariableResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateApiStageVariableResult::CreateApiStageVariableResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateApiStageVariableResult::~CreateApiStageVariableResult()
|
||||
{}
|
||||
|
||||
void CreateApiStageVariableResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/CreateApiStageVariableResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateApiStageVariableResult::CreateApiStageVariableResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateApiStageVariableResult::CreateApiStageVariableResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateApiStageVariableResult::~CreateApiStageVariableResult()
|
||||
{}
|
||||
|
||||
void CreateApiStageVariableResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateAppRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateAppRequest;
|
||||
|
||||
CreateAppRequest::CreateAppRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateApp")
|
||||
{}
|
||||
|
||||
CreateAppRequest::~CreateAppRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/CreateAppRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateAppRequest;
|
||||
|
||||
CreateAppRequest::CreateAppRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateApp")
|
||||
{}
|
||||
|
||||
CreateAppRequest::~CreateAppRequest()
|
||||
{}
|
||||
|
||||
std::string CreateAppRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
|
||||
@@ -1,52 +1,55 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateAppResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateAppResult::CreateAppResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateAppResult::CreateAppResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateAppResult::~CreateAppResult()
|
||||
{}
|
||||
|
||||
void CreateAppResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/CreateAppResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateAppResult::CreateAppResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateAppResult::CreateAppResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateAppResult::~CreateAppResult()
|
||||
{}
|
||||
|
||||
void CreateAppResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AppId"].isNull())
|
||||
appId_ = std::stol(value["AppId"].asString());
|
||||
if(!value["TagStatus"].isNull())
|
||||
tagStatus_ = value["TagStatus"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
long CreateAppResult::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateIntranetDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateIntranetDomainRequest;
|
||||
|
||||
CreateIntranetDomainRequest::CreateIntranetDomainRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateIntranetDomain")
|
||||
{}
|
||||
|
||||
CreateIntranetDomainRequest::~CreateIntranetDomainRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/CreateIntranetDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateIntranetDomainRequest;
|
||||
|
||||
CreateIntranetDomainRequest::CreateIntranetDomainRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateIntranetDomain")
|
||||
{}
|
||||
|
||||
CreateIntranetDomainRequest::~CreateIntranetDomainRequest()
|
||||
{}
|
||||
|
||||
bool CreateIntranetDomainRequest::getDeleteInternetDomain()const
|
||||
{
|
||||
return deleteInternetDomain_;
|
||||
|
||||
@@ -1,50 +1,53 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateIntranetDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateIntranetDomainResult::CreateIntranetDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateIntranetDomainResult::CreateIntranetDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateIntranetDomainResult::~CreateIntranetDomainResult()
|
||||
{}
|
||||
|
||||
void CreateIntranetDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/CreateIntranetDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateIntranetDomainResult::CreateIntranetDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateIntranetDomainResult::CreateIntranetDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateIntranetDomainResult::~CreateIntranetDomainResult()
|
||||
{}
|
||||
|
||||
void CreateIntranetDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::string CreateIntranetDomainResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateIpControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateIpControlRequest;
|
||||
|
||||
CreateIpControlRequest::CreateIpControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateIpControl")
|
||||
{}
|
||||
|
||||
CreateIpControlRequest::~CreateIpControlRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/CreateIpControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateIpControlRequest;
|
||||
|
||||
CreateIpControlRequest::CreateIpControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateIpControl")
|
||||
{}
|
||||
|
||||
CreateIpControlRequest::~CreateIpControlRequest()
|
||||
{}
|
||||
|
||||
std::string CreateIpControlRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,50 +1,53 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateIpControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateIpControlResult::CreateIpControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateIpControlResult::CreateIpControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateIpControlResult::~CreateIpControlResult()
|
||||
{}
|
||||
|
||||
void CreateIpControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/CreateIpControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateIpControlResult::CreateIpControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateIpControlResult::CreateIpControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateIpControlResult::~CreateIpControlResult()
|
||||
{}
|
||||
|
||||
void CreateIpControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["IpControlId"].isNull())
|
||||
ipControlId_ = value["IpControlId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::string CreateIpControlResult::getIpControlId()const
|
||||
{
|
||||
return ipControlId_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateLogConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateLogConfigRequest;
|
||||
|
||||
CreateLogConfigRequest::CreateLogConfigRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateLogConfig")
|
||||
{}
|
||||
|
||||
CreateLogConfigRequest::~CreateLogConfigRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/CreateLogConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateLogConfigRequest;
|
||||
|
||||
CreateLogConfigRequest::CreateLogConfigRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateLogConfig")
|
||||
{}
|
||||
|
||||
CreateLogConfigRequest::~CreateLogConfigRequest()
|
||||
{}
|
||||
|
||||
std::string CreateLogConfigRequest::getSlsLogStore()const
|
||||
{
|
||||
return slsLogStore_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateLogConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateLogConfigResult::CreateLogConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateLogConfigResult::CreateLogConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateLogConfigResult::~CreateLogConfigResult()
|
||||
{}
|
||||
|
||||
void CreateLogConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/CreateLogConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateLogConfigResult::CreateLogConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateLogConfigResult::CreateLogConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateLogConfigResult::~CreateLogConfigResult()
|
||||
{}
|
||||
|
||||
void CreateLogConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateSignatureRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateSignatureRequest;
|
||||
|
||||
CreateSignatureRequest::CreateSignatureRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateSignature")
|
||||
{}
|
||||
|
||||
CreateSignatureRequest::~CreateSignatureRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/CreateSignatureRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateSignatureRequest;
|
||||
|
||||
CreateSignatureRequest::CreateSignatureRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateSignature")
|
||||
{}
|
||||
|
||||
CreateSignatureRequest::~CreateSignatureRequest()
|
||||
{}
|
||||
|
||||
std::string CreateSignatureRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,52 +1,55 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateSignatureResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateSignatureResult::CreateSignatureResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateSignatureResult::CreateSignatureResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateSignatureResult::~CreateSignatureResult()
|
||||
{}
|
||||
|
||||
void CreateSignatureResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/CreateSignatureResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateSignatureResult::CreateSignatureResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateSignatureResult::CreateSignatureResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateSignatureResult::~CreateSignatureResult()
|
||||
{}
|
||||
|
||||
void CreateSignatureResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["SignatureId"].isNull())
|
||||
signatureId_ = value["SignatureId"].asString();
|
||||
if(!value["SignatureName"].isNull())
|
||||
signatureName_ = value["SignatureName"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::string CreateSignatureResult::getSignatureId()const
|
||||
{
|
||||
return signatureId_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateTrafficControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateTrafficControlRequest;
|
||||
|
||||
CreateTrafficControlRequest::CreateTrafficControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateTrafficControl")
|
||||
{}
|
||||
|
||||
CreateTrafficControlRequest::~CreateTrafficControlRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/CreateTrafficControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::CreateTrafficControlRequest;
|
||||
|
||||
CreateTrafficControlRequest::CreateTrafficControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "CreateTrafficControl")
|
||||
{}
|
||||
|
||||
CreateTrafficControlRequest::~CreateTrafficControlRequest()
|
||||
{}
|
||||
|
||||
int CreateTrafficControlRequest::getApiDefault()const
|
||||
{
|
||||
return apiDefault_;
|
||||
|
||||
@@ -1,50 +1,53 @@
|
||||
/*
|
||||
* 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/cloudapi/model/CreateTrafficControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateTrafficControlResult::CreateTrafficControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateTrafficControlResult::CreateTrafficControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateTrafficControlResult::~CreateTrafficControlResult()
|
||||
{}
|
||||
|
||||
void CreateTrafficControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/CreateTrafficControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
CreateTrafficControlResult::CreateTrafficControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateTrafficControlResult::CreateTrafficControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateTrafficControlResult::~CreateTrafficControlResult()
|
||||
{}
|
||||
|
||||
void CreateTrafficControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TrafficControlId"].isNull())
|
||||
trafficControlId_ = value["TrafficControlId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::string CreateTrafficControlResult::getTrafficControlId()const
|
||||
{
|
||||
return trafficControlId_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteAllTrafficSpecialControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteAllTrafficSpecialControlRequest;
|
||||
|
||||
DeleteAllTrafficSpecialControlRequest::DeleteAllTrafficSpecialControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteAllTrafficSpecialControl")
|
||||
{}
|
||||
|
||||
DeleteAllTrafficSpecialControlRequest::~DeleteAllTrafficSpecialControlRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteAllTrafficSpecialControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteAllTrafficSpecialControlRequest;
|
||||
|
||||
DeleteAllTrafficSpecialControlRequest::DeleteAllTrafficSpecialControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteAllTrafficSpecialControl")
|
||||
{}
|
||||
|
||||
DeleteAllTrafficSpecialControlRequest::~DeleteAllTrafficSpecialControlRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteAllTrafficSpecialControlRequest::getTrafficControlId()const
|
||||
{
|
||||
return trafficControlId_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteAllTrafficSpecialControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteAllTrafficSpecialControlResult::DeleteAllTrafficSpecialControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteAllTrafficSpecialControlResult::DeleteAllTrafficSpecialControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteAllTrafficSpecialControlResult::~DeleteAllTrafficSpecialControlResult()
|
||||
{}
|
||||
|
||||
void DeleteAllTrafficSpecialControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteAllTrafficSpecialControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteAllTrafficSpecialControlResult::DeleteAllTrafficSpecialControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteAllTrafficSpecialControlResult::DeleteAllTrafficSpecialControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteAllTrafficSpecialControlResult::~DeleteAllTrafficSpecialControlResult()
|
||||
{}
|
||||
|
||||
void DeleteAllTrafficSpecialControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteApiGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteApiGroupRequest;
|
||||
|
||||
DeleteApiGroupRequest::DeleteApiGroupRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteApiGroup")
|
||||
{}
|
||||
|
||||
DeleteApiGroupRequest::~DeleteApiGroupRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteApiGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteApiGroupRequest;
|
||||
|
||||
DeleteApiGroupRequest::DeleteApiGroupRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteApiGroup")
|
||||
{}
|
||||
|
||||
DeleteApiGroupRequest::~DeleteApiGroupRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteApiGroupRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteApiGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteApiGroupResult::DeleteApiGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteApiGroupResult::DeleteApiGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteApiGroupResult::~DeleteApiGroupResult()
|
||||
{}
|
||||
|
||||
void DeleteApiGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteApiGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteApiGroupResult::DeleteApiGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteApiGroupResult::DeleteApiGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteApiGroupResult::~DeleteApiGroupResult()
|
||||
{}
|
||||
|
||||
void DeleteApiGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteApiRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteApiRequest;
|
||||
|
||||
DeleteApiRequest::DeleteApiRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteApi")
|
||||
{}
|
||||
|
||||
DeleteApiRequest::~DeleteApiRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteApiRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteApiRequest;
|
||||
|
||||
DeleteApiRequest::DeleteApiRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteApi")
|
||||
{}
|
||||
|
||||
DeleteApiRequest::~DeleteApiRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteApiRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteApiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteApiResult::DeleteApiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteApiResult::DeleteApiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteApiResult::~DeleteApiResult()
|
||||
{}
|
||||
|
||||
void DeleteApiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteApiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteApiResult::DeleteApiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteApiResult::DeleteApiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteApiResult::~DeleteApiResult()
|
||||
{}
|
||||
|
||||
void DeleteApiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteApiStageVariableRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteApiStageVariableRequest;
|
||||
|
||||
DeleteApiStageVariableRequest::DeleteApiStageVariableRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteApiStageVariable")
|
||||
{}
|
||||
|
||||
DeleteApiStageVariableRequest::~DeleteApiStageVariableRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteApiStageVariableRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteApiStageVariableRequest;
|
||||
|
||||
DeleteApiStageVariableRequest::DeleteApiStageVariableRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteApiStageVariable")
|
||||
{}
|
||||
|
||||
DeleteApiStageVariableRequest::~DeleteApiStageVariableRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteApiStageVariableRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteApiStageVariableResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteApiStageVariableResult::DeleteApiStageVariableResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteApiStageVariableResult::DeleteApiStageVariableResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteApiStageVariableResult::~DeleteApiStageVariableResult()
|
||||
{}
|
||||
|
||||
void DeleteApiStageVariableResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteApiStageVariableResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteApiStageVariableResult::DeleteApiStageVariableResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteApiStageVariableResult::DeleteApiStageVariableResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteApiStageVariableResult::~DeleteApiStageVariableResult()
|
||||
{}
|
||||
|
||||
void DeleteApiStageVariableResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteAppRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteAppRequest;
|
||||
|
||||
DeleteAppRequest::DeleteAppRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteApp")
|
||||
{}
|
||||
|
||||
DeleteAppRequest::~DeleteAppRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteAppRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteAppRequest;
|
||||
|
||||
DeleteAppRequest::DeleteAppRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteApp")
|
||||
{}
|
||||
|
||||
DeleteAppRequest::~DeleteAppRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteAppRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteAppResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteAppResult::DeleteAppResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteAppResult::DeleteAppResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteAppResult::~DeleteAppResult()
|
||||
{}
|
||||
|
||||
void DeleteAppResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteAppResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteAppResult::DeleteAppResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteAppResult::DeleteAppResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteAppResult::~DeleteAppResult()
|
||||
{}
|
||||
|
||||
void DeleteAppResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteDomainCertificateRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteDomainCertificateRequest;
|
||||
|
||||
DeleteDomainCertificateRequest::DeleteDomainCertificateRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteDomainCertificate")
|
||||
{}
|
||||
|
||||
DeleteDomainCertificateRequest::~DeleteDomainCertificateRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteDomainCertificateRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteDomainCertificateRequest;
|
||||
|
||||
DeleteDomainCertificateRequest::DeleteDomainCertificateRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteDomainCertificate")
|
||||
{}
|
||||
|
||||
DeleteDomainCertificateRequest::~DeleteDomainCertificateRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteDomainCertificateRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteDomainCertificateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteDomainCertificateResult::DeleteDomainCertificateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteDomainCertificateResult::DeleteDomainCertificateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteDomainCertificateResult::~DeleteDomainCertificateResult()
|
||||
{}
|
||||
|
||||
void DeleteDomainCertificateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteDomainCertificateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteDomainCertificateResult::DeleteDomainCertificateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteDomainCertificateResult::DeleteDomainCertificateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteDomainCertificateResult::~DeleteDomainCertificateResult()
|
||||
{}
|
||||
|
||||
void DeleteDomainCertificateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteDomainRequest;
|
||||
|
||||
DeleteDomainRequest::DeleteDomainRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteDomain")
|
||||
{}
|
||||
|
||||
DeleteDomainRequest::~DeleteDomainRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteDomainRequest;
|
||||
|
||||
DeleteDomainRequest::DeleteDomainRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteDomain")
|
||||
{}
|
||||
|
||||
DeleteDomainRequest::~DeleteDomainRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteDomainResult::DeleteDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteDomainResult::DeleteDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteDomainResult::~DeleteDomainResult()
|
||||
{}
|
||||
|
||||
void DeleteDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteDomainResult::DeleteDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteDomainResult::DeleteDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteDomainResult::~DeleteDomainResult()
|
||||
{}
|
||||
|
||||
void DeleteDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteIpControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteIpControlRequest;
|
||||
|
||||
DeleteIpControlRequest::DeleteIpControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteIpControl")
|
||||
{}
|
||||
|
||||
DeleteIpControlRequest::~DeleteIpControlRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteIpControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteIpControlRequest;
|
||||
|
||||
DeleteIpControlRequest::DeleteIpControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteIpControl")
|
||||
{}
|
||||
|
||||
DeleteIpControlRequest::~DeleteIpControlRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteIpControlRequest::getIpControlId()const
|
||||
{
|
||||
return ipControlId_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteIpControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteIpControlResult::DeleteIpControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteIpControlResult::DeleteIpControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteIpControlResult::~DeleteIpControlResult()
|
||||
{}
|
||||
|
||||
void DeleteIpControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteIpControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteIpControlResult::DeleteIpControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteIpControlResult::DeleteIpControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteIpControlResult::~DeleteIpControlResult()
|
||||
{}
|
||||
|
||||
void DeleteIpControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteLogConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteLogConfigRequest;
|
||||
|
||||
DeleteLogConfigRequest::DeleteLogConfigRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteLogConfig")
|
||||
{}
|
||||
|
||||
DeleteLogConfigRequest::~DeleteLogConfigRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteLogConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteLogConfigRequest;
|
||||
|
||||
DeleteLogConfigRequest::DeleteLogConfigRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteLogConfig")
|
||||
{}
|
||||
|
||||
DeleteLogConfigRequest::~DeleteLogConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLogConfigRequest::getLogType()const
|
||||
{
|
||||
return logType_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteLogConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteLogConfigResult::DeleteLogConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLogConfigResult::DeleteLogConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLogConfigResult::~DeleteLogConfigResult()
|
||||
{}
|
||||
|
||||
void DeleteLogConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteLogConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteLogConfigResult::DeleteLogConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLogConfigResult::DeleteLogConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLogConfigResult::~DeleteLogConfigResult()
|
||||
{}
|
||||
|
||||
void DeleteLogConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteSignatureRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteSignatureRequest;
|
||||
|
||||
DeleteSignatureRequest::DeleteSignatureRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteSignature")
|
||||
{}
|
||||
|
||||
DeleteSignatureRequest::~DeleteSignatureRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteSignatureRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteSignatureRequest;
|
||||
|
||||
DeleteSignatureRequest::DeleteSignatureRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteSignature")
|
||||
{}
|
||||
|
||||
DeleteSignatureRequest::~DeleteSignatureRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteSignatureRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteSignatureResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteSignatureResult::DeleteSignatureResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteSignatureResult::DeleteSignatureResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteSignatureResult::~DeleteSignatureResult()
|
||||
{}
|
||||
|
||||
void DeleteSignatureResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteSignatureResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteSignatureResult::DeleteSignatureResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteSignatureResult::DeleteSignatureResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteSignatureResult::~DeleteSignatureResult()
|
||||
{}
|
||||
|
||||
void DeleteSignatureResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteTrafficControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteTrafficControlRequest;
|
||||
|
||||
DeleteTrafficControlRequest::DeleteTrafficControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteTrafficControl")
|
||||
{}
|
||||
|
||||
DeleteTrafficControlRequest::~DeleteTrafficControlRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteTrafficControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteTrafficControlRequest;
|
||||
|
||||
DeleteTrafficControlRequest::DeleteTrafficControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteTrafficControl")
|
||||
{}
|
||||
|
||||
DeleteTrafficControlRequest::~DeleteTrafficControlRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteTrafficControlRequest::getTrafficControlId()const
|
||||
{
|
||||
return trafficControlId_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteTrafficControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteTrafficControlResult::DeleteTrafficControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteTrafficControlResult::DeleteTrafficControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteTrafficControlResult::~DeleteTrafficControlResult()
|
||||
{}
|
||||
|
||||
void DeleteTrafficControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteTrafficControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteTrafficControlResult::DeleteTrafficControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteTrafficControlResult::DeleteTrafficControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteTrafficControlResult::~DeleteTrafficControlResult()
|
||||
{}
|
||||
|
||||
void DeleteTrafficControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteTrafficSpecialControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteTrafficSpecialControlRequest;
|
||||
|
||||
DeleteTrafficSpecialControlRequest::DeleteTrafficSpecialControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteTrafficSpecialControl")
|
||||
{}
|
||||
|
||||
DeleteTrafficSpecialControlRequest::~DeleteTrafficSpecialControlRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteTrafficSpecialControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeleteTrafficSpecialControlRequest;
|
||||
|
||||
DeleteTrafficSpecialControlRequest::DeleteTrafficSpecialControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeleteTrafficSpecialControl")
|
||||
{}
|
||||
|
||||
DeleteTrafficSpecialControlRequest::~DeleteTrafficSpecialControlRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteTrafficSpecialControlRequest::getTrafficControlId()const
|
||||
{
|
||||
return trafficControlId_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteTrafficSpecialControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteTrafficSpecialControlResult::DeleteTrafficSpecialControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteTrafficSpecialControlResult::DeleteTrafficSpecialControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteTrafficSpecialControlResult::~DeleteTrafficSpecialControlResult()
|
||||
{}
|
||||
|
||||
void DeleteTrafficSpecialControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeleteTrafficSpecialControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeleteTrafficSpecialControlResult::DeleteTrafficSpecialControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteTrafficSpecialControlResult::DeleteTrafficSpecialControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteTrafficSpecialControlResult::~DeleteTrafficSpecialControlResult()
|
||||
{}
|
||||
|
||||
void DeleteTrafficSpecialControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeployApiRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeployApiRequest;
|
||||
|
||||
DeployApiRequest::DeployApiRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeployApi")
|
||||
{}
|
||||
|
||||
DeployApiRequest::~DeployApiRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeployApiRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DeployApiRequest;
|
||||
|
||||
DeployApiRequest::DeployApiRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DeployApi")
|
||||
{}
|
||||
|
||||
DeployApiRequest::~DeployApiRequest()
|
||||
{}
|
||||
|
||||
std::string DeployApiRequest::getStageName()const
|
||||
{
|
||||
return stageName_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DeployApiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeployApiResult::DeployApiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeployApiResult::DeployApiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeployApiResult::~DeployApiResult()
|
||||
{}
|
||||
|
||||
void DeployApiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DeployApiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DeployApiResult::DeployApiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeployApiResult::DeployApiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeployApiResult::~DeployApiResult()
|
||||
{}
|
||||
|
||||
void DeployApiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiDocRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiDocRequest;
|
||||
|
||||
DescribeApiDocRequest::DescribeApiDocRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiDoc")
|
||||
{}
|
||||
|
||||
DescribeApiDocRequest::~DescribeApiDocRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiDocRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiDocRequest;
|
||||
|
||||
DescribeApiDocRequest::DescribeApiDocRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiDoc")
|
||||
{}
|
||||
|
||||
DescribeApiDocRequest::~DescribeApiDocRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApiDocRequest::getStageName()const
|
||||
{
|
||||
return stageName_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiDocResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiDocResult::DescribeApiDocResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiDocResult::DescribeApiDocResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiDocResult::~DescribeApiDocResult()
|
||||
{}
|
||||
|
||||
void DescribeApiDocResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiDocResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiDocResult::DescribeApiDocResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiDocResult::DescribeApiDocResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiDocResult::~DescribeApiDocResult()
|
||||
{}
|
||||
|
||||
void DescribeApiDocResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allErrorCodeSamples = value["ErrorCodeSamples"]["ErrorCodeSample"];
|
||||
for (auto value : allErrorCodeSamples)
|
||||
{
|
||||
@@ -155,9 +158,9 @@ void DescribeApiDocResult::parse(const std::string &payload)
|
||||
forceNonceCheck_ = value["ForceNonceCheck"].asString() == "true";
|
||||
if(!value["DisableInternet"].isNull())
|
||||
disableInternet_ = value["DisableInternet"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeApiDocResult::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiErrorDataRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiErrorDataRequest;
|
||||
|
||||
DescribeApiErrorDataRequest::DescribeApiErrorDataRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiErrorData")
|
||||
{}
|
||||
|
||||
DescribeApiErrorDataRequest::~DescribeApiErrorDataRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiErrorDataRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiErrorDataRequest;
|
||||
|
||||
DescribeApiErrorDataRequest::DescribeApiErrorDataRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiErrorData")
|
||||
{}
|
||||
|
||||
DescribeApiErrorDataRequest::~DescribeApiErrorDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApiErrorDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiErrorDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiErrorDataResult::DescribeApiErrorDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiErrorDataResult::DescribeApiErrorDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiErrorDataResult::~DescribeApiErrorDataResult()
|
||||
{}
|
||||
|
||||
void DescribeApiErrorDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiErrorDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiErrorDataResult::DescribeApiErrorDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiErrorDataResult::DescribeApiErrorDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiErrorDataResult::~DescribeApiErrorDataResult()
|
||||
{}
|
||||
|
||||
void DescribeApiErrorDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allClientErrors = value["ClientErrors"]["MonitorItem"];
|
||||
for (auto value : allClientErrors)
|
||||
{
|
||||
@@ -60,9 +63,9 @@ void DescribeApiErrorDataResult::parse(const std::string &payload)
|
||||
serverErrorsObject.itemValue = value["ItemValue"].asString();
|
||||
serverErrors_.push_back(serverErrorsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeApiErrorDataResult::MonitorItem> DescribeApiErrorDataResult::getClientErrors()const
|
||||
{
|
||||
return clientErrors_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiGroupRequest;
|
||||
|
||||
DescribeApiGroupRequest::DescribeApiGroupRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiGroup")
|
||||
{}
|
||||
|
||||
DescribeApiGroupRequest::~DescribeApiGroupRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiGroupRequest;
|
||||
|
||||
DescribeApiGroupRequest::DescribeApiGroupRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiGroup")
|
||||
{}
|
||||
|
||||
DescribeApiGroupRequest::~DescribeApiGroupRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApiGroupRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiGroupResult::DescribeApiGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiGroupResult::DescribeApiGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiGroupResult::~DescribeApiGroupResult()
|
||||
{}
|
||||
|
||||
void DescribeApiGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiGroupResult::DescribeApiGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiGroupResult::DescribeApiGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiGroupResult::~DescribeApiGroupResult()
|
||||
{}
|
||||
|
||||
void DescribeApiGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCustomDomains = value["CustomDomains"]["DomainItem"];
|
||||
for (auto value : allCustomDomains)
|
||||
{
|
||||
@@ -104,9 +107,9 @@ void DescribeApiGroupResult::parse(const std::string &payload)
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
if(!value["HttpsPolicy"].isNull())
|
||||
httpsPolicy_ = value["HttpsPolicy"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeApiGroupResult::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiGroupsRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiGroupsRequest;
|
||||
|
||||
DescribeApiGroupsRequest::DescribeApiGroupsRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiGroups")
|
||||
{}
|
||||
|
||||
DescribeApiGroupsRequest::~DescribeApiGroupsRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiGroupsRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiGroupsRequest;
|
||||
|
||||
DescribeApiGroupsRequest::DescribeApiGroupsRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiGroups")
|
||||
{}
|
||||
|
||||
DescribeApiGroupsRequest::~DescribeApiGroupsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApiGroupsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiGroupsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiGroupsResult::DescribeApiGroupsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiGroupsResult::DescribeApiGroupsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiGroupsResult::~DescribeApiGroupsResult()
|
||||
{}
|
||||
|
||||
void DescribeApiGroupsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiGroupsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiGroupsResult::DescribeApiGroupsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiGroupsResult::DescribeApiGroupsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiGroupsResult::~DescribeApiGroupsResult()
|
||||
{}
|
||||
|
||||
void DescribeApiGroupsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allApiGroupAttributes = value["ApiGroupAttributes"]["ApiGroupAttribute"];
|
||||
for (auto value : allApiGroupAttributes)
|
||||
{
|
||||
@@ -78,9 +81,9 @@ void DescribeApiGroupsResult::parse(const std::string &payload)
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
int DescribeApiGroupsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiHistoriesRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiHistoriesRequest;
|
||||
|
||||
DescribeApiHistoriesRequest::DescribeApiHistoriesRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiHistories")
|
||||
{}
|
||||
|
||||
DescribeApiHistoriesRequest::~DescribeApiHistoriesRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiHistoriesRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiHistoriesRequest;
|
||||
|
||||
DescribeApiHistoriesRequest::DescribeApiHistoriesRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiHistories")
|
||||
{}
|
||||
|
||||
DescribeApiHistoriesRequest::~DescribeApiHistoriesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApiHistoriesRequest::getStageName()const
|
||||
{
|
||||
return stageName_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiHistoriesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiHistoriesResult::DescribeApiHistoriesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiHistoriesResult::DescribeApiHistoriesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiHistoriesResult::~DescribeApiHistoriesResult()
|
||||
{}
|
||||
|
||||
void DescribeApiHistoriesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiHistoriesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiHistoriesResult::DescribeApiHistoriesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiHistoriesResult::DescribeApiHistoriesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiHistoriesResult::~DescribeApiHistoriesResult()
|
||||
{}
|
||||
|
||||
void DescribeApiHistoriesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allApiHisItems = value["ApiHisItems"]["ApiHisItem"];
|
||||
for (auto value : allApiHisItems)
|
||||
{
|
||||
@@ -72,9 +75,9 @@ void DescribeApiHistoriesResult::parse(const std::string &payload)
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
int DescribeApiHistoriesResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiHistoryRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiHistoryRequest;
|
||||
|
||||
DescribeApiHistoryRequest::DescribeApiHistoryRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiHistory")
|
||||
{}
|
||||
|
||||
DescribeApiHistoryRequest::~DescribeApiHistoryRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiHistoryRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiHistoryRequest;
|
||||
|
||||
DescribeApiHistoryRequest::DescribeApiHistoryRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiHistory")
|
||||
{}
|
||||
|
||||
DescribeApiHistoryRequest::~DescribeApiHistoryRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApiHistoryRequest::getStageName()const
|
||||
{
|
||||
return stageName_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiHistoryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiHistoryResult::DescribeApiHistoryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiHistoryResult::DescribeApiHistoryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiHistoryResult::~DescribeApiHistoryResult()
|
||||
{}
|
||||
|
||||
void DescribeApiHistoryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiHistoryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiHistoryResult::DescribeApiHistoryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiHistoryResult::DescribeApiHistoryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiHistoryResult::~DescribeApiHistoryResult()
|
||||
{}
|
||||
|
||||
void DescribeApiHistoryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allErrorCodeSamples = value["ErrorCodeSamples"]["ErrorCodeSample"];
|
||||
for (auto value : allErrorCodeSamples)
|
||||
{
|
||||
@@ -289,9 +292,9 @@ void DescribeApiHistoryResult::parse(const std::string &payload)
|
||||
forceNonceCheck_ = value["ForceNonceCheck"].asString() == "true";
|
||||
if(!value["DisableInternet"].isNull())
|
||||
disableInternet_ = value["DisableInternet"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeApiHistoryResult::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiIpControlsRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiIpControlsRequest;
|
||||
|
||||
DescribeApiIpControlsRequest::DescribeApiIpControlsRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiIpControls")
|
||||
{}
|
||||
|
||||
DescribeApiIpControlsRequest::~DescribeApiIpControlsRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiIpControlsRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiIpControlsRequest;
|
||||
|
||||
DescribeApiIpControlsRequest::DescribeApiIpControlsRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiIpControls")
|
||||
{}
|
||||
|
||||
DescribeApiIpControlsRequest::~DescribeApiIpControlsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApiIpControlsRequest::getStageName()const
|
||||
{
|
||||
return stageName_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiIpControlsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiIpControlsResult::DescribeApiIpControlsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiIpControlsResult::DescribeApiIpControlsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiIpControlsResult::~DescribeApiIpControlsResult()
|
||||
{}
|
||||
|
||||
void DescribeApiIpControlsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiIpControlsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiIpControlsResult::DescribeApiIpControlsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiIpControlsResult::DescribeApiIpControlsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiIpControlsResult::~DescribeApiIpControlsResult()
|
||||
{}
|
||||
|
||||
void DescribeApiIpControlsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allApiIpControls = value["ApiIpControls"]["ApiIpControlItem"];
|
||||
for (auto value : allApiIpControls)
|
||||
{
|
||||
@@ -62,9 +65,9 @@ void DescribeApiIpControlsResult::parse(const std::string &payload)
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
int DescribeApiIpControlsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiLatencyDataRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiLatencyDataRequest;
|
||||
|
||||
DescribeApiLatencyDataRequest::DescribeApiLatencyDataRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiLatencyData")
|
||||
{}
|
||||
|
||||
DescribeApiLatencyDataRequest::~DescribeApiLatencyDataRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiLatencyDataRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiLatencyDataRequest;
|
||||
|
||||
DescribeApiLatencyDataRequest::DescribeApiLatencyDataRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiLatencyData")
|
||||
{}
|
||||
|
||||
DescribeApiLatencyDataRequest::~DescribeApiLatencyDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApiLatencyDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiLatencyDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiLatencyDataResult::DescribeApiLatencyDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiLatencyDataResult::DescribeApiLatencyDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiLatencyDataResult::~DescribeApiLatencyDataResult()
|
||||
{}
|
||||
|
||||
void DescribeApiLatencyDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiLatencyDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiLatencyDataResult::DescribeApiLatencyDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiLatencyDataResult::DescribeApiLatencyDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiLatencyDataResult::~DescribeApiLatencyDataResult()
|
||||
{}
|
||||
|
||||
void DescribeApiLatencyDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCallLatencys = value["CallLatencys"]["MonitorItem"];
|
||||
for (auto value : allCallLatencys)
|
||||
{
|
||||
@@ -50,9 +53,9 @@ void DescribeApiLatencyDataResult::parse(const std::string &payload)
|
||||
callLatencysObject.itemValue = value["ItemValue"].asString();
|
||||
callLatencys_.push_back(callLatencysObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeApiLatencyDataResult::MonitorItem> DescribeApiLatencyDataResult::getCallLatencys()const
|
||||
{
|
||||
return callLatencys_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiQpsDataRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiQpsDataRequest;
|
||||
|
||||
DescribeApiQpsDataRequest::DescribeApiQpsDataRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiQpsData")
|
||||
{}
|
||||
|
||||
DescribeApiQpsDataRequest::~DescribeApiQpsDataRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiQpsDataRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiQpsDataRequest;
|
||||
|
||||
DescribeApiQpsDataRequest::DescribeApiQpsDataRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiQpsData")
|
||||
{}
|
||||
|
||||
DescribeApiQpsDataRequest::~DescribeApiQpsDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApiQpsDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiQpsDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiQpsDataResult::DescribeApiQpsDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiQpsDataResult::DescribeApiQpsDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiQpsDataResult::~DescribeApiQpsDataResult()
|
||||
{}
|
||||
|
||||
void DescribeApiQpsDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiQpsDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiQpsDataResult::DescribeApiQpsDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiQpsDataResult::DescribeApiQpsDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiQpsDataResult::~DescribeApiQpsDataResult()
|
||||
{}
|
||||
|
||||
void DescribeApiQpsDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCallSuccesses = value["CallSuccesses"]["MonitorItem"];
|
||||
for (auto value : allCallSuccesses)
|
||||
{
|
||||
@@ -60,9 +63,9 @@ void DescribeApiQpsDataResult::parse(const std::string &payload)
|
||||
callFailsObject.itemValue = value["ItemValue"].asString();
|
||||
callFails_.push_back(callFailsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeApiQpsDataResult::MonitorItem> DescribeApiQpsDataResult::getCallFails()const
|
||||
{
|
||||
return callFails_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiRequest;
|
||||
|
||||
DescribeApiRequest::DescribeApiRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApi")
|
||||
{}
|
||||
|
||||
DescribeApiRequest::~DescribeApiRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiRequest;
|
||||
|
||||
DescribeApiRequest::DescribeApiRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApi")
|
||||
{}
|
||||
|
||||
DescribeApiRequest::~DescribeApiRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApiRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiResult::DescribeApiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiResult::DescribeApiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiResult::~DescribeApiResult()
|
||||
{}
|
||||
|
||||
void DescribeApiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiResult::DescribeApiResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiResult::DescribeApiResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiResult::~DescribeApiResult()
|
||||
{}
|
||||
|
||||
void DescribeApiResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allErrorCodeSamples = value["ErrorCodeSamples"]["ErrorCodeSample"];
|
||||
for (auto value : allErrorCodeSamples)
|
||||
{
|
||||
@@ -311,9 +314,9 @@ void DescribeApiResult::parse(const std::string &payload)
|
||||
forceNonceCheck_ = value["ForceNonceCheck"].asString() == "true";
|
||||
if(!value["DisableInternet"].isNull())
|
||||
disableInternet_ = value["DisableInternet"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeApiResult::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiSignaturesRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiSignaturesRequest;
|
||||
|
||||
DescribeApiSignaturesRequest::DescribeApiSignaturesRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiSignatures")
|
||||
{}
|
||||
|
||||
DescribeApiSignaturesRequest::~DescribeApiSignaturesRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiSignaturesRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiSignaturesRequest;
|
||||
|
||||
DescribeApiSignaturesRequest::DescribeApiSignaturesRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiSignatures")
|
||||
{}
|
||||
|
||||
DescribeApiSignaturesRequest::~DescribeApiSignaturesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApiSignaturesRequest::getStageName()const
|
||||
{
|
||||
return stageName_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiSignaturesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiSignaturesResult::DescribeApiSignaturesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiSignaturesResult::DescribeApiSignaturesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiSignaturesResult::~DescribeApiSignaturesResult()
|
||||
{}
|
||||
|
||||
void DescribeApiSignaturesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiSignaturesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiSignaturesResult::DescribeApiSignaturesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiSignaturesResult::DescribeApiSignaturesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiSignaturesResult::~DescribeApiSignaturesResult()
|
||||
{}
|
||||
|
||||
void DescribeApiSignaturesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allApiSignatures = value["ApiSignatures"]["ApiSignatureItem"];
|
||||
for (auto value : allApiSignatures)
|
||||
{
|
||||
@@ -62,9 +65,9 @@ void DescribeApiSignaturesResult::parse(const std::string &payload)
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
int DescribeApiSignaturesResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiStageRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiStageRequest;
|
||||
|
||||
DescribeApiStageRequest::DescribeApiStageRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiStage")
|
||||
{}
|
||||
|
||||
DescribeApiStageRequest::~DescribeApiStageRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiStageRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiStageRequest;
|
||||
|
||||
DescribeApiStageRequest::DescribeApiStageRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiStage")
|
||||
{}
|
||||
|
||||
DescribeApiStageRequest::~DescribeApiStageRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApiStageRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiStageResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiStageResult::DescribeApiStageResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiStageResult::DescribeApiStageResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiStageResult::~DescribeApiStageResult()
|
||||
{}
|
||||
|
||||
void DescribeApiStageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiStageResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiStageResult::DescribeApiStageResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiStageResult::DescribeApiStageResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiStageResult::~DescribeApiStageResult()
|
||||
{}
|
||||
|
||||
void DescribeApiStageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allVariables = value["Variables"]["VariableItem"];
|
||||
for (auto value : allVariables)
|
||||
{
|
||||
@@ -89,9 +92,9 @@ void DescribeApiStageResult::parse(const std::string &payload)
|
||||
createdTime_ = value["CreatedTime"].asString();
|
||||
if(!value["ModifiedTime"].isNull())
|
||||
modifiedTime_ = value["ModifiedTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeApiStageResult::VariableItem> DescribeApiStageResult::getVariables()const
|
||||
{
|
||||
return variables_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiTrafficControlsRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiTrafficControlsRequest;
|
||||
|
||||
DescribeApiTrafficControlsRequest::DescribeApiTrafficControlsRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiTrafficControls")
|
||||
{}
|
||||
|
||||
DescribeApiTrafficControlsRequest::~DescribeApiTrafficControlsRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiTrafficControlsRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiTrafficControlsRequest;
|
||||
|
||||
DescribeApiTrafficControlsRequest::DescribeApiTrafficControlsRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiTrafficControls")
|
||||
{}
|
||||
|
||||
DescribeApiTrafficControlsRequest::~DescribeApiTrafficControlsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApiTrafficControlsRequest::getStageName()const
|
||||
{
|
||||
return stageName_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiTrafficControlsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiTrafficControlsResult::DescribeApiTrafficControlsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiTrafficControlsResult::DescribeApiTrafficControlsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiTrafficControlsResult::~DescribeApiTrafficControlsResult()
|
||||
{}
|
||||
|
||||
void DescribeApiTrafficControlsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiTrafficControlsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiTrafficControlsResult::DescribeApiTrafficControlsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiTrafficControlsResult::DescribeApiTrafficControlsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiTrafficControlsResult::~DescribeApiTrafficControlsResult()
|
||||
{}
|
||||
|
||||
void DescribeApiTrafficControlsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allApiTrafficControls = value["ApiTrafficControls"]["ApiTrafficControlItem"];
|
||||
for (auto value : allApiTrafficControls)
|
||||
{
|
||||
@@ -62,9 +65,9 @@ void DescribeApiTrafficControlsResult::parse(const std::string &payload)
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
int DescribeApiTrafficControlsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiTrafficDataRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiTrafficDataRequest;
|
||||
|
||||
DescribeApiTrafficDataRequest::DescribeApiTrafficDataRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiTrafficData")
|
||||
{}
|
||||
|
||||
DescribeApiTrafficDataRequest::~DescribeApiTrafficDataRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiTrafficDataRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApiTrafficDataRequest;
|
||||
|
||||
DescribeApiTrafficDataRequest::DescribeApiTrafficDataRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApiTrafficData")
|
||||
{}
|
||||
|
||||
DescribeApiTrafficDataRequest::~DescribeApiTrafficDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApiTrafficDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiTrafficDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiTrafficDataResult::DescribeApiTrafficDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiTrafficDataResult::DescribeApiTrafficDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiTrafficDataResult::~DescribeApiTrafficDataResult()
|
||||
{}
|
||||
|
||||
void DescribeApiTrafficDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApiTrafficDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApiTrafficDataResult::DescribeApiTrafficDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApiTrafficDataResult::DescribeApiTrafficDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApiTrafficDataResult::~DescribeApiTrafficDataResult()
|
||||
{}
|
||||
|
||||
void DescribeApiTrafficDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCallUploads = value["CallUploads"]["MonitorItem"];
|
||||
for (auto value : allCallUploads)
|
||||
{
|
||||
@@ -60,9 +63,9 @@ void DescribeApiTrafficDataResult::parse(const std::string &payload)
|
||||
callDownloadsObject.itemValue = value["ItemValue"].asString();
|
||||
callDownloads_.push_back(callDownloadsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeApiTrafficDataResult::MonitorItem> DescribeApiTrafficDataResult::getCallUploads()const
|
||||
{
|
||||
return callUploads_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisByAppRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApisByAppRequest;
|
||||
|
||||
DescribeApisByAppRequest::DescribeApisByAppRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApisByApp")
|
||||
{}
|
||||
|
||||
DescribeApisByAppRequest::~DescribeApisByAppRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisByAppRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApisByAppRequest;
|
||||
|
||||
DescribeApisByAppRequest::DescribeApisByAppRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApisByApp")
|
||||
{}
|
||||
|
||||
DescribeApisByAppRequest::~DescribeApisByAppRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApisByAppRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisByAppResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApisByAppResult::DescribeApisByAppResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApisByAppResult::DescribeApisByAppResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApisByAppResult::~DescribeApisByAppResult()
|
||||
{}
|
||||
|
||||
void DescribeApisByAppResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisByAppResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApisByAppResult::DescribeApisByAppResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApisByAppResult::DescribeApisByAppResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApisByAppResult::~DescribeApisByAppResult()
|
||||
{}
|
||||
|
||||
void DescribeApisByAppResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAppApiRelationInfos = value["AppApiRelationInfos"]["AppApiRelationInfo"];
|
||||
for (auto value : allAppApiRelationInfos)
|
||||
{
|
||||
@@ -72,9 +75,9 @@ void DescribeApisByAppResult::parse(const std::string &payload)
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeApisByAppResult::AppApiRelationInfo> DescribeApisByAppResult::getAppApiRelationInfos()const
|
||||
{
|
||||
return appApiRelationInfos_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisByIpControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApisByIpControlRequest;
|
||||
|
||||
DescribeApisByIpControlRequest::DescribeApisByIpControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApisByIpControl")
|
||||
{}
|
||||
|
||||
DescribeApisByIpControlRequest::~DescribeApisByIpControlRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisByIpControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApisByIpControlRequest;
|
||||
|
||||
DescribeApisByIpControlRequest::DescribeApisByIpControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApisByIpControl")
|
||||
{}
|
||||
|
||||
DescribeApisByIpControlRequest::~DescribeApisByIpControlRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApisByIpControlRequest::getIpControlId()const
|
||||
{
|
||||
return ipControlId_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisByIpControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApisByIpControlResult::DescribeApisByIpControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApisByIpControlResult::DescribeApisByIpControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApisByIpControlResult::~DescribeApisByIpControlResult()
|
||||
{}
|
||||
|
||||
void DescribeApisByIpControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisByIpControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApisByIpControlResult::DescribeApisByIpControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApisByIpControlResult::DescribeApisByIpControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApisByIpControlResult::~DescribeApisByIpControlResult()
|
||||
{}
|
||||
|
||||
void DescribeApisByIpControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allApiInfos = value["ApiInfos"]["ApiInfo"];
|
||||
for (auto value : allApiInfos)
|
||||
{
|
||||
@@ -70,9 +73,9 @@ void DescribeApisByIpControlResult::parse(const std::string &payload)
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeApisByIpControlResult::ApiInfo> DescribeApisByIpControlResult::getApiInfos()const
|
||||
{
|
||||
return apiInfos_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisBySignatureRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApisBySignatureRequest;
|
||||
|
||||
DescribeApisBySignatureRequest::DescribeApisBySignatureRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApisBySignature")
|
||||
{}
|
||||
|
||||
DescribeApisBySignatureRequest::~DescribeApisBySignatureRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisBySignatureRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApisBySignatureRequest;
|
||||
|
||||
DescribeApisBySignatureRequest::DescribeApisBySignatureRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApisBySignature")
|
||||
{}
|
||||
|
||||
DescribeApisBySignatureRequest::~DescribeApisBySignatureRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApisBySignatureRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisBySignatureResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApisBySignatureResult::DescribeApisBySignatureResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApisBySignatureResult::DescribeApisBySignatureResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApisBySignatureResult::~DescribeApisBySignatureResult()
|
||||
{}
|
||||
|
||||
void DescribeApisBySignatureResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisBySignatureResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApisBySignatureResult::DescribeApisBySignatureResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApisBySignatureResult::DescribeApisBySignatureResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApisBySignatureResult::~DescribeApisBySignatureResult()
|
||||
{}
|
||||
|
||||
void DescribeApisBySignatureResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allApiInfos = value["ApiInfos"]["ApiInfo"];
|
||||
for (auto value : allApiInfos)
|
||||
{
|
||||
@@ -70,9 +73,9 @@ void DescribeApisBySignatureResult::parse(const std::string &payload)
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeApisBySignatureResult::ApiInfo> DescribeApisBySignatureResult::getApiInfos()const
|
||||
{
|
||||
return apiInfos_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisByTrafficControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApisByTrafficControlRequest;
|
||||
|
||||
DescribeApisByTrafficControlRequest::DescribeApisByTrafficControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApisByTrafficControl")
|
||||
{}
|
||||
|
||||
DescribeApisByTrafficControlRequest::~DescribeApisByTrafficControlRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisByTrafficControlRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApisByTrafficControlRequest;
|
||||
|
||||
DescribeApisByTrafficControlRequest::DescribeApisByTrafficControlRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApisByTrafficControl")
|
||||
{}
|
||||
|
||||
DescribeApisByTrafficControlRequest::~DescribeApisByTrafficControlRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApisByTrafficControlRequest::getTrafficControlId()const
|
||||
{
|
||||
return trafficControlId_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisByTrafficControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApisByTrafficControlResult::DescribeApisByTrafficControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApisByTrafficControlResult::DescribeApisByTrafficControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApisByTrafficControlResult::~DescribeApisByTrafficControlResult()
|
||||
{}
|
||||
|
||||
void DescribeApisByTrafficControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisByTrafficControlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApisByTrafficControlResult::DescribeApisByTrafficControlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApisByTrafficControlResult::DescribeApisByTrafficControlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApisByTrafficControlResult::~DescribeApisByTrafficControlResult()
|
||||
{}
|
||||
|
||||
void DescribeApisByTrafficControlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allApiInfos = value["ApiInfos"]["ApiInfo"];
|
||||
for (auto value : allApiInfos)
|
||||
{
|
||||
@@ -70,9 +73,9 @@ void DescribeApisByTrafficControlResult::parse(const std::string &payload)
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeApisByTrafficControlResult::ApiInfo> DescribeApisByTrafficControlResult::getApiInfos()const
|
||||
{
|
||||
return apiInfos_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApisRequest;
|
||||
|
||||
DescribeApisRequest::DescribeApisRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApis")
|
||||
{}
|
||||
|
||||
DescribeApisRequest::~DescribeApisRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeApisRequest;
|
||||
|
||||
DescribeApisRequest::DescribeApisRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApis")
|
||||
{}
|
||||
|
||||
DescribeApisRequest::~DescribeApisRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeApisRequest::getApiName()const
|
||||
{
|
||||
return apiName_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApisResult::DescribeApisResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApisResult::DescribeApisResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApisResult::~DescribeApisResult()
|
||||
{}
|
||||
|
||||
void DescribeApisResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeApisResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeApisResult::DescribeApisResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeApisResult::DescribeApisResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeApisResult::~DescribeApisResult()
|
||||
{}
|
||||
|
||||
void DescribeApisResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allApiSummarys = value["ApiSummarys"]["ApiSummary"];
|
||||
for (auto value : allApiSummarys)
|
||||
{
|
||||
@@ -70,9 +73,9 @@ void DescribeApisResult::parse(const std::string &payload)
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
int DescribeApisResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppAttributesRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeAppAttributesRequest;
|
||||
|
||||
DescribeAppAttributesRequest::DescribeAppAttributesRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeAppAttributes")
|
||||
{}
|
||||
|
||||
DescribeAppAttributesRequest::~DescribeAppAttributesRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppAttributesRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeAppAttributesRequest;
|
||||
|
||||
DescribeAppAttributesRequest::DescribeAppAttributesRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeAppAttributes")
|
||||
{}
|
||||
|
||||
DescribeAppAttributesRequest::~DescribeAppAttributesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAppAttributesRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppAttributesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeAppAttributesResult::DescribeAppAttributesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAppAttributesResult::DescribeAppAttributesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAppAttributesResult::~DescribeAppAttributesResult()
|
||||
{}
|
||||
|
||||
void DescribeAppAttributesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppAttributesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeAppAttributesResult::DescribeAppAttributesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAppAttributesResult::DescribeAppAttributesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAppAttributesResult::~DescribeAppAttributesResult()
|
||||
{}
|
||||
|
||||
void DescribeAppAttributesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allApps = value["Apps"]["AppAttribute"];
|
||||
for (auto value : allApps)
|
||||
{
|
||||
@@ -62,9 +65,9 @@ void DescribeAppAttributesResult::parse(const std::string &payload)
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
int DescribeAppAttributesResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeAppRequest;
|
||||
|
||||
DescribeAppRequest::DescribeAppRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApp")
|
||||
{}
|
||||
|
||||
DescribeAppRequest::~DescribeAppRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeAppRequest;
|
||||
|
||||
DescribeAppRequest::DescribeAppRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApp")
|
||||
{}
|
||||
|
||||
DescribeAppRequest::~DescribeAppRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAppRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeAppResult::DescribeAppResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAppResult::DescribeAppResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAppResult::~DescribeAppResult()
|
||||
{}
|
||||
|
||||
void DescribeAppResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeAppResult::DescribeAppResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAppResult::DescribeAppResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAppResult::~DescribeAppResult()
|
||||
{}
|
||||
|
||||
void DescribeAppResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AppId"].isNull())
|
||||
appId_ = std::stol(value["AppId"].asString());
|
||||
if(!value["AppName"].isNull())
|
||||
@@ -50,9 +53,9 @@ void DescribeAppResult::parse(const std::string &payload)
|
||||
createdTime_ = value["CreatedTime"].asString();
|
||||
if(!value["ModifiedTime"].isNull())
|
||||
modifiedTime_ = value["ModifiedTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeAppResult::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppSecurityRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeAppSecurityRequest;
|
||||
|
||||
DescribeAppSecurityRequest::DescribeAppSecurityRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeAppSecurity")
|
||||
{}
|
||||
|
||||
DescribeAppSecurityRequest::~DescribeAppSecurityRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppSecurityRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeAppSecurityRequest;
|
||||
|
||||
DescribeAppSecurityRequest::DescribeAppSecurityRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeAppSecurity")
|
||||
{}
|
||||
|
||||
DescribeAppSecurityRequest::~DescribeAppSecurityRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAppSecurityRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppSecurityResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeAppSecurityResult::DescribeAppSecurityResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAppSecurityResult::DescribeAppSecurityResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAppSecurityResult::~DescribeAppSecurityResult()
|
||||
{}
|
||||
|
||||
void DescribeAppSecurityResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppSecurityResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeAppSecurityResult::DescribeAppSecurityResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAppSecurityResult::DescribeAppSecurityResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAppSecurityResult::~DescribeAppSecurityResult()
|
||||
{}
|
||||
|
||||
void DescribeAppSecurityResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AppKey"].isNull())
|
||||
appKey_ = value["AppKey"].asString();
|
||||
if(!value["AppSecret"].isNull())
|
||||
@@ -50,9 +53,9 @@ void DescribeAppSecurityResult::parse(const std::string &payload)
|
||||
modifiedTime_ = value["ModifiedTime"].asString();
|
||||
if(!value["AppCode"].isNull())
|
||||
appCode_ = value["AppCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeAppSecurityResult::getAppCode()const
|
||||
{
|
||||
return appCode_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppsRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeAppsRequest;
|
||||
|
||||
DescribeAppsRequest::DescribeAppsRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApps")
|
||||
{}
|
||||
|
||||
DescribeAppsRequest::~DescribeAppsRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppsRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeAppsRequest;
|
||||
|
||||
DescribeAppsRequest::DescribeAppsRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeApps")
|
||||
{}
|
||||
|
||||
DescribeAppsRequest::~DescribeAppsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAppsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeAppsResult::DescribeAppsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAppsResult::DescribeAppsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAppsResult::~DescribeAppsResult()
|
||||
{}
|
||||
|
||||
void DescribeAppsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAppsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeAppsResult::DescribeAppsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAppsResult::DescribeAppsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAppsResult::~DescribeAppsResult()
|
||||
{}
|
||||
|
||||
void DescribeAppsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allApps = value["Apps"]["AppItem"];
|
||||
for (auto value : allApps)
|
||||
{
|
||||
@@ -58,9 +61,9 @@ void DescribeAppsResult::parse(const std::string &payload)
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
int DescribeAppsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAuthorizedApisRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeAuthorizedApisRequest;
|
||||
|
||||
DescribeAuthorizedApisRequest::DescribeAuthorizedApisRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeAuthorizedApis")
|
||||
{}
|
||||
|
||||
DescribeAuthorizedApisRequest::~DescribeAuthorizedApisRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAuthorizedApisRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeAuthorizedApisRequest;
|
||||
|
||||
DescribeAuthorizedApisRequest::DescribeAuthorizedApisRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeAuthorizedApis")
|
||||
{}
|
||||
|
||||
DescribeAuthorizedApisRequest::~DescribeAuthorizedApisRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAuthorizedApisRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -1,45 +1,48 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAuthorizedApisResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeAuthorizedApisResult::DescribeAuthorizedApisResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAuthorizedApisResult::DescribeAuthorizedApisResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAuthorizedApisResult::~DescribeAuthorizedApisResult()
|
||||
{}
|
||||
|
||||
void DescribeAuthorizedApisResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAuthorizedApisResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudAPI;
|
||||
using namespace AlibabaCloud::CloudAPI::Model;
|
||||
|
||||
DescribeAuthorizedApisResult::DescribeAuthorizedApisResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAuthorizedApisResult::DescribeAuthorizedApisResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAuthorizedApisResult::~DescribeAuthorizedApisResult()
|
||||
{}
|
||||
|
||||
void DescribeAuthorizedApisResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAuthorizedApis = value["AuthorizedApis"]["AuthorizedApi"];
|
||||
for (auto value : allAuthorizedApis)
|
||||
{
|
||||
@@ -74,9 +77,9 @@ void DescribeAuthorizedApisResult::parse(const std::string &payload)
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
int DescribeAuthorizedApisResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAuthorizedAppsRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeAuthorizedAppsRequest;
|
||||
|
||||
DescribeAuthorizedAppsRequest::DescribeAuthorizedAppsRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeAuthorizedApps")
|
||||
{}
|
||||
|
||||
DescribeAuthorizedAppsRequest::~DescribeAuthorizedAppsRequest()
|
||||
{}
|
||||
|
||||
/*
|
||||
* 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/cloudapi/model/DescribeAuthorizedAppsRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudAPI::Model::DescribeAuthorizedAppsRequest;
|
||||
|
||||
DescribeAuthorizedAppsRequest::DescribeAuthorizedAppsRequest() :
|
||||
RpcServiceRequest("cloudapi", "2016-07-14", "DescribeAuthorizedApps")
|
||||
{}
|
||||
|
||||
DescribeAuthorizedAppsRequest::~DescribeAuthorizedAppsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAuthorizedAppsRequest::getStageName()const
|
||||
{
|
||||
return stageName_;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user