regenerate code
This commit is contained in:
@@ -29,6 +29,14 @@ set(afs_public_header_model
|
||||
include/alibabacloud/afs/model/ConfigurationStyleResult.h
|
||||
include/alibabacloud/afs/model/CreateConfigurationRequest.h
|
||||
include/alibabacloud/afs/model/CreateConfigurationResult.h
|
||||
include/alibabacloud/afs/model/DescribeAfsConfigNameRequest.h
|
||||
include/alibabacloud/afs/model/DescribeAfsConfigNameResult.h
|
||||
include/alibabacloud/afs/model/DescribeAfsOneConfDataRequest.h
|
||||
include/alibabacloud/afs/model/DescribeAfsOneConfDataResult.h
|
||||
include/alibabacloud/afs/model/DescribeAfsTotalConfDataRequest.h
|
||||
include/alibabacloud/afs/model/DescribeAfsTotalConfDataResult.h
|
||||
include/alibabacloud/afs/model/DescribeAfsVerifySigDataRequest.h
|
||||
include/alibabacloud/afs/model/DescribeAfsVerifySigDataResult.h
|
||||
include/alibabacloud/afs/model/DescribeCaptchaDayRequest.h
|
||||
include/alibabacloud/afs/model/DescribeCaptchaDayResult.h
|
||||
include/alibabacloud/afs/model/DescribeCaptchaIpCityRequest.h
|
||||
@@ -62,6 +70,14 @@ set(afs_src
|
||||
src/model/ConfigurationStyleResult.cc
|
||||
src/model/CreateConfigurationRequest.cc
|
||||
src/model/CreateConfigurationResult.cc
|
||||
src/model/DescribeAfsConfigNameRequest.cc
|
||||
src/model/DescribeAfsConfigNameResult.cc
|
||||
src/model/DescribeAfsOneConfDataRequest.cc
|
||||
src/model/DescribeAfsOneConfDataResult.cc
|
||||
src/model/DescribeAfsTotalConfDataRequest.cc
|
||||
src/model/DescribeAfsTotalConfDataResult.cc
|
||||
src/model/DescribeAfsVerifySigDataRequest.cc
|
||||
src/model/DescribeAfsVerifySigDataResult.cc
|
||||
src/model/DescribeCaptchaDayRequest.cc
|
||||
src/model/DescribeCaptchaDayResult.cc
|
||||
src/model/DescribeCaptchaIpCityRequest.cc
|
||||
|
||||
@@ -30,6 +30,14 @@
|
||||
#include "model/ConfigurationStyleResult.h"
|
||||
#include "model/CreateConfigurationRequest.h"
|
||||
#include "model/CreateConfigurationResult.h"
|
||||
#include "model/DescribeAfsConfigNameRequest.h"
|
||||
#include "model/DescribeAfsConfigNameResult.h"
|
||||
#include "model/DescribeAfsOneConfDataRequest.h"
|
||||
#include "model/DescribeAfsOneConfDataResult.h"
|
||||
#include "model/DescribeAfsTotalConfDataRequest.h"
|
||||
#include "model/DescribeAfsTotalConfDataResult.h"
|
||||
#include "model/DescribeAfsVerifySigDataRequest.h"
|
||||
#include "model/DescribeAfsVerifySigDataResult.h"
|
||||
#include "model/DescribeCaptchaDayRequest.h"
|
||||
#include "model/DescribeCaptchaDayResult.h"
|
||||
#include "model/DescribeCaptchaIpCityRequest.h"
|
||||
@@ -73,6 +81,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateConfigurationResult> CreateConfigurationOutcome;
|
||||
typedef std::future<CreateConfigurationOutcome> CreateConfigurationOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::CreateConfigurationRequest&, const CreateConfigurationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConfigurationAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAfsConfigNameResult> DescribeAfsConfigNameOutcome;
|
||||
typedef std::future<DescribeAfsConfigNameOutcome> DescribeAfsConfigNameOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeAfsConfigNameRequest&, const DescribeAfsConfigNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAfsConfigNameAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAfsOneConfDataResult> DescribeAfsOneConfDataOutcome;
|
||||
typedef std::future<DescribeAfsOneConfDataOutcome> DescribeAfsOneConfDataOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeAfsOneConfDataRequest&, const DescribeAfsOneConfDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAfsOneConfDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAfsTotalConfDataResult> DescribeAfsTotalConfDataOutcome;
|
||||
typedef std::future<DescribeAfsTotalConfDataOutcome> DescribeAfsTotalConfDataOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeAfsTotalConfDataRequest&, const DescribeAfsTotalConfDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAfsTotalConfDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAfsVerifySigDataResult> DescribeAfsVerifySigDataOutcome;
|
||||
typedef std::future<DescribeAfsVerifySigDataOutcome> DescribeAfsVerifySigDataOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeAfsVerifySigDataRequest&, const DescribeAfsVerifySigDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAfsVerifySigDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCaptchaDayResult> DescribeCaptchaDayOutcome;
|
||||
typedef std::future<DescribeCaptchaDayOutcome> DescribeCaptchaDayOutcomeCallable;
|
||||
typedef std::function<void(const AfsClient*, const Model::DescribeCaptchaDayRequest&, const DescribeCaptchaDayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCaptchaDayAsyncHandler;
|
||||
@@ -123,6 +143,18 @@ namespace AlibabaCloud
|
||||
CreateConfigurationOutcome createConfiguration(const Model::CreateConfigurationRequest &request)const;
|
||||
void createConfigurationAsync(const Model::CreateConfigurationRequest& request, const CreateConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConfigurationOutcomeCallable createConfigurationCallable(const Model::CreateConfigurationRequest& request) const;
|
||||
DescribeAfsConfigNameOutcome describeAfsConfigName(const Model::DescribeAfsConfigNameRequest &request)const;
|
||||
void describeAfsConfigNameAsync(const Model::DescribeAfsConfigNameRequest& request, const DescribeAfsConfigNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAfsConfigNameOutcomeCallable describeAfsConfigNameCallable(const Model::DescribeAfsConfigNameRequest& request) const;
|
||||
DescribeAfsOneConfDataOutcome describeAfsOneConfData(const Model::DescribeAfsOneConfDataRequest &request)const;
|
||||
void describeAfsOneConfDataAsync(const Model::DescribeAfsOneConfDataRequest& request, const DescribeAfsOneConfDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAfsOneConfDataOutcomeCallable describeAfsOneConfDataCallable(const Model::DescribeAfsOneConfDataRequest& request) const;
|
||||
DescribeAfsTotalConfDataOutcome describeAfsTotalConfData(const Model::DescribeAfsTotalConfDataRequest &request)const;
|
||||
void describeAfsTotalConfDataAsync(const Model::DescribeAfsTotalConfDataRequest& request, const DescribeAfsTotalConfDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAfsTotalConfDataOutcomeCallable describeAfsTotalConfDataCallable(const Model::DescribeAfsTotalConfDataRequest& request) const;
|
||||
DescribeAfsVerifySigDataOutcome describeAfsVerifySigData(const Model::DescribeAfsVerifySigDataRequest &request)const;
|
||||
void describeAfsVerifySigDataAsync(const Model::DescribeAfsVerifySigDataRequest& request, const DescribeAfsVerifySigDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAfsVerifySigDataOutcomeCallable describeAfsVerifySigDataCallable(const Model::DescribeAfsVerifySigDataRequest& request) const;
|
||||
DescribeCaptchaDayOutcome describeCaptchaDay(const Model::DescribeCaptchaDayRequest &request)const;
|
||||
void describeCaptchaDayAsync(const Model::DescribeCaptchaDayRequest& request, const DescribeCaptchaDayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCaptchaDayOutcomeCallable describeCaptchaDayCallable(const Model::DescribeCaptchaDayRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSCONFIGNAMEREQUEST_H_
|
||||
#define ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSCONFIGNAMEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/afs/AfsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Afs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeAfsConfigNameRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAfsConfigNameRequest();
|
||||
~DescribeAfsConfigNameRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getProductName()const;
|
||||
void setProductName(const std::string& productName);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string productName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSCONFIGNAMEREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSCONFIGNAMERESULT_H_
|
||||
#define ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSCONFIGNAMERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/afs/AfsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Afs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeAfsConfigNameResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AfsConfigName
|
||||
{
|
||||
std::string refExtId;
|
||||
std::string configName;
|
||||
std::string appKey;
|
||||
std::string scene;
|
||||
std::string aliUid;
|
||||
};
|
||||
|
||||
|
||||
DescribeAfsConfigNameResult();
|
||||
explicit DescribeAfsConfigNameResult(const std::string &payload);
|
||||
~DescribeAfsConfigNameResult();
|
||||
std::vector<AfsConfigName> getConfigNames()const;
|
||||
std::string getBizCode()const;
|
||||
bool getHasData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AfsConfigName> configNames_;
|
||||
std::string bizCode_;
|
||||
bool hasData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSCONFIGNAMERESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSONECONFDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSONECONFDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/afs/AfsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Afs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeAfsOneConfDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAfsOneConfDataRequest();
|
||||
~DescribeAfsOneConfDataRequest();
|
||||
|
||||
std::string getScene()const;
|
||||
void setScene(const std::string& scene);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getProductName()const;
|
||||
void setProductName(const std::string& productName);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
|
||||
private:
|
||||
std::string scene_;
|
||||
std::string sourceIp_;
|
||||
std::string productName_;
|
||||
std::string appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSONECONFDATAREQUEST_H_
|
||||
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSONECONFDATARESULT_H_
|
||||
#define ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSONECONFDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/afs/AfsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Afs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeAfsOneConfDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AfsNcOneConfData
|
||||
{
|
||||
long ncSigBlockCnt;
|
||||
int ncInitCnt;
|
||||
long ncSigCnt;
|
||||
long ncNoActionCnt;
|
||||
std::string tableDate;
|
||||
long ncVerifyCnt;
|
||||
long ncVerifyBlockCnt;
|
||||
};
|
||||
struct AfsIcOneConfData
|
||||
{
|
||||
long icNoActionCnt;
|
||||
long icBlockCnt;
|
||||
std::string tableDate;
|
||||
long icSecVerifyCnt;
|
||||
long icSigCnt;
|
||||
long icVerifyCnt;
|
||||
long icInitCnt;
|
||||
};
|
||||
struct AfsNvcOneConfData
|
||||
{
|
||||
long nvcNoActionCnt;
|
||||
long nvcInitCnt;
|
||||
std::string tableDate;
|
||||
long nvcVerifyCnt;
|
||||
long nvcBlockCnt;
|
||||
long nvcSecVerifyCnt;
|
||||
};
|
||||
|
||||
|
||||
DescribeAfsOneConfDataResult();
|
||||
explicit DescribeAfsOneConfDataResult(const std::string &payload);
|
||||
~DescribeAfsOneConfDataResult();
|
||||
std::vector<AfsIcOneConfData> getIcOneConfDatas()const;
|
||||
std::vector<AfsNcOneConfData> getNcOneConfDatas()const;
|
||||
std::vector<AfsNvcOneConfData> getNvcOneConfDatas()const;
|
||||
std::string getBizCode()const;
|
||||
bool getHasData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AfsIcOneConfData> icOneConfDatas_;
|
||||
std::vector<AfsNcOneConfData> ncOneConfDatas_;
|
||||
std::vector<AfsNvcOneConfData> nvcOneConfDatas_;
|
||||
std::string bizCode_;
|
||||
bool hasData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSONECONFDATARESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSTOTALCONFDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSTOTALCONFDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/afs/AfsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Afs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeAfsTotalConfDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAfsTotalConfDataRequest();
|
||||
~DescribeAfsTotalConfDataRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getProductName()const;
|
||||
void setProductName(const std::string& productName);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string productName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSTOTALCONFDATAREQUEST_H_
|
||||
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSTOTALCONFDATARESULT_H_
|
||||
#define ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSTOTALCONFDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/afs/AfsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Afs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeAfsTotalConfDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AfsTotalConfData
|
||||
{
|
||||
std::string category;
|
||||
long value;
|
||||
std::string time;
|
||||
};
|
||||
|
||||
|
||||
DescribeAfsTotalConfDataResult();
|
||||
explicit DescribeAfsTotalConfDataResult(const std::string &payload);
|
||||
~DescribeAfsTotalConfDataResult();
|
||||
std::vector<AfsTotalConfData> getIcTotalConfSigDatas()const;
|
||||
std::vector<AfsTotalConfData> getNvcTotalConfSecVerifyDatas()const;
|
||||
std::vector<AfsTotalConfData> getIcTotalConfVerifyDatas()const;
|
||||
std::vector<AfsTotalConfData> getNvcTotalConfVerifyDatas()const;
|
||||
std::vector<AfsTotalConfData> getIcTotalConfSecVerifyDatas()const;
|
||||
std::vector<AfsTotalConfData> getNcTotalConfBlockDatas()const;
|
||||
std::vector<AfsTotalConfData> getNcTotalConfSigDatas()const;
|
||||
std::vector<AfsTotalConfData> getIcTotalConfBlockDatas()const;
|
||||
std::vector<AfsTotalConfData> getNcTotalConfVerifyDatas()const;
|
||||
std::string getBizCode()const;
|
||||
bool getHasData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AfsTotalConfData> icTotalConfSigDatas_;
|
||||
std::vector<AfsTotalConfData> nvcTotalConfSecVerifyDatas_;
|
||||
std::vector<AfsTotalConfData> icTotalConfVerifyDatas_;
|
||||
std::vector<AfsTotalConfData> nvcTotalConfVerifyDatas_;
|
||||
std::vector<AfsTotalConfData> icTotalConfSecVerifyDatas_;
|
||||
std::vector<AfsTotalConfData> ncTotalConfBlockDatas_;
|
||||
std::vector<AfsTotalConfData> ncTotalConfSigDatas_;
|
||||
std::vector<AfsTotalConfData> icTotalConfBlockDatas_;
|
||||
std::vector<AfsTotalConfData> ncTotalConfVerifyDatas_;
|
||||
std::string bizCode_;
|
||||
bool hasData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSTOTALCONFDATARESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSVERIFYSIGDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSVERIFYSIGDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/afs/AfsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Afs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeAfsVerifySigDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAfsVerifySigDataRequest();
|
||||
~DescribeAfsVerifySigDataRequest();
|
||||
|
||||
std::string getScene()const;
|
||||
void setScene(const std::string& scene);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getProductName()const;
|
||||
void setProductName(const std::string& productName);
|
||||
std::string getAppKey()const;
|
||||
void setAppKey(const std::string& appKey);
|
||||
|
||||
private:
|
||||
std::string scene_;
|
||||
std::string sourceIp_;
|
||||
std::string productName_;
|
||||
std::string appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSVERIFYSIGDATAREQUEST_H_
|
||||
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSVERIFYSIGDATARESULT_H_
|
||||
#define ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSVERIFYSIGDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/afs/AfsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Afs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_AFS_EXPORT DescribeAfsVerifySigDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AfsNcVerifyData
|
||||
{
|
||||
long ncVerifyPass;
|
||||
long ncVerifyBlock;
|
||||
std::string time;
|
||||
};
|
||||
struct AfsNcSigData
|
||||
{
|
||||
std::string time;
|
||||
long ncSigPass;
|
||||
long ncSigBlock;
|
||||
};
|
||||
struct AfsIcSecVerifyData
|
||||
{
|
||||
long icSecBlock;
|
||||
long icSecPass;
|
||||
std::string time;
|
||||
};
|
||||
struct AfsIcVerifyData
|
||||
{
|
||||
long icBlockCnt;
|
||||
long icSecVerifyCnt;
|
||||
std::string time;
|
||||
long icSigCnt;
|
||||
long icVerifyCnt;
|
||||
};
|
||||
struct AfsNvcVerifyData
|
||||
{
|
||||
std::string time;
|
||||
long nvcVerifyCnt;
|
||||
long nvcSecVerifyCnt;
|
||||
};
|
||||
struct AfsNvcSecData
|
||||
{
|
||||
long nvcSecPass;
|
||||
std::string time;
|
||||
long nvcSecBlock;
|
||||
};
|
||||
struct AfsNvcCodeData
|
||||
{
|
||||
long nvcCode200;
|
||||
long nvcCode600;
|
||||
long nvcCode400;
|
||||
std::string time;
|
||||
long nvcCode800;
|
||||
};
|
||||
|
||||
|
||||
DescribeAfsVerifySigDataResult();
|
||||
explicit DescribeAfsVerifySigDataResult(const std::string &payload);
|
||||
~DescribeAfsVerifySigDataResult();
|
||||
std::vector<AfsNvcCodeData> getNvcCodeDatas()const;
|
||||
std::vector<AfsNvcSecData> getNvcSecDatas()const;
|
||||
std::vector<AfsIcVerifyData> getIcVerifyDatas()const;
|
||||
std::vector<AfsNcVerifyData> getNcVerifyDatas()const;
|
||||
std::vector<AfsIcSecVerifyData> getIcSecVerifyDatas()const;
|
||||
std::vector<AfsNvcVerifyData> getNvcVerifyDatas()const;
|
||||
std::vector<AfsNcSigData> getNcSigDatas()const;
|
||||
std::string getBizCode()const;
|
||||
bool getHasData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AfsNvcCodeData> nvcCodeDatas_;
|
||||
std::vector<AfsNvcSecData> nvcSecDatas_;
|
||||
std::vector<AfsIcVerifyData> icVerifyDatas_;
|
||||
std::vector<AfsNcVerifyData> ncVerifyDatas_;
|
||||
std::vector<AfsIcSecVerifyData> icSecVerifyDatas_;
|
||||
std::vector<AfsNvcVerifyData> nvcVerifyDatas_;
|
||||
std::vector<AfsNcSigData> ncSigDatas_;
|
||||
std::string bizCode_;
|
||||
bool hasData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_AFS_MODEL_DESCRIBEAFSVERIFYSIGDATARESULT_H_
|
||||
@@ -195,6 +195,150 @@ AfsClient::CreateConfigurationOutcomeCallable AfsClient::createConfigurationCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::DescribeAfsConfigNameOutcome AfsClient::describeAfsConfigName(const DescribeAfsConfigNameRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAfsConfigNameOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAfsConfigNameOutcome(DescribeAfsConfigNameResult(outcome.result()));
|
||||
else
|
||||
return DescribeAfsConfigNameOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::describeAfsConfigNameAsync(const DescribeAfsConfigNameRequest& request, const DescribeAfsConfigNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAfsConfigName(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::DescribeAfsConfigNameOutcomeCallable AfsClient::describeAfsConfigNameCallable(const DescribeAfsConfigNameRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAfsConfigNameOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAfsConfigName(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::DescribeAfsOneConfDataOutcome AfsClient::describeAfsOneConfData(const DescribeAfsOneConfDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAfsOneConfDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAfsOneConfDataOutcome(DescribeAfsOneConfDataResult(outcome.result()));
|
||||
else
|
||||
return DescribeAfsOneConfDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::describeAfsOneConfDataAsync(const DescribeAfsOneConfDataRequest& request, const DescribeAfsOneConfDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAfsOneConfData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::DescribeAfsOneConfDataOutcomeCallable AfsClient::describeAfsOneConfDataCallable(const DescribeAfsOneConfDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAfsOneConfDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAfsOneConfData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::DescribeAfsTotalConfDataOutcome AfsClient::describeAfsTotalConfData(const DescribeAfsTotalConfDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAfsTotalConfDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAfsTotalConfDataOutcome(DescribeAfsTotalConfDataResult(outcome.result()));
|
||||
else
|
||||
return DescribeAfsTotalConfDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::describeAfsTotalConfDataAsync(const DescribeAfsTotalConfDataRequest& request, const DescribeAfsTotalConfDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAfsTotalConfData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::DescribeAfsTotalConfDataOutcomeCallable AfsClient::describeAfsTotalConfDataCallable(const DescribeAfsTotalConfDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAfsTotalConfDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAfsTotalConfData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::DescribeAfsVerifySigDataOutcome AfsClient::describeAfsVerifySigData(const DescribeAfsVerifySigDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeAfsVerifySigDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeAfsVerifySigDataOutcome(DescribeAfsVerifySigDataResult(outcome.result()));
|
||||
else
|
||||
return DescribeAfsVerifySigDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AfsClient::describeAfsVerifySigDataAsync(const DescribeAfsVerifySigDataRequest& request, const DescribeAfsVerifySigDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeAfsVerifySigData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AfsClient::DescribeAfsVerifySigDataOutcomeCallable AfsClient::describeAfsVerifySigDataCallable(const DescribeAfsVerifySigDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeAfsVerifySigDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeAfsVerifySigData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AfsClient::DescribeCaptchaDayOutcome AfsClient::describeCaptchaDay(const DescribeCaptchaDayRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Afs::Model::AnalyzeNvcRequest;
|
||||
|
||||
AnalyzeNvcRequest::AnalyzeNvcRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "AnalyzeNvc")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AnalyzeNvcRequest::~AnalyzeNvcRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string AnalyzeNvcRequest::getData()const
|
||||
void AnalyzeNvcRequest::setData(const std::string& data)
|
||||
{
|
||||
data_ = data;
|
||||
setCoreParameter("Data", data);
|
||||
setParameter("Data", data);
|
||||
}
|
||||
|
||||
std::string AnalyzeNvcRequest::getSourceIp()const
|
||||
@@ -44,7 +46,7 @@ std::string AnalyzeNvcRequest::getSourceIp()const
|
||||
void AnalyzeNvcRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string AnalyzeNvcRequest::getScoreJsonStr()const
|
||||
@@ -55,6 +57,6 @@ std::string AnalyzeNvcRequest::getScoreJsonStr()const
|
||||
void AnalyzeNvcRequest::setScoreJsonStr(const std::string& scoreJsonStr)
|
||||
{
|
||||
scoreJsonStr_ = scoreJsonStr;
|
||||
setCoreParameter("ScoreJsonStr", scoreJsonStr);
|
||||
setParameter("ScoreJsonStr", scoreJsonStr);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Afs::Model::AuthenticateSigRequest;
|
||||
|
||||
AuthenticateSigRequest::AuthenticateSigRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "AuthenticateSig")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AuthenticateSigRequest::~AuthenticateSigRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string AuthenticateSigRequest::getRemoteIp()const
|
||||
void AuthenticateSigRequest::setRemoteIp(const std::string& remoteIp)
|
||||
{
|
||||
remoteIp_ = remoteIp;
|
||||
setCoreParameter("RemoteIp", remoteIp);
|
||||
setParameter("RemoteIp", remoteIp);
|
||||
}
|
||||
|
||||
std::string AuthenticateSigRequest::getSessionId()const
|
||||
@@ -44,7 +46,7 @@ std::string AuthenticateSigRequest::getSessionId()const
|
||||
void AuthenticateSigRequest::setSessionId(const std::string& sessionId)
|
||||
{
|
||||
sessionId_ = sessionId;
|
||||
setCoreParameter("SessionId", sessionId);
|
||||
setParameter("SessionId", sessionId);
|
||||
}
|
||||
|
||||
std::string AuthenticateSigRequest::getScene()const
|
||||
@@ -55,7 +57,7 @@ std::string AuthenticateSigRequest::getScene()const
|
||||
void AuthenticateSigRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setCoreParameter("Scene", scene);
|
||||
setParameter("Scene", scene);
|
||||
}
|
||||
|
||||
std::string AuthenticateSigRequest::getSig()const
|
||||
@@ -66,7 +68,7 @@ std::string AuthenticateSigRequest::getSig()const
|
||||
void AuthenticateSigRequest::setSig(const std::string& sig)
|
||||
{
|
||||
sig_ = sig;
|
||||
setCoreParameter("Sig", sig);
|
||||
setParameter("Sig", sig);
|
||||
}
|
||||
|
||||
std::string AuthenticateSigRequest::getSourceIp()const
|
||||
@@ -77,7 +79,7 @@ std::string AuthenticateSigRequest::getSourceIp()const
|
||||
void AuthenticateSigRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string AuthenticateSigRequest::getToken()const
|
||||
@@ -88,7 +90,7 @@ std::string AuthenticateSigRequest::getToken()const
|
||||
void AuthenticateSigRequest::setToken(const std::string& token)
|
||||
{
|
||||
token_ = token;
|
||||
setCoreParameter("Token", token);
|
||||
setParameter("Token", token);
|
||||
}
|
||||
|
||||
std::string AuthenticateSigRequest::getAppKey()const
|
||||
@@ -99,6 +101,6 @@ std::string AuthenticateSigRequest::getAppKey()const
|
||||
void AuthenticateSigRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setCoreParameter("AppKey", appKey);
|
||||
setParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Afs::Model::ConfigurationStyleRequest;
|
||||
|
||||
ConfigurationStyleRequest::ConfigurationStyleRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "ConfigurationStyle")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ConfigurationStyleRequest::~ConfigurationStyleRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ConfigurationStyleRequest::getScene()const
|
||||
void ConfigurationStyleRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setCoreParameter("Scene", scene);
|
||||
setParameter("Scene", scene);
|
||||
}
|
||||
|
||||
std::string ConfigurationStyleRequest::getSourceIp()const
|
||||
@@ -44,7 +46,7 @@ std::string ConfigurationStyleRequest::getSourceIp()const
|
||||
void ConfigurationStyleRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string ConfigurationStyleRequest::getConfigurationMethod()const
|
||||
@@ -55,7 +57,7 @@ std::string ConfigurationStyleRequest::getConfigurationMethod()const
|
||||
void ConfigurationStyleRequest::setConfigurationMethod(const std::string& configurationMethod)
|
||||
{
|
||||
configurationMethod_ = configurationMethod;
|
||||
setCoreParameter("ConfigurationMethod", configurationMethod);
|
||||
setParameter("ConfigurationMethod", configurationMethod);
|
||||
}
|
||||
|
||||
std::string ConfigurationStyleRequest::getRefExtId()const
|
||||
@@ -66,7 +68,7 @@ std::string ConfigurationStyleRequest::getRefExtId()const
|
||||
void ConfigurationStyleRequest::setRefExtId(const std::string& refExtId)
|
||||
{
|
||||
refExtId_ = refExtId;
|
||||
setCoreParameter("RefExtId", refExtId);
|
||||
setParameter("RefExtId", refExtId);
|
||||
}
|
||||
|
||||
std::string ConfigurationStyleRequest::getApplyType()const
|
||||
@@ -77,6 +79,6 @@ std::string ConfigurationStyleRequest::getApplyType()const
|
||||
void ConfigurationStyleRequest::setApplyType(const std::string& applyType)
|
||||
{
|
||||
applyType_ = applyType;
|
||||
setCoreParameter("ApplyType", applyType);
|
||||
setParameter("ApplyType", applyType);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Afs::Model::CreateConfigurationRequest;
|
||||
|
||||
CreateConfigurationRequest::CreateConfigurationRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "CreateConfiguration")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateConfigurationRequest::~CreateConfigurationRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string CreateConfigurationRequest::getMaxPV()const
|
||||
void CreateConfigurationRequest::setMaxPV(const std::string& maxPV)
|
||||
{
|
||||
maxPV_ = maxPV;
|
||||
setCoreParameter("MaxPV", maxPV);
|
||||
setParameter("MaxPV", maxPV);
|
||||
}
|
||||
|
||||
std::string CreateConfigurationRequest::getScene()const
|
||||
@@ -44,7 +46,7 @@ std::string CreateConfigurationRequest::getScene()const
|
||||
void CreateConfigurationRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setCoreParameter("Scene", scene);
|
||||
setParameter("Scene", scene);
|
||||
}
|
||||
|
||||
std::string CreateConfigurationRequest::getSourceIp()const
|
||||
@@ -55,7 +57,7 @@ std::string CreateConfigurationRequest::getSourceIp()const
|
||||
void CreateConfigurationRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string CreateConfigurationRequest::getConfigurationName()const
|
||||
@@ -66,7 +68,7 @@ std::string CreateConfigurationRequest::getConfigurationName()const
|
||||
void CreateConfigurationRequest::setConfigurationName(const std::string& configurationName)
|
||||
{
|
||||
configurationName_ = configurationName;
|
||||
setCoreParameter("ConfigurationName", configurationName);
|
||||
setParameter("ConfigurationName", configurationName);
|
||||
}
|
||||
|
||||
std::string CreateConfigurationRequest::getConfigurationMethod()const
|
||||
@@ -77,7 +79,7 @@ std::string CreateConfigurationRequest::getConfigurationMethod()const
|
||||
void CreateConfigurationRequest::setConfigurationMethod(const std::string& configurationMethod)
|
||||
{
|
||||
configurationMethod_ = configurationMethod;
|
||||
setCoreParameter("ConfigurationMethod", configurationMethod);
|
||||
setParameter("ConfigurationMethod", configurationMethod);
|
||||
}
|
||||
|
||||
std::string CreateConfigurationRequest::getApplyType()const
|
||||
@@ -88,6 +90,6 @@ std::string CreateConfigurationRequest::getApplyType()const
|
||||
void CreateConfigurationRequest::setApplyType(const std::string& applyType)
|
||||
{
|
||||
applyType_ = applyType;
|
||||
setCoreParameter("ApplyType", applyType);
|
||||
setParameter("ApplyType", applyType);
|
||||
}
|
||||
|
||||
|
||||
51
afs/src/model/DescribeAfsConfigNameRequest.cc
Normal file
51
afs/src/model/DescribeAfsConfigNameRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/afs/model/DescribeAfsConfigNameRequest.h>
|
||||
|
||||
using AlibabaCloud::Afs::Model::DescribeAfsConfigNameRequest;
|
||||
|
||||
DescribeAfsConfigNameRequest::DescribeAfsConfigNameRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "DescribeAfsConfigName")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAfsConfigNameRequest::~DescribeAfsConfigNameRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAfsConfigNameRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeAfsConfigNameRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeAfsConfigNameRequest::getProductName()const
|
||||
{
|
||||
return productName_;
|
||||
}
|
||||
|
||||
void DescribeAfsConfigNameRequest::setProductName(const std::string& productName)
|
||||
{
|
||||
productName_ = productName;
|
||||
setParameter("ProductName", productName);
|
||||
}
|
||||
|
||||
79
afs/src/model/DescribeAfsConfigNameResult.cc
Normal file
79
afs/src/model/DescribeAfsConfigNameResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/afs/model/DescribeAfsConfigNameResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Afs;
|
||||
using namespace AlibabaCloud::Afs::Model;
|
||||
|
||||
DescribeAfsConfigNameResult::DescribeAfsConfigNameResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAfsConfigNameResult::DescribeAfsConfigNameResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAfsConfigNameResult::~DescribeAfsConfigNameResult()
|
||||
{}
|
||||
|
||||
void DescribeAfsConfigNameResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allConfigNamesNode = value["ConfigNames"]["AfsConfigName"];
|
||||
for (auto valueConfigNamesAfsConfigName : allConfigNamesNode)
|
||||
{
|
||||
AfsConfigName configNamesObject;
|
||||
if(!valueConfigNamesAfsConfigName["AliUid"].isNull())
|
||||
configNamesObject.aliUid = valueConfigNamesAfsConfigName["AliUid"].asString();
|
||||
if(!valueConfigNamesAfsConfigName["ConfigName"].isNull())
|
||||
configNamesObject.configName = valueConfigNamesAfsConfigName["ConfigName"].asString();
|
||||
if(!valueConfigNamesAfsConfigName["AppKey"].isNull())
|
||||
configNamesObject.appKey = valueConfigNamesAfsConfigName["AppKey"].asString();
|
||||
if(!valueConfigNamesAfsConfigName["Scene"].isNull())
|
||||
configNamesObject.scene = valueConfigNamesAfsConfigName["Scene"].asString();
|
||||
if(!valueConfigNamesAfsConfigName["RefExtId"].isNull())
|
||||
configNamesObject.refExtId = valueConfigNamesAfsConfigName["RefExtId"].asString();
|
||||
configNames_.push_back(configNamesObject);
|
||||
}
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["HasData"].isNull())
|
||||
hasData_ = value["HasData"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsConfigNameResult::AfsConfigName> DescribeAfsConfigNameResult::getConfigNames()const
|
||||
{
|
||||
return configNames_;
|
||||
}
|
||||
|
||||
std::string DescribeAfsConfigNameResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
bool DescribeAfsConfigNameResult::getHasData()const
|
||||
{
|
||||
return hasData_;
|
||||
}
|
||||
|
||||
73
afs/src/model/DescribeAfsOneConfDataRequest.cc
Normal file
73
afs/src/model/DescribeAfsOneConfDataRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/afs/model/DescribeAfsOneConfDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Afs::Model::DescribeAfsOneConfDataRequest;
|
||||
|
||||
DescribeAfsOneConfDataRequest::DescribeAfsOneConfDataRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "DescribeAfsOneConfData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAfsOneConfDataRequest::~DescribeAfsOneConfDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAfsOneConfDataRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void DescribeAfsOneConfDataRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setParameter("Scene", scene);
|
||||
}
|
||||
|
||||
std::string DescribeAfsOneConfDataRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeAfsOneConfDataRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeAfsOneConfDataRequest::getProductName()const
|
||||
{
|
||||
return productName_;
|
||||
}
|
||||
|
||||
void DescribeAfsOneConfDataRequest::setProductName(const std::string& productName)
|
||||
{
|
||||
productName_ = productName;
|
||||
setParameter("ProductName", productName);
|
||||
}
|
||||
|
||||
std::string DescribeAfsOneConfDataRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void DescribeAfsOneConfDataRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
131
afs/src/model/DescribeAfsOneConfDataResult.cc
Normal file
131
afs/src/model/DescribeAfsOneConfDataResult.cc
Normal file
@@ -0,0 +1,131 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/afs/model/DescribeAfsOneConfDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Afs;
|
||||
using namespace AlibabaCloud::Afs::Model;
|
||||
|
||||
DescribeAfsOneConfDataResult::DescribeAfsOneConfDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAfsOneConfDataResult::DescribeAfsOneConfDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAfsOneConfDataResult::~DescribeAfsOneConfDataResult()
|
||||
{}
|
||||
|
||||
void DescribeAfsOneConfDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allNcOneConfDatasNode = value["NcOneConfDatas"]["AfsNcOneConfData"];
|
||||
for (auto valueNcOneConfDatasAfsNcOneConfData : allNcOneConfDatasNode)
|
||||
{
|
||||
AfsNcOneConfData ncOneConfDatasObject;
|
||||
if(!valueNcOneConfDatasAfsNcOneConfData["TableDate"].isNull())
|
||||
ncOneConfDatasObject.tableDate = valueNcOneConfDatasAfsNcOneConfData["TableDate"].asString();
|
||||
if(!valueNcOneConfDatasAfsNcOneConfData["NcInitCnt"].isNull())
|
||||
ncOneConfDatasObject.ncInitCnt = std::stoi(valueNcOneConfDatasAfsNcOneConfData["NcInitCnt"].asString());
|
||||
if(!valueNcOneConfDatasAfsNcOneConfData["NcNoActionCnt"].isNull())
|
||||
ncOneConfDatasObject.ncNoActionCnt = std::stol(valueNcOneConfDatasAfsNcOneConfData["NcNoActionCnt"].asString());
|
||||
if(!valueNcOneConfDatasAfsNcOneConfData["NcVerifyCnt"].isNull())
|
||||
ncOneConfDatasObject.ncVerifyCnt = std::stol(valueNcOneConfDatasAfsNcOneConfData["NcVerifyCnt"].asString());
|
||||
if(!valueNcOneConfDatasAfsNcOneConfData["NcVerifyBlockCnt"].isNull())
|
||||
ncOneConfDatasObject.ncVerifyBlockCnt = std::stol(valueNcOneConfDatasAfsNcOneConfData["NcVerifyBlockCnt"].asString());
|
||||
if(!valueNcOneConfDatasAfsNcOneConfData["NcSigCnt"].isNull())
|
||||
ncOneConfDatasObject.ncSigCnt = std::stol(valueNcOneConfDatasAfsNcOneConfData["NcSigCnt"].asString());
|
||||
if(!valueNcOneConfDatasAfsNcOneConfData["NcSigBlockCnt"].isNull())
|
||||
ncOneConfDatasObject.ncSigBlockCnt = std::stol(valueNcOneConfDatasAfsNcOneConfData["NcSigBlockCnt"].asString());
|
||||
ncOneConfDatas_.push_back(ncOneConfDatasObject);
|
||||
}
|
||||
auto allIcOneConfDatasNode = value["IcOneConfDatas"]["AfsIcOneConfData"];
|
||||
for (auto valueIcOneConfDatasAfsIcOneConfData : allIcOneConfDatasNode)
|
||||
{
|
||||
AfsIcOneConfData icOneConfDatasObject;
|
||||
if(!valueIcOneConfDatasAfsIcOneConfData["TableDate"].isNull())
|
||||
icOneConfDatasObject.tableDate = valueIcOneConfDatasAfsIcOneConfData["TableDate"].asString();
|
||||
if(!valueIcOneConfDatasAfsIcOneConfData["IcInitCnt"].isNull())
|
||||
icOneConfDatasObject.icInitCnt = std::stol(valueIcOneConfDatasAfsIcOneConfData["IcInitCnt"].asString());
|
||||
if(!valueIcOneConfDatasAfsIcOneConfData["IcNoActionCnt"].isNull())
|
||||
icOneConfDatasObject.icNoActionCnt = std::stol(valueIcOneConfDatasAfsIcOneConfData["IcNoActionCnt"].asString());
|
||||
if(!valueIcOneConfDatasAfsIcOneConfData["IcVerifyCnt"].isNull())
|
||||
icOneConfDatasObject.icVerifyCnt = std::stol(valueIcOneConfDatasAfsIcOneConfData["IcVerifyCnt"].asString());
|
||||
if(!valueIcOneConfDatasAfsIcOneConfData["IcSecVerifyCnt"].isNull())
|
||||
icOneConfDatasObject.icSecVerifyCnt = std::stol(valueIcOneConfDatasAfsIcOneConfData["IcSecVerifyCnt"].asString());
|
||||
if(!valueIcOneConfDatasAfsIcOneConfData["IcSigCnt"].isNull())
|
||||
icOneConfDatasObject.icSigCnt = std::stol(valueIcOneConfDatasAfsIcOneConfData["IcSigCnt"].asString());
|
||||
if(!valueIcOneConfDatasAfsIcOneConfData["IcBlockCnt"].isNull())
|
||||
icOneConfDatasObject.icBlockCnt = std::stol(valueIcOneConfDatasAfsIcOneConfData["IcBlockCnt"].asString());
|
||||
icOneConfDatas_.push_back(icOneConfDatasObject);
|
||||
}
|
||||
auto allNvcOneConfDatasNode = value["NvcOneConfDatas"]["AfsNvcOneConfData"];
|
||||
for (auto valueNvcOneConfDatasAfsNvcOneConfData : allNvcOneConfDatasNode)
|
||||
{
|
||||
AfsNvcOneConfData nvcOneConfDatasObject;
|
||||
if(!valueNvcOneConfDatasAfsNvcOneConfData["TableDate"].isNull())
|
||||
nvcOneConfDatasObject.tableDate = valueNvcOneConfDatasAfsNvcOneConfData["TableDate"].asString();
|
||||
if(!valueNvcOneConfDatasAfsNvcOneConfData["NvcInitCnt"].isNull())
|
||||
nvcOneConfDatasObject.nvcInitCnt = std::stol(valueNvcOneConfDatasAfsNvcOneConfData["NvcInitCnt"].asString());
|
||||
if(!valueNvcOneConfDatasAfsNvcOneConfData["NvcNoActionCnt"].isNull())
|
||||
nvcOneConfDatasObject.nvcNoActionCnt = std::stol(valueNvcOneConfDatasAfsNvcOneConfData["NvcNoActionCnt"].asString());
|
||||
if(!valueNvcOneConfDatasAfsNvcOneConfData["NvcVerifyCnt"].isNull())
|
||||
nvcOneConfDatasObject.nvcVerifyCnt = std::stol(valueNvcOneConfDatasAfsNvcOneConfData["NvcVerifyCnt"].asString());
|
||||
if(!valueNvcOneConfDatasAfsNvcOneConfData["NvcSecVerifyCnt"].isNull())
|
||||
nvcOneConfDatasObject.nvcSecVerifyCnt = std::stol(valueNvcOneConfDatasAfsNvcOneConfData["NvcSecVerifyCnt"].asString());
|
||||
if(!valueNvcOneConfDatasAfsNvcOneConfData["NvcBlockCnt"].isNull())
|
||||
nvcOneConfDatasObject.nvcBlockCnt = std::stol(valueNvcOneConfDatasAfsNvcOneConfData["NvcBlockCnt"].asString());
|
||||
nvcOneConfDatas_.push_back(nvcOneConfDatasObject);
|
||||
}
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["HasData"].isNull())
|
||||
hasData_ = value["HasData"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsOneConfDataResult::AfsIcOneConfData> DescribeAfsOneConfDataResult::getIcOneConfDatas()const
|
||||
{
|
||||
return icOneConfDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsOneConfDataResult::AfsNcOneConfData> DescribeAfsOneConfDataResult::getNcOneConfDatas()const
|
||||
{
|
||||
return ncOneConfDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsOneConfDataResult::AfsNvcOneConfData> DescribeAfsOneConfDataResult::getNvcOneConfDatas()const
|
||||
{
|
||||
return nvcOneConfDatas_;
|
||||
}
|
||||
|
||||
std::string DescribeAfsOneConfDataResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
bool DescribeAfsOneConfDataResult::getHasData()const
|
||||
{
|
||||
return hasData_;
|
||||
}
|
||||
|
||||
51
afs/src/model/DescribeAfsTotalConfDataRequest.cc
Normal file
51
afs/src/model/DescribeAfsTotalConfDataRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/afs/model/DescribeAfsTotalConfDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Afs::Model::DescribeAfsTotalConfDataRequest;
|
||||
|
||||
DescribeAfsTotalConfDataRequest::DescribeAfsTotalConfDataRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "DescribeAfsTotalConfData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAfsTotalConfDataRequest::~DescribeAfsTotalConfDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAfsTotalConfDataRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeAfsTotalConfDataRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeAfsTotalConfDataRequest::getProductName()const
|
||||
{
|
||||
return productName_;
|
||||
}
|
||||
|
||||
void DescribeAfsTotalConfDataRequest::setProductName(const std::string& productName)
|
||||
{
|
||||
productName_ = productName;
|
||||
setParameter("ProductName", productName);
|
||||
}
|
||||
|
||||
211
afs/src/model/DescribeAfsTotalConfDataResult.cc
Normal file
211
afs/src/model/DescribeAfsTotalConfDataResult.cc
Normal file
@@ -0,0 +1,211 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/afs/model/DescribeAfsTotalConfDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Afs;
|
||||
using namespace AlibabaCloud::Afs::Model;
|
||||
|
||||
DescribeAfsTotalConfDataResult::DescribeAfsTotalConfDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAfsTotalConfDataResult::DescribeAfsTotalConfDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAfsTotalConfDataResult::~DescribeAfsTotalConfDataResult()
|
||||
{}
|
||||
|
||||
void DescribeAfsTotalConfDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allNcTotalConfVerifyDatasNode = value["NcTotalConfVerifyDatas"]["AfsTotalConfData"];
|
||||
for (auto valueNcTotalConfVerifyDatasAfsTotalConfData : allNcTotalConfVerifyDatasNode)
|
||||
{
|
||||
AfsTotalConfData ncTotalConfVerifyDatasObject;
|
||||
if(!valueNcTotalConfVerifyDatasAfsTotalConfData["Time"].isNull())
|
||||
ncTotalConfVerifyDatasObject.time = valueNcTotalConfVerifyDatasAfsTotalConfData["Time"].asString();
|
||||
if(!valueNcTotalConfVerifyDatasAfsTotalConfData["Category"].isNull())
|
||||
ncTotalConfVerifyDatasObject.category = valueNcTotalConfVerifyDatasAfsTotalConfData["Category"].asString();
|
||||
if(!valueNcTotalConfVerifyDatasAfsTotalConfData["Value"].isNull())
|
||||
ncTotalConfVerifyDatasObject.value = std::stol(valueNcTotalConfVerifyDatasAfsTotalConfData["Value"].asString());
|
||||
ncTotalConfVerifyDatas_.push_back(ncTotalConfVerifyDatasObject);
|
||||
}
|
||||
auto allNcTotalConfSigDatasNode = value["NcTotalConfSigDatas"]["AfsTotalConfData"];
|
||||
for (auto valueNcTotalConfSigDatasAfsTotalConfData : allNcTotalConfSigDatasNode)
|
||||
{
|
||||
AfsTotalConfData ncTotalConfSigDatasObject;
|
||||
if(!valueNcTotalConfSigDatasAfsTotalConfData["Time"].isNull())
|
||||
ncTotalConfSigDatasObject.time = valueNcTotalConfSigDatasAfsTotalConfData["Time"].asString();
|
||||
if(!valueNcTotalConfSigDatasAfsTotalConfData["Category"].isNull())
|
||||
ncTotalConfSigDatasObject.category = valueNcTotalConfSigDatasAfsTotalConfData["Category"].asString();
|
||||
if(!valueNcTotalConfSigDatasAfsTotalConfData["Value"].isNull())
|
||||
ncTotalConfSigDatasObject.value = std::stol(valueNcTotalConfSigDatasAfsTotalConfData["Value"].asString());
|
||||
ncTotalConfSigDatas_.push_back(ncTotalConfSigDatasObject);
|
||||
}
|
||||
auto allNcTotalConfBlockDatasNode = value["NcTotalConfBlockDatas"]["AfsTotalConfData"];
|
||||
for (auto valueNcTotalConfBlockDatasAfsTotalConfData : allNcTotalConfBlockDatasNode)
|
||||
{
|
||||
AfsTotalConfData ncTotalConfBlockDatasObject;
|
||||
if(!valueNcTotalConfBlockDatasAfsTotalConfData["Time"].isNull())
|
||||
ncTotalConfBlockDatasObject.time = valueNcTotalConfBlockDatasAfsTotalConfData["Time"].asString();
|
||||
if(!valueNcTotalConfBlockDatasAfsTotalConfData["Category"].isNull())
|
||||
ncTotalConfBlockDatasObject.category = valueNcTotalConfBlockDatasAfsTotalConfData["Category"].asString();
|
||||
if(!valueNcTotalConfBlockDatasAfsTotalConfData["Value"].isNull())
|
||||
ncTotalConfBlockDatasObject.value = std::stol(valueNcTotalConfBlockDatasAfsTotalConfData["Value"].asString());
|
||||
ncTotalConfBlockDatas_.push_back(ncTotalConfBlockDatasObject);
|
||||
}
|
||||
auto allIcTotalConfVerifyDatasNode = value["IcTotalConfVerifyDatas"]["AfsTotalConfData"];
|
||||
for (auto valueIcTotalConfVerifyDatasAfsTotalConfData : allIcTotalConfVerifyDatasNode)
|
||||
{
|
||||
AfsTotalConfData icTotalConfVerifyDatasObject;
|
||||
if(!valueIcTotalConfVerifyDatasAfsTotalConfData["Time"].isNull())
|
||||
icTotalConfVerifyDatasObject.time = valueIcTotalConfVerifyDatasAfsTotalConfData["Time"].asString();
|
||||
if(!valueIcTotalConfVerifyDatasAfsTotalConfData["Category"].isNull())
|
||||
icTotalConfVerifyDatasObject.category = valueIcTotalConfVerifyDatasAfsTotalConfData["Category"].asString();
|
||||
if(!valueIcTotalConfVerifyDatasAfsTotalConfData["Value"].isNull())
|
||||
icTotalConfVerifyDatasObject.value = std::stol(valueIcTotalConfVerifyDatasAfsTotalConfData["Value"].asString());
|
||||
icTotalConfVerifyDatas_.push_back(icTotalConfVerifyDatasObject);
|
||||
}
|
||||
auto allIcTotalConfSecVerifyDatasNode = value["IcTotalConfSecVerifyDatas"]["AfsTotalConfData"];
|
||||
for (auto valueIcTotalConfSecVerifyDatasAfsTotalConfData : allIcTotalConfSecVerifyDatasNode)
|
||||
{
|
||||
AfsTotalConfData icTotalConfSecVerifyDatasObject;
|
||||
if(!valueIcTotalConfSecVerifyDatasAfsTotalConfData["Time"].isNull())
|
||||
icTotalConfSecVerifyDatasObject.time = valueIcTotalConfSecVerifyDatasAfsTotalConfData["Time"].asString();
|
||||
if(!valueIcTotalConfSecVerifyDatasAfsTotalConfData["Category"].isNull())
|
||||
icTotalConfSecVerifyDatasObject.category = valueIcTotalConfSecVerifyDatasAfsTotalConfData["Category"].asString();
|
||||
if(!valueIcTotalConfSecVerifyDatasAfsTotalConfData["Value"].isNull())
|
||||
icTotalConfSecVerifyDatasObject.value = std::stol(valueIcTotalConfSecVerifyDatasAfsTotalConfData["Value"].asString());
|
||||
icTotalConfSecVerifyDatas_.push_back(icTotalConfSecVerifyDatasObject);
|
||||
}
|
||||
auto allIcTotalConfSigDatasNode = value["IcTotalConfSigDatas"]["AfsTotalConfData"];
|
||||
for (auto valueIcTotalConfSigDatasAfsTotalConfData : allIcTotalConfSigDatasNode)
|
||||
{
|
||||
AfsTotalConfData icTotalConfSigDatasObject;
|
||||
if(!valueIcTotalConfSigDatasAfsTotalConfData["Time"].isNull())
|
||||
icTotalConfSigDatasObject.time = valueIcTotalConfSigDatasAfsTotalConfData["Time"].asString();
|
||||
if(!valueIcTotalConfSigDatasAfsTotalConfData["Category"].isNull())
|
||||
icTotalConfSigDatasObject.category = valueIcTotalConfSigDatasAfsTotalConfData["Category"].asString();
|
||||
if(!valueIcTotalConfSigDatasAfsTotalConfData["Value"].isNull())
|
||||
icTotalConfSigDatasObject.value = std::stol(valueIcTotalConfSigDatasAfsTotalConfData["Value"].asString());
|
||||
icTotalConfSigDatas_.push_back(icTotalConfSigDatasObject);
|
||||
}
|
||||
auto allIcTotalConfBlockDatasNode = value["IcTotalConfBlockDatas"]["AfsTotalConfData"];
|
||||
for (auto valueIcTotalConfBlockDatasAfsTotalConfData : allIcTotalConfBlockDatasNode)
|
||||
{
|
||||
AfsTotalConfData icTotalConfBlockDatasObject;
|
||||
if(!valueIcTotalConfBlockDatasAfsTotalConfData["Time"].isNull())
|
||||
icTotalConfBlockDatasObject.time = valueIcTotalConfBlockDatasAfsTotalConfData["Time"].asString();
|
||||
if(!valueIcTotalConfBlockDatasAfsTotalConfData["Category"].isNull())
|
||||
icTotalConfBlockDatasObject.category = valueIcTotalConfBlockDatasAfsTotalConfData["Category"].asString();
|
||||
if(!valueIcTotalConfBlockDatasAfsTotalConfData["Value"].isNull())
|
||||
icTotalConfBlockDatasObject.value = std::stol(valueIcTotalConfBlockDatasAfsTotalConfData["Value"].asString());
|
||||
icTotalConfBlockDatas_.push_back(icTotalConfBlockDatasObject);
|
||||
}
|
||||
auto allNvcTotalConfVerifyDatasNode = value["NvcTotalConfVerifyDatas"]["AfsTotalConfData"];
|
||||
for (auto valueNvcTotalConfVerifyDatasAfsTotalConfData : allNvcTotalConfVerifyDatasNode)
|
||||
{
|
||||
AfsTotalConfData nvcTotalConfVerifyDatasObject;
|
||||
if(!valueNvcTotalConfVerifyDatasAfsTotalConfData["Time"].isNull())
|
||||
nvcTotalConfVerifyDatasObject.time = valueNvcTotalConfVerifyDatasAfsTotalConfData["Time"].asString();
|
||||
if(!valueNvcTotalConfVerifyDatasAfsTotalConfData["Category"].isNull())
|
||||
nvcTotalConfVerifyDatasObject.category = valueNvcTotalConfVerifyDatasAfsTotalConfData["Category"].asString();
|
||||
if(!valueNvcTotalConfVerifyDatasAfsTotalConfData["Value"].isNull())
|
||||
nvcTotalConfVerifyDatasObject.value = std::stol(valueNvcTotalConfVerifyDatasAfsTotalConfData["Value"].asString());
|
||||
nvcTotalConfVerifyDatas_.push_back(nvcTotalConfVerifyDatasObject);
|
||||
}
|
||||
auto allNvcTotalConfSecVerifyDatasNode = value["NvcTotalConfSecVerifyDatas"]["AfsTotalConfData"];
|
||||
for (auto valueNvcTotalConfSecVerifyDatasAfsTotalConfData : allNvcTotalConfSecVerifyDatasNode)
|
||||
{
|
||||
AfsTotalConfData nvcTotalConfSecVerifyDatasObject;
|
||||
if(!valueNvcTotalConfSecVerifyDatasAfsTotalConfData["Time"].isNull())
|
||||
nvcTotalConfSecVerifyDatasObject.time = valueNvcTotalConfSecVerifyDatasAfsTotalConfData["Time"].asString();
|
||||
if(!valueNvcTotalConfSecVerifyDatasAfsTotalConfData["Category"].isNull())
|
||||
nvcTotalConfSecVerifyDatasObject.category = valueNvcTotalConfSecVerifyDatasAfsTotalConfData["Category"].asString();
|
||||
if(!valueNvcTotalConfSecVerifyDatasAfsTotalConfData["Value"].isNull())
|
||||
nvcTotalConfSecVerifyDatasObject.value = std::stol(valueNvcTotalConfSecVerifyDatasAfsTotalConfData["Value"].asString());
|
||||
nvcTotalConfSecVerifyDatas_.push_back(nvcTotalConfSecVerifyDatasObject);
|
||||
}
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["HasData"].isNull())
|
||||
hasData_ = value["HasData"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsTotalConfDataResult::AfsTotalConfData> DescribeAfsTotalConfDataResult::getIcTotalConfSigDatas()const
|
||||
{
|
||||
return icTotalConfSigDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsTotalConfDataResult::AfsTotalConfData> DescribeAfsTotalConfDataResult::getNvcTotalConfSecVerifyDatas()const
|
||||
{
|
||||
return nvcTotalConfSecVerifyDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsTotalConfDataResult::AfsTotalConfData> DescribeAfsTotalConfDataResult::getIcTotalConfVerifyDatas()const
|
||||
{
|
||||
return icTotalConfVerifyDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsTotalConfDataResult::AfsTotalConfData> DescribeAfsTotalConfDataResult::getNvcTotalConfVerifyDatas()const
|
||||
{
|
||||
return nvcTotalConfVerifyDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsTotalConfDataResult::AfsTotalConfData> DescribeAfsTotalConfDataResult::getIcTotalConfSecVerifyDatas()const
|
||||
{
|
||||
return icTotalConfSecVerifyDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsTotalConfDataResult::AfsTotalConfData> DescribeAfsTotalConfDataResult::getNcTotalConfBlockDatas()const
|
||||
{
|
||||
return ncTotalConfBlockDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsTotalConfDataResult::AfsTotalConfData> DescribeAfsTotalConfDataResult::getNcTotalConfSigDatas()const
|
||||
{
|
||||
return ncTotalConfSigDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsTotalConfDataResult::AfsTotalConfData> DescribeAfsTotalConfDataResult::getIcTotalConfBlockDatas()const
|
||||
{
|
||||
return icTotalConfBlockDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsTotalConfDataResult::AfsTotalConfData> DescribeAfsTotalConfDataResult::getNcTotalConfVerifyDatas()const
|
||||
{
|
||||
return ncTotalConfVerifyDatas_;
|
||||
}
|
||||
|
||||
std::string DescribeAfsTotalConfDataResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
bool DescribeAfsTotalConfDataResult::getHasData()const
|
||||
{
|
||||
return hasData_;
|
||||
}
|
||||
|
||||
73
afs/src/model/DescribeAfsVerifySigDataRequest.cc
Normal file
73
afs/src/model/DescribeAfsVerifySigDataRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/afs/model/DescribeAfsVerifySigDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Afs::Model::DescribeAfsVerifySigDataRequest;
|
||||
|
||||
DescribeAfsVerifySigDataRequest::DescribeAfsVerifySigDataRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "DescribeAfsVerifySigData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAfsVerifySigDataRequest::~DescribeAfsVerifySigDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAfsVerifySigDataRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void DescribeAfsVerifySigDataRequest::setScene(const std::string& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
setParameter("Scene", scene);
|
||||
}
|
||||
|
||||
std::string DescribeAfsVerifySigDataRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeAfsVerifySigDataRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeAfsVerifySigDataRequest::getProductName()const
|
||||
{
|
||||
return productName_;
|
||||
}
|
||||
|
||||
void DescribeAfsVerifySigDataRequest::setProductName(const std::string& productName)
|
||||
{
|
||||
productName_ = productName;
|
||||
setParameter("ProductName", productName);
|
||||
}
|
||||
|
||||
std::string DescribeAfsVerifySigDataRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void DescribeAfsVerifySigDataRequest::setAppKey(const std::string& appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", appKey);
|
||||
}
|
||||
|
||||
185
afs/src/model/DescribeAfsVerifySigDataResult.cc
Normal file
185
afs/src/model/DescribeAfsVerifySigDataResult.cc
Normal file
@@ -0,0 +1,185 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/afs/model/DescribeAfsVerifySigDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Afs;
|
||||
using namespace AlibabaCloud::Afs::Model;
|
||||
|
||||
DescribeAfsVerifySigDataResult::DescribeAfsVerifySigDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeAfsVerifySigDataResult::DescribeAfsVerifySigDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeAfsVerifySigDataResult::~DescribeAfsVerifySigDataResult()
|
||||
{}
|
||||
|
||||
void DescribeAfsVerifySigDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allNcVerifyDatasNode = value["NcVerifyDatas"]["AfsNcVerifyData"];
|
||||
for (auto valueNcVerifyDatasAfsNcVerifyData : allNcVerifyDatasNode)
|
||||
{
|
||||
AfsNcVerifyData ncVerifyDatasObject;
|
||||
if(!valueNcVerifyDatasAfsNcVerifyData["Time"].isNull())
|
||||
ncVerifyDatasObject.time = valueNcVerifyDatasAfsNcVerifyData["Time"].asString();
|
||||
if(!valueNcVerifyDatasAfsNcVerifyData["NcVerifyPass"].isNull())
|
||||
ncVerifyDatasObject.ncVerifyPass = std::stol(valueNcVerifyDatasAfsNcVerifyData["NcVerifyPass"].asString());
|
||||
if(!valueNcVerifyDatasAfsNcVerifyData["NcVerifyBlock"].isNull())
|
||||
ncVerifyDatasObject.ncVerifyBlock = std::stol(valueNcVerifyDatasAfsNcVerifyData["NcVerifyBlock"].asString());
|
||||
ncVerifyDatas_.push_back(ncVerifyDatasObject);
|
||||
}
|
||||
auto allNcSigDatasNode = value["NcSigDatas"]["AfsNcSigData"];
|
||||
for (auto valueNcSigDatasAfsNcSigData : allNcSigDatasNode)
|
||||
{
|
||||
AfsNcSigData ncSigDatasObject;
|
||||
if(!valueNcSigDatasAfsNcSigData["Time"].isNull())
|
||||
ncSigDatasObject.time = valueNcSigDatasAfsNcSigData["Time"].asString();
|
||||
if(!valueNcSigDatasAfsNcSigData["NcSigPass"].isNull())
|
||||
ncSigDatasObject.ncSigPass = std::stol(valueNcSigDatasAfsNcSigData["NcSigPass"].asString());
|
||||
if(!valueNcSigDatasAfsNcSigData["NcSigBlock"].isNull())
|
||||
ncSigDatasObject.ncSigBlock = std::stol(valueNcSigDatasAfsNcSigData["NcSigBlock"].asString());
|
||||
ncSigDatas_.push_back(ncSigDatasObject);
|
||||
}
|
||||
auto allIcSecVerifyDatasNode = value["IcSecVerifyDatas"]["AfsIcSecVerifyData"];
|
||||
for (auto valueIcSecVerifyDatasAfsIcSecVerifyData : allIcSecVerifyDatasNode)
|
||||
{
|
||||
AfsIcSecVerifyData icSecVerifyDatasObject;
|
||||
if(!valueIcSecVerifyDatasAfsIcSecVerifyData["Time"].isNull())
|
||||
icSecVerifyDatasObject.time = valueIcSecVerifyDatasAfsIcSecVerifyData["Time"].asString();
|
||||
if(!valueIcSecVerifyDatasAfsIcSecVerifyData["IcSecPass"].isNull())
|
||||
icSecVerifyDatasObject.icSecPass = std::stol(valueIcSecVerifyDatasAfsIcSecVerifyData["IcSecPass"].asString());
|
||||
if(!valueIcSecVerifyDatasAfsIcSecVerifyData["IcSecBlock"].isNull())
|
||||
icSecVerifyDatasObject.icSecBlock = std::stol(valueIcSecVerifyDatasAfsIcSecVerifyData["IcSecBlock"].asString());
|
||||
icSecVerifyDatas_.push_back(icSecVerifyDatasObject);
|
||||
}
|
||||
auto allIcVerifyDatasNode = value["IcVerifyDatas"]["AfsIcVerifyData"];
|
||||
for (auto valueIcVerifyDatasAfsIcVerifyData : allIcVerifyDatasNode)
|
||||
{
|
||||
AfsIcVerifyData icVerifyDatasObject;
|
||||
if(!valueIcVerifyDatasAfsIcVerifyData["Time"].isNull())
|
||||
icVerifyDatasObject.time = valueIcVerifyDatasAfsIcVerifyData["Time"].asString();
|
||||
if(!valueIcVerifyDatasAfsIcVerifyData["IcVerifyCnt"].isNull())
|
||||
icVerifyDatasObject.icVerifyCnt = std::stol(valueIcVerifyDatasAfsIcVerifyData["IcVerifyCnt"].asString());
|
||||
if(!valueIcVerifyDatasAfsIcVerifyData["IcSecVerifyCnt"].isNull())
|
||||
icVerifyDatasObject.icSecVerifyCnt = std::stol(valueIcVerifyDatasAfsIcVerifyData["IcSecVerifyCnt"].asString());
|
||||
if(!valueIcVerifyDatasAfsIcVerifyData["IcSigCnt"].isNull())
|
||||
icVerifyDatasObject.icSigCnt = std::stol(valueIcVerifyDatasAfsIcVerifyData["IcSigCnt"].asString());
|
||||
if(!valueIcVerifyDatasAfsIcVerifyData["IcBlockCnt"].isNull())
|
||||
icVerifyDatasObject.icBlockCnt = std::stol(valueIcVerifyDatasAfsIcVerifyData["IcBlockCnt"].asString());
|
||||
icVerifyDatas_.push_back(icVerifyDatasObject);
|
||||
}
|
||||
auto allNvcVerifyDatasNode = value["NvcVerifyDatas"]["AfsNvcVerifyData"];
|
||||
for (auto valueNvcVerifyDatasAfsNvcVerifyData : allNvcVerifyDatasNode)
|
||||
{
|
||||
AfsNvcVerifyData nvcVerifyDatasObject;
|
||||
if(!valueNvcVerifyDatasAfsNvcVerifyData["Time"].isNull())
|
||||
nvcVerifyDatasObject.time = valueNvcVerifyDatasAfsNvcVerifyData["Time"].asString();
|
||||
if(!valueNvcVerifyDatasAfsNvcVerifyData["NvcVerifyCnt"].isNull())
|
||||
nvcVerifyDatasObject.nvcVerifyCnt = std::stol(valueNvcVerifyDatasAfsNvcVerifyData["NvcVerifyCnt"].asString());
|
||||
if(!valueNvcVerifyDatasAfsNvcVerifyData["NvcSecVerifyCnt"].isNull())
|
||||
nvcVerifyDatasObject.nvcSecVerifyCnt = std::stol(valueNvcVerifyDatasAfsNvcVerifyData["NvcSecVerifyCnt"].asString());
|
||||
nvcVerifyDatas_.push_back(nvcVerifyDatasObject);
|
||||
}
|
||||
auto allNvcSecDatasNode = value["NvcSecDatas"]["AfsNvcSecData"];
|
||||
for (auto valueNvcSecDatasAfsNvcSecData : allNvcSecDatasNode)
|
||||
{
|
||||
AfsNvcSecData nvcSecDatasObject;
|
||||
if(!valueNvcSecDatasAfsNvcSecData["Time"].isNull())
|
||||
nvcSecDatasObject.time = valueNvcSecDatasAfsNvcSecData["Time"].asString();
|
||||
if(!valueNvcSecDatasAfsNvcSecData["NvcSecPass"].isNull())
|
||||
nvcSecDatasObject.nvcSecPass = std::stol(valueNvcSecDatasAfsNvcSecData["NvcSecPass"].asString());
|
||||
if(!valueNvcSecDatasAfsNvcSecData["NvcSecBlock"].isNull())
|
||||
nvcSecDatasObject.nvcSecBlock = std::stol(valueNvcSecDatasAfsNvcSecData["NvcSecBlock"].asString());
|
||||
nvcSecDatas_.push_back(nvcSecDatasObject);
|
||||
}
|
||||
auto allNvcCodeDatasNode = value["NvcCodeDatas"]["AfsNvcCodeData"];
|
||||
for (auto valueNvcCodeDatasAfsNvcCodeData : allNvcCodeDatasNode)
|
||||
{
|
||||
AfsNvcCodeData nvcCodeDatasObject;
|
||||
if(!valueNvcCodeDatasAfsNvcCodeData["Time"].isNull())
|
||||
nvcCodeDatasObject.time = valueNvcCodeDatasAfsNvcCodeData["Time"].asString();
|
||||
if(!valueNvcCodeDatasAfsNvcCodeData["NvcCode200"].isNull())
|
||||
nvcCodeDatasObject.nvcCode200 = std::stol(valueNvcCodeDatasAfsNvcCodeData["NvcCode200"].asString());
|
||||
if(!valueNvcCodeDatasAfsNvcCodeData["NvcCode400"].isNull())
|
||||
nvcCodeDatasObject.nvcCode400 = std::stol(valueNvcCodeDatasAfsNvcCodeData["NvcCode400"].asString());
|
||||
if(!valueNvcCodeDatasAfsNvcCodeData["NvcCode600"].isNull())
|
||||
nvcCodeDatasObject.nvcCode600 = std::stol(valueNvcCodeDatasAfsNvcCodeData["NvcCode600"].asString());
|
||||
if(!valueNvcCodeDatasAfsNvcCodeData["NvcCode800"].isNull())
|
||||
nvcCodeDatasObject.nvcCode800 = std::stol(valueNvcCodeDatasAfsNvcCodeData["NvcCode800"].asString());
|
||||
nvcCodeDatas_.push_back(nvcCodeDatasObject);
|
||||
}
|
||||
if(!value["BizCode"].isNull())
|
||||
bizCode_ = value["BizCode"].asString();
|
||||
if(!value["HasData"].isNull())
|
||||
hasData_ = value["HasData"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsVerifySigDataResult::AfsNvcCodeData> DescribeAfsVerifySigDataResult::getNvcCodeDatas()const
|
||||
{
|
||||
return nvcCodeDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsVerifySigDataResult::AfsNvcSecData> DescribeAfsVerifySigDataResult::getNvcSecDatas()const
|
||||
{
|
||||
return nvcSecDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsVerifySigDataResult::AfsIcVerifyData> DescribeAfsVerifySigDataResult::getIcVerifyDatas()const
|
||||
{
|
||||
return icVerifyDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsVerifySigDataResult::AfsNcVerifyData> DescribeAfsVerifySigDataResult::getNcVerifyDatas()const
|
||||
{
|
||||
return ncVerifyDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsVerifySigDataResult::AfsIcSecVerifyData> DescribeAfsVerifySigDataResult::getIcSecVerifyDatas()const
|
||||
{
|
||||
return icSecVerifyDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsVerifySigDataResult::AfsNvcVerifyData> DescribeAfsVerifySigDataResult::getNvcVerifyDatas()const
|
||||
{
|
||||
return nvcVerifyDatas_;
|
||||
}
|
||||
|
||||
std::vector<DescribeAfsVerifySigDataResult::AfsNcSigData> DescribeAfsVerifySigDataResult::getNcSigDatas()const
|
||||
{
|
||||
return ncSigDatas_;
|
||||
}
|
||||
|
||||
std::string DescribeAfsVerifySigDataResult::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
bool DescribeAfsVerifySigDataResult::getHasData()const
|
||||
{
|
||||
return hasData_;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Afs::Model::DescribeCaptchaDayRequest;
|
||||
|
||||
DescribeCaptchaDayRequest::DescribeCaptchaDayRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "DescribeCaptchaDay")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCaptchaDayRequest::~DescribeCaptchaDayRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DescribeCaptchaDayRequest::getType()const
|
||||
void DescribeCaptchaDayRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setCoreParameter("Type", type);
|
||||
setParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaDayRequest::getSourceIp()const
|
||||
@@ -44,7 +46,7 @@ std::string DescribeCaptchaDayRequest::getSourceIp()const
|
||||
void DescribeCaptchaDayRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaDayRequest::getConfigName()const
|
||||
@@ -55,7 +57,7 @@ std::string DescribeCaptchaDayRequest::getConfigName()const
|
||||
void DescribeCaptchaDayRequest::setConfigName(const std::string& configName)
|
||||
{
|
||||
configName_ = configName;
|
||||
setCoreParameter("ConfigName", configName);
|
||||
setParameter("ConfigName", configName);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaDayRequest::getRefExtId()const
|
||||
@@ -66,7 +68,7 @@ std::string DescribeCaptchaDayRequest::getRefExtId()const
|
||||
void DescribeCaptchaDayRequest::setRefExtId(const std::string& refExtId)
|
||||
{
|
||||
refExtId_ = refExtId;
|
||||
setCoreParameter("RefExtId", refExtId);
|
||||
setParameter("RefExtId", refExtId);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaDayRequest::getTime()const
|
||||
@@ -77,6 +79,6 @@ std::string DescribeCaptchaDayRequest::getTime()const
|
||||
void DescribeCaptchaDayRequest::setTime(const std::string& time)
|
||||
{
|
||||
time_ = time;
|
||||
setCoreParameter("Time", time);
|
||||
setParameter("Time", time);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Afs::Model::DescribeCaptchaIpCityRequest;
|
||||
|
||||
DescribeCaptchaIpCityRequest::DescribeCaptchaIpCityRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "DescribeCaptchaIpCity")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCaptchaIpCityRequest::~DescribeCaptchaIpCityRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DescribeCaptchaIpCityRequest::getType()const
|
||||
void DescribeCaptchaIpCityRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setCoreParameter("Type", type);
|
||||
setParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaIpCityRequest::getSourceIp()const
|
||||
@@ -44,7 +46,7 @@ std::string DescribeCaptchaIpCityRequest::getSourceIp()const
|
||||
void DescribeCaptchaIpCityRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaIpCityRequest::getConfigName()const
|
||||
@@ -55,7 +57,7 @@ std::string DescribeCaptchaIpCityRequest::getConfigName()const
|
||||
void DescribeCaptchaIpCityRequest::setConfigName(const std::string& configName)
|
||||
{
|
||||
configName_ = configName;
|
||||
setCoreParameter("ConfigName", configName);
|
||||
setParameter("ConfigName", configName);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaIpCityRequest::getRefExtId()const
|
||||
@@ -66,7 +68,7 @@ std::string DescribeCaptchaIpCityRequest::getRefExtId()const
|
||||
void DescribeCaptchaIpCityRequest::setRefExtId(const std::string& refExtId)
|
||||
{
|
||||
refExtId_ = refExtId;
|
||||
setCoreParameter("RefExtId", refExtId);
|
||||
setParameter("RefExtId", refExtId);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaIpCityRequest::getTime()const
|
||||
@@ -77,6 +79,6 @@ std::string DescribeCaptchaIpCityRequest::getTime()const
|
||||
void DescribeCaptchaIpCityRequest::setTime(const std::string& time)
|
||||
{
|
||||
time_ = time;
|
||||
setCoreParameter("Time", time);
|
||||
setParameter("Time", time);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Afs::Model::DescribeCaptchaMinRequest;
|
||||
|
||||
DescribeCaptchaMinRequest::DescribeCaptchaMinRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "DescribeCaptchaMin")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCaptchaMinRequest::~DescribeCaptchaMinRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DescribeCaptchaMinRequest::getType()const
|
||||
void DescribeCaptchaMinRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setCoreParameter("Type", type);
|
||||
setParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaMinRequest::getSourceIp()const
|
||||
@@ -44,7 +46,7 @@ std::string DescribeCaptchaMinRequest::getSourceIp()const
|
||||
void DescribeCaptchaMinRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaMinRequest::getConfigName()const
|
||||
@@ -55,7 +57,7 @@ std::string DescribeCaptchaMinRequest::getConfigName()const
|
||||
void DescribeCaptchaMinRequest::setConfigName(const std::string& configName)
|
||||
{
|
||||
configName_ = configName;
|
||||
setCoreParameter("ConfigName", configName);
|
||||
setParameter("ConfigName", configName);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaMinRequest::getRefExtId()const
|
||||
@@ -66,7 +68,7 @@ std::string DescribeCaptchaMinRequest::getRefExtId()const
|
||||
void DescribeCaptchaMinRequest::setRefExtId(const std::string& refExtId)
|
||||
{
|
||||
refExtId_ = refExtId;
|
||||
setCoreParameter("RefExtId", refExtId);
|
||||
setParameter("RefExtId", refExtId);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaMinRequest::getTime()const
|
||||
@@ -77,6 +79,6 @@ std::string DescribeCaptchaMinRequest::getTime()const
|
||||
void DescribeCaptchaMinRequest::setTime(const std::string& time)
|
||||
{
|
||||
time_ = time;
|
||||
setCoreParameter("Time", time);
|
||||
setParameter("Time", time);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Afs::Model::DescribeCaptchaOrderRequest;
|
||||
|
||||
DescribeCaptchaOrderRequest::DescribeCaptchaOrderRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "DescribeCaptchaOrder")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCaptchaOrderRequest::~DescribeCaptchaOrderRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DescribeCaptchaOrderRequest::getSourceIp()const
|
||||
void DescribeCaptchaOrderRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaOrderRequest::getLang()const
|
||||
@@ -44,6 +46,6 @@ std::string DescribeCaptchaOrderRequest::getLang()const
|
||||
void DescribeCaptchaOrderRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Afs::Model::DescribeCaptchaRiskRequest;
|
||||
|
||||
DescribeCaptchaRiskRequest::DescribeCaptchaRiskRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "DescribeCaptchaRisk")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCaptchaRiskRequest::~DescribeCaptchaRiskRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DescribeCaptchaRiskRequest::getSourceIp()const
|
||||
void DescribeCaptchaRiskRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaRiskRequest::getConfigName()const
|
||||
@@ -44,7 +46,7 @@ std::string DescribeCaptchaRiskRequest::getConfigName()const
|
||||
void DescribeCaptchaRiskRequest::setConfigName(const std::string& configName)
|
||||
{
|
||||
configName_ = configName;
|
||||
setCoreParameter("ConfigName", configName);
|
||||
setParameter("ConfigName", configName);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaRiskRequest::getRefExtId()const
|
||||
@@ -55,7 +57,7 @@ std::string DescribeCaptchaRiskRequest::getRefExtId()const
|
||||
void DescribeCaptchaRiskRequest::setRefExtId(const std::string& refExtId)
|
||||
{
|
||||
refExtId_ = refExtId;
|
||||
setCoreParameter("RefExtId", refExtId);
|
||||
setParameter("RefExtId", refExtId);
|
||||
}
|
||||
|
||||
std::string DescribeCaptchaRiskRequest::getTime()const
|
||||
@@ -66,6 +68,6 @@ std::string DescribeCaptchaRiskRequest::getTime()const
|
||||
void DescribeCaptchaRiskRequest::setTime(const std::string& time)
|
||||
{
|
||||
time_ = time;
|
||||
setCoreParameter("Time", time);
|
||||
setParameter("Time", time);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Afs::Model::DescribeConfigNameRequest;
|
||||
|
||||
DescribeConfigNameRequest::DescribeConfigNameRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "DescribeConfigName")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeConfigNameRequest::~DescribeConfigNameRequest()
|
||||
{}
|
||||
@@ -33,6 +35,6 @@ std::string DescribeConfigNameRequest::getSourceIp()const
|
||||
void DescribeConfigNameRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Afs::Model::DescribeEarlyWarningRequest;
|
||||
|
||||
DescribeEarlyWarningRequest::DescribeEarlyWarningRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "DescribeEarlyWarning")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeEarlyWarningRequest::~DescribeEarlyWarningRequest()
|
||||
{}
|
||||
@@ -33,6 +35,6 @@ std::string DescribeEarlyWarningRequest::getSourceIp()const
|
||||
void DescribeEarlyWarningRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Afs::Model::DescribeOrderInfoRequest;
|
||||
|
||||
DescribeOrderInfoRequest::DescribeOrderInfoRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "DescribeOrderInfo")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeOrderInfoRequest::~DescribeOrderInfoRequest()
|
||||
{}
|
||||
@@ -33,6 +35,6 @@ std::string DescribeOrderInfoRequest::getSourceIp()const
|
||||
void DescribeOrderInfoRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Afs::Model::DescribePersonMachineListRequest;
|
||||
|
||||
DescribePersonMachineListRequest::DescribePersonMachineListRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "DescribePersonMachineList")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribePersonMachineListRequest::~DescribePersonMachineListRequest()
|
||||
{}
|
||||
@@ -33,6 +35,6 @@ std::string DescribePersonMachineListRequest::getSourceIp()const
|
||||
void DescribePersonMachineListRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Afs::Model::SetEarlyWarningRequest;
|
||||
|
||||
SetEarlyWarningRequest::SetEarlyWarningRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "SetEarlyWarning")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetEarlyWarningRequest::~SetEarlyWarningRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string SetEarlyWarningRequest::getTimeEnd()const
|
||||
void SetEarlyWarningRequest::setTimeEnd(const std::string& timeEnd)
|
||||
{
|
||||
timeEnd_ = timeEnd;
|
||||
setCoreParameter("TimeEnd", timeEnd);
|
||||
setParameter("TimeEnd", timeEnd);
|
||||
}
|
||||
|
||||
std::string SetEarlyWarningRequest::getChannel()const
|
||||
@@ -44,7 +46,7 @@ std::string SetEarlyWarningRequest::getChannel()const
|
||||
void SetEarlyWarningRequest::setChannel(const std::string& channel)
|
||||
{
|
||||
channel_ = channel;
|
||||
setCoreParameter("Channel", channel);
|
||||
setParameter("Channel", channel);
|
||||
}
|
||||
|
||||
std::string SetEarlyWarningRequest::getTitle()const
|
||||
@@ -55,7 +57,7 @@ std::string SetEarlyWarningRequest::getTitle()const
|
||||
void SetEarlyWarningRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setCoreParameter("Title", title);
|
||||
setParameter("Title", title);
|
||||
}
|
||||
|
||||
std::string SetEarlyWarningRequest::getFrequency()const
|
||||
@@ -66,7 +68,7 @@ std::string SetEarlyWarningRequest::getFrequency()const
|
||||
void SetEarlyWarningRequest::setFrequency(const std::string& frequency)
|
||||
{
|
||||
frequency_ = frequency;
|
||||
setCoreParameter("Frequency", frequency);
|
||||
setParameter("Frequency", frequency);
|
||||
}
|
||||
|
||||
std::string SetEarlyWarningRequest::getSourceIp()const
|
||||
@@ -77,7 +79,7 @@ std::string SetEarlyWarningRequest::getSourceIp()const
|
||||
void SetEarlyWarningRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
bool SetEarlyWarningRequest::getWarnOpen()const
|
||||
@@ -88,7 +90,7 @@ bool SetEarlyWarningRequest::getWarnOpen()const
|
||||
void SetEarlyWarningRequest::setWarnOpen(bool warnOpen)
|
||||
{
|
||||
warnOpen_ = warnOpen;
|
||||
setCoreParameter("WarnOpen", warnOpen ? "true" : "false");
|
||||
setParameter("WarnOpen", warnOpen ? "true" : "false");
|
||||
}
|
||||
|
||||
bool SetEarlyWarningRequest::getTimeOpen()const
|
||||
@@ -99,7 +101,7 @@ bool SetEarlyWarningRequest::getTimeOpen()const
|
||||
void SetEarlyWarningRequest::setTimeOpen(bool timeOpen)
|
||||
{
|
||||
timeOpen_ = timeOpen;
|
||||
setCoreParameter("TimeOpen", timeOpen ? "true" : "false");
|
||||
setParameter("TimeOpen", timeOpen ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SetEarlyWarningRequest::getTimeBegin()const
|
||||
@@ -110,6 +112,6 @@ std::string SetEarlyWarningRequest::getTimeBegin()const
|
||||
void SetEarlyWarningRequest::setTimeBegin(const std::string& timeBegin)
|
||||
{
|
||||
timeBegin_ = timeBegin;
|
||||
setCoreParameter("TimeBegin", timeBegin);
|
||||
setParameter("TimeBegin", timeBegin);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Afs::Model::UpdateConfigNameRequest;
|
||||
|
||||
UpdateConfigNameRequest::UpdateConfigNameRequest() :
|
||||
RpcServiceRequest("afs", "2018-01-12", "UpdateConfigName")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateConfigNameRequest::~UpdateConfigNameRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string UpdateConfigNameRequest::getSourceIp()const
|
||||
void UpdateConfigNameRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
setParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string UpdateConfigNameRequest::getConfigName()const
|
||||
@@ -44,7 +46,7 @@ std::string UpdateConfigNameRequest::getConfigName()const
|
||||
void UpdateConfigNameRequest::setConfigName(const std::string& configName)
|
||||
{
|
||||
configName_ = configName;
|
||||
setCoreParameter("ConfigName", configName);
|
||||
setParameter("ConfigName", configName);
|
||||
}
|
||||
|
||||
std::string UpdateConfigNameRequest::getRefExtId()const
|
||||
@@ -55,7 +57,7 @@ std::string UpdateConfigNameRequest::getRefExtId()const
|
||||
void UpdateConfigNameRequest::setRefExtId(const std::string& refExtId)
|
||||
{
|
||||
refExtId_ = refExtId;
|
||||
setCoreParameter("RefExtId", refExtId);
|
||||
setParameter("RefExtId", refExtId);
|
||||
}
|
||||
|
||||
std::string UpdateConfigNameRequest::getLang()const
|
||||
@@ -66,6 +68,6 @@ std::string UpdateConfigNameRequest::getLang()const
|
||||
void UpdateConfigNameRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user