Create TSDB Open api.
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
2020-12-23 Version: patch
|
||||||
|
- Create TSDB Open api.
|
||||||
|
|
||||||
2020-12-22 Version: patch
|
2020-12-22 Version: patch
|
||||||
- Minor chagnes.
|
- Minor chagnes.
|
||||||
|
|
||||||
|
|||||||
@@ -25,14 +25,8 @@ set(hitsdb_public_header_model
|
|||||||
include/alibabacloud/hitsdb/model/CreateHiTSDBInstanceResult.h
|
include/alibabacloud/hitsdb/model/CreateHiTSDBInstanceResult.h
|
||||||
include/alibabacloud/hitsdb/model/DeleteHiTSDBInstanceRequest.h
|
include/alibabacloud/hitsdb/model/DeleteHiTSDBInstanceRequest.h
|
||||||
include/alibabacloud/hitsdb/model/DeleteHiTSDBInstanceResult.h
|
include/alibabacloud/hitsdb/model/DeleteHiTSDBInstanceResult.h
|
||||||
include/alibabacloud/hitsdb/model/DeleteHiTSDBInstanceDataRequest.h
|
|
||||||
include/alibabacloud/hitsdb/model/DeleteHiTSDBInstanceDataResult.h
|
|
||||||
include/alibabacloud/hitsdb/model/DeleteHiTSDBInstanceMetaRequest.h
|
|
||||||
include/alibabacloud/hitsdb/model/DeleteHiTSDBInstanceMetaResult.h
|
|
||||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceRequest.h
|
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceRequest.h
|
||||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceResult.h
|
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceResult.h
|
||||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceDataTtlRequest.h
|
|
||||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceDataTtlResult.h
|
|
||||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceListRequest.h
|
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceListRequest.h
|
||||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceListResult.h
|
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceListResult.h
|
||||||
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceSecurityIpListRequest.h
|
include/alibabacloud/hitsdb/model/DescribeHiTSDBInstanceSecurityIpListRequest.h
|
||||||
@@ -41,16 +35,6 @@ set(hitsdb_public_header_model
|
|||||||
include/alibabacloud/hitsdb/model/DescribeRegionsResult.h
|
include/alibabacloud/hitsdb/model/DescribeRegionsResult.h
|
||||||
include/alibabacloud/hitsdb/model/DescribeZonesRequest.h
|
include/alibabacloud/hitsdb/model/DescribeZonesRequest.h
|
||||||
include/alibabacloud/hitsdb/model/DescribeZonesResult.h
|
include/alibabacloud/hitsdb/model/DescribeZonesResult.h
|
||||||
include/alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataRequest.h
|
|
||||||
include/alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataResult.h
|
|
||||||
include/alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataMetricListRequest.h
|
|
||||||
include/alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataMetricListResult.h
|
|
||||||
include/alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataTagKeyListRequest.h
|
|
||||||
include/alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataTagKeyListResult.h
|
|
||||||
include/alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataTagValueListRequest.h
|
|
||||||
include/alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataTagValueListResult.h
|
|
||||||
include/alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDeletionJobListRequest.h
|
|
||||||
include/alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDeletionJobListResult.h
|
|
||||||
include/alibabacloud/hitsdb/model/ModifyHiTSDBInstanceClassRequest.h
|
include/alibabacloud/hitsdb/model/ModifyHiTSDBInstanceClassRequest.h
|
||||||
include/alibabacloud/hitsdb/model/ModifyHiTSDBInstanceClassResult.h
|
include/alibabacloud/hitsdb/model/ModifyHiTSDBInstanceClassResult.h
|
||||||
include/alibabacloud/hitsdb/model/ModifyHiTSDBInstanceSecurityIpListRequest.h
|
include/alibabacloud/hitsdb/model/ModifyHiTSDBInstanceSecurityIpListRequest.h
|
||||||
@@ -62,9 +46,7 @@ set(hitsdb_public_header_model
|
|||||||
include/alibabacloud/hitsdb/model/RestartHiTSDBInstanceRequest.h
|
include/alibabacloud/hitsdb/model/RestartHiTSDBInstanceRequest.h
|
||||||
include/alibabacloud/hitsdb/model/RestartHiTSDBInstanceResult.h
|
include/alibabacloud/hitsdb/model/RestartHiTSDBInstanceResult.h
|
||||||
include/alibabacloud/hitsdb/model/SwitchHiTSDBInstancePublicNetRequest.h
|
include/alibabacloud/hitsdb/model/SwitchHiTSDBInstancePublicNetRequest.h
|
||||||
include/alibabacloud/hitsdb/model/SwitchHiTSDBInstancePublicNetResult.h
|
include/alibabacloud/hitsdb/model/SwitchHiTSDBInstancePublicNetResult.h )
|
||||||
include/alibabacloud/hitsdb/model/UpdateHiTSDBInstanceDataTtlRequest.h
|
|
||||||
include/alibabacloud/hitsdb/model/UpdateHiTSDBInstanceDataTtlResult.h )
|
|
||||||
|
|
||||||
set(hitsdb_src
|
set(hitsdb_src
|
||||||
src/HitsdbClient.cc
|
src/HitsdbClient.cc
|
||||||
@@ -72,14 +54,8 @@ set(hitsdb_src
|
|||||||
src/model/CreateHiTSDBInstanceResult.cc
|
src/model/CreateHiTSDBInstanceResult.cc
|
||||||
src/model/DeleteHiTSDBInstanceRequest.cc
|
src/model/DeleteHiTSDBInstanceRequest.cc
|
||||||
src/model/DeleteHiTSDBInstanceResult.cc
|
src/model/DeleteHiTSDBInstanceResult.cc
|
||||||
src/model/DeleteHiTSDBInstanceDataRequest.cc
|
|
||||||
src/model/DeleteHiTSDBInstanceDataResult.cc
|
|
||||||
src/model/DeleteHiTSDBInstanceMetaRequest.cc
|
|
||||||
src/model/DeleteHiTSDBInstanceMetaResult.cc
|
|
||||||
src/model/DescribeHiTSDBInstanceRequest.cc
|
src/model/DescribeHiTSDBInstanceRequest.cc
|
||||||
src/model/DescribeHiTSDBInstanceResult.cc
|
src/model/DescribeHiTSDBInstanceResult.cc
|
||||||
src/model/DescribeHiTSDBInstanceDataTtlRequest.cc
|
|
||||||
src/model/DescribeHiTSDBInstanceDataTtlResult.cc
|
|
||||||
src/model/DescribeHiTSDBInstanceListRequest.cc
|
src/model/DescribeHiTSDBInstanceListRequest.cc
|
||||||
src/model/DescribeHiTSDBInstanceListResult.cc
|
src/model/DescribeHiTSDBInstanceListResult.cc
|
||||||
src/model/DescribeHiTSDBInstanceSecurityIpListRequest.cc
|
src/model/DescribeHiTSDBInstanceSecurityIpListRequest.cc
|
||||||
@@ -88,16 +64,6 @@ set(hitsdb_src
|
|||||||
src/model/DescribeRegionsResult.cc
|
src/model/DescribeRegionsResult.cc
|
||||||
src/model/DescribeZonesRequest.cc
|
src/model/DescribeZonesRequest.cc
|
||||||
src/model/DescribeZonesResult.cc
|
src/model/DescribeZonesResult.cc
|
||||||
src/model/ExploreHiTSDBInstanceDataRequest.cc
|
|
||||||
src/model/ExploreHiTSDBInstanceDataResult.cc
|
|
||||||
src/model/ExploreHiTSDBInstanceDataMetricListRequest.cc
|
|
||||||
src/model/ExploreHiTSDBInstanceDataMetricListResult.cc
|
|
||||||
src/model/ExploreHiTSDBInstanceDataTagKeyListRequest.cc
|
|
||||||
src/model/ExploreHiTSDBInstanceDataTagKeyListResult.cc
|
|
||||||
src/model/ExploreHiTSDBInstanceDataTagValueListRequest.cc
|
|
||||||
src/model/ExploreHiTSDBInstanceDataTagValueListResult.cc
|
|
||||||
src/model/ExploreHiTSDBInstanceDeletionJobListRequest.cc
|
|
||||||
src/model/ExploreHiTSDBInstanceDeletionJobListResult.cc
|
|
||||||
src/model/ModifyHiTSDBInstanceClassRequest.cc
|
src/model/ModifyHiTSDBInstanceClassRequest.cc
|
||||||
src/model/ModifyHiTSDBInstanceClassResult.cc
|
src/model/ModifyHiTSDBInstanceClassResult.cc
|
||||||
src/model/ModifyHiTSDBInstanceSecurityIpListRequest.cc
|
src/model/ModifyHiTSDBInstanceSecurityIpListRequest.cc
|
||||||
@@ -109,9 +75,7 @@ set(hitsdb_src
|
|||||||
src/model/RestartHiTSDBInstanceRequest.cc
|
src/model/RestartHiTSDBInstanceRequest.cc
|
||||||
src/model/RestartHiTSDBInstanceResult.cc
|
src/model/RestartHiTSDBInstanceResult.cc
|
||||||
src/model/SwitchHiTSDBInstancePublicNetRequest.cc
|
src/model/SwitchHiTSDBInstancePublicNetRequest.cc
|
||||||
src/model/SwitchHiTSDBInstancePublicNetResult.cc
|
src/model/SwitchHiTSDBInstancePublicNetResult.cc )
|
||||||
src/model/UpdateHiTSDBInstanceDataTtlRequest.cc
|
|
||||||
src/model/UpdateHiTSDBInstanceDataTtlResult.cc )
|
|
||||||
|
|
||||||
add_library(hitsdb ${LIB_TYPE}
|
add_library(hitsdb ${LIB_TYPE}
|
||||||
${hitsdb_public_header}
|
${hitsdb_public_header}
|
||||||
|
|||||||
@@ -26,14 +26,8 @@
|
|||||||
#include "model/CreateHiTSDBInstanceResult.h"
|
#include "model/CreateHiTSDBInstanceResult.h"
|
||||||
#include "model/DeleteHiTSDBInstanceRequest.h"
|
#include "model/DeleteHiTSDBInstanceRequest.h"
|
||||||
#include "model/DeleteHiTSDBInstanceResult.h"
|
#include "model/DeleteHiTSDBInstanceResult.h"
|
||||||
#include "model/DeleteHiTSDBInstanceDataRequest.h"
|
|
||||||
#include "model/DeleteHiTSDBInstanceDataResult.h"
|
|
||||||
#include "model/DeleteHiTSDBInstanceMetaRequest.h"
|
|
||||||
#include "model/DeleteHiTSDBInstanceMetaResult.h"
|
|
||||||
#include "model/DescribeHiTSDBInstanceRequest.h"
|
#include "model/DescribeHiTSDBInstanceRequest.h"
|
||||||
#include "model/DescribeHiTSDBInstanceResult.h"
|
#include "model/DescribeHiTSDBInstanceResult.h"
|
||||||
#include "model/DescribeHiTSDBInstanceDataTtlRequest.h"
|
|
||||||
#include "model/DescribeHiTSDBInstanceDataTtlResult.h"
|
|
||||||
#include "model/DescribeHiTSDBInstanceListRequest.h"
|
#include "model/DescribeHiTSDBInstanceListRequest.h"
|
||||||
#include "model/DescribeHiTSDBInstanceListResult.h"
|
#include "model/DescribeHiTSDBInstanceListResult.h"
|
||||||
#include "model/DescribeHiTSDBInstanceSecurityIpListRequest.h"
|
#include "model/DescribeHiTSDBInstanceSecurityIpListRequest.h"
|
||||||
@@ -42,16 +36,6 @@
|
|||||||
#include "model/DescribeRegionsResult.h"
|
#include "model/DescribeRegionsResult.h"
|
||||||
#include "model/DescribeZonesRequest.h"
|
#include "model/DescribeZonesRequest.h"
|
||||||
#include "model/DescribeZonesResult.h"
|
#include "model/DescribeZonesResult.h"
|
||||||
#include "model/ExploreHiTSDBInstanceDataRequest.h"
|
|
||||||
#include "model/ExploreHiTSDBInstanceDataResult.h"
|
|
||||||
#include "model/ExploreHiTSDBInstanceDataMetricListRequest.h"
|
|
||||||
#include "model/ExploreHiTSDBInstanceDataMetricListResult.h"
|
|
||||||
#include "model/ExploreHiTSDBInstanceDataTagKeyListRequest.h"
|
|
||||||
#include "model/ExploreHiTSDBInstanceDataTagKeyListResult.h"
|
|
||||||
#include "model/ExploreHiTSDBInstanceDataTagValueListRequest.h"
|
|
||||||
#include "model/ExploreHiTSDBInstanceDataTagValueListResult.h"
|
|
||||||
#include "model/ExploreHiTSDBInstanceDeletionJobListRequest.h"
|
|
||||||
#include "model/ExploreHiTSDBInstanceDeletionJobListResult.h"
|
|
||||||
#include "model/ModifyHiTSDBInstanceClassRequest.h"
|
#include "model/ModifyHiTSDBInstanceClassRequest.h"
|
||||||
#include "model/ModifyHiTSDBInstanceClassResult.h"
|
#include "model/ModifyHiTSDBInstanceClassResult.h"
|
||||||
#include "model/ModifyHiTSDBInstanceSecurityIpListRequest.h"
|
#include "model/ModifyHiTSDBInstanceSecurityIpListRequest.h"
|
||||||
@@ -64,8 +48,6 @@
|
|||||||
#include "model/RestartHiTSDBInstanceResult.h"
|
#include "model/RestartHiTSDBInstanceResult.h"
|
||||||
#include "model/SwitchHiTSDBInstancePublicNetRequest.h"
|
#include "model/SwitchHiTSDBInstancePublicNetRequest.h"
|
||||||
#include "model/SwitchHiTSDBInstancePublicNetResult.h"
|
#include "model/SwitchHiTSDBInstancePublicNetResult.h"
|
||||||
#include "model/UpdateHiTSDBInstanceDataTtlRequest.h"
|
|
||||||
#include "model/UpdateHiTSDBInstanceDataTtlResult.h"
|
|
||||||
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
@@ -81,18 +63,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DeleteHiTSDBInstanceResult> DeleteHiTSDBInstanceOutcome;
|
typedef Outcome<Error, Model::DeleteHiTSDBInstanceResult> DeleteHiTSDBInstanceOutcome;
|
||||||
typedef std::future<DeleteHiTSDBInstanceOutcome> DeleteHiTSDBInstanceOutcomeCallable;
|
typedef std::future<DeleteHiTSDBInstanceOutcome> DeleteHiTSDBInstanceOutcomeCallable;
|
||||||
typedef std::function<void(const HitsdbClient*, const Model::DeleteHiTSDBInstanceRequest&, const DeleteHiTSDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteHiTSDBInstanceAsyncHandler;
|
typedef std::function<void(const HitsdbClient*, const Model::DeleteHiTSDBInstanceRequest&, const DeleteHiTSDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteHiTSDBInstanceAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DeleteHiTSDBInstanceDataResult> DeleteHiTSDBInstanceDataOutcome;
|
|
||||||
typedef std::future<DeleteHiTSDBInstanceDataOutcome> DeleteHiTSDBInstanceDataOutcomeCallable;
|
|
||||||
typedef std::function<void(const HitsdbClient*, const Model::DeleteHiTSDBInstanceDataRequest&, const DeleteHiTSDBInstanceDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteHiTSDBInstanceDataAsyncHandler;
|
|
||||||
typedef Outcome<Error, Model::DeleteHiTSDBInstanceMetaResult> DeleteHiTSDBInstanceMetaOutcome;
|
|
||||||
typedef std::future<DeleteHiTSDBInstanceMetaOutcome> DeleteHiTSDBInstanceMetaOutcomeCallable;
|
|
||||||
typedef std::function<void(const HitsdbClient*, const Model::DeleteHiTSDBInstanceMetaRequest&, const DeleteHiTSDBInstanceMetaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteHiTSDBInstanceMetaAsyncHandler;
|
|
||||||
typedef Outcome<Error, Model::DescribeHiTSDBInstanceResult> DescribeHiTSDBInstanceOutcome;
|
typedef Outcome<Error, Model::DescribeHiTSDBInstanceResult> DescribeHiTSDBInstanceOutcome;
|
||||||
typedef std::future<DescribeHiTSDBInstanceOutcome> DescribeHiTSDBInstanceOutcomeCallable;
|
typedef std::future<DescribeHiTSDBInstanceOutcome> DescribeHiTSDBInstanceOutcomeCallable;
|
||||||
typedef std::function<void(const HitsdbClient*, const Model::DescribeHiTSDBInstanceRequest&, const DescribeHiTSDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHiTSDBInstanceAsyncHandler;
|
typedef std::function<void(const HitsdbClient*, const Model::DescribeHiTSDBInstanceRequest&, const DescribeHiTSDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHiTSDBInstanceAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeHiTSDBInstanceDataTtlResult> DescribeHiTSDBInstanceDataTtlOutcome;
|
|
||||||
typedef std::future<DescribeHiTSDBInstanceDataTtlOutcome> DescribeHiTSDBInstanceDataTtlOutcomeCallable;
|
|
||||||
typedef std::function<void(const HitsdbClient*, const Model::DescribeHiTSDBInstanceDataTtlRequest&, const DescribeHiTSDBInstanceDataTtlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHiTSDBInstanceDataTtlAsyncHandler;
|
|
||||||
typedef Outcome<Error, Model::DescribeHiTSDBInstanceListResult> DescribeHiTSDBInstanceListOutcome;
|
typedef Outcome<Error, Model::DescribeHiTSDBInstanceListResult> DescribeHiTSDBInstanceListOutcome;
|
||||||
typedef std::future<DescribeHiTSDBInstanceListOutcome> DescribeHiTSDBInstanceListOutcomeCallable;
|
typedef std::future<DescribeHiTSDBInstanceListOutcome> DescribeHiTSDBInstanceListOutcomeCallable;
|
||||||
typedef std::function<void(const HitsdbClient*, const Model::DescribeHiTSDBInstanceListRequest&, const DescribeHiTSDBInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHiTSDBInstanceListAsyncHandler;
|
typedef std::function<void(const HitsdbClient*, const Model::DescribeHiTSDBInstanceListRequest&, const DescribeHiTSDBInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHiTSDBInstanceListAsyncHandler;
|
||||||
@@ -105,21 +78,6 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeZonesResult> DescribeZonesOutcome;
|
typedef Outcome<Error, Model::DescribeZonesResult> DescribeZonesOutcome;
|
||||||
typedef std::future<DescribeZonesOutcome> DescribeZonesOutcomeCallable;
|
typedef std::future<DescribeZonesOutcome> DescribeZonesOutcomeCallable;
|
||||||
typedef std::function<void(const HitsdbClient*, const Model::DescribeZonesRequest&, const DescribeZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeZonesAsyncHandler;
|
typedef std::function<void(const HitsdbClient*, const Model::DescribeZonesRequest&, const DescribeZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeZonesAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ExploreHiTSDBInstanceDataResult> ExploreHiTSDBInstanceDataOutcome;
|
|
||||||
typedef std::future<ExploreHiTSDBInstanceDataOutcome> ExploreHiTSDBInstanceDataOutcomeCallable;
|
|
||||||
typedef std::function<void(const HitsdbClient*, const Model::ExploreHiTSDBInstanceDataRequest&, const ExploreHiTSDBInstanceDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExploreHiTSDBInstanceDataAsyncHandler;
|
|
||||||
typedef Outcome<Error, Model::ExploreHiTSDBInstanceDataMetricListResult> ExploreHiTSDBInstanceDataMetricListOutcome;
|
|
||||||
typedef std::future<ExploreHiTSDBInstanceDataMetricListOutcome> ExploreHiTSDBInstanceDataMetricListOutcomeCallable;
|
|
||||||
typedef std::function<void(const HitsdbClient*, const Model::ExploreHiTSDBInstanceDataMetricListRequest&, const ExploreHiTSDBInstanceDataMetricListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExploreHiTSDBInstanceDataMetricListAsyncHandler;
|
|
||||||
typedef Outcome<Error, Model::ExploreHiTSDBInstanceDataTagKeyListResult> ExploreHiTSDBInstanceDataTagKeyListOutcome;
|
|
||||||
typedef std::future<ExploreHiTSDBInstanceDataTagKeyListOutcome> ExploreHiTSDBInstanceDataTagKeyListOutcomeCallable;
|
|
||||||
typedef std::function<void(const HitsdbClient*, const Model::ExploreHiTSDBInstanceDataTagKeyListRequest&, const ExploreHiTSDBInstanceDataTagKeyListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExploreHiTSDBInstanceDataTagKeyListAsyncHandler;
|
|
||||||
typedef Outcome<Error, Model::ExploreHiTSDBInstanceDataTagValueListResult> ExploreHiTSDBInstanceDataTagValueListOutcome;
|
|
||||||
typedef std::future<ExploreHiTSDBInstanceDataTagValueListOutcome> ExploreHiTSDBInstanceDataTagValueListOutcomeCallable;
|
|
||||||
typedef std::function<void(const HitsdbClient*, const Model::ExploreHiTSDBInstanceDataTagValueListRequest&, const ExploreHiTSDBInstanceDataTagValueListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExploreHiTSDBInstanceDataTagValueListAsyncHandler;
|
|
||||||
typedef Outcome<Error, Model::ExploreHiTSDBInstanceDeletionJobListResult> ExploreHiTSDBInstanceDeletionJobListOutcome;
|
|
||||||
typedef std::future<ExploreHiTSDBInstanceDeletionJobListOutcome> ExploreHiTSDBInstanceDeletionJobListOutcomeCallable;
|
|
||||||
typedef std::function<void(const HitsdbClient*, const Model::ExploreHiTSDBInstanceDeletionJobListRequest&, const ExploreHiTSDBInstanceDeletionJobListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExploreHiTSDBInstanceDeletionJobListAsyncHandler;
|
|
||||||
typedef Outcome<Error, Model::ModifyHiTSDBInstanceClassResult> ModifyHiTSDBInstanceClassOutcome;
|
typedef Outcome<Error, Model::ModifyHiTSDBInstanceClassResult> ModifyHiTSDBInstanceClassOutcome;
|
||||||
typedef std::future<ModifyHiTSDBInstanceClassOutcome> ModifyHiTSDBInstanceClassOutcomeCallable;
|
typedef std::future<ModifyHiTSDBInstanceClassOutcome> ModifyHiTSDBInstanceClassOutcomeCallable;
|
||||||
typedef std::function<void(const HitsdbClient*, const Model::ModifyHiTSDBInstanceClassRequest&, const ModifyHiTSDBInstanceClassOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHiTSDBInstanceClassAsyncHandler;
|
typedef std::function<void(const HitsdbClient*, const Model::ModifyHiTSDBInstanceClassRequest&, const ModifyHiTSDBInstanceClassOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHiTSDBInstanceClassAsyncHandler;
|
||||||
@@ -138,9 +96,6 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::SwitchHiTSDBInstancePublicNetResult> SwitchHiTSDBInstancePublicNetOutcome;
|
typedef Outcome<Error, Model::SwitchHiTSDBInstancePublicNetResult> SwitchHiTSDBInstancePublicNetOutcome;
|
||||||
typedef std::future<SwitchHiTSDBInstancePublicNetOutcome> SwitchHiTSDBInstancePublicNetOutcomeCallable;
|
typedef std::future<SwitchHiTSDBInstancePublicNetOutcome> SwitchHiTSDBInstancePublicNetOutcomeCallable;
|
||||||
typedef std::function<void(const HitsdbClient*, const Model::SwitchHiTSDBInstancePublicNetRequest&, const SwitchHiTSDBInstancePublicNetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SwitchHiTSDBInstancePublicNetAsyncHandler;
|
typedef std::function<void(const HitsdbClient*, const Model::SwitchHiTSDBInstancePublicNetRequest&, const SwitchHiTSDBInstancePublicNetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SwitchHiTSDBInstancePublicNetAsyncHandler;
|
||||||
typedef Outcome<Error, Model::UpdateHiTSDBInstanceDataTtlResult> UpdateHiTSDBInstanceDataTtlOutcome;
|
|
||||||
typedef std::future<UpdateHiTSDBInstanceDataTtlOutcome> UpdateHiTSDBInstanceDataTtlOutcomeCallable;
|
|
||||||
typedef std::function<void(const HitsdbClient*, const Model::UpdateHiTSDBInstanceDataTtlRequest&, const UpdateHiTSDBInstanceDataTtlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateHiTSDBInstanceDataTtlAsyncHandler;
|
|
||||||
|
|
||||||
HitsdbClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
HitsdbClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||||
HitsdbClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
HitsdbClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||||
@@ -152,18 +107,9 @@ namespace AlibabaCloud
|
|||||||
DeleteHiTSDBInstanceOutcome deleteHiTSDBInstance(const Model::DeleteHiTSDBInstanceRequest &request)const;
|
DeleteHiTSDBInstanceOutcome deleteHiTSDBInstance(const Model::DeleteHiTSDBInstanceRequest &request)const;
|
||||||
void deleteHiTSDBInstanceAsync(const Model::DeleteHiTSDBInstanceRequest& request, const DeleteHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void deleteHiTSDBInstanceAsync(const Model::DeleteHiTSDBInstanceRequest& request, const DeleteHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DeleteHiTSDBInstanceOutcomeCallable deleteHiTSDBInstanceCallable(const Model::DeleteHiTSDBInstanceRequest& request) const;
|
DeleteHiTSDBInstanceOutcomeCallable deleteHiTSDBInstanceCallable(const Model::DeleteHiTSDBInstanceRequest& request) const;
|
||||||
DeleteHiTSDBInstanceDataOutcome deleteHiTSDBInstanceData(const Model::DeleteHiTSDBInstanceDataRequest &request)const;
|
|
||||||
void deleteHiTSDBInstanceDataAsync(const Model::DeleteHiTSDBInstanceDataRequest& request, const DeleteHiTSDBInstanceDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
DeleteHiTSDBInstanceDataOutcomeCallable deleteHiTSDBInstanceDataCallable(const Model::DeleteHiTSDBInstanceDataRequest& request) const;
|
|
||||||
DeleteHiTSDBInstanceMetaOutcome deleteHiTSDBInstanceMeta(const Model::DeleteHiTSDBInstanceMetaRequest &request)const;
|
|
||||||
void deleteHiTSDBInstanceMetaAsync(const Model::DeleteHiTSDBInstanceMetaRequest& request, const DeleteHiTSDBInstanceMetaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
DeleteHiTSDBInstanceMetaOutcomeCallable deleteHiTSDBInstanceMetaCallable(const Model::DeleteHiTSDBInstanceMetaRequest& request) const;
|
|
||||||
DescribeHiTSDBInstanceOutcome describeHiTSDBInstance(const Model::DescribeHiTSDBInstanceRequest &request)const;
|
DescribeHiTSDBInstanceOutcome describeHiTSDBInstance(const Model::DescribeHiTSDBInstanceRequest &request)const;
|
||||||
void describeHiTSDBInstanceAsync(const Model::DescribeHiTSDBInstanceRequest& request, const DescribeHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeHiTSDBInstanceAsync(const Model::DescribeHiTSDBInstanceRequest& request, const DescribeHiTSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeHiTSDBInstanceOutcomeCallable describeHiTSDBInstanceCallable(const Model::DescribeHiTSDBInstanceRequest& request) const;
|
DescribeHiTSDBInstanceOutcomeCallable describeHiTSDBInstanceCallable(const Model::DescribeHiTSDBInstanceRequest& request) const;
|
||||||
DescribeHiTSDBInstanceDataTtlOutcome describeHiTSDBInstanceDataTtl(const Model::DescribeHiTSDBInstanceDataTtlRequest &request)const;
|
|
||||||
void describeHiTSDBInstanceDataTtlAsync(const Model::DescribeHiTSDBInstanceDataTtlRequest& request, const DescribeHiTSDBInstanceDataTtlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
DescribeHiTSDBInstanceDataTtlOutcomeCallable describeHiTSDBInstanceDataTtlCallable(const Model::DescribeHiTSDBInstanceDataTtlRequest& request) const;
|
|
||||||
DescribeHiTSDBInstanceListOutcome describeHiTSDBInstanceList(const Model::DescribeHiTSDBInstanceListRequest &request)const;
|
DescribeHiTSDBInstanceListOutcome describeHiTSDBInstanceList(const Model::DescribeHiTSDBInstanceListRequest &request)const;
|
||||||
void describeHiTSDBInstanceListAsync(const Model::DescribeHiTSDBInstanceListRequest& request, const DescribeHiTSDBInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeHiTSDBInstanceListAsync(const Model::DescribeHiTSDBInstanceListRequest& request, const DescribeHiTSDBInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeHiTSDBInstanceListOutcomeCallable describeHiTSDBInstanceListCallable(const Model::DescribeHiTSDBInstanceListRequest& request) const;
|
DescribeHiTSDBInstanceListOutcomeCallable describeHiTSDBInstanceListCallable(const Model::DescribeHiTSDBInstanceListRequest& request) const;
|
||||||
@@ -176,21 +122,6 @@ namespace AlibabaCloud
|
|||||||
DescribeZonesOutcome describeZones(const Model::DescribeZonesRequest &request)const;
|
DescribeZonesOutcome describeZones(const Model::DescribeZonesRequest &request)const;
|
||||||
void describeZonesAsync(const Model::DescribeZonesRequest& request, const DescribeZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeZonesAsync(const Model::DescribeZonesRequest& request, const DescribeZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeZonesOutcomeCallable describeZonesCallable(const Model::DescribeZonesRequest& request) const;
|
DescribeZonesOutcomeCallable describeZonesCallable(const Model::DescribeZonesRequest& request) const;
|
||||||
ExploreHiTSDBInstanceDataOutcome exploreHiTSDBInstanceData(const Model::ExploreHiTSDBInstanceDataRequest &request)const;
|
|
||||||
void exploreHiTSDBInstanceDataAsync(const Model::ExploreHiTSDBInstanceDataRequest& request, const ExploreHiTSDBInstanceDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
ExploreHiTSDBInstanceDataOutcomeCallable exploreHiTSDBInstanceDataCallable(const Model::ExploreHiTSDBInstanceDataRequest& request) const;
|
|
||||||
ExploreHiTSDBInstanceDataMetricListOutcome exploreHiTSDBInstanceDataMetricList(const Model::ExploreHiTSDBInstanceDataMetricListRequest &request)const;
|
|
||||||
void exploreHiTSDBInstanceDataMetricListAsync(const Model::ExploreHiTSDBInstanceDataMetricListRequest& request, const ExploreHiTSDBInstanceDataMetricListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
ExploreHiTSDBInstanceDataMetricListOutcomeCallable exploreHiTSDBInstanceDataMetricListCallable(const Model::ExploreHiTSDBInstanceDataMetricListRequest& request) const;
|
|
||||||
ExploreHiTSDBInstanceDataTagKeyListOutcome exploreHiTSDBInstanceDataTagKeyList(const Model::ExploreHiTSDBInstanceDataTagKeyListRequest &request)const;
|
|
||||||
void exploreHiTSDBInstanceDataTagKeyListAsync(const Model::ExploreHiTSDBInstanceDataTagKeyListRequest& request, const ExploreHiTSDBInstanceDataTagKeyListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
ExploreHiTSDBInstanceDataTagKeyListOutcomeCallable exploreHiTSDBInstanceDataTagKeyListCallable(const Model::ExploreHiTSDBInstanceDataTagKeyListRequest& request) const;
|
|
||||||
ExploreHiTSDBInstanceDataTagValueListOutcome exploreHiTSDBInstanceDataTagValueList(const Model::ExploreHiTSDBInstanceDataTagValueListRequest &request)const;
|
|
||||||
void exploreHiTSDBInstanceDataTagValueListAsync(const Model::ExploreHiTSDBInstanceDataTagValueListRequest& request, const ExploreHiTSDBInstanceDataTagValueListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
ExploreHiTSDBInstanceDataTagValueListOutcomeCallable exploreHiTSDBInstanceDataTagValueListCallable(const Model::ExploreHiTSDBInstanceDataTagValueListRequest& request) const;
|
|
||||||
ExploreHiTSDBInstanceDeletionJobListOutcome exploreHiTSDBInstanceDeletionJobList(const Model::ExploreHiTSDBInstanceDeletionJobListRequest &request)const;
|
|
||||||
void exploreHiTSDBInstanceDeletionJobListAsync(const Model::ExploreHiTSDBInstanceDeletionJobListRequest& request, const ExploreHiTSDBInstanceDeletionJobListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
ExploreHiTSDBInstanceDeletionJobListOutcomeCallable exploreHiTSDBInstanceDeletionJobListCallable(const Model::ExploreHiTSDBInstanceDeletionJobListRequest& request) const;
|
|
||||||
ModifyHiTSDBInstanceClassOutcome modifyHiTSDBInstanceClass(const Model::ModifyHiTSDBInstanceClassRequest &request)const;
|
ModifyHiTSDBInstanceClassOutcome modifyHiTSDBInstanceClass(const Model::ModifyHiTSDBInstanceClassRequest &request)const;
|
||||||
void modifyHiTSDBInstanceClassAsync(const Model::ModifyHiTSDBInstanceClassRequest& request, const ModifyHiTSDBInstanceClassAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void modifyHiTSDBInstanceClassAsync(const Model::ModifyHiTSDBInstanceClassRequest& request, const ModifyHiTSDBInstanceClassAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ModifyHiTSDBInstanceClassOutcomeCallable modifyHiTSDBInstanceClassCallable(const Model::ModifyHiTSDBInstanceClassRequest& request) const;
|
ModifyHiTSDBInstanceClassOutcomeCallable modifyHiTSDBInstanceClassCallable(const Model::ModifyHiTSDBInstanceClassRequest& request) const;
|
||||||
@@ -209,9 +140,6 @@ namespace AlibabaCloud
|
|||||||
SwitchHiTSDBInstancePublicNetOutcome switchHiTSDBInstancePublicNet(const Model::SwitchHiTSDBInstancePublicNetRequest &request)const;
|
SwitchHiTSDBInstancePublicNetOutcome switchHiTSDBInstancePublicNet(const Model::SwitchHiTSDBInstancePublicNetRequest &request)const;
|
||||||
void switchHiTSDBInstancePublicNetAsync(const Model::SwitchHiTSDBInstancePublicNetRequest& request, const SwitchHiTSDBInstancePublicNetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void switchHiTSDBInstancePublicNetAsync(const Model::SwitchHiTSDBInstancePublicNetRequest& request, const SwitchHiTSDBInstancePublicNetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
SwitchHiTSDBInstancePublicNetOutcomeCallable switchHiTSDBInstancePublicNetCallable(const Model::SwitchHiTSDBInstancePublicNetRequest& request) const;
|
SwitchHiTSDBInstancePublicNetOutcomeCallable switchHiTSDBInstancePublicNetCallable(const Model::SwitchHiTSDBInstancePublicNetRequest& request) const;
|
||||||
UpdateHiTSDBInstanceDataTtlOutcome updateHiTSDBInstanceDataTtl(const Model::UpdateHiTSDBInstanceDataTtlRequest &request)const;
|
|
||||||
void updateHiTSDBInstanceDataTtlAsync(const Model::UpdateHiTSDBInstanceDataTtlRequest& request, const UpdateHiTSDBInstanceDataTtlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
|
||||||
UpdateHiTSDBInstanceDataTtlOutcomeCallable updateHiTSDBInstanceDataTtlCallable(const Model::UpdateHiTSDBInstanceDataTtlRequest& request) const;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||||
|
|||||||
@@ -37,8 +37,6 @@ namespace AlibabaCloud
|
|||||||
|
|
||||||
long getResourceOwnerId()const;
|
long getResourceOwnerId()const;
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setResourceOwnerId(long resourceOwnerId);
|
||||||
std::string getConnectionString()const;
|
|
||||||
void setConnectionString(const std::string& connectionString);
|
|
||||||
std::string getClientToken()const;
|
std::string getClientToken()const;
|
||||||
void setClientToken(const std::string& clientToken);
|
void setClientToken(const std::string& clientToken);
|
||||||
std::string getInstanceClass()const;
|
std::string getInstanceClass()const;
|
||||||
@@ -90,7 +88,6 @@ namespace AlibabaCloud
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
long resourceOwnerId_;
|
||||||
std::string connectionString_;
|
|
||||||
std::string clientToken_;
|
std::string clientToken_;
|
||||||
std::string instanceClass_;
|
std::string instanceClass_;
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
|||||||
@@ -1,90 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_DELETEHITSDBINSTANCEDATAREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCEDATAREQUEST_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT DeleteHiTSDBInstanceDataRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
DeleteHiTSDBInstanceDataRequest();
|
|
||||||
~DeleteHiTSDBInstanceDataRequest();
|
|
||||||
|
|
||||||
std::string getReverseVpcIp()const;
|
|
||||||
void setReverseVpcIp(const std::string& reverseVpcIp);
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
int getReverseVpcPort()const;
|
|
||||||
void setReverseVpcPort(int reverseVpcPort);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getPassWord()const;
|
|
||||||
void setPassWord(const std::string& passWord);
|
|
||||||
std::string getSecurityToken()const;
|
|
||||||
void setSecurityToken(const std::string& securityToken);
|
|
||||||
long getEnd()const;
|
|
||||||
void setEnd(long end);
|
|
||||||
std::string getResourceOwnerAccount()const;
|
|
||||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
|
||||||
std::string getOwnerAccount()const;
|
|
||||||
void setOwnerAccount(const std::string& ownerAccount);
|
|
||||||
long getStart()const;
|
|
||||||
void setStart(long start);
|
|
||||||
long getOwnerId()const;
|
|
||||||
void setOwnerId(long ownerId);
|
|
||||||
std::string getTags()const;
|
|
||||||
void setTags(const std::string& tags);
|
|
||||||
std::string getInstanceId()const;
|
|
||||||
void setInstanceId(const std::string& instanceId);
|
|
||||||
std::string getMetric()const;
|
|
||||||
void setMetric(const std::string& metric);
|
|
||||||
std::string getUserName()const;
|
|
||||||
void setUserName(const std::string& userName);
|
|
||||||
|
|
||||||
private:
|
|
||||||
std::string reverseVpcIp_;
|
|
||||||
long resourceOwnerId_;
|
|
||||||
int reverseVpcPort_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string passWord_;
|
|
||||||
std::string securityToken_;
|
|
||||||
long end_;
|
|
||||||
std::string resourceOwnerAccount_;
|
|
||||||
std::string ownerAccount_;
|
|
||||||
long start_;
|
|
||||||
long ownerId_;
|
|
||||||
std::string tags_;
|
|
||||||
std::string instanceId_;
|
|
||||||
std::string metric_;
|
|
||||||
std::string userName_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCEDATAREQUEST_H_
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_DELETEHITSDBINSTANCEDATARESULT_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCEDATARESULT_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <utility>
|
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT DeleteHiTSDBInstanceDataResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
|
|
||||||
DeleteHiTSDBInstanceDataResult();
|
|
||||||
explicit DeleteHiTSDBInstanceDataResult(const std::string &payload);
|
|
||||||
~DeleteHiTSDBInstanceDataResult();
|
|
||||||
long getTaskId()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
long taskId_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCEDATARESULT_H_
|
|
||||||
@@ -1,84 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_DELETEHITSDBINSTANCEMETAREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCEMETAREQUEST_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT DeleteHiTSDBInstanceMetaRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
DeleteHiTSDBInstanceMetaRequest();
|
|
||||||
~DeleteHiTSDBInstanceMetaRequest();
|
|
||||||
|
|
||||||
std::string getReverseVpcIp()const;
|
|
||||||
void setReverseVpcIp(const std::string& reverseVpcIp);
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
int getReverseVpcPort()const;
|
|
||||||
void setReverseVpcPort(int reverseVpcPort);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getPassWord()const;
|
|
||||||
void setPassWord(const std::string& passWord);
|
|
||||||
std::string getSecurityToken()const;
|
|
||||||
void setSecurityToken(const std::string& securityToken);
|
|
||||||
std::string getResourceOwnerAccount()const;
|
|
||||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
|
||||||
std::string getOwnerAccount()const;
|
|
||||||
void setOwnerAccount(const std::string& ownerAccount);
|
|
||||||
long getOwnerId()const;
|
|
||||||
void setOwnerId(long ownerId);
|
|
||||||
std::string getTags()const;
|
|
||||||
void setTags(const std::string& tags);
|
|
||||||
std::string getInstanceId()const;
|
|
||||||
void setInstanceId(const std::string& instanceId);
|
|
||||||
std::string getMetric()const;
|
|
||||||
void setMetric(const std::string& metric);
|
|
||||||
std::string getUserName()const;
|
|
||||||
void setUserName(const std::string& userName);
|
|
||||||
|
|
||||||
private:
|
|
||||||
std::string reverseVpcIp_;
|
|
||||||
long resourceOwnerId_;
|
|
||||||
int reverseVpcPort_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string passWord_;
|
|
||||||
std::string securityToken_;
|
|
||||||
std::string resourceOwnerAccount_;
|
|
||||||
std::string ownerAccount_;
|
|
||||||
long ownerId_;
|
|
||||||
std::string tags_;
|
|
||||||
std::string instanceId_;
|
|
||||||
std::string metric_;
|
|
||||||
std::string userName_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCEMETAREQUEST_H_
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_DELETEHITSDBINSTANCEMETARESULT_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCEMETARESULT_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <utility>
|
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT DeleteHiTSDBInstanceMetaResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
|
|
||||||
DeleteHiTSDBInstanceMetaResult();
|
|
||||||
explicit DeleteHiTSDBInstanceMetaResult(const std::string &payload);
|
|
||||||
~DeleteHiTSDBInstanceMetaResult();
|
|
||||||
long getTaskId()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
long taskId_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DELETEHITSDBINSTANCEMETARESULT_H_
|
|
||||||
@@ -1,78 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_DESCRIBEHITSDBINSTANCEDATATTLREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCEDATATTLREQUEST_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeHiTSDBInstanceDataTtlRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
DescribeHiTSDBInstanceDataTtlRequest();
|
|
||||||
~DescribeHiTSDBInstanceDataTtlRequest();
|
|
||||||
|
|
||||||
std::string getReverseVpcIp()const;
|
|
||||||
void setReverseVpcIp(const std::string& reverseVpcIp);
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
int getReverseVpcPort()const;
|
|
||||||
void setReverseVpcPort(int reverseVpcPort);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getPassWord()const;
|
|
||||||
void setPassWord(const std::string& passWord);
|
|
||||||
std::string getSecurityToken()const;
|
|
||||||
void setSecurityToken(const std::string& securityToken);
|
|
||||||
std::string getResourceOwnerAccount()const;
|
|
||||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
|
||||||
std::string getOwnerAccount()const;
|
|
||||||
void setOwnerAccount(const std::string& ownerAccount);
|
|
||||||
long getOwnerId()const;
|
|
||||||
void setOwnerId(long ownerId);
|
|
||||||
std::string getInstanceId()const;
|
|
||||||
void setInstanceId(const std::string& instanceId);
|
|
||||||
std::string getUserName()const;
|
|
||||||
void setUserName(const std::string& userName);
|
|
||||||
|
|
||||||
private:
|
|
||||||
std::string reverseVpcIp_;
|
|
||||||
long resourceOwnerId_;
|
|
||||||
int reverseVpcPort_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string passWord_;
|
|
||||||
std::string securityToken_;
|
|
||||||
std::string resourceOwnerAccount_;
|
|
||||||
std::string ownerAccount_;
|
|
||||||
long ownerId_;
|
|
||||||
std::string instanceId_;
|
|
||||||
std::string userName_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCEDATATTLREQUEST_H_
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_DESCRIBEHITSDBINSTANCEDATATTLRESULT_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCEDATATTLRESULT_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <utility>
|
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT DescribeHiTSDBInstanceDataTtlResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
|
|
||||||
DescribeHiTSDBInstanceDataTtlResult();
|
|
||||||
explicit DescribeHiTSDBInstanceDataTtlResult(const std::string &payload);
|
|
||||||
~DescribeHiTSDBInstanceDataTtlResult();
|
|
||||||
long getTtl()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
long ttl_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DESCRIBEHITSDBINSTANCEDATATTLRESULT_H_
|
|
||||||
@@ -34,27 +34,31 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct Instance
|
struct Instance
|
||||||
{
|
{
|
||||||
|
std::string maxSeriesPerDatabase;
|
||||||
|
std::string gmtCreated;
|
||||||
|
std::string instanceAlias;
|
||||||
|
std::string instanceStatus;
|
||||||
|
std::string networkType;
|
||||||
|
std::string gmtExpire;
|
||||||
|
long expiredTime;
|
||||||
|
std::string paymentType;
|
||||||
|
std::string engineType;
|
||||||
|
std::string instanceTps;
|
||||||
|
std::string status;
|
||||||
std::string instanceStorage;
|
std::string instanceStorage;
|
||||||
std::string zoneId;
|
std::string zoneId;
|
||||||
std::string instanceId;
|
std::string instanceId;
|
||||||
std::string maxSeriesPerDatabase;
|
long createTime;
|
||||||
std::string instanceClass;
|
std::string instanceClass;
|
||||||
std::string maxDatabaseLimit;
|
std::string maxDatabaseLimit;
|
||||||
std::string gmtCreated;
|
|
||||||
std::string lockMode;
|
std::string lockMode;
|
||||||
std::string vswitchId;
|
std::string vswitchId;
|
||||||
std::string instanceIdInVpc;
|
std::string instanceIdInVpc;
|
||||||
std::string vpcId;
|
std::string vpcId;
|
||||||
std::string instanceAlias;
|
|
||||||
std::string userId;
|
std::string userId;
|
||||||
std::string instanceStatus;
|
|
||||||
std::string chargeType;
|
std::string chargeType;
|
||||||
std::string networkType;
|
|
||||||
std::string gmtExpire;
|
|
||||||
std::string instanceDescription;
|
std::string instanceDescription;
|
||||||
std::string engineType;
|
|
||||||
std::string regionId;
|
std::string regionId;
|
||||||
std::string instanceTps;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -49,15 +49,19 @@ namespace AlibabaCloud
|
|||||||
std::string getNetworkType()const;
|
std::string getNetworkType()const;
|
||||||
std::string getGmtExpire()const;
|
std::string getGmtExpire()const;
|
||||||
std::string getMemSize()const;
|
std::string getMemSize()const;
|
||||||
|
long getExpiredTime()const;
|
||||||
std::string getMaxTimelineLimit()const;
|
std::string getMaxTimelineLimit()const;
|
||||||
std::string getReverseVpcPort()const;
|
std::string getReverseVpcPort()const;
|
||||||
|
std::string getPaymentType()const;
|
||||||
std::string getPublicConnectionString()const;
|
std::string getPublicConnectionString()const;
|
||||||
std::string getEngineType()const;
|
std::string getEngineType()const;
|
||||||
std::string getInstanceTps()const;
|
std::string getInstanceTps()const;
|
||||||
std::string getRDSStatus()const;
|
std::string getRDSStatus()const;
|
||||||
|
std::string getStatus()const;
|
||||||
std::string getInstanceStorage()const;
|
std::string getInstanceStorage()const;
|
||||||
std::string getZoneId()const;
|
std::string getZoneId()const;
|
||||||
std::string getInstanceId()const;
|
std::string getInstanceId()const;
|
||||||
|
long getCreateTime()const;
|
||||||
std::string getDiskCategory()const;
|
std::string getDiskCategory()const;
|
||||||
std::string getInstanceClass()const;
|
std::string getInstanceClass()const;
|
||||||
std::string getVswitchId()const;
|
std::string getVswitchId()const;
|
||||||
@@ -81,15 +85,19 @@ namespace AlibabaCloud
|
|||||||
std::string networkType_;
|
std::string networkType_;
|
||||||
std::string gmtExpire_;
|
std::string gmtExpire_;
|
||||||
std::string memSize_;
|
std::string memSize_;
|
||||||
|
long expiredTime_;
|
||||||
std::string maxTimelineLimit_;
|
std::string maxTimelineLimit_;
|
||||||
std::string reverseVpcPort_;
|
std::string reverseVpcPort_;
|
||||||
|
std::string paymentType_;
|
||||||
std::string publicConnectionString_;
|
std::string publicConnectionString_;
|
||||||
std::string engineType_;
|
std::string engineType_;
|
||||||
std::string instanceTps_;
|
std::string instanceTps_;
|
||||||
std::string rDSStatus_;
|
std::string rDSStatus_;
|
||||||
|
std::string status_;
|
||||||
std::string instanceStorage_;
|
std::string instanceStorage_;
|
||||||
std::string zoneId_;
|
std::string zoneId_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
|
long createTime_;
|
||||||
std::string diskCategory_;
|
std::string diskCategory_;
|
||||||
std::string instanceClass_;
|
std::string instanceClass_;
|
||||||
std::string vswitchId_;
|
std::string vswitchId_;
|
||||||
|
|||||||
@@ -1,84 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATAMETRICLISTREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATAMETRICLISTREQUEST_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT ExploreHiTSDBInstanceDataMetricListRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
ExploreHiTSDBInstanceDataMetricListRequest();
|
|
||||||
~ExploreHiTSDBInstanceDataMetricListRequest();
|
|
||||||
|
|
||||||
std::string getReverseVpcIp()const;
|
|
||||||
void setReverseVpcIp(const std::string& reverseVpcIp);
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
std::string getPrefix()const;
|
|
||||||
void setPrefix(const std::string& prefix);
|
|
||||||
int getReverseVpcPort()const;
|
|
||||||
void setReverseVpcPort(int reverseVpcPort);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getPassWord()const;
|
|
||||||
void setPassWord(const std::string& passWord);
|
|
||||||
std::string getSecurityToken()const;
|
|
||||||
void setSecurityToken(const std::string& securityToken);
|
|
||||||
std::string getResourceOwnerAccount()const;
|
|
||||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
|
||||||
long getMax()const;
|
|
||||||
void setMax(long max);
|
|
||||||
std::string getOwnerAccount()const;
|
|
||||||
void setOwnerAccount(const std::string& ownerAccount);
|
|
||||||
long getOwnerId()const;
|
|
||||||
void setOwnerId(long ownerId);
|
|
||||||
std::string getInstanceId()const;
|
|
||||||
void setInstanceId(const std::string& instanceId);
|
|
||||||
std::string getUserName()const;
|
|
||||||
void setUserName(const std::string& userName);
|
|
||||||
|
|
||||||
private:
|
|
||||||
std::string reverseVpcIp_;
|
|
||||||
long resourceOwnerId_;
|
|
||||||
std::string prefix_;
|
|
||||||
int reverseVpcPort_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string passWord_;
|
|
||||||
std::string securityToken_;
|
|
||||||
std::string resourceOwnerAccount_;
|
|
||||||
long max_;
|
|
||||||
std::string ownerAccount_;
|
|
||||||
long ownerId_;
|
|
||||||
std::string instanceId_;
|
|
||||||
std::string userName_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATAMETRICLISTREQUEST_H_
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATAMETRICLISTRESULT_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATAMETRICLISTRESULT_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <utility>
|
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT ExploreHiTSDBInstanceDataMetricListResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
struct Data
|
|
||||||
{
|
|
||||||
std::string metric;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataMetricListResult();
|
|
||||||
explicit ExploreHiTSDBInstanceDataMetricListResult(const std::string &payload);
|
|
||||||
~ExploreHiTSDBInstanceDataMetricListResult();
|
|
||||||
std::string getInstanceId()const;
|
|
||||||
std::vector<Data> getMetricList()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
std::string instanceId_;
|
|
||||||
std::vector<Data> metricList_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATAMETRICLISTRESULT_H_
|
|
||||||
@@ -1,99 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATAREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATAREQUEST_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT ExploreHiTSDBInstanceDataRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
ExploreHiTSDBInstanceDataRequest();
|
|
||||||
~ExploreHiTSDBInstanceDataRequest();
|
|
||||||
|
|
||||||
std::string getReverseVpcIp()const;
|
|
||||||
void setReverseVpcIp(const std::string& reverseVpcIp);
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
int getReverseVpcPort()const;
|
|
||||||
void setReverseVpcPort(int reverseVpcPort);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getPassWord()const;
|
|
||||||
void setPassWord(const std::string& passWord);
|
|
||||||
std::string getSecurityToken()const;
|
|
||||||
void setSecurityToken(const std::string& securityToken);
|
|
||||||
long getEnd()const;
|
|
||||||
void setEnd(long end);
|
|
||||||
std::string getResourceOwnerAccount()const;
|
|
||||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
|
||||||
std::string getOwnerAccount()const;
|
|
||||||
void setOwnerAccount(const std::string& ownerAccount);
|
|
||||||
std::string getAggregator()const;
|
|
||||||
void setAggregator(const std::string& aggregator);
|
|
||||||
long getStart()const;
|
|
||||||
void setStart(long start);
|
|
||||||
long getOwnerId()const;
|
|
||||||
void setOwnerId(long ownerId);
|
|
||||||
std::string getTagFilter()const;
|
|
||||||
void setTagFilter(const std::string& tagFilter);
|
|
||||||
std::string getInstanceId()const;
|
|
||||||
void setInstanceId(const std::string& instanceId);
|
|
||||||
std::string getMetric()const;
|
|
||||||
void setMetric(const std::string& metric);
|
|
||||||
std::string getDownSampleAggregator()const;
|
|
||||||
void setDownSampleAggregator(const std::string& downSampleAggregator);
|
|
||||||
std::string getDownSampleTime()const;
|
|
||||||
void setDownSampleTime(const std::string& downSampleTime);
|
|
||||||
std::string getUserName()const;
|
|
||||||
void setUserName(const std::string& userName);
|
|
||||||
|
|
||||||
private:
|
|
||||||
std::string reverseVpcIp_;
|
|
||||||
long resourceOwnerId_;
|
|
||||||
int reverseVpcPort_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string passWord_;
|
|
||||||
std::string securityToken_;
|
|
||||||
long end_;
|
|
||||||
std::string resourceOwnerAccount_;
|
|
||||||
std::string ownerAccount_;
|
|
||||||
std::string aggregator_;
|
|
||||||
long start_;
|
|
||||||
long ownerId_;
|
|
||||||
std::string tagFilter_;
|
|
||||||
std::string instanceId_;
|
|
||||||
std::string metric_;
|
|
||||||
std::string downSampleAggregator_;
|
|
||||||
std::string downSampleTime_;
|
|
||||||
std::string userName_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATAREQUEST_H_
|
|
||||||
@@ -1,72 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATARESULT_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATARESULT_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <utility>
|
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT ExploreHiTSDBInstanceDataResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
struct TimeLine
|
|
||||||
{
|
|
||||||
struct Tag
|
|
||||||
{
|
|
||||||
std::string tagKey;
|
|
||||||
std::string tagValue;
|
|
||||||
};
|
|
||||||
struct Point
|
|
||||||
{
|
|
||||||
float value;
|
|
||||||
std::string timestamp;
|
|
||||||
};
|
|
||||||
std::vector<TimeLine::Point> series;
|
|
||||||
std::vector<TimeLine::Tag> tags;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataResult();
|
|
||||||
explicit ExploreHiTSDBInstanceDataResult(const std::string &payload);
|
|
||||||
~ExploreHiTSDBInstanceDataResult();
|
|
||||||
std::vector<TimeLine> getTimeLines()const;
|
|
||||||
std::string getStart()const;
|
|
||||||
std::string getEnd()const;
|
|
||||||
std::string getMetric()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
std::vector<TimeLine> timeLines_;
|
|
||||||
std::string start_;
|
|
||||||
std::string end_;
|
|
||||||
std::string metric_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATARESULT_H_
|
|
||||||
@@ -1,87 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATATAGKEYLISTREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATATAGKEYLISTREQUEST_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT ExploreHiTSDBInstanceDataTagKeyListRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
ExploreHiTSDBInstanceDataTagKeyListRequest();
|
|
||||||
~ExploreHiTSDBInstanceDataTagKeyListRequest();
|
|
||||||
|
|
||||||
std::string getReverseVpcIp()const;
|
|
||||||
void setReverseVpcIp(const std::string& reverseVpcIp);
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
std::string getPrefix()const;
|
|
||||||
void setPrefix(const std::string& prefix);
|
|
||||||
int getReverseVpcPort()const;
|
|
||||||
void setReverseVpcPort(int reverseVpcPort);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getPassWord()const;
|
|
||||||
void setPassWord(const std::string& passWord);
|
|
||||||
std::string getSecurityToken()const;
|
|
||||||
void setSecurityToken(const std::string& securityToken);
|
|
||||||
std::string getResourceOwnerAccount()const;
|
|
||||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
|
||||||
long getMax()const;
|
|
||||||
void setMax(long max);
|
|
||||||
std::string getOwnerAccount()const;
|
|
||||||
void setOwnerAccount(const std::string& ownerAccount);
|
|
||||||
long getOwnerId()const;
|
|
||||||
void setOwnerId(long ownerId);
|
|
||||||
std::string getInstanceId()const;
|
|
||||||
void setInstanceId(const std::string& instanceId);
|
|
||||||
std::string getMetric()const;
|
|
||||||
void setMetric(const std::string& metric);
|
|
||||||
std::string getUserName()const;
|
|
||||||
void setUserName(const std::string& userName);
|
|
||||||
|
|
||||||
private:
|
|
||||||
std::string reverseVpcIp_;
|
|
||||||
long resourceOwnerId_;
|
|
||||||
std::string prefix_;
|
|
||||||
int reverseVpcPort_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string passWord_;
|
|
||||||
std::string securityToken_;
|
|
||||||
std::string resourceOwnerAccount_;
|
|
||||||
long max_;
|
|
||||||
std::string ownerAccount_;
|
|
||||||
long ownerId_;
|
|
||||||
std::string instanceId_;
|
|
||||||
std::string metric_;
|
|
||||||
std::string userName_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATATAGKEYLISTREQUEST_H_
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATATAGKEYLISTRESULT_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATATAGKEYLISTRESULT_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <utility>
|
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT ExploreHiTSDBInstanceDataTagKeyListResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
struct Data
|
|
||||||
{
|
|
||||||
std::string tagKey;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataTagKeyListResult();
|
|
||||||
explicit ExploreHiTSDBInstanceDataTagKeyListResult(const std::string &payload);
|
|
||||||
~ExploreHiTSDBInstanceDataTagKeyListResult();
|
|
||||||
std::string getInstanceId()const;
|
|
||||||
std::vector<Data> getTagKeyList()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
std::string instanceId_;
|
|
||||||
std::vector<Data> tagKeyList_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATATAGKEYLISTRESULT_H_
|
|
||||||
@@ -1,87 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATATAGVALUELISTREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATATAGVALUELISTREQUEST_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT ExploreHiTSDBInstanceDataTagValueListRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
ExploreHiTSDBInstanceDataTagValueListRequest();
|
|
||||||
~ExploreHiTSDBInstanceDataTagValueListRequest();
|
|
||||||
|
|
||||||
std::string getReverseVpcIp()const;
|
|
||||||
void setReverseVpcIp(const std::string& reverseVpcIp);
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
std::string getPrefix()const;
|
|
||||||
void setPrefix(const std::string& prefix);
|
|
||||||
int getReverseVpcPort()const;
|
|
||||||
void setReverseVpcPort(int reverseVpcPort);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getPassWord()const;
|
|
||||||
void setPassWord(const std::string& passWord);
|
|
||||||
std::string getSecurityToken()const;
|
|
||||||
void setSecurityToken(const std::string& securityToken);
|
|
||||||
std::string getResourceOwnerAccount()const;
|
|
||||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
|
||||||
long getMax()const;
|
|
||||||
void setMax(long max);
|
|
||||||
std::string getOwnerAccount()const;
|
|
||||||
void setOwnerAccount(const std::string& ownerAccount);
|
|
||||||
long getOwnerId()const;
|
|
||||||
void setOwnerId(long ownerId);
|
|
||||||
std::string getInstanceId()const;
|
|
||||||
void setInstanceId(const std::string& instanceId);
|
|
||||||
std::string getTagKey()const;
|
|
||||||
void setTagKey(const std::string& tagKey);
|
|
||||||
std::string getUserName()const;
|
|
||||||
void setUserName(const std::string& userName);
|
|
||||||
|
|
||||||
private:
|
|
||||||
std::string reverseVpcIp_;
|
|
||||||
long resourceOwnerId_;
|
|
||||||
std::string prefix_;
|
|
||||||
int reverseVpcPort_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string passWord_;
|
|
||||||
std::string securityToken_;
|
|
||||||
std::string resourceOwnerAccount_;
|
|
||||||
long max_;
|
|
||||||
std::string ownerAccount_;
|
|
||||||
long ownerId_;
|
|
||||||
std::string instanceId_;
|
|
||||||
std::string tagKey_;
|
|
||||||
std::string userName_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATATAGVALUELISTREQUEST_H_
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATATAGVALUELISTRESULT_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATATAGVALUELISTRESULT_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <utility>
|
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT ExploreHiTSDBInstanceDataTagValueListResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
struct Data
|
|
||||||
{
|
|
||||||
std::string tagValue;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataTagValueListResult();
|
|
||||||
explicit ExploreHiTSDBInstanceDataTagValueListResult(const std::string &payload);
|
|
||||||
~ExploreHiTSDBInstanceDataTagValueListResult();
|
|
||||||
std::string getInstanceId()const;
|
|
||||||
std::vector<Data> getTagValueList()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
std::string instanceId_;
|
|
||||||
std::vector<Data> tagValueList_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDATATAGVALUELISTRESULT_H_
|
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDELETIONJOBLISTREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDELETIONJOBLISTREQUEST_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT ExploreHiTSDBInstanceDeletionJobListRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
ExploreHiTSDBInstanceDeletionJobListRequest();
|
|
||||||
~ExploreHiTSDBInstanceDeletionJobListRequest();
|
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
int getPageNumber()const;
|
|
||||||
void setPageNumber(int pageNumber);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getPassWord()const;
|
|
||||||
void setPassWord(const std::string& passWord);
|
|
||||||
std::string getSecurityToken()const;
|
|
||||||
void setSecurityToken(const std::string& securityToken);
|
|
||||||
int getPageSize()const;
|
|
||||||
void setPageSize(int pageSize);
|
|
||||||
std::string getResourceOwnerAccount()const;
|
|
||||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
|
||||||
std::string getOwnerAccount()const;
|
|
||||||
void setOwnerAccount(const std::string& ownerAccount);
|
|
||||||
long getOwnerId()const;
|
|
||||||
void setOwnerId(long ownerId);
|
|
||||||
std::string getJobType()const;
|
|
||||||
void setJobType(const std::string& jobType);
|
|
||||||
std::string getInstanceId()const;
|
|
||||||
void setInstanceId(const std::string& instanceId);
|
|
||||||
std::string getUserName()const;
|
|
||||||
void setUserName(const std::string& userName);
|
|
||||||
|
|
||||||
private:
|
|
||||||
long resourceOwnerId_;
|
|
||||||
int pageNumber_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string passWord_;
|
|
||||||
std::string securityToken_;
|
|
||||||
int pageSize_;
|
|
||||||
std::string resourceOwnerAccount_;
|
|
||||||
std::string ownerAccount_;
|
|
||||||
long ownerId_;
|
|
||||||
std::string jobType_;
|
|
||||||
std::string instanceId_;
|
|
||||||
std::string userName_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDELETIONJOBLISTREQUEST_H_
|
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDELETIONJOBLISTRESULT_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDELETIONJOBLISTRESULT_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <utility>
|
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT ExploreHiTSDBInstanceDeletionJobListResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
struct JobItem
|
|
||||||
{
|
|
||||||
std::string status;
|
|
||||||
long endTime;
|
|
||||||
std::string instanceId;
|
|
||||||
std::string ip;
|
|
||||||
int port;
|
|
||||||
long startTime;
|
|
||||||
long jobEndTime;
|
|
||||||
std::string metric;
|
|
||||||
long jobCreationTime;
|
|
||||||
long jobStartTime;
|
|
||||||
long id;
|
|
||||||
std::string tags;
|
|
||||||
std::string jobTyp;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDeletionJobListResult();
|
|
||||||
explicit ExploreHiTSDBInstanceDeletionJobListResult(const std::string &payload);
|
|
||||||
~ExploreHiTSDBInstanceDeletionJobListResult();
|
|
||||||
int getPageSize()const;
|
|
||||||
int getPageNumber()const;
|
|
||||||
long getTotal()const;
|
|
||||||
std::vector<JobItem> getJobList()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
int pageSize_;
|
|
||||||
int pageNumber_;
|
|
||||||
long total_;
|
|
||||||
std::vector<JobItem> jobList_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_EXPLOREHITSDBINSTANCEDELETIONJOBLISTRESULT_H_
|
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_UPDATEHITSDBINSTANCEDATATTLREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_UPDATEHITSDBINSTANCEDATATTLREQUEST_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT UpdateHiTSDBInstanceDataTtlRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
UpdateHiTSDBInstanceDataTtlRequest();
|
|
||||||
~UpdateHiTSDBInstanceDataTtlRequest();
|
|
||||||
|
|
||||||
std::string getReverseVpcIp()const;
|
|
||||||
void setReverseVpcIp(const std::string& reverseVpcIp);
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
int getReverseVpcPort()const;
|
|
||||||
void setReverseVpcPort(int reverseVpcPort);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getPassWord()const;
|
|
||||||
void setPassWord(const std::string& passWord);
|
|
||||||
std::string getSecurityToken()const;
|
|
||||||
void setSecurityToken(const std::string& securityToken);
|
|
||||||
std::string getResourceOwnerAccount()const;
|
|
||||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
|
||||||
std::string getOwnerAccount()const;
|
|
||||||
void setOwnerAccount(const std::string& ownerAccount);
|
|
||||||
long getOwnerId()const;
|
|
||||||
void setOwnerId(long ownerId);
|
|
||||||
long getTtl()const;
|
|
||||||
void setTtl(long ttl);
|
|
||||||
std::string getInstanceId()const;
|
|
||||||
void setInstanceId(const std::string& instanceId);
|
|
||||||
std::string getUserName()const;
|
|
||||||
void setUserName(const std::string& userName);
|
|
||||||
|
|
||||||
private:
|
|
||||||
std::string reverseVpcIp_;
|
|
||||||
long resourceOwnerId_;
|
|
||||||
int reverseVpcPort_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string passWord_;
|
|
||||||
std::string securityToken_;
|
|
||||||
std::string resourceOwnerAccount_;
|
|
||||||
std::string ownerAccount_;
|
|
||||||
long ownerId_;
|
|
||||||
long ttl_;
|
|
||||||
std::string instanceId_;
|
|
||||||
std::string userName_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_UPDATEHITSDBINSTANCEDATATTLREQUEST_H_
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT 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_HITSDB_MODEL_UPDATEHITSDBINSTANCEDATATTLRESULT_H_
|
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_UPDATEHITSDBINSTANCEDATATTLRESULT_H_
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <utility>
|
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
|
||||||
{
|
|
||||||
namespace Hitsdb
|
|
||||||
{
|
|
||||||
namespace Model
|
|
||||||
{
|
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT UpdateHiTSDBInstanceDataTtlResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
|
|
||||||
UpdateHiTSDBInstanceDataTtlResult();
|
|
||||||
explicit UpdateHiTSDBInstanceDataTtlResult(const std::string &payload);
|
|
||||||
~UpdateHiTSDBInstanceDataTtlResult();
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_UPDATEHITSDBINSTANCEDATATTLRESULT_H_
|
|
||||||
@@ -123,78 +123,6 @@ HitsdbClient::DeleteHiTSDBInstanceOutcomeCallable HitsdbClient::deleteHiTSDBInst
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
HitsdbClient::DeleteHiTSDBInstanceDataOutcome HitsdbClient::deleteHiTSDBInstanceData(const DeleteHiTSDBInstanceDataRequest &request) const
|
|
||||||
{
|
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
|
||||||
if (!endpointOutcome.isSuccess())
|
|
||||||
return DeleteHiTSDBInstanceDataOutcome(endpointOutcome.error());
|
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
|
||||||
return DeleteHiTSDBInstanceDataOutcome(DeleteHiTSDBInstanceDataResult(outcome.result()));
|
|
||||||
else
|
|
||||||
return DeleteHiTSDBInstanceDataOutcome(outcome.error());
|
|
||||||
}
|
|
||||||
|
|
||||||
void HitsdbClient::deleteHiTSDBInstanceDataAsync(const DeleteHiTSDBInstanceDataRequest& request, const DeleteHiTSDBInstanceDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
|
||||||
{
|
|
||||||
auto fn = [this, request, handler, context]()
|
|
||||||
{
|
|
||||||
handler(this, request, deleteHiTSDBInstanceData(request), context);
|
|
||||||
};
|
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::DeleteHiTSDBInstanceDataOutcomeCallable HitsdbClient::deleteHiTSDBInstanceDataCallable(const DeleteHiTSDBInstanceDataRequest &request) const
|
|
||||||
{
|
|
||||||
auto task = std::make_shared<std::packaged_task<DeleteHiTSDBInstanceDataOutcome()>>(
|
|
||||||
[this, request]()
|
|
||||||
{
|
|
||||||
return this->deleteHiTSDBInstanceData(request);
|
|
||||||
});
|
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
|
||||||
return task->get_future();
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::DeleteHiTSDBInstanceMetaOutcome HitsdbClient::deleteHiTSDBInstanceMeta(const DeleteHiTSDBInstanceMetaRequest &request) const
|
|
||||||
{
|
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
|
||||||
if (!endpointOutcome.isSuccess())
|
|
||||||
return DeleteHiTSDBInstanceMetaOutcome(endpointOutcome.error());
|
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
|
||||||
return DeleteHiTSDBInstanceMetaOutcome(DeleteHiTSDBInstanceMetaResult(outcome.result()));
|
|
||||||
else
|
|
||||||
return DeleteHiTSDBInstanceMetaOutcome(outcome.error());
|
|
||||||
}
|
|
||||||
|
|
||||||
void HitsdbClient::deleteHiTSDBInstanceMetaAsync(const DeleteHiTSDBInstanceMetaRequest& request, const DeleteHiTSDBInstanceMetaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
|
||||||
{
|
|
||||||
auto fn = [this, request, handler, context]()
|
|
||||||
{
|
|
||||||
handler(this, request, deleteHiTSDBInstanceMeta(request), context);
|
|
||||||
};
|
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::DeleteHiTSDBInstanceMetaOutcomeCallable HitsdbClient::deleteHiTSDBInstanceMetaCallable(const DeleteHiTSDBInstanceMetaRequest &request) const
|
|
||||||
{
|
|
||||||
auto task = std::make_shared<std::packaged_task<DeleteHiTSDBInstanceMetaOutcome()>>(
|
|
||||||
[this, request]()
|
|
||||||
{
|
|
||||||
return this->deleteHiTSDBInstanceMeta(request);
|
|
||||||
});
|
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
|
||||||
return task->get_future();
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::DescribeHiTSDBInstanceOutcome HitsdbClient::describeHiTSDBInstance(const DescribeHiTSDBInstanceRequest &request) const
|
HitsdbClient::DescribeHiTSDBInstanceOutcome HitsdbClient::describeHiTSDBInstance(const DescribeHiTSDBInstanceRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -231,42 +159,6 @@ HitsdbClient::DescribeHiTSDBInstanceOutcomeCallable HitsdbClient::describeHiTSDB
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
HitsdbClient::DescribeHiTSDBInstanceDataTtlOutcome HitsdbClient::describeHiTSDBInstanceDataTtl(const DescribeHiTSDBInstanceDataTtlRequest &request) const
|
|
||||||
{
|
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
|
||||||
if (!endpointOutcome.isSuccess())
|
|
||||||
return DescribeHiTSDBInstanceDataTtlOutcome(endpointOutcome.error());
|
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
|
||||||
return DescribeHiTSDBInstanceDataTtlOutcome(DescribeHiTSDBInstanceDataTtlResult(outcome.result()));
|
|
||||||
else
|
|
||||||
return DescribeHiTSDBInstanceDataTtlOutcome(outcome.error());
|
|
||||||
}
|
|
||||||
|
|
||||||
void HitsdbClient::describeHiTSDBInstanceDataTtlAsync(const DescribeHiTSDBInstanceDataTtlRequest& request, const DescribeHiTSDBInstanceDataTtlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
|
||||||
{
|
|
||||||
auto fn = [this, request, handler, context]()
|
|
||||||
{
|
|
||||||
handler(this, request, describeHiTSDBInstanceDataTtl(request), context);
|
|
||||||
};
|
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::DescribeHiTSDBInstanceDataTtlOutcomeCallable HitsdbClient::describeHiTSDBInstanceDataTtlCallable(const DescribeHiTSDBInstanceDataTtlRequest &request) const
|
|
||||||
{
|
|
||||||
auto task = std::make_shared<std::packaged_task<DescribeHiTSDBInstanceDataTtlOutcome()>>(
|
|
||||||
[this, request]()
|
|
||||||
{
|
|
||||||
return this->describeHiTSDBInstanceDataTtl(request);
|
|
||||||
});
|
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
|
||||||
return task->get_future();
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::DescribeHiTSDBInstanceListOutcome HitsdbClient::describeHiTSDBInstanceList(const DescribeHiTSDBInstanceListRequest &request) const
|
HitsdbClient::DescribeHiTSDBInstanceListOutcome HitsdbClient::describeHiTSDBInstanceList(const DescribeHiTSDBInstanceListRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -411,186 +303,6 @@ HitsdbClient::DescribeZonesOutcomeCallable HitsdbClient::describeZonesCallable(c
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
HitsdbClient::ExploreHiTSDBInstanceDataOutcome HitsdbClient::exploreHiTSDBInstanceData(const ExploreHiTSDBInstanceDataRequest &request) const
|
|
||||||
{
|
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
|
||||||
if (!endpointOutcome.isSuccess())
|
|
||||||
return ExploreHiTSDBInstanceDataOutcome(endpointOutcome.error());
|
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
|
||||||
return ExploreHiTSDBInstanceDataOutcome(ExploreHiTSDBInstanceDataResult(outcome.result()));
|
|
||||||
else
|
|
||||||
return ExploreHiTSDBInstanceDataOutcome(outcome.error());
|
|
||||||
}
|
|
||||||
|
|
||||||
void HitsdbClient::exploreHiTSDBInstanceDataAsync(const ExploreHiTSDBInstanceDataRequest& request, const ExploreHiTSDBInstanceDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
|
||||||
{
|
|
||||||
auto fn = [this, request, handler, context]()
|
|
||||||
{
|
|
||||||
handler(this, request, exploreHiTSDBInstanceData(request), context);
|
|
||||||
};
|
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::ExploreHiTSDBInstanceDataOutcomeCallable HitsdbClient::exploreHiTSDBInstanceDataCallable(const ExploreHiTSDBInstanceDataRequest &request) const
|
|
||||||
{
|
|
||||||
auto task = std::make_shared<std::packaged_task<ExploreHiTSDBInstanceDataOutcome()>>(
|
|
||||||
[this, request]()
|
|
||||||
{
|
|
||||||
return this->exploreHiTSDBInstanceData(request);
|
|
||||||
});
|
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
|
||||||
return task->get_future();
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::ExploreHiTSDBInstanceDataMetricListOutcome HitsdbClient::exploreHiTSDBInstanceDataMetricList(const ExploreHiTSDBInstanceDataMetricListRequest &request) const
|
|
||||||
{
|
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
|
||||||
if (!endpointOutcome.isSuccess())
|
|
||||||
return ExploreHiTSDBInstanceDataMetricListOutcome(endpointOutcome.error());
|
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
|
||||||
return ExploreHiTSDBInstanceDataMetricListOutcome(ExploreHiTSDBInstanceDataMetricListResult(outcome.result()));
|
|
||||||
else
|
|
||||||
return ExploreHiTSDBInstanceDataMetricListOutcome(outcome.error());
|
|
||||||
}
|
|
||||||
|
|
||||||
void HitsdbClient::exploreHiTSDBInstanceDataMetricListAsync(const ExploreHiTSDBInstanceDataMetricListRequest& request, const ExploreHiTSDBInstanceDataMetricListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
|
||||||
{
|
|
||||||
auto fn = [this, request, handler, context]()
|
|
||||||
{
|
|
||||||
handler(this, request, exploreHiTSDBInstanceDataMetricList(request), context);
|
|
||||||
};
|
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::ExploreHiTSDBInstanceDataMetricListOutcomeCallable HitsdbClient::exploreHiTSDBInstanceDataMetricListCallable(const ExploreHiTSDBInstanceDataMetricListRequest &request) const
|
|
||||||
{
|
|
||||||
auto task = std::make_shared<std::packaged_task<ExploreHiTSDBInstanceDataMetricListOutcome()>>(
|
|
||||||
[this, request]()
|
|
||||||
{
|
|
||||||
return this->exploreHiTSDBInstanceDataMetricList(request);
|
|
||||||
});
|
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
|
||||||
return task->get_future();
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::ExploreHiTSDBInstanceDataTagKeyListOutcome HitsdbClient::exploreHiTSDBInstanceDataTagKeyList(const ExploreHiTSDBInstanceDataTagKeyListRequest &request) const
|
|
||||||
{
|
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
|
||||||
if (!endpointOutcome.isSuccess())
|
|
||||||
return ExploreHiTSDBInstanceDataTagKeyListOutcome(endpointOutcome.error());
|
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
|
||||||
return ExploreHiTSDBInstanceDataTagKeyListOutcome(ExploreHiTSDBInstanceDataTagKeyListResult(outcome.result()));
|
|
||||||
else
|
|
||||||
return ExploreHiTSDBInstanceDataTagKeyListOutcome(outcome.error());
|
|
||||||
}
|
|
||||||
|
|
||||||
void HitsdbClient::exploreHiTSDBInstanceDataTagKeyListAsync(const ExploreHiTSDBInstanceDataTagKeyListRequest& request, const ExploreHiTSDBInstanceDataTagKeyListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
|
||||||
{
|
|
||||||
auto fn = [this, request, handler, context]()
|
|
||||||
{
|
|
||||||
handler(this, request, exploreHiTSDBInstanceDataTagKeyList(request), context);
|
|
||||||
};
|
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::ExploreHiTSDBInstanceDataTagKeyListOutcomeCallable HitsdbClient::exploreHiTSDBInstanceDataTagKeyListCallable(const ExploreHiTSDBInstanceDataTagKeyListRequest &request) const
|
|
||||||
{
|
|
||||||
auto task = std::make_shared<std::packaged_task<ExploreHiTSDBInstanceDataTagKeyListOutcome()>>(
|
|
||||||
[this, request]()
|
|
||||||
{
|
|
||||||
return this->exploreHiTSDBInstanceDataTagKeyList(request);
|
|
||||||
});
|
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
|
||||||
return task->get_future();
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::ExploreHiTSDBInstanceDataTagValueListOutcome HitsdbClient::exploreHiTSDBInstanceDataTagValueList(const ExploreHiTSDBInstanceDataTagValueListRequest &request) const
|
|
||||||
{
|
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
|
||||||
if (!endpointOutcome.isSuccess())
|
|
||||||
return ExploreHiTSDBInstanceDataTagValueListOutcome(endpointOutcome.error());
|
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
|
||||||
return ExploreHiTSDBInstanceDataTagValueListOutcome(ExploreHiTSDBInstanceDataTagValueListResult(outcome.result()));
|
|
||||||
else
|
|
||||||
return ExploreHiTSDBInstanceDataTagValueListOutcome(outcome.error());
|
|
||||||
}
|
|
||||||
|
|
||||||
void HitsdbClient::exploreHiTSDBInstanceDataTagValueListAsync(const ExploreHiTSDBInstanceDataTagValueListRequest& request, const ExploreHiTSDBInstanceDataTagValueListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
|
||||||
{
|
|
||||||
auto fn = [this, request, handler, context]()
|
|
||||||
{
|
|
||||||
handler(this, request, exploreHiTSDBInstanceDataTagValueList(request), context);
|
|
||||||
};
|
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::ExploreHiTSDBInstanceDataTagValueListOutcomeCallable HitsdbClient::exploreHiTSDBInstanceDataTagValueListCallable(const ExploreHiTSDBInstanceDataTagValueListRequest &request) const
|
|
||||||
{
|
|
||||||
auto task = std::make_shared<std::packaged_task<ExploreHiTSDBInstanceDataTagValueListOutcome()>>(
|
|
||||||
[this, request]()
|
|
||||||
{
|
|
||||||
return this->exploreHiTSDBInstanceDataTagValueList(request);
|
|
||||||
});
|
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
|
||||||
return task->get_future();
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::ExploreHiTSDBInstanceDeletionJobListOutcome HitsdbClient::exploreHiTSDBInstanceDeletionJobList(const ExploreHiTSDBInstanceDeletionJobListRequest &request) const
|
|
||||||
{
|
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
|
||||||
if (!endpointOutcome.isSuccess())
|
|
||||||
return ExploreHiTSDBInstanceDeletionJobListOutcome(endpointOutcome.error());
|
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
|
||||||
return ExploreHiTSDBInstanceDeletionJobListOutcome(ExploreHiTSDBInstanceDeletionJobListResult(outcome.result()));
|
|
||||||
else
|
|
||||||
return ExploreHiTSDBInstanceDeletionJobListOutcome(outcome.error());
|
|
||||||
}
|
|
||||||
|
|
||||||
void HitsdbClient::exploreHiTSDBInstanceDeletionJobListAsync(const ExploreHiTSDBInstanceDeletionJobListRequest& request, const ExploreHiTSDBInstanceDeletionJobListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
|
||||||
{
|
|
||||||
auto fn = [this, request, handler, context]()
|
|
||||||
{
|
|
||||||
handler(this, request, exploreHiTSDBInstanceDeletionJobList(request), context);
|
|
||||||
};
|
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::ExploreHiTSDBInstanceDeletionJobListOutcomeCallable HitsdbClient::exploreHiTSDBInstanceDeletionJobListCallable(const ExploreHiTSDBInstanceDeletionJobListRequest &request) const
|
|
||||||
{
|
|
||||||
auto task = std::make_shared<std::packaged_task<ExploreHiTSDBInstanceDeletionJobListOutcome()>>(
|
|
||||||
[this, request]()
|
|
||||||
{
|
|
||||||
return this->exploreHiTSDBInstanceDeletionJobList(request);
|
|
||||||
});
|
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
|
||||||
return task->get_future();
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::ModifyHiTSDBInstanceClassOutcome HitsdbClient::modifyHiTSDBInstanceClass(const ModifyHiTSDBInstanceClassRequest &request) const
|
HitsdbClient::ModifyHiTSDBInstanceClassOutcome HitsdbClient::modifyHiTSDBInstanceClass(const ModifyHiTSDBInstanceClassRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -807,39 +519,3 @@ HitsdbClient::SwitchHiTSDBInstancePublicNetOutcomeCallable HitsdbClient::switchH
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
HitsdbClient::UpdateHiTSDBInstanceDataTtlOutcome HitsdbClient::updateHiTSDBInstanceDataTtl(const UpdateHiTSDBInstanceDataTtlRequest &request) const
|
|
||||||
{
|
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
|
||||||
if (!endpointOutcome.isSuccess())
|
|
||||||
return UpdateHiTSDBInstanceDataTtlOutcome(endpointOutcome.error());
|
|
||||||
|
|
||||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
|
||||||
|
|
||||||
if (outcome.isSuccess())
|
|
||||||
return UpdateHiTSDBInstanceDataTtlOutcome(UpdateHiTSDBInstanceDataTtlResult(outcome.result()));
|
|
||||||
else
|
|
||||||
return UpdateHiTSDBInstanceDataTtlOutcome(outcome.error());
|
|
||||||
}
|
|
||||||
|
|
||||||
void HitsdbClient::updateHiTSDBInstanceDataTtlAsync(const UpdateHiTSDBInstanceDataTtlRequest& request, const UpdateHiTSDBInstanceDataTtlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
|
||||||
{
|
|
||||||
auto fn = [this, request, handler, context]()
|
|
||||||
{
|
|
||||||
handler(this, request, updateHiTSDBInstanceDataTtl(request), context);
|
|
||||||
};
|
|
||||||
|
|
||||||
asyncExecute(new Runnable(fn));
|
|
||||||
}
|
|
||||||
|
|
||||||
HitsdbClient::UpdateHiTSDBInstanceDataTtlOutcomeCallable HitsdbClient::updateHiTSDBInstanceDataTtlCallable(const UpdateHiTSDBInstanceDataTtlRequest &request) const
|
|
||||||
{
|
|
||||||
auto task = std::make_shared<std::packaged_task<UpdateHiTSDBInstanceDataTtlOutcome()>>(
|
|
||||||
[this, request]()
|
|
||||||
{
|
|
||||||
return this->updateHiTSDBInstanceDataTtl(request);
|
|
||||||
});
|
|
||||||
|
|
||||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
|
||||||
return task->get_future();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@@ -38,17 +38,6 @@ void CreateHiTSDBInstanceRequest::setResourceOwnerId(long resourceOwnerId)
|
|||||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CreateHiTSDBInstanceRequest::getConnectionString()const
|
|
||||||
{
|
|
||||||
return connectionString_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void CreateHiTSDBInstanceRequest::setConnectionString(const std::string& connectionString)
|
|
||||||
{
|
|
||||||
connectionString_ = connectionString;
|
|
||||||
setParameter("ConnectionString", connectionString);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string CreateHiTSDBInstanceRequest::getClientToken()const
|
std::string CreateHiTSDBInstanceRequest::getClientToken()const
|
||||||
{
|
{
|
||||||
return clientToken_;
|
return clientToken_;
|
||||||
|
|||||||
@@ -1,194 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/DeleteHiTSDBInstanceDataRequest.h>
|
|
||||||
|
|
||||||
using AlibabaCloud::Hitsdb::Model::DeleteHiTSDBInstanceDataRequest;
|
|
||||||
|
|
||||||
DeleteHiTSDBInstanceDataRequest::DeleteHiTSDBInstanceDataRequest() :
|
|
||||||
RpcServiceRequest("hitsdb", "2017-06-01", "DeleteHiTSDBInstanceData")
|
|
||||||
{
|
|
||||||
setMethod(HttpRequest::Method::Post);
|
|
||||||
}
|
|
||||||
|
|
||||||
DeleteHiTSDBInstanceDataRequest::~DeleteHiTSDBInstanceDataRequest()
|
|
||||||
{}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceDataRequest::getReverseVpcIp()const
|
|
||||||
{
|
|
||||||
return reverseVpcIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataRequest::setReverseVpcIp(const std::string& reverseVpcIp)
|
|
||||||
{
|
|
||||||
reverseVpcIp_ = reverseVpcIp;
|
|
||||||
setParameter("ReverseVpcIp", reverseVpcIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
long DeleteHiTSDBInstanceDataRequest::getResourceOwnerId()const
|
|
||||||
{
|
|
||||||
return resourceOwnerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataRequest::setResourceOwnerId(long resourceOwnerId)
|
|
||||||
{
|
|
||||||
resourceOwnerId_ = resourceOwnerId;
|
|
||||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
int DeleteHiTSDBInstanceDataRequest::getReverseVpcPort()const
|
|
||||||
{
|
|
||||||
return reverseVpcPort_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataRequest::setReverseVpcPort(int reverseVpcPort)
|
|
||||||
{
|
|
||||||
reverseVpcPort_ = reverseVpcPort;
|
|
||||||
setParameter("ReverseVpcPort", std::to_string(reverseVpcPort));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceDataRequest::getAccessKeyId()const
|
|
||||||
{
|
|
||||||
return accessKeyId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
|
||||||
{
|
|
||||||
accessKeyId_ = accessKeyId;
|
|
||||||
setParameter("AccessKeyId", accessKeyId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceDataRequest::getPassWord()const
|
|
||||||
{
|
|
||||||
return passWord_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataRequest::setPassWord(const std::string& passWord)
|
|
||||||
{
|
|
||||||
passWord_ = passWord;
|
|
||||||
setParameter("PassWord", passWord);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceDataRequest::getSecurityToken()const
|
|
||||||
{
|
|
||||||
return securityToken_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataRequest::setSecurityToken(const std::string& securityToken)
|
|
||||||
{
|
|
||||||
securityToken_ = securityToken;
|
|
||||||
setParameter("SecurityToken", securityToken);
|
|
||||||
}
|
|
||||||
|
|
||||||
long DeleteHiTSDBInstanceDataRequest::getEnd()const
|
|
||||||
{
|
|
||||||
return end_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataRequest::setEnd(long end)
|
|
||||||
{
|
|
||||||
end_ = end;
|
|
||||||
setParameter("End", std::to_string(end));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceDataRequest::getResourceOwnerAccount()const
|
|
||||||
{
|
|
||||||
return resourceOwnerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
|
||||||
{
|
|
||||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
|
||||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceDataRequest::getOwnerAccount()const
|
|
||||||
{
|
|
||||||
return ownerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataRequest::setOwnerAccount(const std::string& ownerAccount)
|
|
||||||
{
|
|
||||||
ownerAccount_ = ownerAccount;
|
|
||||||
setParameter("OwnerAccount", ownerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
long DeleteHiTSDBInstanceDataRequest::getStart()const
|
|
||||||
{
|
|
||||||
return start_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataRequest::setStart(long start)
|
|
||||||
{
|
|
||||||
start_ = start;
|
|
||||||
setParameter("Start", std::to_string(start));
|
|
||||||
}
|
|
||||||
|
|
||||||
long DeleteHiTSDBInstanceDataRequest::getOwnerId()const
|
|
||||||
{
|
|
||||||
return ownerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataRequest::setOwnerId(long ownerId)
|
|
||||||
{
|
|
||||||
ownerId_ = ownerId;
|
|
||||||
setParameter("OwnerId", std::to_string(ownerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceDataRequest::getTags()const
|
|
||||||
{
|
|
||||||
return tags_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataRequest::setTags(const std::string& tags)
|
|
||||||
{
|
|
||||||
tags_ = tags;
|
|
||||||
setParameter("Tags", tags);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceDataRequest::getInstanceId()const
|
|
||||||
{
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataRequest::setInstanceId(const std::string& instanceId)
|
|
||||||
{
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter("InstanceId", instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceDataRequest::getMetric()const
|
|
||||||
{
|
|
||||||
return metric_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataRequest::setMetric(const std::string& metric)
|
|
||||||
{
|
|
||||||
metric_ = metric;
|
|
||||||
setParameter("Metric", metric);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceDataRequest::getUserName()const
|
|
||||||
{
|
|
||||||
return userName_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataRequest::setUserName(const std::string& userName)
|
|
||||||
{
|
|
||||||
userName_ = userName;
|
|
||||||
setParameter("UserName", userName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/DeleteHiTSDBInstanceDataResult.h>
|
|
||||||
#include <json/json.h>
|
|
||||||
|
|
||||||
using namespace AlibabaCloud::Hitsdb;
|
|
||||||
using namespace AlibabaCloud::Hitsdb::Model;
|
|
||||||
|
|
||||||
DeleteHiTSDBInstanceDataResult::DeleteHiTSDBInstanceDataResult() :
|
|
||||||
ServiceResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
DeleteHiTSDBInstanceDataResult::DeleteHiTSDBInstanceDataResult(const std::string &payload) :
|
|
||||||
ServiceResult()
|
|
||||||
{
|
|
||||||
parse(payload);
|
|
||||||
}
|
|
||||||
|
|
||||||
DeleteHiTSDBInstanceDataResult::~DeleteHiTSDBInstanceDataResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceDataResult::parse(const std::string &payload)
|
|
||||||
{
|
|
||||||
Json::Reader reader;
|
|
||||||
Json::Value value;
|
|
||||||
reader.parse(payload, value);
|
|
||||||
setRequestId(value["RequestId"].asString());
|
|
||||||
if(!value["TaskId"].isNull())
|
|
||||||
taskId_ = std::stol(value["TaskId"].asString());
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
long DeleteHiTSDBInstanceDataResult::getTaskId()const
|
|
||||||
{
|
|
||||||
return taskId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,172 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/DeleteHiTSDBInstanceMetaRequest.h>
|
|
||||||
|
|
||||||
using AlibabaCloud::Hitsdb::Model::DeleteHiTSDBInstanceMetaRequest;
|
|
||||||
|
|
||||||
DeleteHiTSDBInstanceMetaRequest::DeleteHiTSDBInstanceMetaRequest() :
|
|
||||||
RpcServiceRequest("hitsdb", "2017-06-01", "DeleteHiTSDBInstanceMeta")
|
|
||||||
{
|
|
||||||
setMethod(HttpRequest::Method::Post);
|
|
||||||
}
|
|
||||||
|
|
||||||
DeleteHiTSDBInstanceMetaRequest::~DeleteHiTSDBInstanceMetaRequest()
|
|
||||||
{}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceMetaRequest::getReverseVpcIp()const
|
|
||||||
{
|
|
||||||
return reverseVpcIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceMetaRequest::setReverseVpcIp(const std::string& reverseVpcIp)
|
|
||||||
{
|
|
||||||
reverseVpcIp_ = reverseVpcIp;
|
|
||||||
setParameter("ReverseVpcIp", reverseVpcIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
long DeleteHiTSDBInstanceMetaRequest::getResourceOwnerId()const
|
|
||||||
{
|
|
||||||
return resourceOwnerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceMetaRequest::setResourceOwnerId(long resourceOwnerId)
|
|
||||||
{
|
|
||||||
resourceOwnerId_ = resourceOwnerId;
|
|
||||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
int DeleteHiTSDBInstanceMetaRequest::getReverseVpcPort()const
|
|
||||||
{
|
|
||||||
return reverseVpcPort_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceMetaRequest::setReverseVpcPort(int reverseVpcPort)
|
|
||||||
{
|
|
||||||
reverseVpcPort_ = reverseVpcPort;
|
|
||||||
setParameter("ReverseVpcPort", std::to_string(reverseVpcPort));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceMetaRequest::getAccessKeyId()const
|
|
||||||
{
|
|
||||||
return accessKeyId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceMetaRequest::setAccessKeyId(const std::string& accessKeyId)
|
|
||||||
{
|
|
||||||
accessKeyId_ = accessKeyId;
|
|
||||||
setParameter("AccessKeyId", accessKeyId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceMetaRequest::getPassWord()const
|
|
||||||
{
|
|
||||||
return passWord_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceMetaRequest::setPassWord(const std::string& passWord)
|
|
||||||
{
|
|
||||||
passWord_ = passWord;
|
|
||||||
setParameter("PassWord", passWord);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceMetaRequest::getSecurityToken()const
|
|
||||||
{
|
|
||||||
return securityToken_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceMetaRequest::setSecurityToken(const std::string& securityToken)
|
|
||||||
{
|
|
||||||
securityToken_ = securityToken;
|
|
||||||
setParameter("SecurityToken", securityToken);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceMetaRequest::getResourceOwnerAccount()const
|
|
||||||
{
|
|
||||||
return resourceOwnerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceMetaRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
|
||||||
{
|
|
||||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
|
||||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceMetaRequest::getOwnerAccount()const
|
|
||||||
{
|
|
||||||
return ownerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceMetaRequest::setOwnerAccount(const std::string& ownerAccount)
|
|
||||||
{
|
|
||||||
ownerAccount_ = ownerAccount;
|
|
||||||
setParameter("OwnerAccount", ownerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
long DeleteHiTSDBInstanceMetaRequest::getOwnerId()const
|
|
||||||
{
|
|
||||||
return ownerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceMetaRequest::setOwnerId(long ownerId)
|
|
||||||
{
|
|
||||||
ownerId_ = ownerId;
|
|
||||||
setParameter("OwnerId", std::to_string(ownerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceMetaRequest::getTags()const
|
|
||||||
{
|
|
||||||
return tags_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceMetaRequest::setTags(const std::string& tags)
|
|
||||||
{
|
|
||||||
tags_ = tags;
|
|
||||||
setParameter("Tags", tags);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceMetaRequest::getInstanceId()const
|
|
||||||
{
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceMetaRequest::setInstanceId(const std::string& instanceId)
|
|
||||||
{
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter("InstanceId", instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceMetaRequest::getMetric()const
|
|
||||||
{
|
|
||||||
return metric_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceMetaRequest::setMetric(const std::string& metric)
|
|
||||||
{
|
|
||||||
metric_ = metric;
|
|
||||||
setParameter("Metric", metric);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteHiTSDBInstanceMetaRequest::getUserName()const
|
|
||||||
{
|
|
||||||
return userName_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceMetaRequest::setUserName(const std::string& userName)
|
|
||||||
{
|
|
||||||
userName_ = userName;
|
|
||||||
setParameter("UserName", userName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/DeleteHiTSDBInstanceMetaResult.h>
|
|
||||||
#include <json/json.h>
|
|
||||||
|
|
||||||
using namespace AlibabaCloud::Hitsdb;
|
|
||||||
using namespace AlibabaCloud::Hitsdb::Model;
|
|
||||||
|
|
||||||
DeleteHiTSDBInstanceMetaResult::DeleteHiTSDBInstanceMetaResult() :
|
|
||||||
ServiceResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
DeleteHiTSDBInstanceMetaResult::DeleteHiTSDBInstanceMetaResult(const std::string &payload) :
|
|
||||||
ServiceResult()
|
|
||||||
{
|
|
||||||
parse(payload);
|
|
||||||
}
|
|
||||||
|
|
||||||
DeleteHiTSDBInstanceMetaResult::~DeleteHiTSDBInstanceMetaResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
void DeleteHiTSDBInstanceMetaResult::parse(const std::string &payload)
|
|
||||||
{
|
|
||||||
Json::Reader reader;
|
|
||||||
Json::Value value;
|
|
||||||
reader.parse(payload, value);
|
|
||||||
setRequestId(value["RequestId"].asString());
|
|
||||||
if(!value["TaskId"].isNull())
|
|
||||||
taskId_ = std::stol(value["TaskId"].asString());
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
long DeleteHiTSDBInstanceMetaResult::getTaskId()const
|
|
||||||
{
|
|
||||||
return taskId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,150 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/DescribeHiTSDBInstanceDataTtlRequest.h>
|
|
||||||
|
|
||||||
using AlibabaCloud::Hitsdb::Model::DescribeHiTSDBInstanceDataTtlRequest;
|
|
||||||
|
|
||||||
DescribeHiTSDBInstanceDataTtlRequest::DescribeHiTSDBInstanceDataTtlRequest() :
|
|
||||||
RpcServiceRequest("hitsdb", "2017-06-01", "DescribeHiTSDBInstanceDataTtl")
|
|
||||||
{
|
|
||||||
setMethod(HttpRequest::Method::Post);
|
|
||||||
}
|
|
||||||
|
|
||||||
DescribeHiTSDBInstanceDataTtlRequest::~DescribeHiTSDBInstanceDataTtlRequest()
|
|
||||||
{}
|
|
||||||
|
|
||||||
std::string DescribeHiTSDBInstanceDataTtlRequest::getReverseVpcIp()const
|
|
||||||
{
|
|
||||||
return reverseVpcIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeHiTSDBInstanceDataTtlRequest::setReverseVpcIp(const std::string& reverseVpcIp)
|
|
||||||
{
|
|
||||||
reverseVpcIp_ = reverseVpcIp;
|
|
||||||
setParameter("ReverseVpcIp", reverseVpcIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
long DescribeHiTSDBInstanceDataTtlRequest::getResourceOwnerId()const
|
|
||||||
{
|
|
||||||
return resourceOwnerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeHiTSDBInstanceDataTtlRequest::setResourceOwnerId(long resourceOwnerId)
|
|
||||||
{
|
|
||||||
resourceOwnerId_ = resourceOwnerId;
|
|
||||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
int DescribeHiTSDBInstanceDataTtlRequest::getReverseVpcPort()const
|
|
||||||
{
|
|
||||||
return reverseVpcPort_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeHiTSDBInstanceDataTtlRequest::setReverseVpcPort(int reverseVpcPort)
|
|
||||||
{
|
|
||||||
reverseVpcPort_ = reverseVpcPort;
|
|
||||||
setParameter("ReverseVpcPort", std::to_string(reverseVpcPort));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeHiTSDBInstanceDataTtlRequest::getAccessKeyId()const
|
|
||||||
{
|
|
||||||
return accessKeyId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeHiTSDBInstanceDataTtlRequest::setAccessKeyId(const std::string& accessKeyId)
|
|
||||||
{
|
|
||||||
accessKeyId_ = accessKeyId;
|
|
||||||
setParameter("AccessKeyId", accessKeyId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeHiTSDBInstanceDataTtlRequest::getPassWord()const
|
|
||||||
{
|
|
||||||
return passWord_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeHiTSDBInstanceDataTtlRequest::setPassWord(const std::string& passWord)
|
|
||||||
{
|
|
||||||
passWord_ = passWord;
|
|
||||||
setParameter("PassWord", passWord);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeHiTSDBInstanceDataTtlRequest::getSecurityToken()const
|
|
||||||
{
|
|
||||||
return securityToken_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeHiTSDBInstanceDataTtlRequest::setSecurityToken(const std::string& securityToken)
|
|
||||||
{
|
|
||||||
securityToken_ = securityToken;
|
|
||||||
setParameter("SecurityToken", securityToken);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeHiTSDBInstanceDataTtlRequest::getResourceOwnerAccount()const
|
|
||||||
{
|
|
||||||
return resourceOwnerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeHiTSDBInstanceDataTtlRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
|
||||||
{
|
|
||||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
|
||||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeHiTSDBInstanceDataTtlRequest::getOwnerAccount()const
|
|
||||||
{
|
|
||||||
return ownerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeHiTSDBInstanceDataTtlRequest::setOwnerAccount(const std::string& ownerAccount)
|
|
||||||
{
|
|
||||||
ownerAccount_ = ownerAccount;
|
|
||||||
setParameter("OwnerAccount", ownerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
long DescribeHiTSDBInstanceDataTtlRequest::getOwnerId()const
|
|
||||||
{
|
|
||||||
return ownerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeHiTSDBInstanceDataTtlRequest::setOwnerId(long ownerId)
|
|
||||||
{
|
|
||||||
ownerId_ = ownerId;
|
|
||||||
setParameter("OwnerId", std::to_string(ownerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeHiTSDBInstanceDataTtlRequest::getInstanceId()const
|
|
||||||
{
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeHiTSDBInstanceDataTtlRequest::setInstanceId(const std::string& instanceId)
|
|
||||||
{
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter("InstanceId", instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeHiTSDBInstanceDataTtlRequest::getUserName()const
|
|
||||||
{
|
|
||||||
return userName_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeHiTSDBInstanceDataTtlRequest::setUserName(const std::string& userName)
|
|
||||||
{
|
|
||||||
userName_ = userName;
|
|
||||||
setParameter("UserName", userName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/DescribeHiTSDBInstanceDataTtlResult.h>
|
|
||||||
#include <json/json.h>
|
|
||||||
|
|
||||||
using namespace AlibabaCloud::Hitsdb;
|
|
||||||
using namespace AlibabaCloud::Hitsdb::Model;
|
|
||||||
|
|
||||||
DescribeHiTSDBInstanceDataTtlResult::DescribeHiTSDBInstanceDataTtlResult() :
|
|
||||||
ServiceResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
DescribeHiTSDBInstanceDataTtlResult::DescribeHiTSDBInstanceDataTtlResult(const std::string &payload) :
|
|
||||||
ServiceResult()
|
|
||||||
{
|
|
||||||
parse(payload);
|
|
||||||
}
|
|
||||||
|
|
||||||
DescribeHiTSDBInstanceDataTtlResult::~DescribeHiTSDBInstanceDataTtlResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
void DescribeHiTSDBInstanceDataTtlResult::parse(const std::string &payload)
|
|
||||||
{
|
|
||||||
Json::Reader reader;
|
|
||||||
Json::Value value;
|
|
||||||
reader.parse(payload, value);
|
|
||||||
setRequestId(value["RequestId"].asString());
|
|
||||||
if(!value["Ttl"].isNull())
|
|
||||||
ttl_ = std::stol(value["Ttl"].asString());
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
long DescribeHiTSDBInstanceDataTtlResult::getTtl()const
|
|
||||||
{
|
|
||||||
return ttl_;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -85,6 +85,14 @@ void DescribeHiTSDBInstanceListResult::parse(const std::string &payload)
|
|||||||
instanceListObject.vpcId = valueInstanceListInstance["VpcId"].asString();
|
instanceListObject.vpcId = valueInstanceListInstance["VpcId"].asString();
|
||||||
if(!valueInstanceListInstance["VswitchId"].isNull())
|
if(!valueInstanceListInstance["VswitchId"].isNull())
|
||||||
instanceListObject.vswitchId = valueInstanceListInstance["VswitchId"].asString();
|
instanceListObject.vswitchId = valueInstanceListInstance["VswitchId"].asString();
|
||||||
|
if(!valueInstanceListInstance["Status"].isNull())
|
||||||
|
instanceListObject.status = valueInstanceListInstance["Status"].asString();
|
||||||
|
if(!valueInstanceListInstance["PaymentType"].isNull())
|
||||||
|
instanceListObject.paymentType = valueInstanceListInstance["PaymentType"].asString();
|
||||||
|
if(!valueInstanceListInstance["CreateTime"].isNull())
|
||||||
|
instanceListObject.createTime = std::stol(valueInstanceListInstance["CreateTime"].asString());
|
||||||
|
if(!valueInstanceListInstance["ExpiredTime"].isNull())
|
||||||
|
instanceListObject.expiredTime = std::stol(valueInstanceListInstance["ExpiredTime"].asString());
|
||||||
instanceList_.push_back(instanceListObject);
|
instanceList_.push_back(instanceListObject);
|
||||||
}
|
}
|
||||||
if(!value["PageNumber"].isNull())
|
if(!value["PageNumber"].isNull())
|
||||||
|
|||||||
@@ -101,6 +101,14 @@ void DescribeHiTSDBInstanceResult::parse(const std::string &payload)
|
|||||||
rDSStatus_ = value["RDSStatus"].asString();
|
rDSStatus_ = value["RDSStatus"].asString();
|
||||||
if(!value["DiskCategory"].isNull())
|
if(!value["DiskCategory"].isNull())
|
||||||
diskCategory_ = value["DiskCategory"].asString();
|
diskCategory_ = value["DiskCategory"].asString();
|
||||||
|
if(!value["Status"].isNull())
|
||||||
|
status_ = value["Status"].asString();
|
||||||
|
if(!value["PaymentType"].isNull())
|
||||||
|
paymentType_ = value["PaymentType"].asString();
|
||||||
|
if(!value["CreateTime"].isNull())
|
||||||
|
createTime_ = std::stol(value["CreateTime"].asString());
|
||||||
|
if(!value["ExpiredTime"].isNull())
|
||||||
|
expiredTime_ = std::stol(value["ExpiredTime"].asString());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -144,6 +152,11 @@ std::string DescribeHiTSDBInstanceResult::getMemSize()const
|
|||||||
return memSize_;
|
return memSize_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long DescribeHiTSDBInstanceResult::getExpiredTime()const
|
||||||
|
{
|
||||||
|
return expiredTime_;
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeHiTSDBInstanceResult::getMaxTimelineLimit()const
|
std::string DescribeHiTSDBInstanceResult::getMaxTimelineLimit()const
|
||||||
{
|
{
|
||||||
return maxTimelineLimit_;
|
return maxTimelineLimit_;
|
||||||
@@ -154,6 +167,11 @@ std::string DescribeHiTSDBInstanceResult::getReverseVpcPort()const
|
|||||||
return reverseVpcPort_;
|
return reverseVpcPort_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeHiTSDBInstanceResult::getPaymentType()const
|
||||||
|
{
|
||||||
|
return paymentType_;
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeHiTSDBInstanceResult::getPublicConnectionString()const
|
std::string DescribeHiTSDBInstanceResult::getPublicConnectionString()const
|
||||||
{
|
{
|
||||||
return publicConnectionString_;
|
return publicConnectionString_;
|
||||||
@@ -174,6 +192,11 @@ std::string DescribeHiTSDBInstanceResult::getRDSStatus()const
|
|||||||
return rDSStatus_;
|
return rDSStatus_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeHiTSDBInstanceResult::getStatus()const
|
||||||
|
{
|
||||||
|
return status_;
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeHiTSDBInstanceResult::getInstanceStorage()const
|
std::string DescribeHiTSDBInstanceResult::getInstanceStorage()const
|
||||||
{
|
{
|
||||||
return instanceStorage_;
|
return instanceStorage_;
|
||||||
@@ -189,6 +212,11 @@ std::string DescribeHiTSDBInstanceResult::getInstanceId()const
|
|||||||
return instanceId_;
|
return instanceId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long DescribeHiTSDBInstanceResult::getCreateTime()const
|
||||||
|
{
|
||||||
|
return createTime_;
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeHiTSDBInstanceResult::getDiskCategory()const
|
std::string DescribeHiTSDBInstanceResult::getDiskCategory()const
|
||||||
{
|
{
|
||||||
return diskCategory_;
|
return diskCategory_;
|
||||||
|
|||||||
@@ -1,172 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataMetricListRequest.h>
|
|
||||||
|
|
||||||
using AlibabaCloud::Hitsdb::Model::ExploreHiTSDBInstanceDataMetricListRequest;
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataMetricListRequest::ExploreHiTSDBInstanceDataMetricListRequest() :
|
|
||||||
RpcServiceRequest("hitsdb", "2017-06-01", "ExploreHiTSDBInstanceDataMetricList")
|
|
||||||
{
|
|
||||||
setMethod(HttpRequest::Method::Post);
|
|
||||||
}
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataMetricListRequest::~ExploreHiTSDBInstanceDataMetricListRequest()
|
|
||||||
{}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataMetricListRequest::getReverseVpcIp()const
|
|
||||||
{
|
|
||||||
return reverseVpcIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataMetricListRequest::setReverseVpcIp(const std::string& reverseVpcIp)
|
|
||||||
{
|
|
||||||
reverseVpcIp_ = reverseVpcIp;
|
|
||||||
setParameter("ReverseVpcIp", reverseVpcIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDataMetricListRequest::getResourceOwnerId()const
|
|
||||||
{
|
|
||||||
return resourceOwnerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataMetricListRequest::setResourceOwnerId(long resourceOwnerId)
|
|
||||||
{
|
|
||||||
resourceOwnerId_ = resourceOwnerId;
|
|
||||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataMetricListRequest::getPrefix()const
|
|
||||||
{
|
|
||||||
return prefix_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataMetricListRequest::setPrefix(const std::string& prefix)
|
|
||||||
{
|
|
||||||
prefix_ = prefix;
|
|
||||||
setParameter("Prefix", prefix);
|
|
||||||
}
|
|
||||||
|
|
||||||
int ExploreHiTSDBInstanceDataMetricListRequest::getReverseVpcPort()const
|
|
||||||
{
|
|
||||||
return reverseVpcPort_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataMetricListRequest::setReverseVpcPort(int reverseVpcPort)
|
|
||||||
{
|
|
||||||
reverseVpcPort_ = reverseVpcPort;
|
|
||||||
setParameter("ReverseVpcPort", std::to_string(reverseVpcPort));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataMetricListRequest::getAccessKeyId()const
|
|
||||||
{
|
|
||||||
return accessKeyId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataMetricListRequest::setAccessKeyId(const std::string& accessKeyId)
|
|
||||||
{
|
|
||||||
accessKeyId_ = accessKeyId;
|
|
||||||
setParameter("AccessKeyId", accessKeyId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataMetricListRequest::getPassWord()const
|
|
||||||
{
|
|
||||||
return passWord_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataMetricListRequest::setPassWord(const std::string& passWord)
|
|
||||||
{
|
|
||||||
passWord_ = passWord;
|
|
||||||
setParameter("PassWord", passWord);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataMetricListRequest::getSecurityToken()const
|
|
||||||
{
|
|
||||||
return securityToken_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataMetricListRequest::setSecurityToken(const std::string& securityToken)
|
|
||||||
{
|
|
||||||
securityToken_ = securityToken;
|
|
||||||
setParameter("SecurityToken", securityToken);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataMetricListRequest::getResourceOwnerAccount()const
|
|
||||||
{
|
|
||||||
return resourceOwnerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataMetricListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
|
||||||
{
|
|
||||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
|
||||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDataMetricListRequest::getMax()const
|
|
||||||
{
|
|
||||||
return max_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataMetricListRequest::setMax(long max)
|
|
||||||
{
|
|
||||||
max_ = max;
|
|
||||||
setParameter("Max", std::to_string(max));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataMetricListRequest::getOwnerAccount()const
|
|
||||||
{
|
|
||||||
return ownerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataMetricListRequest::setOwnerAccount(const std::string& ownerAccount)
|
|
||||||
{
|
|
||||||
ownerAccount_ = ownerAccount;
|
|
||||||
setParameter("OwnerAccount", ownerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDataMetricListRequest::getOwnerId()const
|
|
||||||
{
|
|
||||||
return ownerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataMetricListRequest::setOwnerId(long ownerId)
|
|
||||||
{
|
|
||||||
ownerId_ = ownerId;
|
|
||||||
setParameter("OwnerId", std::to_string(ownerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataMetricListRequest::getInstanceId()const
|
|
||||||
{
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataMetricListRequest::setInstanceId(const std::string& instanceId)
|
|
||||||
{
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter("InstanceId", instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataMetricListRequest::getUserName()const
|
|
||||||
{
|
|
||||||
return userName_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataMetricListRequest::setUserName(const std::string& userName)
|
|
||||||
{
|
|
||||||
userName_ = userName;
|
|
||||||
setParameter("UserName", userName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataMetricListResult.h>
|
|
||||||
#include <json/json.h>
|
|
||||||
|
|
||||||
using namespace AlibabaCloud::Hitsdb;
|
|
||||||
using namespace AlibabaCloud::Hitsdb::Model;
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataMetricListResult::ExploreHiTSDBInstanceDataMetricListResult() :
|
|
||||||
ServiceResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataMetricListResult::ExploreHiTSDBInstanceDataMetricListResult(const std::string &payload) :
|
|
||||||
ServiceResult()
|
|
||||||
{
|
|
||||||
parse(payload);
|
|
||||||
}
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataMetricListResult::~ExploreHiTSDBInstanceDataMetricListResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataMetricListResult::parse(const std::string &payload)
|
|
||||||
{
|
|
||||||
Json::Reader reader;
|
|
||||||
Json::Value value;
|
|
||||||
reader.parse(payload, value);
|
|
||||||
setRequestId(value["RequestId"].asString());
|
|
||||||
auto allMetricListNode = value["MetricList"]["Data"];
|
|
||||||
for (auto valueMetricListData : allMetricListNode)
|
|
||||||
{
|
|
||||||
Data metricListObject;
|
|
||||||
if(!valueMetricListData["Metric"].isNull())
|
|
||||||
metricListObject.metric = valueMetricListData["Metric"].asString();
|
|
||||||
metricList_.push_back(metricListObject);
|
|
||||||
}
|
|
||||||
if(!value["InstanceId"].isNull())
|
|
||||||
instanceId_ = value["InstanceId"].asString();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataMetricListResult::getInstanceId()const
|
|
||||||
{
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::vector<ExploreHiTSDBInstanceDataMetricListResult::Data> ExploreHiTSDBInstanceDataMetricListResult::getMetricList()const
|
|
||||||
{
|
|
||||||
return metricList_;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,227 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataRequest.h>
|
|
||||||
|
|
||||||
using AlibabaCloud::Hitsdb::Model::ExploreHiTSDBInstanceDataRequest;
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataRequest::ExploreHiTSDBInstanceDataRequest() :
|
|
||||||
RpcServiceRequest("hitsdb", "2017-06-01", "ExploreHiTSDBInstanceData")
|
|
||||||
{
|
|
||||||
setMethod(HttpRequest::Method::Post);
|
|
||||||
}
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataRequest::~ExploreHiTSDBInstanceDataRequest()
|
|
||||||
{}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataRequest::getReverseVpcIp()const
|
|
||||||
{
|
|
||||||
return reverseVpcIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setReverseVpcIp(const std::string& reverseVpcIp)
|
|
||||||
{
|
|
||||||
reverseVpcIp_ = reverseVpcIp;
|
|
||||||
setParameter("ReverseVpcIp", reverseVpcIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDataRequest::getResourceOwnerId()const
|
|
||||||
{
|
|
||||||
return resourceOwnerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setResourceOwnerId(long resourceOwnerId)
|
|
||||||
{
|
|
||||||
resourceOwnerId_ = resourceOwnerId;
|
|
||||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
int ExploreHiTSDBInstanceDataRequest::getReverseVpcPort()const
|
|
||||||
{
|
|
||||||
return reverseVpcPort_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setReverseVpcPort(int reverseVpcPort)
|
|
||||||
{
|
|
||||||
reverseVpcPort_ = reverseVpcPort;
|
|
||||||
setParameter("ReverseVpcPort", std::to_string(reverseVpcPort));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataRequest::getAccessKeyId()const
|
|
||||||
{
|
|
||||||
return accessKeyId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
|
||||||
{
|
|
||||||
accessKeyId_ = accessKeyId;
|
|
||||||
setParameter("AccessKeyId", accessKeyId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataRequest::getPassWord()const
|
|
||||||
{
|
|
||||||
return passWord_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setPassWord(const std::string& passWord)
|
|
||||||
{
|
|
||||||
passWord_ = passWord;
|
|
||||||
setParameter("PassWord", passWord);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataRequest::getSecurityToken()const
|
|
||||||
{
|
|
||||||
return securityToken_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setSecurityToken(const std::string& securityToken)
|
|
||||||
{
|
|
||||||
securityToken_ = securityToken;
|
|
||||||
setParameter("SecurityToken", securityToken);
|
|
||||||
}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDataRequest::getEnd()const
|
|
||||||
{
|
|
||||||
return end_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setEnd(long end)
|
|
||||||
{
|
|
||||||
end_ = end;
|
|
||||||
setParameter("End", std::to_string(end));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataRequest::getResourceOwnerAccount()const
|
|
||||||
{
|
|
||||||
return resourceOwnerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
|
||||||
{
|
|
||||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
|
||||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataRequest::getOwnerAccount()const
|
|
||||||
{
|
|
||||||
return ownerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setOwnerAccount(const std::string& ownerAccount)
|
|
||||||
{
|
|
||||||
ownerAccount_ = ownerAccount;
|
|
||||||
setParameter("OwnerAccount", ownerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataRequest::getAggregator()const
|
|
||||||
{
|
|
||||||
return aggregator_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setAggregator(const std::string& aggregator)
|
|
||||||
{
|
|
||||||
aggregator_ = aggregator;
|
|
||||||
setParameter("Aggregator", aggregator);
|
|
||||||
}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDataRequest::getStart()const
|
|
||||||
{
|
|
||||||
return start_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setStart(long start)
|
|
||||||
{
|
|
||||||
start_ = start;
|
|
||||||
setParameter("Start", std::to_string(start));
|
|
||||||
}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDataRequest::getOwnerId()const
|
|
||||||
{
|
|
||||||
return ownerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setOwnerId(long ownerId)
|
|
||||||
{
|
|
||||||
ownerId_ = ownerId;
|
|
||||||
setParameter("OwnerId", std::to_string(ownerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataRequest::getTagFilter()const
|
|
||||||
{
|
|
||||||
return tagFilter_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setTagFilter(const std::string& tagFilter)
|
|
||||||
{
|
|
||||||
tagFilter_ = tagFilter;
|
|
||||||
setParameter("TagFilter", tagFilter);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataRequest::getInstanceId()const
|
|
||||||
{
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setInstanceId(const std::string& instanceId)
|
|
||||||
{
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter("InstanceId", instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataRequest::getMetric()const
|
|
||||||
{
|
|
||||||
return metric_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setMetric(const std::string& metric)
|
|
||||||
{
|
|
||||||
metric_ = metric;
|
|
||||||
setParameter("Metric", metric);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataRequest::getDownSampleAggregator()const
|
|
||||||
{
|
|
||||||
return downSampleAggregator_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setDownSampleAggregator(const std::string& downSampleAggregator)
|
|
||||||
{
|
|
||||||
downSampleAggregator_ = downSampleAggregator;
|
|
||||||
setParameter("DownSampleAggregator", downSampleAggregator);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataRequest::getDownSampleTime()const
|
|
||||||
{
|
|
||||||
return downSampleTime_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setDownSampleTime(const std::string& downSampleTime)
|
|
||||||
{
|
|
||||||
downSampleTime_ = downSampleTime;
|
|
||||||
setParameter("DownSampleTime", downSampleTime);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataRequest::getUserName()const
|
|
||||||
{
|
|
||||||
return userName_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataRequest::setUserName(const std::string& userName)
|
|
||||||
{
|
|
||||||
userName_ = userName;
|
|
||||||
setParameter("UserName", userName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,96 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataResult.h>
|
|
||||||
#include <json/json.h>
|
|
||||||
|
|
||||||
using namespace AlibabaCloud::Hitsdb;
|
|
||||||
using namespace AlibabaCloud::Hitsdb::Model;
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataResult::ExploreHiTSDBInstanceDataResult() :
|
|
||||||
ServiceResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataResult::ExploreHiTSDBInstanceDataResult(const std::string &payload) :
|
|
||||||
ServiceResult()
|
|
||||||
{
|
|
||||||
parse(payload);
|
|
||||||
}
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataResult::~ExploreHiTSDBInstanceDataResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataResult::parse(const std::string &payload)
|
|
||||||
{
|
|
||||||
Json::Reader reader;
|
|
||||||
Json::Value value;
|
|
||||||
reader.parse(payload, value);
|
|
||||||
setRequestId(value["RequestId"].asString());
|
|
||||||
auto allTimeLinesNode = value["TimeLines"]["TimeLine"];
|
|
||||||
for (auto valueTimeLinesTimeLine : allTimeLinesNode)
|
|
||||||
{
|
|
||||||
TimeLine timeLinesObject;
|
|
||||||
auto allTagsNode = valueTimeLinesTimeLine["Tags"]["Tag"];
|
|
||||||
for (auto valueTimeLinesTimeLineTagsTag : allTagsNode)
|
|
||||||
{
|
|
||||||
TimeLine::Tag tagsObject;
|
|
||||||
if(!valueTimeLinesTimeLineTagsTag["TagKey"].isNull())
|
|
||||||
tagsObject.tagKey = valueTimeLinesTimeLineTagsTag["TagKey"].asString();
|
|
||||||
if(!valueTimeLinesTimeLineTagsTag["TagValue"].isNull())
|
|
||||||
tagsObject.tagValue = valueTimeLinesTimeLineTagsTag["TagValue"].asString();
|
|
||||||
timeLinesObject.tags.push_back(tagsObject);
|
|
||||||
}
|
|
||||||
auto allSeriesNode = valueTimeLinesTimeLine["Series"]["Point"];
|
|
||||||
for (auto valueTimeLinesTimeLineSeriesPoint : allSeriesNode)
|
|
||||||
{
|
|
||||||
TimeLine::Point seriesObject;
|
|
||||||
if(!valueTimeLinesTimeLineSeriesPoint["Timestamp"].isNull())
|
|
||||||
seriesObject.timestamp = valueTimeLinesTimeLineSeriesPoint["Timestamp"].asString();
|
|
||||||
if(!valueTimeLinesTimeLineSeriesPoint["Value"].isNull())
|
|
||||||
seriesObject.value = std::stof(valueTimeLinesTimeLineSeriesPoint["Value"].asString());
|
|
||||||
timeLinesObject.series.push_back(seriesObject);
|
|
||||||
}
|
|
||||||
timeLines_.push_back(timeLinesObject);
|
|
||||||
}
|
|
||||||
if(!value["Start"].isNull())
|
|
||||||
start_ = value["Start"].asString();
|
|
||||||
if(!value["End"].isNull())
|
|
||||||
end_ = value["End"].asString();
|
|
||||||
if(!value["Metric"].isNull())
|
|
||||||
metric_ = value["Metric"].asString();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
std::vector<ExploreHiTSDBInstanceDataResult::TimeLine> ExploreHiTSDBInstanceDataResult::getTimeLines()const
|
|
||||||
{
|
|
||||||
return timeLines_;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataResult::getStart()const
|
|
||||||
{
|
|
||||||
return start_;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataResult::getEnd()const
|
|
||||||
{
|
|
||||||
return end_;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataResult::getMetric()const
|
|
||||||
{
|
|
||||||
return metric_;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,183 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataTagKeyListRequest.h>
|
|
||||||
|
|
||||||
using AlibabaCloud::Hitsdb::Model::ExploreHiTSDBInstanceDataTagKeyListRequest;
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataTagKeyListRequest::ExploreHiTSDBInstanceDataTagKeyListRequest() :
|
|
||||||
RpcServiceRequest("hitsdb", "2017-06-01", "ExploreHiTSDBInstanceDataTagKeyList")
|
|
||||||
{
|
|
||||||
setMethod(HttpRequest::Method::Post);
|
|
||||||
}
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataTagKeyListRequest::~ExploreHiTSDBInstanceDataTagKeyListRequest()
|
|
||||||
{}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagKeyListRequest::getReverseVpcIp()const
|
|
||||||
{
|
|
||||||
return reverseVpcIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagKeyListRequest::setReverseVpcIp(const std::string& reverseVpcIp)
|
|
||||||
{
|
|
||||||
reverseVpcIp_ = reverseVpcIp;
|
|
||||||
setParameter("ReverseVpcIp", reverseVpcIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDataTagKeyListRequest::getResourceOwnerId()const
|
|
||||||
{
|
|
||||||
return resourceOwnerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagKeyListRequest::setResourceOwnerId(long resourceOwnerId)
|
|
||||||
{
|
|
||||||
resourceOwnerId_ = resourceOwnerId;
|
|
||||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagKeyListRequest::getPrefix()const
|
|
||||||
{
|
|
||||||
return prefix_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagKeyListRequest::setPrefix(const std::string& prefix)
|
|
||||||
{
|
|
||||||
prefix_ = prefix;
|
|
||||||
setParameter("Prefix", prefix);
|
|
||||||
}
|
|
||||||
|
|
||||||
int ExploreHiTSDBInstanceDataTagKeyListRequest::getReverseVpcPort()const
|
|
||||||
{
|
|
||||||
return reverseVpcPort_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagKeyListRequest::setReverseVpcPort(int reverseVpcPort)
|
|
||||||
{
|
|
||||||
reverseVpcPort_ = reverseVpcPort;
|
|
||||||
setParameter("ReverseVpcPort", std::to_string(reverseVpcPort));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagKeyListRequest::getAccessKeyId()const
|
|
||||||
{
|
|
||||||
return accessKeyId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagKeyListRequest::setAccessKeyId(const std::string& accessKeyId)
|
|
||||||
{
|
|
||||||
accessKeyId_ = accessKeyId;
|
|
||||||
setParameter("AccessKeyId", accessKeyId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagKeyListRequest::getPassWord()const
|
|
||||||
{
|
|
||||||
return passWord_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagKeyListRequest::setPassWord(const std::string& passWord)
|
|
||||||
{
|
|
||||||
passWord_ = passWord;
|
|
||||||
setParameter("PassWord", passWord);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagKeyListRequest::getSecurityToken()const
|
|
||||||
{
|
|
||||||
return securityToken_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagKeyListRequest::setSecurityToken(const std::string& securityToken)
|
|
||||||
{
|
|
||||||
securityToken_ = securityToken;
|
|
||||||
setParameter("SecurityToken", securityToken);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagKeyListRequest::getResourceOwnerAccount()const
|
|
||||||
{
|
|
||||||
return resourceOwnerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagKeyListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
|
||||||
{
|
|
||||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
|
||||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDataTagKeyListRequest::getMax()const
|
|
||||||
{
|
|
||||||
return max_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagKeyListRequest::setMax(long max)
|
|
||||||
{
|
|
||||||
max_ = max;
|
|
||||||
setParameter("Max", std::to_string(max));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagKeyListRequest::getOwnerAccount()const
|
|
||||||
{
|
|
||||||
return ownerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagKeyListRequest::setOwnerAccount(const std::string& ownerAccount)
|
|
||||||
{
|
|
||||||
ownerAccount_ = ownerAccount;
|
|
||||||
setParameter("OwnerAccount", ownerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDataTagKeyListRequest::getOwnerId()const
|
|
||||||
{
|
|
||||||
return ownerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagKeyListRequest::setOwnerId(long ownerId)
|
|
||||||
{
|
|
||||||
ownerId_ = ownerId;
|
|
||||||
setParameter("OwnerId", std::to_string(ownerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagKeyListRequest::getInstanceId()const
|
|
||||||
{
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagKeyListRequest::setInstanceId(const std::string& instanceId)
|
|
||||||
{
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter("InstanceId", instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagKeyListRequest::getMetric()const
|
|
||||||
{
|
|
||||||
return metric_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagKeyListRequest::setMetric(const std::string& metric)
|
|
||||||
{
|
|
||||||
metric_ = metric;
|
|
||||||
setParameter("Metric", metric);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagKeyListRequest::getUserName()const
|
|
||||||
{
|
|
||||||
return userName_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagKeyListRequest::setUserName(const std::string& userName)
|
|
||||||
{
|
|
||||||
userName_ = userName;
|
|
||||||
setParameter("UserName", userName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataTagKeyListResult.h>
|
|
||||||
#include <json/json.h>
|
|
||||||
|
|
||||||
using namespace AlibabaCloud::Hitsdb;
|
|
||||||
using namespace AlibabaCloud::Hitsdb::Model;
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataTagKeyListResult::ExploreHiTSDBInstanceDataTagKeyListResult() :
|
|
||||||
ServiceResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataTagKeyListResult::ExploreHiTSDBInstanceDataTagKeyListResult(const std::string &payload) :
|
|
||||||
ServiceResult()
|
|
||||||
{
|
|
||||||
parse(payload);
|
|
||||||
}
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataTagKeyListResult::~ExploreHiTSDBInstanceDataTagKeyListResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagKeyListResult::parse(const std::string &payload)
|
|
||||||
{
|
|
||||||
Json::Reader reader;
|
|
||||||
Json::Value value;
|
|
||||||
reader.parse(payload, value);
|
|
||||||
setRequestId(value["RequestId"].asString());
|
|
||||||
auto allTagKeyListNode = value["TagKeyList"]["Data"];
|
|
||||||
for (auto valueTagKeyListData : allTagKeyListNode)
|
|
||||||
{
|
|
||||||
Data tagKeyListObject;
|
|
||||||
if(!valueTagKeyListData["TagKey"].isNull())
|
|
||||||
tagKeyListObject.tagKey = valueTagKeyListData["TagKey"].asString();
|
|
||||||
tagKeyList_.push_back(tagKeyListObject);
|
|
||||||
}
|
|
||||||
if(!value["InstanceId"].isNull())
|
|
||||||
instanceId_ = value["InstanceId"].asString();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagKeyListResult::getInstanceId()const
|
|
||||||
{
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::vector<ExploreHiTSDBInstanceDataTagKeyListResult::Data> ExploreHiTSDBInstanceDataTagKeyListResult::getTagKeyList()const
|
|
||||||
{
|
|
||||||
return tagKeyList_;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,183 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataTagValueListRequest.h>
|
|
||||||
|
|
||||||
using AlibabaCloud::Hitsdb::Model::ExploreHiTSDBInstanceDataTagValueListRequest;
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataTagValueListRequest::ExploreHiTSDBInstanceDataTagValueListRequest() :
|
|
||||||
RpcServiceRequest("hitsdb", "2017-06-01", "ExploreHiTSDBInstanceDataTagValueList")
|
|
||||||
{
|
|
||||||
setMethod(HttpRequest::Method::Post);
|
|
||||||
}
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataTagValueListRequest::~ExploreHiTSDBInstanceDataTagValueListRequest()
|
|
||||||
{}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagValueListRequest::getReverseVpcIp()const
|
|
||||||
{
|
|
||||||
return reverseVpcIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagValueListRequest::setReverseVpcIp(const std::string& reverseVpcIp)
|
|
||||||
{
|
|
||||||
reverseVpcIp_ = reverseVpcIp;
|
|
||||||
setParameter("ReverseVpcIp", reverseVpcIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDataTagValueListRequest::getResourceOwnerId()const
|
|
||||||
{
|
|
||||||
return resourceOwnerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagValueListRequest::setResourceOwnerId(long resourceOwnerId)
|
|
||||||
{
|
|
||||||
resourceOwnerId_ = resourceOwnerId;
|
|
||||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagValueListRequest::getPrefix()const
|
|
||||||
{
|
|
||||||
return prefix_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagValueListRequest::setPrefix(const std::string& prefix)
|
|
||||||
{
|
|
||||||
prefix_ = prefix;
|
|
||||||
setParameter("Prefix", prefix);
|
|
||||||
}
|
|
||||||
|
|
||||||
int ExploreHiTSDBInstanceDataTagValueListRequest::getReverseVpcPort()const
|
|
||||||
{
|
|
||||||
return reverseVpcPort_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagValueListRequest::setReverseVpcPort(int reverseVpcPort)
|
|
||||||
{
|
|
||||||
reverseVpcPort_ = reverseVpcPort;
|
|
||||||
setParameter("ReverseVpcPort", std::to_string(reverseVpcPort));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagValueListRequest::getAccessKeyId()const
|
|
||||||
{
|
|
||||||
return accessKeyId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagValueListRequest::setAccessKeyId(const std::string& accessKeyId)
|
|
||||||
{
|
|
||||||
accessKeyId_ = accessKeyId;
|
|
||||||
setParameter("AccessKeyId", accessKeyId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagValueListRequest::getPassWord()const
|
|
||||||
{
|
|
||||||
return passWord_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagValueListRequest::setPassWord(const std::string& passWord)
|
|
||||||
{
|
|
||||||
passWord_ = passWord;
|
|
||||||
setParameter("PassWord", passWord);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagValueListRequest::getSecurityToken()const
|
|
||||||
{
|
|
||||||
return securityToken_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagValueListRequest::setSecurityToken(const std::string& securityToken)
|
|
||||||
{
|
|
||||||
securityToken_ = securityToken;
|
|
||||||
setParameter("SecurityToken", securityToken);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagValueListRequest::getResourceOwnerAccount()const
|
|
||||||
{
|
|
||||||
return resourceOwnerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagValueListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
|
||||||
{
|
|
||||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
|
||||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDataTagValueListRequest::getMax()const
|
|
||||||
{
|
|
||||||
return max_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagValueListRequest::setMax(long max)
|
|
||||||
{
|
|
||||||
max_ = max;
|
|
||||||
setParameter("Max", std::to_string(max));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagValueListRequest::getOwnerAccount()const
|
|
||||||
{
|
|
||||||
return ownerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagValueListRequest::setOwnerAccount(const std::string& ownerAccount)
|
|
||||||
{
|
|
||||||
ownerAccount_ = ownerAccount;
|
|
||||||
setParameter("OwnerAccount", ownerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDataTagValueListRequest::getOwnerId()const
|
|
||||||
{
|
|
||||||
return ownerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagValueListRequest::setOwnerId(long ownerId)
|
|
||||||
{
|
|
||||||
ownerId_ = ownerId;
|
|
||||||
setParameter("OwnerId", std::to_string(ownerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagValueListRequest::getInstanceId()const
|
|
||||||
{
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagValueListRequest::setInstanceId(const std::string& instanceId)
|
|
||||||
{
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter("InstanceId", instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagValueListRequest::getTagKey()const
|
|
||||||
{
|
|
||||||
return tagKey_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagValueListRequest::setTagKey(const std::string& tagKey)
|
|
||||||
{
|
|
||||||
tagKey_ = tagKey;
|
|
||||||
setParameter("TagKey", tagKey);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagValueListRequest::getUserName()const
|
|
||||||
{
|
|
||||||
return userName_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagValueListRequest::setUserName(const std::string& userName)
|
|
||||||
{
|
|
||||||
userName_ = userName;
|
|
||||||
setParameter("UserName", userName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDataTagValueListResult.h>
|
|
||||||
#include <json/json.h>
|
|
||||||
|
|
||||||
using namespace AlibabaCloud::Hitsdb;
|
|
||||||
using namespace AlibabaCloud::Hitsdb::Model;
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataTagValueListResult::ExploreHiTSDBInstanceDataTagValueListResult() :
|
|
||||||
ServiceResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataTagValueListResult::ExploreHiTSDBInstanceDataTagValueListResult(const std::string &payload) :
|
|
||||||
ServiceResult()
|
|
||||||
{
|
|
||||||
parse(payload);
|
|
||||||
}
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDataTagValueListResult::~ExploreHiTSDBInstanceDataTagValueListResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDataTagValueListResult::parse(const std::string &payload)
|
|
||||||
{
|
|
||||||
Json::Reader reader;
|
|
||||||
Json::Value value;
|
|
||||||
reader.parse(payload, value);
|
|
||||||
setRequestId(value["RequestId"].asString());
|
|
||||||
auto allTagValueListNode = value["TagValueList"]["Data"];
|
|
||||||
for (auto valueTagValueListData : allTagValueListNode)
|
|
||||||
{
|
|
||||||
Data tagValueListObject;
|
|
||||||
if(!valueTagValueListData["TagValue"].isNull())
|
|
||||||
tagValueListObject.tagValue = valueTagValueListData["TagValue"].asString();
|
|
||||||
tagValueList_.push_back(tagValueListObject);
|
|
||||||
}
|
|
||||||
if(!value["InstanceId"].isNull())
|
|
||||||
instanceId_ = value["InstanceId"].asString();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDataTagValueListResult::getInstanceId()const
|
|
||||||
{
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::vector<ExploreHiTSDBInstanceDataTagValueListResult::Data> ExploreHiTSDBInstanceDataTagValueListResult::getTagValueList()const
|
|
||||||
{
|
|
||||||
return tagValueList_;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,161 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDeletionJobListRequest.h>
|
|
||||||
|
|
||||||
using AlibabaCloud::Hitsdb::Model::ExploreHiTSDBInstanceDeletionJobListRequest;
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDeletionJobListRequest::ExploreHiTSDBInstanceDeletionJobListRequest() :
|
|
||||||
RpcServiceRequest("hitsdb", "2017-06-01", "ExploreHiTSDBInstanceDeletionJobList")
|
|
||||||
{
|
|
||||||
setMethod(HttpRequest::Method::Post);
|
|
||||||
}
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDeletionJobListRequest::~ExploreHiTSDBInstanceDeletionJobListRequest()
|
|
||||||
{}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDeletionJobListRequest::getResourceOwnerId()const
|
|
||||||
{
|
|
||||||
return resourceOwnerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDeletionJobListRequest::setResourceOwnerId(long resourceOwnerId)
|
|
||||||
{
|
|
||||||
resourceOwnerId_ = resourceOwnerId;
|
|
||||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
int ExploreHiTSDBInstanceDeletionJobListRequest::getPageNumber()const
|
|
||||||
{
|
|
||||||
return pageNumber_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDeletionJobListRequest::setPageNumber(int pageNumber)
|
|
||||||
{
|
|
||||||
pageNumber_ = pageNumber;
|
|
||||||
setParameter("PageNumber", std::to_string(pageNumber));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDeletionJobListRequest::getAccessKeyId()const
|
|
||||||
{
|
|
||||||
return accessKeyId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDeletionJobListRequest::setAccessKeyId(const std::string& accessKeyId)
|
|
||||||
{
|
|
||||||
accessKeyId_ = accessKeyId;
|
|
||||||
setParameter("AccessKeyId", accessKeyId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDeletionJobListRequest::getPassWord()const
|
|
||||||
{
|
|
||||||
return passWord_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDeletionJobListRequest::setPassWord(const std::string& passWord)
|
|
||||||
{
|
|
||||||
passWord_ = passWord;
|
|
||||||
setParameter("PassWord", passWord);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDeletionJobListRequest::getSecurityToken()const
|
|
||||||
{
|
|
||||||
return securityToken_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDeletionJobListRequest::setSecurityToken(const std::string& securityToken)
|
|
||||||
{
|
|
||||||
securityToken_ = securityToken;
|
|
||||||
setParameter("SecurityToken", securityToken);
|
|
||||||
}
|
|
||||||
|
|
||||||
int ExploreHiTSDBInstanceDeletionJobListRequest::getPageSize()const
|
|
||||||
{
|
|
||||||
return pageSize_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDeletionJobListRequest::setPageSize(int pageSize)
|
|
||||||
{
|
|
||||||
pageSize_ = pageSize;
|
|
||||||
setParameter("PageSize", std::to_string(pageSize));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDeletionJobListRequest::getResourceOwnerAccount()const
|
|
||||||
{
|
|
||||||
return resourceOwnerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDeletionJobListRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
|
||||||
{
|
|
||||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
|
||||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDeletionJobListRequest::getOwnerAccount()const
|
|
||||||
{
|
|
||||||
return ownerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDeletionJobListRequest::setOwnerAccount(const std::string& ownerAccount)
|
|
||||||
{
|
|
||||||
ownerAccount_ = ownerAccount;
|
|
||||||
setParameter("OwnerAccount", ownerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDeletionJobListRequest::getOwnerId()const
|
|
||||||
{
|
|
||||||
return ownerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDeletionJobListRequest::setOwnerId(long ownerId)
|
|
||||||
{
|
|
||||||
ownerId_ = ownerId;
|
|
||||||
setParameter("OwnerId", std::to_string(ownerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDeletionJobListRequest::getJobType()const
|
|
||||||
{
|
|
||||||
return jobType_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDeletionJobListRequest::setJobType(const std::string& jobType)
|
|
||||||
{
|
|
||||||
jobType_ = jobType;
|
|
||||||
setParameter("JobType", jobType);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDeletionJobListRequest::getInstanceId()const
|
|
||||||
{
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDeletionJobListRequest::setInstanceId(const std::string& instanceId)
|
|
||||||
{
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter("InstanceId", instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ExploreHiTSDBInstanceDeletionJobListRequest::getUserName()const
|
|
||||||
{
|
|
||||||
return userName_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDeletionJobListRequest::setUserName(const std::string& userName)
|
|
||||||
{
|
|
||||||
userName_ = userName;
|
|
||||||
setParameter("UserName", userName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,102 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/ExploreHiTSDBInstanceDeletionJobListResult.h>
|
|
||||||
#include <json/json.h>
|
|
||||||
|
|
||||||
using namespace AlibabaCloud::Hitsdb;
|
|
||||||
using namespace AlibabaCloud::Hitsdb::Model;
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDeletionJobListResult::ExploreHiTSDBInstanceDeletionJobListResult() :
|
|
||||||
ServiceResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDeletionJobListResult::ExploreHiTSDBInstanceDeletionJobListResult(const std::string &payload) :
|
|
||||||
ServiceResult()
|
|
||||||
{
|
|
||||||
parse(payload);
|
|
||||||
}
|
|
||||||
|
|
||||||
ExploreHiTSDBInstanceDeletionJobListResult::~ExploreHiTSDBInstanceDeletionJobListResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
void ExploreHiTSDBInstanceDeletionJobListResult::parse(const std::string &payload)
|
|
||||||
{
|
|
||||||
Json::Reader reader;
|
|
||||||
Json::Value value;
|
|
||||||
reader.parse(payload, value);
|
|
||||||
setRequestId(value["RequestId"].asString());
|
|
||||||
auto allJobListNode = value["JobList"]["JobItem"];
|
|
||||||
for (auto valueJobListJobItem : allJobListNode)
|
|
||||||
{
|
|
||||||
JobItem jobListObject;
|
|
||||||
if(!valueJobListJobItem["Id"].isNull())
|
|
||||||
jobListObject.id = std::stol(valueJobListJobItem["Id"].asString());
|
|
||||||
if(!valueJobListJobItem["InstanceId"].isNull())
|
|
||||||
jobListObject.instanceId = valueJobListJobItem["InstanceId"].asString();
|
|
||||||
if(!valueJobListJobItem["Ip"].isNull())
|
|
||||||
jobListObject.ip = valueJobListJobItem["Ip"].asString();
|
|
||||||
if(!valueJobListJobItem["Port"].isNull())
|
|
||||||
jobListObject.port = std::stoi(valueJobListJobItem["Port"].asString());
|
|
||||||
if(!valueJobListJobItem["Metric"].isNull())
|
|
||||||
jobListObject.metric = valueJobListJobItem["Metric"].asString();
|
|
||||||
if(!valueJobListJobItem["Tags"].isNull())
|
|
||||||
jobListObject.tags = valueJobListJobItem["Tags"].asString();
|
|
||||||
if(!valueJobListJobItem["StartTime"].isNull())
|
|
||||||
jobListObject.startTime = std::stol(valueJobListJobItem["StartTime"].asString());
|
|
||||||
if(!valueJobListJobItem["EndTime"].isNull())
|
|
||||||
jobListObject.endTime = std::stol(valueJobListJobItem["EndTime"].asString());
|
|
||||||
if(!valueJobListJobItem["Status"].isNull())
|
|
||||||
jobListObject.status = valueJobListJobItem["Status"].asString();
|
|
||||||
if(!valueJobListJobItem["JobTyp"].isNull())
|
|
||||||
jobListObject.jobTyp = valueJobListJobItem["JobTyp"].asString();
|
|
||||||
if(!valueJobListJobItem["JobCreationTime"].isNull())
|
|
||||||
jobListObject.jobCreationTime = std::stol(valueJobListJobItem["JobCreationTime"].asString());
|
|
||||||
if(!valueJobListJobItem["JobStartTime"].isNull())
|
|
||||||
jobListObject.jobStartTime = std::stol(valueJobListJobItem["JobStartTime"].asString());
|
|
||||||
if(!valueJobListJobItem["JobEndTime"].isNull())
|
|
||||||
jobListObject.jobEndTime = std::stol(valueJobListJobItem["JobEndTime"].asString());
|
|
||||||
jobList_.push_back(jobListObject);
|
|
||||||
}
|
|
||||||
if(!value["PageNumber"].isNull())
|
|
||||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
|
||||||
if(!value["PageSize"].isNull())
|
|
||||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
|
||||||
if(!value["Total"].isNull())
|
|
||||||
total_ = std::stol(value["Total"].asString());
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
int ExploreHiTSDBInstanceDeletionJobListResult::getPageSize()const
|
|
||||||
{
|
|
||||||
return pageSize_;
|
|
||||||
}
|
|
||||||
|
|
||||||
int ExploreHiTSDBInstanceDeletionJobListResult::getPageNumber()const
|
|
||||||
{
|
|
||||||
return pageNumber_;
|
|
||||||
}
|
|
||||||
|
|
||||||
long ExploreHiTSDBInstanceDeletionJobListResult::getTotal()const
|
|
||||||
{
|
|
||||||
return total_;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::vector<ExploreHiTSDBInstanceDeletionJobListResult::JobItem> ExploreHiTSDBInstanceDeletionJobListResult::getJobList()const
|
|
||||||
{
|
|
||||||
return jobList_;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,161 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/UpdateHiTSDBInstanceDataTtlRequest.h>
|
|
||||||
|
|
||||||
using AlibabaCloud::Hitsdb::Model::UpdateHiTSDBInstanceDataTtlRequest;
|
|
||||||
|
|
||||||
UpdateHiTSDBInstanceDataTtlRequest::UpdateHiTSDBInstanceDataTtlRequest() :
|
|
||||||
RpcServiceRequest("hitsdb", "2017-06-01", "UpdateHiTSDBInstanceDataTtl")
|
|
||||||
{
|
|
||||||
setMethod(HttpRequest::Method::Post);
|
|
||||||
}
|
|
||||||
|
|
||||||
UpdateHiTSDBInstanceDataTtlRequest::~UpdateHiTSDBInstanceDataTtlRequest()
|
|
||||||
{}
|
|
||||||
|
|
||||||
std::string UpdateHiTSDBInstanceDataTtlRequest::getReverseVpcIp()const
|
|
||||||
{
|
|
||||||
return reverseVpcIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void UpdateHiTSDBInstanceDataTtlRequest::setReverseVpcIp(const std::string& reverseVpcIp)
|
|
||||||
{
|
|
||||||
reverseVpcIp_ = reverseVpcIp;
|
|
||||||
setParameter("ReverseVpcIp", reverseVpcIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
long UpdateHiTSDBInstanceDataTtlRequest::getResourceOwnerId()const
|
|
||||||
{
|
|
||||||
return resourceOwnerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void UpdateHiTSDBInstanceDataTtlRequest::setResourceOwnerId(long resourceOwnerId)
|
|
||||||
{
|
|
||||||
resourceOwnerId_ = resourceOwnerId;
|
|
||||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
int UpdateHiTSDBInstanceDataTtlRequest::getReverseVpcPort()const
|
|
||||||
{
|
|
||||||
return reverseVpcPort_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void UpdateHiTSDBInstanceDataTtlRequest::setReverseVpcPort(int reverseVpcPort)
|
|
||||||
{
|
|
||||||
reverseVpcPort_ = reverseVpcPort;
|
|
||||||
setParameter("ReverseVpcPort", std::to_string(reverseVpcPort));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string UpdateHiTSDBInstanceDataTtlRequest::getAccessKeyId()const
|
|
||||||
{
|
|
||||||
return accessKeyId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void UpdateHiTSDBInstanceDataTtlRequest::setAccessKeyId(const std::string& accessKeyId)
|
|
||||||
{
|
|
||||||
accessKeyId_ = accessKeyId;
|
|
||||||
setParameter("AccessKeyId", accessKeyId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string UpdateHiTSDBInstanceDataTtlRequest::getPassWord()const
|
|
||||||
{
|
|
||||||
return passWord_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void UpdateHiTSDBInstanceDataTtlRequest::setPassWord(const std::string& passWord)
|
|
||||||
{
|
|
||||||
passWord_ = passWord;
|
|
||||||
setParameter("PassWord", passWord);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string UpdateHiTSDBInstanceDataTtlRequest::getSecurityToken()const
|
|
||||||
{
|
|
||||||
return securityToken_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void UpdateHiTSDBInstanceDataTtlRequest::setSecurityToken(const std::string& securityToken)
|
|
||||||
{
|
|
||||||
securityToken_ = securityToken;
|
|
||||||
setParameter("SecurityToken", securityToken);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string UpdateHiTSDBInstanceDataTtlRequest::getResourceOwnerAccount()const
|
|
||||||
{
|
|
||||||
return resourceOwnerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void UpdateHiTSDBInstanceDataTtlRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
|
||||||
{
|
|
||||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
|
||||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string UpdateHiTSDBInstanceDataTtlRequest::getOwnerAccount()const
|
|
||||||
{
|
|
||||||
return ownerAccount_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void UpdateHiTSDBInstanceDataTtlRequest::setOwnerAccount(const std::string& ownerAccount)
|
|
||||||
{
|
|
||||||
ownerAccount_ = ownerAccount;
|
|
||||||
setParameter("OwnerAccount", ownerAccount);
|
|
||||||
}
|
|
||||||
|
|
||||||
long UpdateHiTSDBInstanceDataTtlRequest::getOwnerId()const
|
|
||||||
{
|
|
||||||
return ownerId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void UpdateHiTSDBInstanceDataTtlRequest::setOwnerId(long ownerId)
|
|
||||||
{
|
|
||||||
ownerId_ = ownerId;
|
|
||||||
setParameter("OwnerId", std::to_string(ownerId));
|
|
||||||
}
|
|
||||||
|
|
||||||
long UpdateHiTSDBInstanceDataTtlRequest::getTtl()const
|
|
||||||
{
|
|
||||||
return ttl_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void UpdateHiTSDBInstanceDataTtlRequest::setTtl(long ttl)
|
|
||||||
{
|
|
||||||
ttl_ = ttl;
|
|
||||||
setParameter("Ttl", std::to_string(ttl));
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string UpdateHiTSDBInstanceDataTtlRequest::getInstanceId()const
|
|
||||||
{
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void UpdateHiTSDBInstanceDataTtlRequest::setInstanceId(const std::string& instanceId)
|
|
||||||
{
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter("InstanceId", instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string UpdateHiTSDBInstanceDataTtlRequest::getUserName()const
|
|
||||||
{
|
|
||||||
return userName_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void UpdateHiTSDBInstanceDataTtlRequest::setUserName(const std::string& userName)
|
|
||||||
{
|
|
||||||
userName_ = userName;
|
|
||||||
setParameter("UserName", userName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <alibabacloud/hitsdb/model/UpdateHiTSDBInstanceDataTtlResult.h>
|
|
||||||
#include <json/json.h>
|
|
||||||
|
|
||||||
using namespace AlibabaCloud::Hitsdb;
|
|
||||||
using namespace AlibabaCloud::Hitsdb::Model;
|
|
||||||
|
|
||||||
UpdateHiTSDBInstanceDataTtlResult::UpdateHiTSDBInstanceDataTtlResult() :
|
|
||||||
ServiceResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
UpdateHiTSDBInstanceDataTtlResult::UpdateHiTSDBInstanceDataTtlResult(const std::string &payload) :
|
|
||||||
ServiceResult()
|
|
||||||
{
|
|
||||||
parse(payload);
|
|
||||||
}
|
|
||||||
|
|
||||||
UpdateHiTSDBInstanceDataTtlResult::~UpdateHiTSDBInstanceDataTtlResult()
|
|
||||||
{}
|
|
||||||
|
|
||||||
void UpdateHiTSDBInstanceDataTtlResult::parse(const std::string &payload)
|
|
||||||
{
|
|
||||||
Json::Reader reader;
|
|
||||||
Json::Value value;
|
|
||||||
reader.parse(payload, value);
|
|
||||||
setRequestId(value["RequestId"].asString());
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user