HTTPDNS SDK Auto Released By shenshi,Version:1.34.54
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
102
httpdns/include/alibabacloud/httpdns/HttpdnsClient.h
Normal file
102
httpdns/include/alibabacloud/httpdns/HttpdnsClient.h
Normal file
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_HTTPDNS_HTTPDNSCLIENT_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_HTTPDNSCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "HttpdnsExport.h"
|
||||
#include "model/GetResolveStatisticsRequest.h"
|
||||
#include "model/GetResolveStatisticsResult.h"
|
||||
#include "model/DeleteDomainRequest.h"
|
||||
#include "model/DeleteDomainResult.h"
|
||||
#include "model/DescribeDomainsRequest.h"
|
||||
#include "model/DescribeDomainsResult.h"
|
||||
#include "model/GetResolveCountSummaryRequest.h"
|
||||
#include "model/GetResolveCountSummaryResult.h"
|
||||
#include "model/AddDomainRequest.h"
|
||||
#include "model/AddDomainResult.h"
|
||||
#include "model/ListDomainsRequest.h"
|
||||
#include "model/ListDomainsResult.h"
|
||||
#include "model/GetAccountInfoRequest.h"
|
||||
#include "model/GetAccountInfoResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Httpdns
|
||||
{
|
||||
class ALIBABACLOUD_HTTPDNS_EXPORT HttpdnsClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::GetResolveStatisticsResult> GetResolveStatisticsOutcome;
|
||||
typedef std::future<GetResolveStatisticsOutcome> GetResolveStatisticsOutcomeCallable;
|
||||
typedef std::function<void(const HttpdnsClient*, const Model::GetResolveStatisticsRequest&, const GetResolveStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetResolveStatisticsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDomainResult> DeleteDomainOutcome;
|
||||
typedef std::future<DeleteDomainOutcome> DeleteDomainOutcomeCallable;
|
||||
typedef std::function<void(const HttpdnsClient*, const Model::DeleteDomainRequest&, const DeleteDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainsResult> DescribeDomainsOutcome;
|
||||
typedef std::future<DescribeDomainsOutcome> DescribeDomainsOutcomeCallable;
|
||||
typedef std::function<void(const HttpdnsClient*, const Model::DescribeDomainsRequest&, const DescribeDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetResolveCountSummaryResult> GetResolveCountSummaryOutcome;
|
||||
typedef std::future<GetResolveCountSummaryOutcome> GetResolveCountSummaryOutcomeCallable;
|
||||
typedef std::function<void(const HttpdnsClient*, const Model::GetResolveCountSummaryRequest&, const GetResolveCountSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetResolveCountSummaryAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddDomainResult> AddDomainOutcome;
|
||||
typedef std::future<AddDomainOutcome> AddDomainOutcomeCallable;
|
||||
typedef std::function<void(const HttpdnsClient*, const Model::AddDomainRequest&, const AddDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDomainsResult> ListDomainsOutcome;
|
||||
typedef std::future<ListDomainsOutcome> ListDomainsOutcomeCallable;
|
||||
typedef std::function<void(const HttpdnsClient*, const Model::ListDomainsRequest&, const ListDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDomainsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAccountInfoResult> GetAccountInfoOutcome;
|
||||
typedef std::future<GetAccountInfoOutcome> GetAccountInfoOutcomeCallable;
|
||||
typedef std::function<void(const HttpdnsClient*, const Model::GetAccountInfoRequest&, const GetAccountInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccountInfoAsyncHandler;
|
||||
|
||||
HttpdnsClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
HttpdnsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
HttpdnsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~HttpdnsClient();
|
||||
GetResolveStatisticsOutcome getResolveStatistics(const Model::GetResolveStatisticsRequest &request)const;
|
||||
void getResolveStatisticsAsync(const Model::GetResolveStatisticsRequest& request, const GetResolveStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetResolveStatisticsOutcomeCallable getResolveStatisticsCallable(const Model::GetResolveStatisticsRequest& request) const;
|
||||
DeleteDomainOutcome deleteDomain(const Model::DeleteDomainRequest &request)const;
|
||||
void deleteDomainAsync(const Model::DeleteDomainRequest& request, const DeleteDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDomainOutcomeCallable deleteDomainCallable(const Model::DeleteDomainRequest& request) const;
|
||||
DescribeDomainsOutcome describeDomains(const Model::DescribeDomainsRequest &request)const;
|
||||
void describeDomainsAsync(const Model::DescribeDomainsRequest& request, const DescribeDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainsOutcomeCallable describeDomainsCallable(const Model::DescribeDomainsRequest& request) const;
|
||||
GetResolveCountSummaryOutcome getResolveCountSummary(const Model::GetResolveCountSummaryRequest &request)const;
|
||||
void getResolveCountSummaryAsync(const Model::GetResolveCountSummaryRequest& request, const GetResolveCountSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetResolveCountSummaryOutcomeCallable getResolveCountSummaryCallable(const Model::GetResolveCountSummaryRequest& request) const;
|
||||
AddDomainOutcome addDomain(const Model::AddDomainRequest &request)const;
|
||||
void addDomainAsync(const Model::AddDomainRequest& request, const AddDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddDomainOutcomeCallable addDomainCallable(const Model::AddDomainRequest& request) const;
|
||||
ListDomainsOutcome listDomains(const Model::ListDomainsRequest &request)const;
|
||||
void listDomainsAsync(const Model::ListDomainsRequest& request, const ListDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDomainsOutcomeCallable listDomainsCallable(const Model::ListDomainsRequest& request) const;
|
||||
GetAccountInfoOutcome getAccountInfo(const Model::GetAccountInfoRequest &request)const;
|
||||
void getAccountInfoAsync(const Model::GetAccountInfoRequest& request, const GetAccountInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAccountInfoOutcomeCallable getAccountInfoCallable(const Model::GetAccountInfoRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_HTTPDNSCLIENT_H_
|
||||
32
httpdns/include/alibabacloud/httpdns/HttpdnsExport.h
Normal file
32
httpdns/include/alibabacloud/httpdns/HttpdnsExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_HTTPDNS_HTTPDNSEXPORT_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_HTTPDNSEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_HTTPDNS_LIBRARY)
|
||||
# define ALIBABACLOUD_HTTPDNS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_HTTPDNS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_HTTPDNS_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_HTTPDNSEXPORT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_HTTPDNS_MODEL_ADDDOMAINREQUEST_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_MODEL_ADDDOMAINREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/httpdns/HttpdnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Httpdns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HTTPDNS_EXPORT AddDomainRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddDomainRequest();
|
||||
~AddDomainRequest();
|
||||
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string accountId_;
|
||||
std::string domainName_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_MODEL_ADDDOMAINREQUEST_H_
|
||||
51
httpdns/include/alibabacloud/httpdns/model/AddDomainResult.h
Normal file
51
httpdns/include/alibabacloud/httpdns/model/AddDomainResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HTTPDNS_MODEL_ADDDOMAINRESULT_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_MODEL_ADDDOMAINRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/httpdns/HttpdnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Httpdns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HTTPDNS_EXPORT AddDomainResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddDomainResult();
|
||||
explicit AddDomainResult(const std::string &payload);
|
||||
~AddDomainResult();
|
||||
std::string getDomainName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string domainName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_MODEL_ADDDOMAINRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_HTTPDNS_MODEL_DELETEDOMAINREQUEST_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_MODEL_DELETEDOMAINREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/httpdns/HttpdnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Httpdns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HTTPDNS_EXPORT DeleteDomainRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDomainRequest();
|
||||
~DeleteDomainRequest();
|
||||
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string accountId_;
|
||||
std::string domainName_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_MODEL_DELETEDOMAINREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HTTPDNS_MODEL_DELETEDOMAINRESULT_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_MODEL_DELETEDOMAINRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/httpdns/HttpdnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Httpdns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HTTPDNS_EXPORT DeleteDomainResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDomainResult();
|
||||
explicit DeleteDomainResult(const std::string &payload);
|
||||
~DeleteDomainResult();
|
||||
std::string getDomainName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string domainName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_MODEL_DELETEDOMAINRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HTTPDNS_MODEL_DESCRIBEDOMAINSREQUEST_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_MODEL_DESCRIBEDOMAINSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/httpdns/HttpdnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Httpdns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HTTPDNS_EXPORT DescribeDomainsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDomainsRequest();
|
||||
~DescribeDomainsRequest();
|
||||
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string accountId_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_MODEL_DESCRIBEDOMAINSREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_HTTPDNS_MODEL_DESCRIBEDOMAINSRESULT_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_MODEL_DESCRIBEDOMAINSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/httpdns/HttpdnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Httpdns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HTTPDNS_EXPORT DescribeDomainsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Domain
|
||||
{
|
||||
std::string domainName;
|
||||
};
|
||||
|
||||
|
||||
DescribeDomainsResult();
|
||||
explicit DescribeDomainsResult(const std::string &payload);
|
||||
~DescribeDomainsResult();
|
||||
std::vector<Domain> getDomains()const;
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Domain> domains_;
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_MODEL_DESCRIBEDOMAINSRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HTTPDNS_MODEL_GETACCOUNTINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_MODEL_GETACCOUNTINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/httpdns/HttpdnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Httpdns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HTTPDNS_EXPORT GetAccountInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAccountInfoRequest();
|
||||
~GetAccountInfoRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_MODEL_GETACCOUNTINFOREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_HTTPDNS_MODEL_GETACCOUNTINFORESULT_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_MODEL_GETACCOUNTINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/httpdns/HttpdnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Httpdns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HTTPDNS_EXPORT GetAccountInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AccountInfo
|
||||
{
|
||||
long unsignedCount;
|
||||
int monthFreeCount;
|
||||
std::string accountId;
|
||||
int monthResolveCount;
|
||||
bool unsignedEnabled;
|
||||
int packageCount;
|
||||
int monthHttpsResolveCount;
|
||||
std::string signSecret;
|
||||
int userStatus;
|
||||
long signedCount;
|
||||
};
|
||||
|
||||
|
||||
GetAccountInfoResult();
|
||||
explicit GetAccountInfoResult(const std::string &payload);
|
||||
~GetAccountInfoResult();
|
||||
AccountInfo getAccountInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
AccountInfo accountInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_MODEL_GETACCOUNTINFORESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_HTTPDNS_MODEL_GETRESOLVECOUNTSUMMARYREQUEST_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_MODEL_GETRESOLVECOUNTSUMMARYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/httpdns/HttpdnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Httpdns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HTTPDNS_EXPORT GetResolveCountSummaryRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetResolveCountSummaryRequest();
|
||||
~GetResolveCountSummaryRequest();
|
||||
|
||||
std::string getGranularity()const;
|
||||
void setGranularity(const std::string& granularity);
|
||||
int getTimeSpan()const;
|
||||
void setTimeSpan(int timeSpan);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string granularity_;
|
||||
int timeSpan_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_MODEL_GETRESOLVECOUNTSUMMARYREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_HTTPDNS_MODEL_GETRESOLVECOUNTSUMMARYRESULT_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_MODEL_GETRESOLVECOUNTSUMMARYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/httpdns/HttpdnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Httpdns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HTTPDNS_EXPORT GetResolveCountSummaryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResolveSummary
|
||||
{
|
||||
long http6;
|
||||
long https;
|
||||
long http;
|
||||
long https6;
|
||||
};
|
||||
|
||||
|
||||
GetResolveCountSummaryResult();
|
||||
explicit GetResolveCountSummaryResult(const std::string &payload);
|
||||
~GetResolveCountSummaryResult();
|
||||
ResolveSummary getResolveSummary()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ResolveSummary resolveSummary_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_MODEL_GETRESOLVECOUNTSUMMARYRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HTTPDNS_MODEL_GETRESOLVESTATISTICSREQUEST_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_MODEL_GETRESOLVESTATISTICSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/httpdns/HttpdnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Httpdns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HTTPDNS_EXPORT GetResolveStatisticsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetResolveStatisticsRequest();
|
||||
~GetResolveStatisticsRequest();
|
||||
|
||||
std::string getGranularity()const;
|
||||
void setGranularity(const std::string& granularity);
|
||||
std::string getProtocolName()const;
|
||||
void setProtocolName(const std::string& protocolName);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
int getTimeSpan()const;
|
||||
void setTimeSpan(int timeSpan);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string granularity_;
|
||||
std::string protocolName_;
|
||||
std::string domainName_;
|
||||
int timeSpan_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_MODEL_GETRESOLVESTATISTICSREQUEST_H_
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_HTTPDNS_MODEL_GETRESOLVESTATISTICSRESULT_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_MODEL_GETRESOLVESTATISTICSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/httpdns/HttpdnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Httpdns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HTTPDNS_EXPORT GetResolveStatisticsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataPoint
|
||||
{
|
||||
int time;
|
||||
int count;
|
||||
};
|
||||
|
||||
|
||||
GetResolveStatisticsResult();
|
||||
explicit GetResolveStatisticsResult(const std::string &payload);
|
||||
~GetResolveStatisticsResult();
|
||||
std::vector<DataPoint> getDataPoints()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DataPoint> dataPoints_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_MODEL_GETRESOLVESTATISTICSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_HTTPDNS_MODEL_LISTDOMAINSREQUEST_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_MODEL_LISTDOMAINSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/httpdns/HttpdnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Httpdns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HTTPDNS_EXPORT ListDomainsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListDomainsRequest();
|
||||
~ListDomainsRequest();
|
||||
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_MODEL_LISTDOMAINSREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_HTTPDNS_MODEL_LISTDOMAINSRESULT_H_
|
||||
#define ALIBABACLOUD_HTTPDNS_MODEL_LISTDOMAINSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/httpdns/HttpdnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Httpdns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HTTPDNS_EXPORT ListDomainsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DomainInfo
|
||||
{
|
||||
long resolvedHttps;
|
||||
std::string domainName;
|
||||
long resolvedHttps6;
|
||||
long resolved;
|
||||
long resolved6;
|
||||
};
|
||||
|
||||
|
||||
ListDomainsResult();
|
||||
explicit ListDomainsResult(const std::string &payload);
|
||||
~ListDomainsResult();
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
std::vector<DomainInfo> getDomainInfos()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
std::vector<DomainInfo> domainInfos_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HTTPDNS_MODEL_LISTDOMAINSRESULT_H_
|
||||
Reference in New Issue
Block a user