Skip to content

Commit

Permalink
Generated 2023-01-20 for csas.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jul 3, 2024
1 parent 78426b2 commit befcff9
Show file tree
Hide file tree
Showing 12 changed files with 633 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.36.1944
1.36.1945
8 changes: 8 additions & 0 deletions csas/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ set(csas_public_header_model
include/alibabacloud/csas/model/ListIdpConfigsResult.h
include/alibabacloud/csas/model/ListIdpDepartmentsRequest.h
include/alibabacloud/csas/model/ListIdpDepartmentsResult.h
include/alibabacloud/csas/model/ListNacUserCertRequest.h
include/alibabacloud/csas/model/ListNacUserCertResult.h
include/alibabacloud/csas/model/ListPolicesForPrivateAccessApplicationRequest.h
include/alibabacloud/csas/model/ListPolicesForPrivateAccessApplicationResult.h
include/alibabacloud/csas/model/ListPolicesForPrivateAccessTagRequest.h
Expand Down Expand Up @@ -163,6 +165,8 @@ set(csas_public_header_model
include/alibabacloud/csas/model/UpdateExcessiveDeviceRegistrationApplicationsStatusResult.h
include/alibabacloud/csas/model/UpdateIdpDepartmentRequest.h
include/alibabacloud/csas/model/UpdateIdpDepartmentResult.h
include/alibabacloud/csas/model/UpdateNacUserCertStatusRequest.h
include/alibabacloud/csas/model/UpdateNacUserCertStatusResult.h
include/alibabacloud/csas/model/UpdatePrivateAccessApplicationRequest.h
include/alibabacloud/csas/model/UpdatePrivateAccessApplicationResult.h
include/alibabacloud/csas/model/UpdatePrivateAccessPolicyRequest.h
Expand Down Expand Up @@ -268,6 +272,8 @@ set(csas_src
src/model/ListIdpConfigsResult.cc
src/model/ListIdpDepartmentsRequest.cc
src/model/ListIdpDepartmentsResult.cc
src/model/ListNacUserCertRequest.cc
src/model/ListNacUserCertResult.cc
src/model/ListPolicesForPrivateAccessApplicationRequest.cc
src/model/ListPolicesForPrivateAccessApplicationResult.cc
src/model/ListPolicesForPrivateAccessTagRequest.cc
Expand Down Expand Up @@ -322,6 +328,8 @@ set(csas_src
src/model/UpdateExcessiveDeviceRegistrationApplicationsStatusResult.cc
src/model/UpdateIdpDepartmentRequest.cc
src/model/UpdateIdpDepartmentResult.cc
src/model/UpdateNacUserCertStatusRequest.cc
src/model/UpdateNacUserCertStatusResult.cc
src/model/UpdatePrivateAccessApplicationRequest.cc
src/model/UpdatePrivateAccessApplicationResult.cc
src/model/UpdatePrivateAccessPolicyRequest.cc
Expand Down
16 changes: 16 additions & 0 deletions csas/include/alibabacloud/csas/CsasClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@
#include "model/ListIdpConfigsResult.h"
#include "model/ListIdpDepartmentsRequest.h"
#include "model/ListIdpDepartmentsResult.h"
#include "model/ListNacUserCertRequest.h"
#include "model/ListNacUserCertResult.h"
#include "model/ListPolicesForPrivateAccessApplicationRequest.h"
#include "model/ListPolicesForPrivateAccessApplicationResult.h"
#include "model/ListPolicesForPrivateAccessTagRequest.h"
Expand Down Expand Up @@ -164,6 +166,8 @@
#include "model/UpdateExcessiveDeviceRegistrationApplicationsStatusResult.h"
#include "model/UpdateIdpDepartmentRequest.h"
#include "model/UpdateIdpDepartmentResult.h"
#include "model/UpdateNacUserCertStatusRequest.h"
#include "model/UpdateNacUserCertStatusResult.h"
#include "model/UpdatePrivateAccessApplicationRequest.h"
#include "model/UpdatePrivateAccessApplicationResult.h"
#include "model/UpdatePrivateAccessPolicyRequest.h"
Expand Down Expand Up @@ -319,6 +323,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListIdpDepartmentsResult> ListIdpDepartmentsOutcome;
typedef std::future<ListIdpDepartmentsOutcome> ListIdpDepartmentsOutcomeCallable;
typedef std::function<void(const CsasClient*, const Model::ListIdpDepartmentsRequest&, const ListIdpDepartmentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListIdpDepartmentsAsyncHandler;
typedef Outcome<Error, Model::ListNacUserCertResult> ListNacUserCertOutcome;
typedef std::future<ListNacUserCertOutcome> ListNacUserCertOutcomeCallable;
typedef std::function<void(const CsasClient*, const Model::ListNacUserCertRequest&, const ListNacUserCertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListNacUserCertAsyncHandler;
typedef Outcome<Error, Model::ListPolicesForPrivateAccessApplicationResult> ListPolicesForPrivateAccessApplicationOutcome;
typedef std::future<ListPolicesForPrivateAccessApplicationOutcome> ListPolicesForPrivateAccessApplicationOutcomeCallable;
typedef std::function<void(const CsasClient*, const Model::ListPolicesForPrivateAccessApplicationRequest&, const ListPolicesForPrivateAccessApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPolicesForPrivateAccessApplicationAsyncHandler;
Expand Down Expand Up @@ -400,6 +407,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateIdpDepartmentResult> UpdateIdpDepartmentOutcome;
typedef std::future<UpdateIdpDepartmentOutcome> UpdateIdpDepartmentOutcomeCallable;
typedef std::function<void(const CsasClient*, const Model::UpdateIdpDepartmentRequest&, const UpdateIdpDepartmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateIdpDepartmentAsyncHandler;
typedef Outcome<Error, Model::UpdateNacUserCertStatusResult> UpdateNacUserCertStatusOutcome;
typedef std::future<UpdateNacUserCertStatusOutcome> UpdateNacUserCertStatusOutcomeCallable;
typedef std::function<void(const CsasClient*, const Model::UpdateNacUserCertStatusRequest&, const UpdateNacUserCertStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateNacUserCertStatusAsyncHandler;
typedef Outcome<Error, Model::UpdatePrivateAccessApplicationResult> UpdatePrivateAccessApplicationOutcome;
typedef std::future<UpdatePrivateAccessApplicationOutcome> UpdatePrivateAccessApplicationOutcomeCallable;
typedef std::function<void(const CsasClient*, const Model::UpdatePrivateAccessApplicationRequest&, const UpdatePrivateAccessApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePrivateAccessApplicationAsyncHandler;
Expand Down Expand Up @@ -558,6 +568,9 @@ namespace AlibabaCloud
ListIdpDepartmentsOutcome listIdpDepartments(const Model::ListIdpDepartmentsRequest &request)const;
void listIdpDepartmentsAsync(const Model::ListIdpDepartmentsRequest& request, const ListIdpDepartmentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListIdpDepartmentsOutcomeCallable listIdpDepartmentsCallable(const Model::ListIdpDepartmentsRequest& request) const;
ListNacUserCertOutcome listNacUserCert(const Model::ListNacUserCertRequest &request)const;
void listNacUserCertAsync(const Model::ListNacUserCertRequest& request, const ListNacUserCertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListNacUserCertOutcomeCallable listNacUserCertCallable(const Model::ListNacUserCertRequest& request) const;
ListPolicesForPrivateAccessApplicationOutcome listPolicesForPrivateAccessApplication(const Model::ListPolicesForPrivateAccessApplicationRequest &request)const;
void listPolicesForPrivateAccessApplicationAsync(const Model::ListPolicesForPrivateAccessApplicationRequest& request, const ListPolicesForPrivateAccessApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPolicesForPrivateAccessApplicationOutcomeCallable listPolicesForPrivateAccessApplicationCallable(const Model::ListPolicesForPrivateAccessApplicationRequest& request) const;
Expand Down Expand Up @@ -639,6 +652,9 @@ namespace AlibabaCloud
UpdateIdpDepartmentOutcome updateIdpDepartment(const Model::UpdateIdpDepartmentRequest &request)const;
void updateIdpDepartmentAsync(const Model::UpdateIdpDepartmentRequest& request, const UpdateIdpDepartmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateIdpDepartmentOutcomeCallable updateIdpDepartmentCallable(const Model::UpdateIdpDepartmentRequest& request) const;
UpdateNacUserCertStatusOutcome updateNacUserCertStatus(const Model::UpdateNacUserCertStatusRequest &request)const;
void updateNacUserCertStatusAsync(const Model::UpdateNacUserCertStatusRequest& request, const UpdateNacUserCertStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateNacUserCertStatusOutcomeCallable updateNacUserCertStatusCallable(const Model::UpdateNacUserCertStatusRequest& request) const;
UpdatePrivateAccessApplicationOutcome updatePrivateAccessApplication(const Model::UpdatePrivateAccessApplicationRequest &request)const;
void updatePrivateAccessApplicationAsync(const Model::UpdatePrivateAccessApplicationRequest& request, const UpdatePrivateAccessApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdatePrivateAccessApplicationOutcomeCallable updatePrivateAccessApplicationCallable(const Model::UpdatePrivateAccessApplicationRequest& request) const;
Expand Down
63 changes: 63 additions & 0 deletions csas/include/alibabacloud/csas/model/ListNacUserCertRequest.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#ifndef ALIBABACLOUD_CSAS_MODEL_LISTNACUSERCERTREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_LISTNACUSERCERTREQUEST_H_

#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>

namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT ListNacUserCertRequest : public RpcServiceRequest {
public:
ListNacUserCertRequest();
~ListNacUserCertRequest();
long getEndTime() const;
void setEndTime(long endTime);
std::string getCurrentPage() const;
void setCurrentPage(const std::string &currentPage);
long getStartTime() const;
void setStartTime(long startTime);
std::string getDeviceType() const;
void setDeviceType(const std::string &deviceType);
std::string getPageSize() const;
void setPageSize(const std::string &pageSize);
std::string getDepartment() const;
void setDepartment(const std::string &department);
std::string getUsername() const;
void setUsername(const std::string &username);
std::string getStatus() const;
void setStatus(const std::string &status);

private:
long endTime_;
std::string currentPage_;
long startTime_;
std::string deviceType_;
std::string pageSize_;
std::string department_;
std::string username_;
std::string status_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTNACUSERCERTREQUEST_H_
70 changes: 70 additions & 0 deletions csas/include/alibabacloud/csas/model/ListNacUserCertResult.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CSAS_MODEL_LISTNACUSERCERTRESULT_H_
#define ALIBABACLOUD_CSAS_MODEL_LISTNACUSERCERTRESULT_H_

#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/csas/CsasExport.h>

namespace AlibabaCloud
{
namespace Csas
{
namespace Model
{
class ALIBABACLOUD_CSAS_EXPORT ListNacUserCertResult : public ServiceResult
{
public:
struct DataListItem
{
std::string status;
std::string deviceType;
std::string department;
std::string username;
std::string userId;
std::string expiredTime;
std::string hostname;
std::string devTag;
std::string aliuid;
std::string mac;
};


ListNacUserCertResult();
explicit ListNacUserCertResult(const std::string &payload);
~ListNacUserCertResult();
std::vector<DataListItem> getDataList()const;
long getTotalNum()const;
std::string getMessage()const;
long getCode()const;

protected:
void parse(const std::string &payload);
private:
std::vector<DataListItem> dataList_;
long totalNum_;
std::string message_;
long code_;

};
}
}
}
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTNACUSERCERTRESULT_H_
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#ifndef ALIBABACLOUD_CSAS_MODEL_UPDATENACUSERCERTSTATUSREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_UPDATENACUSERCERTSTATUSREQUEST_H_

#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>

namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT UpdateNacUserCertStatusRequest : public RpcServiceRequest {
public:
struct IdList {
std::string userId;
std::string devTag;
};
UpdateNacUserCertStatusRequest();
~UpdateNacUserCertStatusRequest();
std::vector<IdList> getIdList() const;
void setIdList(const std::vector<IdList> &idList);
std::string getStatus() const;
void setStatus(const std::string &status);

private:
std::vector<IdList> idList_;
std::string status_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_UPDATENACUSERCERTSTATUSREQUEST_H_
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#ifndef ALIBABACLOUD_CSAS_MODEL_UPDATENACUSERCERTSTATUSRESULT_H_
#define ALIBABACLOUD_CSAS_MODEL_UPDATENACUSERCERTSTATUSRESULT_H_

#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/csas/CsasExport.h>

namespace AlibabaCloud
{
namespace Csas
{
namespace Model
{
class ALIBABACLOUD_CSAS_EXPORT UpdateNacUserCertStatusResult : public ServiceResult
{
public:


UpdateNacUserCertStatusResult();
explicit UpdateNacUserCertStatusResult(const std::string &payload);
~UpdateNacUserCertStatusResult();
std::string getMessage()const;
std::string getCode()const;

protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;

};
}
}
}
#endif // !ALIBABACLOUD_CSAS_MODEL_UPDATENACUSERCERTSTATUSRESULT_H_
Loading

0 comments on commit befcff9

Please sign in to comment.