Compare commits

..

4 Commits

Author SHA1 Message Date
sdk-team
51939b77c4 Publish sdk. 2024-10-24 09:37:26 +00:00
sdk-team
3f0e3c3e9a Update Endpoint. 2024-10-23 09:57:47 +00:00
sdk-team
c13c576175 ListUsers,ListUserBasicInfos api新增支持status字段 2024-10-23 09:18:06 +00:00
sdk-team
ef4cdc8756 Add openapi StartEaiJupyter. 2024-10-22 03:02:13 +00:00
327 changed files with 22321 additions and 342 deletions

View File

@@ -1 +1 @@
1.36.2002
1.36.2006

View File

@@ -48,10 +48,14 @@ public:
void setRouteName(const std::string &routeName);
std::string getEmail() const;
void setEmail(const std::string &email);
std::string getHmSignName() const;
void setHmSignName(const std::string &hmSignName);
std::string getPackSign() const;
void setPackSign(const std::string &packSign);
std::string getPackName() const;
void setPackName(const std::string &packName);
std::string getHmAppIdentifier() const;
void setHmAppIdentifier(const std::string &hmAppIdentifier);
long getCuApiCode() const;
void setCuApiCode(long cuApiCode);
std::string getSceneType() const;
@@ -72,6 +76,8 @@ public:
void setSchemeName(const std::string &schemeName);
std::string getSmsSignName() const;
void setSmsSignName(const std::string &smsSignName);
std::string getHmPackageName() const;
void setHmPackageName(const std::string &hmPackageName);
private:
long resourceOwnerId_;
@@ -83,8 +89,10 @@ private:
std::string ipWhiteList_;
std::string routeName_;
std::string email_;
std::string hmSignName_;
std::string packSign_;
std::string packName_;
std::string hmAppIdentifier_;
long cuApiCode_;
std::string sceneType_;
std::string resourceOwnerAccount_;
@@ -95,6 +103,7 @@ private:
long cmApiCode_;
std::string schemeName_;
std::string smsSignName_;
std::string hmPackageName_;
};
} // namespace Model
} // namespace Dypnsapi

View File

@@ -38,21 +38,36 @@ public:
void setAccessKeyId(const std::string &accessKeyId);
std::string getSceneCode() const;
void setSceneCode(const std::string &sceneCode);
int getCuApiCode() const;
void setCuApiCode(int cuApiCode);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
int getCtApiCode() const;
void setCtApiCode(int ctApiCode);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getVersion() const;
void setVersion(const std::string &version);
std::string getUrl() const;
void setUrl(const std::string &url);
int getBizType() const;
void setBizType(int bizType);
int getCmApiCode() const;
void setCmApiCode(int cmApiCode);
private:
long resourceOwnerId_;
std::string origin_;
std::string accessKeyId_;
std::string sceneCode_;
int cuApiCode_;
std::string resourceOwnerAccount_;
int ctApiCode_;
long ownerId_;
std::string version_;
std::string url_;
int bizType_;
int cmApiCode_;
};
} // namespace Model
} // namespace Dypnsapi

View File

@@ -106,6 +106,15 @@ void CreateVerifySchemeRequest::setEmail(const std::string &email) {
setParameter(std::string("Email"), email);
}
std::string CreateVerifySchemeRequest::getHmSignName() const {
return hmSignName_;
}
void CreateVerifySchemeRequest::setHmSignName(const std::string &hmSignName) {
hmSignName_ = hmSignName;
setParameter(std::string("HmSignName"), hmSignName);
}
std::string CreateVerifySchemeRequest::getPackSign() const {
return packSign_;
}
@@ -124,6 +133,15 @@ void CreateVerifySchemeRequest::setPackName(const std::string &packName) {
setParameter(std::string("PackName"), packName);
}
std::string CreateVerifySchemeRequest::getHmAppIdentifier() const {
return hmAppIdentifier_;
}
void CreateVerifySchemeRequest::setHmAppIdentifier(const std::string &hmAppIdentifier) {
hmAppIdentifier_ = hmAppIdentifier;
setParameter(std::string("HmAppIdentifier"), hmAppIdentifier);
}
long CreateVerifySchemeRequest::getCuApiCode() const {
return cuApiCode_;
}
@@ -214,3 +232,12 @@ void CreateVerifySchemeRequest::setSmsSignName(const std::string &smsSignName) {
setParameter(std::string("SmsSignName"), smsSignName);
}
std::string CreateVerifySchemeRequest::getHmPackageName() const {
return hmPackageName_;
}
void CreateVerifySchemeRequest::setHmPackageName(const std::string &hmPackageName) {
hmPackageName_ = hmPackageName;
setParameter(std::string("HmPackageName"), hmPackageName);
}

View File

@@ -61,6 +61,15 @@ void GetAuthTokenRequest::setSceneCode(const std::string &sceneCode) {
setParameter(std::string("SceneCode"), sceneCode);
}
int GetAuthTokenRequest::getCuApiCode() const {
return cuApiCode_;
}
void GetAuthTokenRequest::setCuApiCode(int cuApiCode) {
cuApiCode_ = cuApiCode;
setParameter(std::string("CuApiCode"), std::to_string(cuApiCode));
}
std::string GetAuthTokenRequest::getResourceOwnerAccount() const {
return resourceOwnerAccount_;
}
@@ -70,6 +79,15 @@ void GetAuthTokenRequest::setResourceOwnerAccount(const std::string &resourceOwn
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
}
int GetAuthTokenRequest::getCtApiCode() const {
return ctApiCode_;
}
void GetAuthTokenRequest::setCtApiCode(int ctApiCode) {
ctApiCode_ = ctApiCode;
setParameter(std::string("CtApiCode"), std::to_string(ctApiCode));
}
long GetAuthTokenRequest::getOwnerId() const {
return ownerId_;
}
@@ -79,6 +97,15 @@ void GetAuthTokenRequest::setOwnerId(long ownerId) {
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
std::string GetAuthTokenRequest::getVersion() const {
return version_;
}
void GetAuthTokenRequest::setVersion(const std::string &version) {
version_ = version;
setParameter(std::string("Version"), version);
}
std::string GetAuthTokenRequest::getUrl() const {
return url_;
}
@@ -88,3 +115,21 @@ void GetAuthTokenRequest::setUrl(const std::string &url) {
setParameter(std::string("Url"), url);
}
int GetAuthTokenRequest::getBizType() const {
return bizType_;
}
void GetAuthTokenRequest::setBizType(int bizType) {
bizType_ = bizType;
setParameter(std::string("BizType"), std::to_string(bizType));
}
int GetAuthTokenRequest::getCmApiCode() const {
return cmApiCode_;
}
void GetAuthTokenRequest::setCmApiCode(int cmApiCode) {
cmApiCode_ = cmApiCode;
setParameter(std::string("CmApiCode"), std::to_string(cmApiCode));
}

View File

@@ -29,8 +29,6 @@ set(eais_public_header_model
include/alibabacloud/eais/model/ChangeResourceGroupResult.h
include/alibabacloud/eais/model/CreateEaiRequest.h
include/alibabacloud/eais/model/CreateEaiResult.h
include/alibabacloud/eais/model/CreateEaiAllRequest.h
include/alibabacloud/eais/model/CreateEaiAllResult.h
include/alibabacloud/eais/model/CreateEaiEciRequest.h
include/alibabacloud/eais/model/CreateEaiEciResult.h
include/alibabacloud/eais/model/CreateEaiEcsRequest.h
@@ -55,10 +53,20 @@ set(eais_public_header_model
include/alibabacloud/eais/model/DetachEaisEiResult.h
include/alibabacloud/eais/model/GetInstanceMetricsRequest.h
include/alibabacloud/eais/model/GetInstanceMetricsResult.h
include/alibabacloud/eais/model/ListTagResourcesRequest.h
include/alibabacloud/eais/model/ListTagResourcesResult.h
include/alibabacloud/eais/model/StartEaiJupyterRequest.h
include/alibabacloud/eais/model/StartEaiJupyterResult.h
include/alibabacloud/eais/model/StartEaisEiRequest.h
include/alibabacloud/eais/model/StartEaisEiResult.h
include/alibabacloud/eais/model/StopEaiJupyterRequest.h
include/alibabacloud/eais/model/StopEaiJupyterResult.h
include/alibabacloud/eais/model/StopEaisEiRequest.h
include/alibabacloud/eais/model/StopEaisEiResult.h )
include/alibabacloud/eais/model/StopEaisEiResult.h
include/alibabacloud/eais/model/TagResourcesRequest.h
include/alibabacloud/eais/model/TagResourcesResult.h
include/alibabacloud/eais/model/UntagResourcesRequest.h
include/alibabacloud/eais/model/UntagResourcesResult.h )
set(eais_src
src/EaisClient.cc
@@ -70,8 +78,6 @@ set(eais_src
src/model/ChangeResourceGroupResult.cc
src/model/CreateEaiRequest.cc
src/model/CreateEaiResult.cc
src/model/CreateEaiAllRequest.cc
src/model/CreateEaiAllResult.cc
src/model/CreateEaiEciRequest.cc
src/model/CreateEaiEciResult.cc
src/model/CreateEaiEcsRequest.cc
@@ -96,10 +102,20 @@ set(eais_src
src/model/DetachEaisEiResult.cc
src/model/GetInstanceMetricsRequest.cc
src/model/GetInstanceMetricsResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/StartEaiJupyterRequest.cc
src/model/StartEaiJupyterResult.cc
src/model/StartEaisEiRequest.cc
src/model/StartEaisEiResult.cc
src/model/StopEaiJupyterRequest.cc
src/model/StopEaiJupyterResult.cc
src/model/StopEaisEiRequest.cc
src/model/StopEaisEiResult.cc )
src/model/StopEaisEiResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/UntagResourcesRequest.cc
src/model/UntagResourcesResult.cc )
add_library(eais ${LIB_TYPE}
${eais_public_header}

View File

@@ -30,8 +30,6 @@
#include "model/ChangeResourceGroupResult.h"
#include "model/CreateEaiRequest.h"
#include "model/CreateEaiResult.h"
#include "model/CreateEaiAllRequest.h"
#include "model/CreateEaiAllResult.h"
#include "model/CreateEaiEciRequest.h"
#include "model/CreateEaiEciResult.h"
#include "model/CreateEaiEcsRequest.h"
@@ -56,10 +54,20 @@
#include "model/DetachEaisEiResult.h"
#include "model/GetInstanceMetricsRequest.h"
#include "model/GetInstanceMetricsResult.h"
#include "model/ListTagResourcesRequest.h"
#include "model/ListTagResourcesResult.h"
#include "model/StartEaiJupyterRequest.h"
#include "model/StartEaiJupyterResult.h"
#include "model/StartEaisEiRequest.h"
#include "model/StartEaisEiResult.h"
#include "model/StopEaiJupyterRequest.h"
#include "model/StopEaiJupyterResult.h"
#include "model/StopEaisEiRequest.h"
#include "model/StopEaisEiResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/UntagResourcesRequest.h"
#include "model/UntagResourcesResult.h"
namespace AlibabaCloud
@@ -81,9 +89,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateEaiResult> CreateEaiOutcome;
typedef std::future<CreateEaiOutcome> CreateEaiOutcomeCallable;
typedef std::function<void(const EaisClient*, const Model::CreateEaiRequest&, const CreateEaiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEaiAsyncHandler;
typedef Outcome<Error, Model::CreateEaiAllResult> CreateEaiAllOutcome;
typedef std::future<CreateEaiAllOutcome> CreateEaiAllOutcomeCallable;
typedef std::function<void(const EaisClient*, const Model::CreateEaiAllRequest&, const CreateEaiAllOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEaiAllAsyncHandler;
typedef Outcome<Error, Model::CreateEaiEciResult> CreateEaiEciOutcome;
typedef std::future<CreateEaiEciOutcome> CreateEaiEciOutcomeCallable;
typedef std::function<void(const EaisClient*, const Model::CreateEaiEciRequest&, const CreateEaiEciOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEaiEciAsyncHandler;
@@ -120,12 +125,27 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetInstanceMetricsResult> GetInstanceMetricsOutcome;
typedef std::future<GetInstanceMetricsOutcome> GetInstanceMetricsOutcomeCallable;
typedef std::function<void(const EaisClient*, const Model::GetInstanceMetricsRequest&, const GetInstanceMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceMetricsAsyncHandler;
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
typedef std::function<void(const EaisClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
typedef Outcome<Error, Model::StartEaiJupyterResult> StartEaiJupyterOutcome;
typedef std::future<StartEaiJupyterOutcome> StartEaiJupyterOutcomeCallable;
typedef std::function<void(const EaisClient*, const Model::StartEaiJupyterRequest&, const StartEaiJupyterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartEaiJupyterAsyncHandler;
typedef Outcome<Error, Model::StartEaisEiResult> StartEaisEiOutcome;
typedef std::future<StartEaisEiOutcome> StartEaisEiOutcomeCallable;
typedef std::function<void(const EaisClient*, const Model::StartEaisEiRequest&, const StartEaisEiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartEaisEiAsyncHandler;
typedef Outcome<Error, Model::StopEaiJupyterResult> StopEaiJupyterOutcome;
typedef std::future<StopEaiJupyterOutcome> StopEaiJupyterOutcomeCallable;
typedef std::function<void(const EaisClient*, const Model::StopEaiJupyterRequest&, const StopEaiJupyterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopEaiJupyterAsyncHandler;
typedef Outcome<Error, Model::StopEaisEiResult> StopEaisEiOutcome;
typedef std::future<StopEaisEiOutcome> StopEaisEiOutcomeCallable;
typedef std::function<void(const EaisClient*, const Model::StopEaisEiRequest&, const StopEaisEiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopEaisEiAsyncHandler;
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
typedef std::function<void(const EaisClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
typedef std::function<void(const EaisClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
EaisClient(const Credentials &credentials, const ClientConfiguration &configuration);
EaisClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -143,9 +163,6 @@ namespace AlibabaCloud
CreateEaiOutcome createEai(const Model::CreateEaiRequest &request)const;
void createEaiAsync(const Model::CreateEaiRequest& request, const CreateEaiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateEaiOutcomeCallable createEaiCallable(const Model::CreateEaiRequest& request) const;
CreateEaiAllOutcome createEaiAll(const Model::CreateEaiAllRequest &request)const;
void createEaiAllAsync(const Model::CreateEaiAllRequest& request, const CreateEaiAllAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateEaiAllOutcomeCallable createEaiAllCallable(const Model::CreateEaiAllRequest& request) const;
CreateEaiEciOutcome createEaiEci(const Model::CreateEaiEciRequest &request)const;
void createEaiEciAsync(const Model::CreateEaiEciRequest& request, const CreateEaiEciAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateEaiEciOutcomeCallable createEaiEciCallable(const Model::CreateEaiEciRequest& request) const;
@@ -182,12 +199,27 @@ namespace AlibabaCloud
GetInstanceMetricsOutcome getInstanceMetrics(const Model::GetInstanceMetricsRequest &request)const;
void getInstanceMetricsAsync(const Model::GetInstanceMetricsRequest& request, const GetInstanceMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetInstanceMetricsOutcomeCallable getInstanceMetricsCallable(const Model::GetInstanceMetricsRequest& request) const;
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
StartEaiJupyterOutcome startEaiJupyter(const Model::StartEaiJupyterRequest &request)const;
void startEaiJupyterAsync(const Model::StartEaiJupyterRequest& request, const StartEaiJupyterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartEaiJupyterOutcomeCallable startEaiJupyterCallable(const Model::StartEaiJupyterRequest& request) const;
StartEaisEiOutcome startEaisEi(const Model::StartEaisEiRequest &request)const;
void startEaisEiAsync(const Model::StartEaisEiRequest& request, const StartEaisEiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartEaisEiOutcomeCallable startEaisEiCallable(const Model::StartEaisEiRequest& request) const;
StopEaiJupyterOutcome stopEaiJupyter(const Model::StopEaiJupyterRequest &request)const;
void stopEaiJupyterAsync(const Model::StopEaiJupyterRequest& request, const StopEaiJupyterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopEaiJupyterOutcomeCallable stopEaiJupyterCallable(const Model::StopEaiJupyterRequest& request) const;
StopEaisEiOutcome stopEaisEi(const Model::StopEaisEiRequest &request)const;
void stopEaisEiAsync(const Model::StopEaisEiRequest& request, const StopEaisEiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopEaisEiOutcomeCallable stopEaisEiCallable(const Model::StopEaisEiRequest& request) const;
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -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_EAIS_MODEL_CREATEEAIALLREQUEST_H_
#define ALIBABACLOUD_EAIS_MODEL_CREATEEAIALLREQUEST_H_
#include <alibabacloud/eais/EaisExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eais {
namespace Model {
class ALIBABACLOUD_EAIS_EXPORT CreateEaiAllRequest : public RpcServiceRequest {
public:
CreateEaiAllRequest();
~CreateEaiAllRequest();
std::string getClientImageId() const;
void setClientImageId(const std::string &clientImageId);
std::string getClientSystemDiskCategory() const;
void setClientSystemDiskCategory(const std::string &clientSystemDiskCategory);
int getClientInternetMaxBandwidthOut() const;
void setClientInternetMaxBandwidthOut(int clientInternetMaxBandwidthOut);
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getClientInstanceName() const;
void setClientInstanceName(const std::string &clientInstanceName);
int getClientInternetMaxBandwidthIn() const;
void setClientInternetMaxBandwidthIn(int clientInternetMaxBandwidthIn);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
int getClientSystemDiskSize() const;
void setClientSystemDiskSize(int clientSystemDiskSize);
std::string getClientVSwitchId() const;
void setClientVSwitchId(const std::string &clientVSwitchId);
std::string getClientPassword() const;
void setClientPassword(const std::string &clientPassword);
std::string getClientInstanceType() const;
void setClientInstanceType(const std::string &clientInstanceType);
std::string getClientSecurityGroupId() const;
void setClientSecurityGroupId(const std::string &clientSecurityGroupId);
std::string getEaiInstanceType() const;
void setEaiInstanceType(const std::string &eaiInstanceType);
std::string getClientZoneId() const;
void setClientZoneId(const std::string &clientZoneId);
std::string getInstanceName() const;
void setInstanceName(const std::string &instanceName);
private:
std::string clientImageId_;
std::string clientSystemDiskCategory_;
int clientInternetMaxBandwidthOut_;
std::string clientToken_;
std::string resourceGroupId_;
std::string clientInstanceName_;
int clientInternetMaxBandwidthIn_;
std::string regionId_;
int clientSystemDiskSize_;
std::string clientVSwitchId_;
std::string clientPassword_;
std::string clientInstanceType_;
std::string clientSecurityGroupId_;
std::string eaiInstanceType_;
std::string clientZoneId_;
std::string instanceName_;
};
} // namespace Model
} // namespace Eais
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EAIS_MODEL_CREATEEAIALLREQUEST_H_

View File

@@ -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_EAIS_MODEL_LISTTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_EAIS_MODEL_LISTTAGRESOURCESREQUEST_H_
#include <alibabacloud/eais/EaisExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eais {
namespace Model {
class ALIBABACLOUD_EAIS_EXPORT ListTagResourcesRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
ListTagResourcesRequest();
~ListTagResourcesRequest();
std::vector<std::string> getResourceId() const;
void setResourceId(const std::vector<std::string> &resourceId);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
private:
std::vector<std::string> resourceId_;
std::string resourceType_;
std::string regionId_;
std::string nextToken_;
std::vector<Tag> tag_;
};
} // namespace Model
} // namespace Eais
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EAIS_MODEL_LISTTAGRESOURCESREQUEST_H_

View File

@@ -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_EAIS_MODEL_LISTTAGRESOURCESRESULT_H_
#define ALIBABACLOUD_EAIS_MODEL_LISTTAGRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eais/EaisExport.h>
namespace AlibabaCloud
{
namespace Eais
{
namespace Model
{
class ALIBABACLOUD_EAIS_EXPORT ListTagResourcesResult : public ServiceResult
{
public:
struct TagResource
{
std::string resourceId;
std::string tagKey;
std::string resourceType;
std::string tagValue;
};
ListTagResourcesResult();
explicit ListTagResourcesResult(const std::string &payload);
~ListTagResourcesResult();
std::string getNextToken()const;
std::vector<TagResource> getTagResources()const;
protected:
void parse(const std::string &payload);
private:
std::string nextToken_;
std::vector<TagResource> tagResources_;
};
}
}
}
#endif // !ALIBABACLOUD_EAIS_MODEL_LISTTAGRESOURCESRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_EAIS_MODEL_STARTEAIJUPYTERREQUEST_H_
#define ALIBABACLOUD_EAIS_MODEL_STARTEAIJUPYTERREQUEST_H_
#include <alibabacloud/eais/EaisExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eais {
namespace Model {
class ALIBABACLOUD_EAIS_EXPORT StartEaiJupyterRequest : public RpcServiceRequest {
public:
StartEaiJupyterRequest();
~StartEaiJupyterRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string instanceId_;
std::string regionId_;
};
} // namespace Model
} // namespace Eais
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EAIS_MODEL_STARTEAIJUPYTERREQUEST_H_

View File

@@ -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_EAIS_MODEL_STARTEAIJUPYTERRESULT_H_
#define ALIBABACLOUD_EAIS_MODEL_STARTEAIJUPYTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eais/EaisExport.h>
namespace AlibabaCloud
{
namespace Eais
{
namespace Model
{
class ALIBABACLOUD_EAIS_EXPORT StartEaiJupyterResult : public ServiceResult
{
public:
struct AccessDeniedDetail
{
std::string policyType;
std::string authPrincipalOwnerId;
std::string encodedDiagnosticMessage;
std::string authPrincipalType;
std::string authPrincipalDisplayName;
std::string noPermissionType;
std::string authAction;
};
StartEaiJupyterResult();
explicit StartEaiJupyterResult(const std::string &payload);
~StartEaiJupyterResult();
AccessDeniedDetail getAccessDeniedDetail()const;
protected:
void parse(const std::string &payload);
private:
AccessDeniedDetail accessDeniedDetail_;
};
}
}
}
#endif // !ALIBABACLOUD_EAIS_MODEL_STARTEAIJUPYTERRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_EAIS_MODEL_STOPEAIJUPYTERREQUEST_H_
#define ALIBABACLOUD_EAIS_MODEL_STOPEAIJUPYTERREQUEST_H_
#include <alibabacloud/eais/EaisExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eais {
namespace Model {
class ALIBABACLOUD_EAIS_EXPORT StopEaiJupyterRequest : public RpcServiceRequest {
public:
StopEaiJupyterRequest();
~StopEaiJupyterRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string instanceId_;
std::string regionId_;
};
} // namespace Model
} // namespace Eais
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EAIS_MODEL_STOPEAIJUPYTERREQUEST_H_

View File

@@ -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_EAIS_MODEL_STOPEAIJUPYTERRESULT_H_
#define ALIBABACLOUD_EAIS_MODEL_STOPEAIJUPYTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eais/EaisExport.h>
namespace AlibabaCloud
{
namespace Eais
{
namespace Model
{
class ALIBABACLOUD_EAIS_EXPORT StopEaiJupyterResult : public ServiceResult
{
public:
struct AccessDeniedDetail
{
std::string policyType;
std::string authPrincipalOwnerId;
std::string encodedDiagnosticMessage;
std::string authPrincipalType;
std::string authPrincipalDisplayName;
std::string noPermissionType;
std::string authAction;
};
StopEaiJupyterResult();
explicit StopEaiJupyterResult(const std::string &payload);
~StopEaiJupyterResult();
AccessDeniedDetail getAccessDeniedDetail()const;
protected:
void parse(const std::string &payload);
private:
AccessDeniedDetail accessDeniedDetail_;
};
}
}
}
#endif // !ALIBABACLOUD_EAIS_MODEL_STOPEAIJUPYTERRESULT_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAIS_MODEL_TAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_EAIS_MODEL_TAGRESOURCESREQUEST_H_
#include <alibabacloud/eais/EaisExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eais {
namespace Model {
class ALIBABACLOUD_EAIS_EXPORT TagResourcesRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
TagResourcesRequest();
~TagResourcesRequest();
std::vector<std::string> getResourceId() const;
void setResourceId(const std::vector<std::string> &resourceId);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
private:
std::vector<std::string> resourceId_;
std::string resourceType_;
std::string regionId_;
std::vector<Tag> tag_;
};
} // namespace Model
} // namespace Eais
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EAIS_MODEL_TAGRESOURCESREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAIS_MODEL_CREATEEAIALLRESULT_H_
#define ALIBABACLOUD_EAIS_MODEL_CREATEEAIALLRESULT_H_
#ifndef ALIBABACLOUD_EAIS_MODEL_TAGRESOURCESRESULT_H_
#define ALIBABACLOUD_EAIS_MODEL_TAGRESOURCESRESULT_H_
#include <string>
#include <vector>
@@ -29,25 +29,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_EAIS_EXPORT CreateEaiAllResult : public ServiceResult
class ALIBABACLOUD_EAIS_EXPORT TagResourcesResult : public ServiceResult
{
public:
CreateEaiAllResult();
explicit CreateEaiAllResult(const std::string &payload);
~CreateEaiAllResult();
std::string getClientInstanceId()const;
std::string getElasticAcceleratedInstanceId()const;
TagResourcesResult();
explicit TagResourcesResult(const std::string &payload);
~TagResourcesResult();
protected:
void parse(const std::string &payload);
private:
std::string clientInstanceId_;
std::string elasticAcceleratedInstanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_EAIS_MODEL_CREATEEAIALLRESULT_H_
#endif // !ALIBABACLOUD_EAIS_MODEL_TAGRESOURCESRESULT_H_

View File

@@ -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_EAIS_MODEL_UNTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_EAIS_MODEL_UNTAGRESOURCESREQUEST_H_
#include <alibabacloud/eais/EaisExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Eais {
namespace Model {
class ALIBABACLOUD_EAIS_EXPORT UntagResourcesRequest : public RpcServiceRequest {
public:
UntagResourcesRequest();
~UntagResourcesRequest();
bool getAll() const;
void setAll(bool all);
std::vector<std::string> getResourceId() const;
void setResourceId(const std::vector<std::string> &resourceId);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::vector<std::string> getTagKey() const;
void setTagKey(const std::vector<std::string> &tagKey);
private:
bool all_;
std::vector<std::string> resourceId_;
std::string resourceType_;
std::string regionId_;
std::vector<std::string> tagKey_;
};
} // namespace Model
} // namespace Eais
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_EAIS_MODEL_UNTAGRESOURCESREQUEST_H_

View File

@@ -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_EAIS_MODEL_UNTAGRESOURCESRESULT_H_
#define ALIBABACLOUD_EAIS_MODEL_UNTAGRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eais/EaisExport.h>
namespace AlibabaCloud
{
namespace Eais
{
namespace Model
{
class ALIBABACLOUD_EAIS_EXPORT UntagResourcesResult : public ServiceResult
{
public:
UntagResourcesResult();
explicit UntagResourcesResult(const std::string &payload);
~UntagResourcesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAIS_MODEL_UNTAGRESOURCESRESULT_H_

View File

@@ -195,42 +195,6 @@ EaisClient::CreateEaiOutcomeCallable EaisClient::createEaiCallable(const CreateE
return task->get_future();
}
EaisClient::CreateEaiAllOutcome EaisClient::createEaiAll(const CreateEaiAllRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateEaiAllOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateEaiAllOutcome(CreateEaiAllResult(outcome.result()));
else
return CreateEaiAllOutcome(outcome.error());
}
void EaisClient::createEaiAllAsync(const CreateEaiAllRequest& request, const CreateEaiAllAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createEaiAll(request), context);
};
asyncExecute(new Runnable(fn));
}
EaisClient::CreateEaiAllOutcomeCallable EaisClient::createEaiAllCallable(const CreateEaiAllRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateEaiAllOutcome()>>(
[this, request]()
{
return this->createEaiAll(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EaisClient::CreateEaiEciOutcome EaisClient::createEaiEci(const CreateEaiEciRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -663,6 +627,78 @@ EaisClient::GetInstanceMetricsOutcomeCallable EaisClient::getInstanceMetricsCall
return task->get_future();
}
EaisClient::ListTagResourcesOutcome EaisClient::listTagResources(const ListTagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListTagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListTagResourcesOutcome(ListTagResourcesResult(outcome.result()));
else
return ListTagResourcesOutcome(outcome.error());
}
void EaisClient::listTagResourcesAsync(const ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listTagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
EaisClient::ListTagResourcesOutcomeCallable EaisClient::listTagResourcesCallable(const ListTagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListTagResourcesOutcome()>>(
[this, request]()
{
return this->listTagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EaisClient::StartEaiJupyterOutcome EaisClient::startEaiJupyter(const StartEaiJupyterRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return StartEaiJupyterOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return StartEaiJupyterOutcome(StartEaiJupyterResult(outcome.result()));
else
return StartEaiJupyterOutcome(outcome.error());
}
void EaisClient::startEaiJupyterAsync(const StartEaiJupyterRequest& request, const StartEaiJupyterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, startEaiJupyter(request), context);
};
asyncExecute(new Runnable(fn));
}
EaisClient::StartEaiJupyterOutcomeCallable EaisClient::startEaiJupyterCallable(const StartEaiJupyterRequest &request) const
{
auto task = std::make_shared<std::packaged_task<StartEaiJupyterOutcome()>>(
[this, request]()
{
return this->startEaiJupyter(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EaisClient::StartEaisEiOutcome EaisClient::startEaisEi(const StartEaisEiRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -699,6 +735,42 @@ EaisClient::StartEaisEiOutcomeCallable EaisClient::startEaisEiCallable(const Sta
return task->get_future();
}
EaisClient::StopEaiJupyterOutcome EaisClient::stopEaiJupyter(const StopEaiJupyterRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return StopEaiJupyterOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return StopEaiJupyterOutcome(StopEaiJupyterResult(outcome.result()));
else
return StopEaiJupyterOutcome(outcome.error());
}
void EaisClient::stopEaiJupyterAsync(const StopEaiJupyterRequest& request, const StopEaiJupyterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, stopEaiJupyter(request), context);
};
asyncExecute(new Runnable(fn));
}
EaisClient::StopEaiJupyterOutcomeCallable EaisClient::stopEaiJupyterCallable(const StopEaiJupyterRequest &request) const
{
auto task = std::make_shared<std::packaged_task<StopEaiJupyterOutcome()>>(
[this, request]()
{
return this->stopEaiJupyter(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EaisClient::StopEaisEiOutcome EaisClient::stopEaisEi(const StopEaisEiRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -735,3 +807,75 @@ EaisClient::StopEaisEiOutcomeCallable EaisClient::stopEaisEiCallable(const StopE
return task->get_future();
}
EaisClient::TagResourcesOutcome EaisClient::tagResources(const TagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TagResourcesOutcome(TagResourcesResult(outcome.result()));
else
return TagResourcesOutcome(outcome.error());
}
void EaisClient::tagResourcesAsync(const TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, tagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
EaisClient::TagResourcesOutcomeCallable EaisClient::tagResourcesCallable(const TagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TagResourcesOutcome()>>(
[this, request]()
{
return this->tagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
EaisClient::UntagResourcesOutcome EaisClient::untagResources(const UntagResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UntagResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UntagResourcesOutcome(UntagResourcesResult(outcome.result()));
else
return UntagResourcesOutcome(outcome.error());
}
void EaisClient::untagResourcesAsync(const UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, untagResources(request), context);
};
asyncExecute(new Runnable(fn));
}
EaisClient::UntagResourcesOutcomeCallable EaisClient::untagResourcesCallable(const UntagResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UntagResourcesOutcome()>>(
[this, request]()
{
return this->untagResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -1,171 +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/eais/model/CreateEaiAllRequest.h>
using AlibabaCloud::Eais::Model::CreateEaiAllRequest;
CreateEaiAllRequest::CreateEaiAllRequest()
: RpcServiceRequest("eais", "2019-06-24", "CreateEaiAll") {
setMethod(HttpRequest::Method::Post);
}
CreateEaiAllRequest::~CreateEaiAllRequest() {}
std::string CreateEaiAllRequest::getClientImageId() const {
return clientImageId_;
}
void CreateEaiAllRequest::setClientImageId(const std::string &clientImageId) {
clientImageId_ = clientImageId;
setParameter(std::string("ClientImageId"), clientImageId);
}
std::string CreateEaiAllRequest::getClientSystemDiskCategory() const {
return clientSystemDiskCategory_;
}
void CreateEaiAllRequest::setClientSystemDiskCategory(const std::string &clientSystemDiskCategory) {
clientSystemDiskCategory_ = clientSystemDiskCategory;
setParameter(std::string("ClientSystemDiskCategory"), clientSystemDiskCategory);
}
int CreateEaiAllRequest::getClientInternetMaxBandwidthOut() const {
return clientInternetMaxBandwidthOut_;
}
void CreateEaiAllRequest::setClientInternetMaxBandwidthOut(int clientInternetMaxBandwidthOut) {
clientInternetMaxBandwidthOut_ = clientInternetMaxBandwidthOut;
setParameter(std::string("ClientInternetMaxBandwidthOut"), std::to_string(clientInternetMaxBandwidthOut));
}
std::string CreateEaiAllRequest::getClientToken() const {
return clientToken_;
}
void CreateEaiAllRequest::setClientToken(const std::string &clientToken) {
clientToken_ = clientToken;
setParameter(std::string("ClientToken"), clientToken);
}
std::string CreateEaiAllRequest::getResourceGroupId() const {
return resourceGroupId_;
}
void CreateEaiAllRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
std::string CreateEaiAllRequest::getClientInstanceName() const {
return clientInstanceName_;
}
void CreateEaiAllRequest::setClientInstanceName(const std::string &clientInstanceName) {
clientInstanceName_ = clientInstanceName;
setParameter(std::string("ClientInstanceName"), clientInstanceName);
}
int CreateEaiAllRequest::getClientInternetMaxBandwidthIn() const {
return clientInternetMaxBandwidthIn_;
}
void CreateEaiAllRequest::setClientInternetMaxBandwidthIn(int clientInternetMaxBandwidthIn) {
clientInternetMaxBandwidthIn_ = clientInternetMaxBandwidthIn;
setParameter(std::string("ClientInternetMaxBandwidthIn"), std::to_string(clientInternetMaxBandwidthIn));
}
std::string CreateEaiAllRequest::getRegionId() const {
return regionId_;
}
void CreateEaiAllRequest::setRegionId(const std::string &regionId) {
regionId_ = regionId;
setParameter(std::string("RegionId"), regionId);
}
int CreateEaiAllRequest::getClientSystemDiskSize() const {
return clientSystemDiskSize_;
}
void CreateEaiAllRequest::setClientSystemDiskSize(int clientSystemDiskSize) {
clientSystemDiskSize_ = clientSystemDiskSize;
setParameter(std::string("ClientSystemDiskSize"), std::to_string(clientSystemDiskSize));
}
std::string CreateEaiAllRequest::getClientVSwitchId() const {
return clientVSwitchId_;
}
void CreateEaiAllRequest::setClientVSwitchId(const std::string &clientVSwitchId) {
clientVSwitchId_ = clientVSwitchId;
setParameter(std::string("ClientVSwitchId"), clientVSwitchId);
}
std::string CreateEaiAllRequest::getClientPassword() const {
return clientPassword_;
}
void CreateEaiAllRequest::setClientPassword(const std::string &clientPassword) {
clientPassword_ = clientPassword;
setParameter(std::string("ClientPassword"), clientPassword);
}
std::string CreateEaiAllRequest::getClientInstanceType() const {
return clientInstanceType_;
}
void CreateEaiAllRequest::setClientInstanceType(const std::string &clientInstanceType) {
clientInstanceType_ = clientInstanceType;
setParameter(std::string("ClientInstanceType"), clientInstanceType);
}
std::string CreateEaiAllRequest::getClientSecurityGroupId() const {
return clientSecurityGroupId_;
}
void CreateEaiAllRequest::setClientSecurityGroupId(const std::string &clientSecurityGroupId) {
clientSecurityGroupId_ = clientSecurityGroupId;
setParameter(std::string("ClientSecurityGroupId"), clientSecurityGroupId);
}
std::string CreateEaiAllRequest::getEaiInstanceType() const {
return eaiInstanceType_;
}
void CreateEaiAllRequest::setEaiInstanceType(const std::string &eaiInstanceType) {
eaiInstanceType_ = eaiInstanceType;
setParameter(std::string("EaiInstanceType"), eaiInstanceType);
}
std::string CreateEaiAllRequest::getClientZoneId() const {
return clientZoneId_;
}
void CreateEaiAllRequest::setClientZoneId(const std::string &clientZoneId) {
clientZoneId_ = clientZoneId;
setParameter(std::string("ClientZoneId"), clientZoneId);
}
std::string CreateEaiAllRequest::getInstanceName() const {
return instanceName_;
}
void CreateEaiAllRequest::setInstanceName(const std::string &instanceName) {
instanceName_ = instanceName;
setParameter(std::string("InstanceName"), instanceName);
}

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/eais/model/ListTagResourcesRequest.h>
using AlibabaCloud::Eais::Model::ListTagResourcesRequest;
ListTagResourcesRequest::ListTagResourcesRequest()
: RpcServiceRequest("eais", "2019-06-24", "ListTagResources") {
setMethod(HttpRequest::Method::Post);
}
ListTagResourcesRequest::~ListTagResourcesRequest() {}
std::vector<std::string> ListTagResourcesRequest::getResourceId() const {
return resourceId_;
}
void ListTagResourcesRequest::setResourceId(const std::vector<std::string> &resourceId) {
resourceId_ = resourceId;
}
std::string ListTagResourcesRequest::getResourceType() const {
return resourceType_;
}
void ListTagResourcesRequest::setResourceType(const std::string &resourceType) {
resourceType_ = resourceType;
setParameter(std::string("ResourceType"), resourceType);
}
std::string ListTagResourcesRequest::getRegionId() const {
return regionId_;
}
void ListTagResourcesRequest::setRegionId(const std::string &regionId) {
regionId_ = regionId;
setParameter(std::string("RegionId"), regionId);
}
std::string ListTagResourcesRequest::getNextToken() const {
return nextToken_;
}
void ListTagResourcesRequest::setNextToken(const std::string &nextToken) {
nextToken_ = nextToken;
setParameter(std::string("NextToken"), nextToken);
}
std::vector<ListTagResourcesRequest::Tag> ListTagResourcesRequest::getTag() const {
return tag_;
}
void ListTagResourcesRequest::setTag(const std::vector<ListTagResourcesRequest::Tag> &tag) {
tag_ = tag;
for(int dep1 = 0; dep1 != tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}

View File

@@ -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.
*/
#include <alibabacloud/eais/model/ListTagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eais;
using namespace AlibabaCloud::Eais::Model;
ListTagResourcesResult::ListTagResourcesResult() :
ServiceResult()
{}
ListTagResourcesResult::ListTagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListTagResourcesResult::~ListTagResourcesResult()
{}
void ListTagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allTagResourcesNode = value["TagResources"]["TagResource"];
for (auto valueTagResourcesTagResource : allTagResourcesNode)
{
TagResource tagResourcesObject;
if(!valueTagResourcesTagResource["TagKey"].isNull())
tagResourcesObject.tagKey = valueTagResourcesTagResource["TagKey"].asString();
if(!valueTagResourcesTagResource["TagValue"].isNull())
tagResourcesObject.tagValue = valueTagResourcesTagResource["TagValue"].asString();
if(!valueTagResourcesTagResource["ResourceId"].isNull())
tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString();
if(!valueTagResourcesTagResource["ResourceType"].isNull())
tagResourcesObject.resourceType = valueTagResourcesTagResource["ResourceType"].asString();
tagResources_.push_back(tagResourcesObject);
}
if(!value["NextToken"].isNull())
nextToken_ = value["NextToken"].asString();
}
std::string ListTagResourcesResult::getNextToken()const
{
return nextToken_;
}
std::vector<ListTagResourcesResult::TagResource> ListTagResourcesResult::getTagResources()const
{
return tagResources_;
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/eais/model/StartEaiJupyterRequest.h>
using AlibabaCloud::Eais::Model::StartEaiJupyterRequest;
StartEaiJupyterRequest::StartEaiJupyterRequest()
: RpcServiceRequest("eais", "2019-06-24", "StartEaiJupyter") {
setMethod(HttpRequest::Method::Post);
}
StartEaiJupyterRequest::~StartEaiJupyterRequest() {}
std::string StartEaiJupyterRequest::getInstanceId() const {
return instanceId_;
}
void StartEaiJupyterRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string StartEaiJupyterRequest::getRegionId() const {
return regionId_;
}
void StartEaiJupyterRequest::setRegionId(const std::string &regionId) {
regionId_ = regionId;
setParameter(std::string("RegionId"), regionId);
}

View File

@@ -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.
*/
#include <alibabacloud/eais/model/StartEaiJupyterResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eais;
using namespace AlibabaCloud::Eais::Model;
StartEaiJupyterResult::StartEaiJupyterResult() :
ServiceResult()
{}
StartEaiJupyterResult::StartEaiJupyterResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
StartEaiJupyterResult::~StartEaiJupyterResult()
{}
void StartEaiJupyterResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto accessDeniedDetailNode = value["AccessDeniedDetail"];
if(!accessDeniedDetailNode["AuthAction"].isNull())
accessDeniedDetail_.authAction = accessDeniedDetailNode["AuthAction"].asString();
if(!accessDeniedDetailNode["AuthPrincipalDisplayName"].isNull())
accessDeniedDetail_.authPrincipalDisplayName = accessDeniedDetailNode["AuthPrincipalDisplayName"].asString();
if(!accessDeniedDetailNode["AuthPrincipalOwnerId"].isNull())
accessDeniedDetail_.authPrincipalOwnerId = accessDeniedDetailNode["AuthPrincipalOwnerId"].asString();
if(!accessDeniedDetailNode["AuthPrincipalType"].isNull())
accessDeniedDetail_.authPrincipalType = accessDeniedDetailNode["AuthPrincipalType"].asString();
if(!accessDeniedDetailNode["EncodedDiagnosticMessage"].isNull())
accessDeniedDetail_.encodedDiagnosticMessage = accessDeniedDetailNode["EncodedDiagnosticMessage"].asString();
if(!accessDeniedDetailNode["NoPermissionType"].isNull())
accessDeniedDetail_.noPermissionType = accessDeniedDetailNode["NoPermissionType"].asString();
if(!accessDeniedDetailNode["PolicyType"].isNull())
accessDeniedDetail_.policyType = accessDeniedDetailNode["PolicyType"].asString();
}
StartEaiJupyterResult::AccessDeniedDetail StartEaiJupyterResult::getAccessDeniedDetail()const
{
return accessDeniedDetail_;
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/eais/model/StopEaiJupyterRequest.h>
using AlibabaCloud::Eais::Model::StopEaiJupyterRequest;
StopEaiJupyterRequest::StopEaiJupyterRequest()
: RpcServiceRequest("eais", "2019-06-24", "StopEaiJupyter") {
setMethod(HttpRequest::Method::Post);
}
StopEaiJupyterRequest::~StopEaiJupyterRequest() {}
std::string StopEaiJupyterRequest::getInstanceId() const {
return instanceId_;
}
void StopEaiJupyterRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
std::string StopEaiJupyterRequest::getRegionId() const {
return regionId_;
}
void StopEaiJupyterRequest::setRegionId(const std::string &regionId) {
regionId_ = regionId;
setParameter(std::string("RegionId"), regionId);
}

View File

@@ -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.
*/
#include <alibabacloud/eais/model/StopEaiJupyterResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eais;
using namespace AlibabaCloud::Eais::Model;
StopEaiJupyterResult::StopEaiJupyterResult() :
ServiceResult()
{}
StopEaiJupyterResult::StopEaiJupyterResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
StopEaiJupyterResult::~StopEaiJupyterResult()
{}
void StopEaiJupyterResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto accessDeniedDetailNode = value["AccessDeniedDetail"];
if(!accessDeniedDetailNode["AuthAction"].isNull())
accessDeniedDetail_.authAction = accessDeniedDetailNode["AuthAction"].asString();
if(!accessDeniedDetailNode["AuthPrincipalDisplayName"].isNull())
accessDeniedDetail_.authPrincipalDisplayName = accessDeniedDetailNode["AuthPrincipalDisplayName"].asString();
if(!accessDeniedDetailNode["AuthPrincipalOwnerId"].isNull())
accessDeniedDetail_.authPrincipalOwnerId = accessDeniedDetailNode["AuthPrincipalOwnerId"].asString();
if(!accessDeniedDetailNode["AuthPrincipalType"].isNull())
accessDeniedDetail_.authPrincipalType = accessDeniedDetailNode["AuthPrincipalType"].asString();
if(!accessDeniedDetailNode["EncodedDiagnosticMessage"].isNull())
accessDeniedDetail_.encodedDiagnosticMessage = accessDeniedDetailNode["EncodedDiagnosticMessage"].asString();
if(!accessDeniedDetailNode["NoPermissionType"].isNull())
accessDeniedDetail_.noPermissionType = accessDeniedDetailNode["NoPermissionType"].asString();
if(!accessDeniedDetailNode["PolicyType"].isNull())
accessDeniedDetail_.policyType = accessDeniedDetailNode["PolicyType"].asString();
}
StopEaiJupyterResult::AccessDeniedDetail StopEaiJupyterResult::getAccessDeniedDetail()const
{
return accessDeniedDetail_;
}

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/eais/model/TagResourcesRequest.h>
using AlibabaCloud::Eais::Model::TagResourcesRequest;
TagResourcesRequest::TagResourcesRequest()
: RpcServiceRequest("eais", "2019-06-24", "TagResources") {
setMethod(HttpRequest::Method::Post);
}
TagResourcesRequest::~TagResourcesRequest() {}
std::vector<std::string> TagResourcesRequest::getResourceId() const {
return resourceId_;
}
void TagResourcesRequest::setResourceId(const std::vector<std::string> &resourceId) {
resourceId_ = resourceId;
}
std::string TagResourcesRequest::getResourceType() const {
return resourceType_;
}
void TagResourcesRequest::setResourceType(const std::string &resourceType) {
resourceType_ = resourceType;
setParameter(std::string("ResourceType"), resourceType);
}
std::string TagResourcesRequest::getRegionId() const {
return regionId_;
}
void TagResourcesRequest::setRegionId(const std::string &regionId) {
regionId_ = regionId;
setParameter(std::string("RegionId"), regionId);
}
std::vector<TagResourcesRequest::Tag> TagResourcesRequest::getTag() const {
return tag_;
}
void TagResourcesRequest::setTag(const std::vector<TagResourcesRequest::Tag> &tag) {
tag_ = tag;
for(int dep1 = 0; dep1 != tag.size(); dep1++) {
auto tagObj = tag.at(dep1);
std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1);
setParameter(tagObjStr + ".Value", tagObj.value);
setParameter(tagObjStr + ".Key", tagObj.key);
}
}

View File

@@ -14,45 +14,31 @@
* limitations under the License.
*/
#include <alibabacloud/eais/model/CreateEaiAllResult.h>
#include <alibabacloud/eais/model/TagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eais;
using namespace AlibabaCloud::Eais::Model;
CreateEaiAllResult::CreateEaiAllResult() :
TagResourcesResult::TagResourcesResult() :
ServiceResult()
{}
CreateEaiAllResult::CreateEaiAllResult(const std::string &payload) :
TagResourcesResult::TagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateEaiAllResult::~CreateEaiAllResult()
TagResourcesResult::~TagResourcesResult()
{}
void CreateEaiAllResult::parse(const std::string &payload)
void TagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ElasticAcceleratedInstanceId"].isNull())
elasticAcceleratedInstanceId_ = value["ElasticAcceleratedInstanceId"].asString();
if(!value["ClientInstanceId"].isNull())
clientInstanceId_ = value["ClientInstanceId"].asString();
}
std::string CreateEaiAllResult::getClientInstanceId()const
{
return clientInstanceId_;
}
std::string CreateEaiAllResult::getElasticAcceleratedInstanceId()const
{
return elasticAcceleratedInstanceId_;
}

View File

@@ -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.
*/
#include <alibabacloud/eais/model/UntagResourcesRequest.h>
using AlibabaCloud::Eais::Model::UntagResourcesRequest;
UntagResourcesRequest::UntagResourcesRequest()
: RpcServiceRequest("eais", "2019-06-24", "UntagResources") {
setMethod(HttpRequest::Method::Post);
}
UntagResourcesRequest::~UntagResourcesRequest() {}
bool UntagResourcesRequest::getAll() const {
return all_;
}
void UntagResourcesRequest::setAll(bool all) {
all_ = all;
setParameter(std::string("All"), all ? "true" : "false");
}
std::vector<std::string> UntagResourcesRequest::getResourceId() const {
return resourceId_;
}
void UntagResourcesRequest::setResourceId(const std::vector<std::string> &resourceId) {
resourceId_ = resourceId;
}
std::string UntagResourcesRequest::getResourceType() const {
return resourceType_;
}
void UntagResourcesRequest::setResourceType(const std::string &resourceType) {
resourceType_ = resourceType;
setParameter(std::string("ResourceType"), resourceType);
}
std::string UntagResourcesRequest::getRegionId() const {
return regionId_;
}
void UntagResourcesRequest::setRegionId(const std::string &regionId) {
regionId_ = regionId;
setParameter(std::string("RegionId"), regionId);
}
std::vector<std::string> UntagResourcesRequest::getTagKey() const {
return tagKey_;
}
void UntagResourcesRequest::setTagKey(const std::vector<std::string> &tagKey) {
tagKey_ = tagKey;
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/eais/model/UntagResourcesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eais;
using namespace AlibabaCloud::Eais::Model;
UntagResourcesResult::UntagResourcesResult() :
ServiceResult()
{}
UntagResourcesResult::UntagResourcesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UntagResourcesResult::~UntagResourcesResult()
{}
void UntagResourcesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -31,21 +31,21 @@ GwlbClient::GwlbClient(const Credentials &credentials, const ClientConfiguration
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "gwlb");
}
GwlbClient::GwlbClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "gwlb");
}
GwlbClient::GwlbClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "gwlb");
}
GwlbClient::~GwlbClient()

374
ims/CMakeLists.txt Normal file
View File

@@ -0,0 +1,374 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(ims_public_header
include/alibabacloud/ims/ImsClient.h
include/alibabacloud/ims/ImsExport.h )
set(ims_public_header_model
include/alibabacloud/ims/model/AddClientIdToOIDCProviderRequest.h
include/alibabacloud/ims/model/AddClientIdToOIDCProviderResult.h
include/alibabacloud/ims/model/AddFingerprintToOIDCProviderRequest.h
include/alibabacloud/ims/model/AddFingerprintToOIDCProviderResult.h
include/alibabacloud/ims/model/AddUserToGroupRequest.h
include/alibabacloud/ims/model/AddUserToGroupResult.h
include/alibabacloud/ims/model/BindMFADeviceRequest.h
include/alibabacloud/ims/model/BindMFADeviceResult.h
include/alibabacloud/ims/model/ChangePasswordRequest.h
include/alibabacloud/ims/model/ChangePasswordResult.h
include/alibabacloud/ims/model/CreateAccessKeyRequest.h
include/alibabacloud/ims/model/CreateAccessKeyResult.h
include/alibabacloud/ims/model/CreateAppSecretRequest.h
include/alibabacloud/ims/model/CreateAppSecretResult.h
include/alibabacloud/ims/model/CreateApplicationRequest.h
include/alibabacloud/ims/model/CreateApplicationResult.h
include/alibabacloud/ims/model/CreateGroupRequest.h
include/alibabacloud/ims/model/CreateGroupResult.h
include/alibabacloud/ims/model/CreateLoginProfileRequest.h
include/alibabacloud/ims/model/CreateLoginProfileResult.h
include/alibabacloud/ims/model/CreateOIDCProviderRequest.h
include/alibabacloud/ims/model/CreateOIDCProviderResult.h
include/alibabacloud/ims/model/CreateSAMLProviderRequest.h
include/alibabacloud/ims/model/CreateSAMLProviderResult.h
include/alibabacloud/ims/model/CreateUserRequest.h
include/alibabacloud/ims/model/CreateUserResult.h
include/alibabacloud/ims/model/CreateVirtualMFADeviceRequest.h
include/alibabacloud/ims/model/CreateVirtualMFADeviceResult.h
include/alibabacloud/ims/model/DeleteAccessKeyRequest.h
include/alibabacloud/ims/model/DeleteAccessKeyResult.h
include/alibabacloud/ims/model/DeleteAppSecretRequest.h
include/alibabacloud/ims/model/DeleteAppSecretResult.h
include/alibabacloud/ims/model/DeleteApplicationRequest.h
include/alibabacloud/ims/model/DeleteApplicationResult.h
include/alibabacloud/ims/model/DeleteGroupRequest.h
include/alibabacloud/ims/model/DeleteGroupResult.h
include/alibabacloud/ims/model/DeleteLoginProfileRequest.h
include/alibabacloud/ims/model/DeleteLoginProfileResult.h
include/alibabacloud/ims/model/DeleteOIDCProviderRequest.h
include/alibabacloud/ims/model/DeleteOIDCProviderResult.h
include/alibabacloud/ims/model/DeleteSAMLProviderRequest.h
include/alibabacloud/ims/model/DeleteSAMLProviderResult.h
include/alibabacloud/ims/model/DeleteUserRequest.h
include/alibabacloud/ims/model/DeleteUserResult.h
include/alibabacloud/ims/model/DeleteVirtualMFADeviceRequest.h
include/alibabacloud/ims/model/DeleteVirtualMFADeviceResult.h
include/alibabacloud/ims/model/DisableVirtualMFARequest.h
include/alibabacloud/ims/model/DisableVirtualMFAResult.h
include/alibabacloud/ims/model/GenerateCredentialReportRequest.h
include/alibabacloud/ims/model/GenerateCredentialReportResult.h
include/alibabacloud/ims/model/GetAccessKeyLastUsedRequest.h
include/alibabacloud/ims/model/GetAccessKeyLastUsedResult.h
include/alibabacloud/ims/model/GetAccountMFAInfoRequest.h
include/alibabacloud/ims/model/GetAccountMFAInfoResult.h
include/alibabacloud/ims/model/GetAccountSecurityPracticeReportRequest.h
include/alibabacloud/ims/model/GetAccountSecurityPracticeReportResult.h
include/alibabacloud/ims/model/GetAccountSummaryRequest.h
include/alibabacloud/ims/model/GetAccountSummaryResult.h
include/alibabacloud/ims/model/GetAppSecretRequest.h
include/alibabacloud/ims/model/GetAppSecretResult.h
include/alibabacloud/ims/model/GetApplicationRequest.h
include/alibabacloud/ims/model/GetApplicationResult.h
include/alibabacloud/ims/model/GetCredentialReportRequest.h
include/alibabacloud/ims/model/GetCredentialReportResult.h
include/alibabacloud/ims/model/GetDefaultDomainRequest.h
include/alibabacloud/ims/model/GetDefaultDomainResult.h
include/alibabacloud/ims/model/GetGroupRequest.h
include/alibabacloud/ims/model/GetGroupResult.h
include/alibabacloud/ims/model/GetLoginProfileRequest.h
include/alibabacloud/ims/model/GetLoginProfileResult.h
include/alibabacloud/ims/model/GetOIDCProviderRequest.h
include/alibabacloud/ims/model/GetOIDCProviderResult.h
include/alibabacloud/ims/model/GetPasswordPolicyRequest.h
include/alibabacloud/ims/model/GetPasswordPolicyResult.h
include/alibabacloud/ims/model/GetSAMLProviderRequest.h
include/alibabacloud/ims/model/GetSAMLProviderResult.h
include/alibabacloud/ims/model/GetSecurityPreferenceRequest.h
include/alibabacloud/ims/model/GetSecurityPreferenceResult.h
include/alibabacloud/ims/model/GetUserRequest.h
include/alibabacloud/ims/model/GetUserResult.h
include/alibabacloud/ims/model/GetUserMFAInfoRequest.h
include/alibabacloud/ims/model/GetUserMFAInfoResult.h
include/alibabacloud/ims/model/GetUserSsoSettingsRequest.h
include/alibabacloud/ims/model/GetUserSsoSettingsResult.h
include/alibabacloud/ims/model/GetVerificationInfoRequest.h
include/alibabacloud/ims/model/GetVerificationInfoResult.h
include/alibabacloud/ims/model/ListAccessKeysRequest.h
include/alibabacloud/ims/model/ListAccessKeysResult.h
include/alibabacloud/ims/model/ListAppSecretIdsRequest.h
include/alibabacloud/ims/model/ListAppSecretIdsResult.h
include/alibabacloud/ims/model/ListApplicationsRequest.h
include/alibabacloud/ims/model/ListApplicationsResult.h
include/alibabacloud/ims/model/ListGroupsRequest.h
include/alibabacloud/ims/model/ListGroupsResult.h
include/alibabacloud/ims/model/ListGroupsForUserRequest.h
include/alibabacloud/ims/model/ListGroupsForUserResult.h
include/alibabacloud/ims/model/ListOIDCProvidersRequest.h
include/alibabacloud/ims/model/ListOIDCProvidersResult.h
include/alibabacloud/ims/model/ListPredefinedScopesRequest.h
include/alibabacloud/ims/model/ListPredefinedScopesResult.h
include/alibabacloud/ims/model/ListSAMLProvidersRequest.h
include/alibabacloud/ims/model/ListSAMLProvidersResult.h
include/alibabacloud/ims/model/ListTagResourcesRequest.h
include/alibabacloud/ims/model/ListTagResourcesResult.h
include/alibabacloud/ims/model/ListUserBasicInfosRequest.h
include/alibabacloud/ims/model/ListUserBasicInfosResult.h
include/alibabacloud/ims/model/ListUsersRequest.h
include/alibabacloud/ims/model/ListUsersResult.h
include/alibabacloud/ims/model/ListUsersForGroupRequest.h
include/alibabacloud/ims/model/ListUsersForGroupResult.h
include/alibabacloud/ims/model/ListVirtualMFADevicesRequest.h
include/alibabacloud/ims/model/ListVirtualMFADevicesResult.h
include/alibabacloud/ims/model/RemoveClientIdFromOIDCProviderRequest.h
include/alibabacloud/ims/model/RemoveClientIdFromOIDCProviderResult.h
include/alibabacloud/ims/model/RemoveFingerprintFromOIDCProviderRequest.h
include/alibabacloud/ims/model/RemoveFingerprintFromOIDCProviderResult.h
include/alibabacloud/ims/model/RemoveUserFromGroupRequest.h
include/alibabacloud/ims/model/RemoveUserFromGroupResult.h
include/alibabacloud/ims/model/SetDefaultDomainRequest.h
include/alibabacloud/ims/model/SetDefaultDomainResult.h
include/alibabacloud/ims/model/SetPasswordPolicyRequest.h
include/alibabacloud/ims/model/SetPasswordPolicyResult.h
include/alibabacloud/ims/model/SetSecurityPreferenceRequest.h
include/alibabacloud/ims/model/SetSecurityPreferenceResult.h
include/alibabacloud/ims/model/SetUserSsoSettingsRequest.h
include/alibabacloud/ims/model/SetUserSsoSettingsResult.h
include/alibabacloud/ims/model/TagResourcesRequest.h
include/alibabacloud/ims/model/TagResourcesResult.h
include/alibabacloud/ims/model/UnbindMFADeviceRequest.h
include/alibabacloud/ims/model/UnbindMFADeviceResult.h
include/alibabacloud/ims/model/UntagResourcesRequest.h
include/alibabacloud/ims/model/UntagResourcesResult.h
include/alibabacloud/ims/model/UpdateAccessKeyRequest.h
include/alibabacloud/ims/model/UpdateAccessKeyResult.h
include/alibabacloud/ims/model/UpdateApplicationRequest.h
include/alibabacloud/ims/model/UpdateApplicationResult.h
include/alibabacloud/ims/model/UpdateGroupRequest.h
include/alibabacloud/ims/model/UpdateGroupResult.h
include/alibabacloud/ims/model/UpdateLoginProfileRequest.h
include/alibabacloud/ims/model/UpdateLoginProfileResult.h
include/alibabacloud/ims/model/UpdateOIDCProviderRequest.h
include/alibabacloud/ims/model/UpdateOIDCProviderResult.h
include/alibabacloud/ims/model/UpdateSAMLProviderRequest.h
include/alibabacloud/ims/model/UpdateSAMLProviderResult.h
include/alibabacloud/ims/model/UpdateUserRequest.h
include/alibabacloud/ims/model/UpdateUserResult.h )
set(ims_src
src/ImsClient.cc
src/model/AddClientIdToOIDCProviderRequest.cc
src/model/AddClientIdToOIDCProviderResult.cc
src/model/AddFingerprintToOIDCProviderRequest.cc
src/model/AddFingerprintToOIDCProviderResult.cc
src/model/AddUserToGroupRequest.cc
src/model/AddUserToGroupResult.cc
src/model/BindMFADeviceRequest.cc
src/model/BindMFADeviceResult.cc
src/model/ChangePasswordRequest.cc
src/model/ChangePasswordResult.cc
src/model/CreateAccessKeyRequest.cc
src/model/CreateAccessKeyResult.cc
src/model/CreateAppSecretRequest.cc
src/model/CreateAppSecretResult.cc
src/model/CreateApplicationRequest.cc
src/model/CreateApplicationResult.cc
src/model/CreateGroupRequest.cc
src/model/CreateGroupResult.cc
src/model/CreateLoginProfileRequest.cc
src/model/CreateLoginProfileResult.cc
src/model/CreateOIDCProviderRequest.cc
src/model/CreateOIDCProviderResult.cc
src/model/CreateSAMLProviderRequest.cc
src/model/CreateSAMLProviderResult.cc
src/model/CreateUserRequest.cc
src/model/CreateUserResult.cc
src/model/CreateVirtualMFADeviceRequest.cc
src/model/CreateVirtualMFADeviceResult.cc
src/model/DeleteAccessKeyRequest.cc
src/model/DeleteAccessKeyResult.cc
src/model/DeleteAppSecretRequest.cc
src/model/DeleteAppSecretResult.cc
src/model/DeleteApplicationRequest.cc
src/model/DeleteApplicationResult.cc
src/model/DeleteGroupRequest.cc
src/model/DeleteGroupResult.cc
src/model/DeleteLoginProfileRequest.cc
src/model/DeleteLoginProfileResult.cc
src/model/DeleteOIDCProviderRequest.cc
src/model/DeleteOIDCProviderResult.cc
src/model/DeleteSAMLProviderRequest.cc
src/model/DeleteSAMLProviderResult.cc
src/model/DeleteUserRequest.cc
src/model/DeleteUserResult.cc
src/model/DeleteVirtualMFADeviceRequest.cc
src/model/DeleteVirtualMFADeviceResult.cc
src/model/DisableVirtualMFARequest.cc
src/model/DisableVirtualMFAResult.cc
src/model/GenerateCredentialReportRequest.cc
src/model/GenerateCredentialReportResult.cc
src/model/GetAccessKeyLastUsedRequest.cc
src/model/GetAccessKeyLastUsedResult.cc
src/model/GetAccountMFAInfoRequest.cc
src/model/GetAccountMFAInfoResult.cc
src/model/GetAccountSecurityPracticeReportRequest.cc
src/model/GetAccountSecurityPracticeReportResult.cc
src/model/GetAccountSummaryRequest.cc
src/model/GetAccountSummaryResult.cc
src/model/GetAppSecretRequest.cc
src/model/GetAppSecretResult.cc
src/model/GetApplicationRequest.cc
src/model/GetApplicationResult.cc
src/model/GetCredentialReportRequest.cc
src/model/GetCredentialReportResult.cc
src/model/GetDefaultDomainRequest.cc
src/model/GetDefaultDomainResult.cc
src/model/GetGroupRequest.cc
src/model/GetGroupResult.cc
src/model/GetLoginProfileRequest.cc
src/model/GetLoginProfileResult.cc
src/model/GetOIDCProviderRequest.cc
src/model/GetOIDCProviderResult.cc
src/model/GetPasswordPolicyRequest.cc
src/model/GetPasswordPolicyResult.cc
src/model/GetSAMLProviderRequest.cc
src/model/GetSAMLProviderResult.cc
src/model/GetSecurityPreferenceRequest.cc
src/model/GetSecurityPreferenceResult.cc
src/model/GetUserRequest.cc
src/model/GetUserResult.cc
src/model/GetUserMFAInfoRequest.cc
src/model/GetUserMFAInfoResult.cc
src/model/GetUserSsoSettingsRequest.cc
src/model/GetUserSsoSettingsResult.cc
src/model/GetVerificationInfoRequest.cc
src/model/GetVerificationInfoResult.cc
src/model/ListAccessKeysRequest.cc
src/model/ListAccessKeysResult.cc
src/model/ListAppSecretIdsRequest.cc
src/model/ListAppSecretIdsResult.cc
src/model/ListApplicationsRequest.cc
src/model/ListApplicationsResult.cc
src/model/ListGroupsRequest.cc
src/model/ListGroupsResult.cc
src/model/ListGroupsForUserRequest.cc
src/model/ListGroupsForUserResult.cc
src/model/ListOIDCProvidersRequest.cc
src/model/ListOIDCProvidersResult.cc
src/model/ListPredefinedScopesRequest.cc
src/model/ListPredefinedScopesResult.cc
src/model/ListSAMLProvidersRequest.cc
src/model/ListSAMLProvidersResult.cc
src/model/ListTagResourcesRequest.cc
src/model/ListTagResourcesResult.cc
src/model/ListUserBasicInfosRequest.cc
src/model/ListUserBasicInfosResult.cc
src/model/ListUsersRequest.cc
src/model/ListUsersResult.cc
src/model/ListUsersForGroupRequest.cc
src/model/ListUsersForGroupResult.cc
src/model/ListVirtualMFADevicesRequest.cc
src/model/ListVirtualMFADevicesResult.cc
src/model/RemoveClientIdFromOIDCProviderRequest.cc
src/model/RemoveClientIdFromOIDCProviderResult.cc
src/model/RemoveFingerprintFromOIDCProviderRequest.cc
src/model/RemoveFingerprintFromOIDCProviderResult.cc
src/model/RemoveUserFromGroupRequest.cc
src/model/RemoveUserFromGroupResult.cc
src/model/SetDefaultDomainRequest.cc
src/model/SetDefaultDomainResult.cc
src/model/SetPasswordPolicyRequest.cc
src/model/SetPasswordPolicyResult.cc
src/model/SetSecurityPreferenceRequest.cc
src/model/SetSecurityPreferenceResult.cc
src/model/SetUserSsoSettingsRequest.cc
src/model/SetUserSsoSettingsResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/UnbindMFADeviceRequest.cc
src/model/UnbindMFADeviceResult.cc
src/model/UntagResourcesRequest.cc
src/model/UntagResourcesResult.cc
src/model/UpdateAccessKeyRequest.cc
src/model/UpdateAccessKeyResult.cc
src/model/UpdateApplicationRequest.cc
src/model/UpdateApplicationResult.cc
src/model/UpdateGroupRequest.cc
src/model/UpdateGroupResult.cc
src/model/UpdateLoginProfileRequest.cc
src/model/UpdateLoginProfileResult.cc
src/model/UpdateOIDCProviderRequest.cc
src/model/UpdateOIDCProviderResult.cc
src/model/UpdateSAMLProviderRequest.cc
src/model/UpdateSAMLProviderResult.cc
src/model/UpdateUserRequest.cc
src/model/UpdateUserResult.cc )
add_library(ims ${LIB_TYPE}
${ims_public_header}
${ims_public_header_model}
${ims_src})
set_target_properties(ims
PROPERTIES
LINKER_LANGUAGE CXX
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}ims
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(ims
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_IMS_LIBRARY)
endif()
target_include_directories(ims
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(ims
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(ims
jsoncpp)
target_include_directories(ims
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(ims
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(ims
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(ims
PRIVATE /usr/include/jsoncpp)
target_link_libraries(ims
jsoncpp)
endif()
install(FILES ${ims_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ims)
install(FILES ${ims_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ims/model)
install(TARGETS ims
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,630 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_IMSCLIENT_H_
#define ALIBABACLOUD_IMS_IMSCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "ImsExport.h"
#include "model/AddClientIdToOIDCProviderRequest.h"
#include "model/AddClientIdToOIDCProviderResult.h"
#include "model/AddFingerprintToOIDCProviderRequest.h"
#include "model/AddFingerprintToOIDCProviderResult.h"
#include "model/AddUserToGroupRequest.h"
#include "model/AddUserToGroupResult.h"
#include "model/BindMFADeviceRequest.h"
#include "model/BindMFADeviceResult.h"
#include "model/ChangePasswordRequest.h"
#include "model/ChangePasswordResult.h"
#include "model/CreateAccessKeyRequest.h"
#include "model/CreateAccessKeyResult.h"
#include "model/CreateAppSecretRequest.h"
#include "model/CreateAppSecretResult.h"
#include "model/CreateApplicationRequest.h"
#include "model/CreateApplicationResult.h"
#include "model/CreateGroupRequest.h"
#include "model/CreateGroupResult.h"
#include "model/CreateLoginProfileRequest.h"
#include "model/CreateLoginProfileResult.h"
#include "model/CreateOIDCProviderRequest.h"
#include "model/CreateOIDCProviderResult.h"
#include "model/CreateSAMLProviderRequest.h"
#include "model/CreateSAMLProviderResult.h"
#include "model/CreateUserRequest.h"
#include "model/CreateUserResult.h"
#include "model/CreateVirtualMFADeviceRequest.h"
#include "model/CreateVirtualMFADeviceResult.h"
#include "model/DeleteAccessKeyRequest.h"
#include "model/DeleteAccessKeyResult.h"
#include "model/DeleteAppSecretRequest.h"
#include "model/DeleteAppSecretResult.h"
#include "model/DeleteApplicationRequest.h"
#include "model/DeleteApplicationResult.h"
#include "model/DeleteGroupRequest.h"
#include "model/DeleteGroupResult.h"
#include "model/DeleteLoginProfileRequest.h"
#include "model/DeleteLoginProfileResult.h"
#include "model/DeleteOIDCProviderRequest.h"
#include "model/DeleteOIDCProviderResult.h"
#include "model/DeleteSAMLProviderRequest.h"
#include "model/DeleteSAMLProviderResult.h"
#include "model/DeleteUserRequest.h"
#include "model/DeleteUserResult.h"
#include "model/DeleteVirtualMFADeviceRequest.h"
#include "model/DeleteVirtualMFADeviceResult.h"
#include "model/DisableVirtualMFARequest.h"
#include "model/DisableVirtualMFAResult.h"
#include "model/GenerateCredentialReportRequest.h"
#include "model/GenerateCredentialReportResult.h"
#include "model/GetAccessKeyLastUsedRequest.h"
#include "model/GetAccessKeyLastUsedResult.h"
#include "model/GetAccountMFAInfoRequest.h"
#include "model/GetAccountMFAInfoResult.h"
#include "model/GetAccountSecurityPracticeReportRequest.h"
#include "model/GetAccountSecurityPracticeReportResult.h"
#include "model/GetAccountSummaryRequest.h"
#include "model/GetAccountSummaryResult.h"
#include "model/GetAppSecretRequest.h"
#include "model/GetAppSecretResult.h"
#include "model/GetApplicationRequest.h"
#include "model/GetApplicationResult.h"
#include "model/GetCredentialReportRequest.h"
#include "model/GetCredentialReportResult.h"
#include "model/GetDefaultDomainRequest.h"
#include "model/GetDefaultDomainResult.h"
#include "model/GetGroupRequest.h"
#include "model/GetGroupResult.h"
#include "model/GetLoginProfileRequest.h"
#include "model/GetLoginProfileResult.h"
#include "model/GetOIDCProviderRequest.h"
#include "model/GetOIDCProviderResult.h"
#include "model/GetPasswordPolicyRequest.h"
#include "model/GetPasswordPolicyResult.h"
#include "model/GetSAMLProviderRequest.h"
#include "model/GetSAMLProviderResult.h"
#include "model/GetSecurityPreferenceRequest.h"
#include "model/GetSecurityPreferenceResult.h"
#include "model/GetUserRequest.h"
#include "model/GetUserResult.h"
#include "model/GetUserMFAInfoRequest.h"
#include "model/GetUserMFAInfoResult.h"
#include "model/GetUserSsoSettingsRequest.h"
#include "model/GetUserSsoSettingsResult.h"
#include "model/GetVerificationInfoRequest.h"
#include "model/GetVerificationInfoResult.h"
#include "model/ListAccessKeysRequest.h"
#include "model/ListAccessKeysResult.h"
#include "model/ListAppSecretIdsRequest.h"
#include "model/ListAppSecretIdsResult.h"
#include "model/ListApplicationsRequest.h"
#include "model/ListApplicationsResult.h"
#include "model/ListGroupsRequest.h"
#include "model/ListGroupsResult.h"
#include "model/ListGroupsForUserRequest.h"
#include "model/ListGroupsForUserResult.h"
#include "model/ListOIDCProvidersRequest.h"
#include "model/ListOIDCProvidersResult.h"
#include "model/ListPredefinedScopesRequest.h"
#include "model/ListPredefinedScopesResult.h"
#include "model/ListSAMLProvidersRequest.h"
#include "model/ListSAMLProvidersResult.h"
#include "model/ListTagResourcesRequest.h"
#include "model/ListTagResourcesResult.h"
#include "model/ListUserBasicInfosRequest.h"
#include "model/ListUserBasicInfosResult.h"
#include "model/ListUsersRequest.h"
#include "model/ListUsersResult.h"
#include "model/ListUsersForGroupRequest.h"
#include "model/ListUsersForGroupResult.h"
#include "model/ListVirtualMFADevicesRequest.h"
#include "model/ListVirtualMFADevicesResult.h"
#include "model/RemoveClientIdFromOIDCProviderRequest.h"
#include "model/RemoveClientIdFromOIDCProviderResult.h"
#include "model/RemoveFingerprintFromOIDCProviderRequest.h"
#include "model/RemoveFingerprintFromOIDCProviderResult.h"
#include "model/RemoveUserFromGroupRequest.h"
#include "model/RemoveUserFromGroupResult.h"
#include "model/SetDefaultDomainRequest.h"
#include "model/SetDefaultDomainResult.h"
#include "model/SetPasswordPolicyRequest.h"
#include "model/SetPasswordPolicyResult.h"
#include "model/SetSecurityPreferenceRequest.h"
#include "model/SetSecurityPreferenceResult.h"
#include "model/SetUserSsoSettingsRequest.h"
#include "model/SetUserSsoSettingsResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/UnbindMFADeviceRequest.h"
#include "model/UnbindMFADeviceResult.h"
#include "model/UntagResourcesRequest.h"
#include "model/UntagResourcesResult.h"
#include "model/UpdateAccessKeyRequest.h"
#include "model/UpdateAccessKeyResult.h"
#include "model/UpdateApplicationRequest.h"
#include "model/UpdateApplicationResult.h"
#include "model/UpdateGroupRequest.h"
#include "model/UpdateGroupResult.h"
#include "model/UpdateLoginProfileRequest.h"
#include "model/UpdateLoginProfileResult.h"
#include "model/UpdateOIDCProviderRequest.h"
#include "model/UpdateOIDCProviderResult.h"
#include "model/UpdateSAMLProviderRequest.h"
#include "model/UpdateSAMLProviderResult.h"
#include "model/UpdateUserRequest.h"
#include "model/UpdateUserResult.h"
namespace AlibabaCloud
{
namespace Ims
{
class ALIBABACLOUD_IMS_EXPORT ImsClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::AddClientIdToOIDCProviderResult> AddClientIdToOIDCProviderOutcome;
typedef std::future<AddClientIdToOIDCProviderOutcome> AddClientIdToOIDCProviderOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::AddClientIdToOIDCProviderRequest&, const AddClientIdToOIDCProviderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddClientIdToOIDCProviderAsyncHandler;
typedef Outcome<Error, Model::AddFingerprintToOIDCProviderResult> AddFingerprintToOIDCProviderOutcome;
typedef std::future<AddFingerprintToOIDCProviderOutcome> AddFingerprintToOIDCProviderOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::AddFingerprintToOIDCProviderRequest&, const AddFingerprintToOIDCProviderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddFingerprintToOIDCProviderAsyncHandler;
typedef Outcome<Error, Model::AddUserToGroupResult> AddUserToGroupOutcome;
typedef std::future<AddUserToGroupOutcome> AddUserToGroupOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::AddUserToGroupRequest&, const AddUserToGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddUserToGroupAsyncHandler;
typedef Outcome<Error, Model::BindMFADeviceResult> BindMFADeviceOutcome;
typedef std::future<BindMFADeviceOutcome> BindMFADeviceOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::BindMFADeviceRequest&, const BindMFADeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindMFADeviceAsyncHandler;
typedef Outcome<Error, Model::ChangePasswordResult> ChangePasswordOutcome;
typedef std::future<ChangePasswordOutcome> ChangePasswordOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::ChangePasswordRequest&, const ChangePasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangePasswordAsyncHandler;
typedef Outcome<Error, Model::CreateAccessKeyResult> CreateAccessKeyOutcome;
typedef std::future<CreateAccessKeyOutcome> CreateAccessKeyOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::CreateAccessKeyRequest&, const CreateAccessKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAccessKeyAsyncHandler;
typedef Outcome<Error, Model::CreateAppSecretResult> CreateAppSecretOutcome;
typedef std::future<CreateAppSecretOutcome> CreateAppSecretOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::CreateAppSecretRequest&, const CreateAppSecretOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAppSecretAsyncHandler;
typedef Outcome<Error, Model::CreateApplicationResult> CreateApplicationOutcome;
typedef std::future<CreateApplicationOutcome> CreateApplicationOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::CreateApplicationRequest&, const CreateApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateApplicationAsyncHandler;
typedef Outcome<Error, Model::CreateGroupResult> CreateGroupOutcome;
typedef std::future<CreateGroupOutcome> CreateGroupOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::CreateGroupRequest&, const CreateGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateGroupAsyncHandler;
typedef Outcome<Error, Model::CreateLoginProfileResult> CreateLoginProfileOutcome;
typedef std::future<CreateLoginProfileOutcome> CreateLoginProfileOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::CreateLoginProfileRequest&, const CreateLoginProfileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLoginProfileAsyncHandler;
typedef Outcome<Error, Model::CreateOIDCProviderResult> CreateOIDCProviderOutcome;
typedef std::future<CreateOIDCProviderOutcome> CreateOIDCProviderOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::CreateOIDCProviderRequest&, const CreateOIDCProviderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateOIDCProviderAsyncHandler;
typedef Outcome<Error, Model::CreateSAMLProviderResult> CreateSAMLProviderOutcome;
typedef std::future<CreateSAMLProviderOutcome> CreateSAMLProviderOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::CreateSAMLProviderRequest&, const CreateSAMLProviderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSAMLProviderAsyncHandler;
typedef Outcome<Error, Model::CreateUserResult> CreateUserOutcome;
typedef std::future<CreateUserOutcome> CreateUserOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::CreateUserRequest&, const CreateUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserAsyncHandler;
typedef Outcome<Error, Model::CreateVirtualMFADeviceResult> CreateVirtualMFADeviceOutcome;
typedef std::future<CreateVirtualMFADeviceOutcome> CreateVirtualMFADeviceOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::CreateVirtualMFADeviceRequest&, const CreateVirtualMFADeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVirtualMFADeviceAsyncHandler;
typedef Outcome<Error, Model::DeleteAccessKeyResult> DeleteAccessKeyOutcome;
typedef std::future<DeleteAccessKeyOutcome> DeleteAccessKeyOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::DeleteAccessKeyRequest&, const DeleteAccessKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAccessKeyAsyncHandler;
typedef Outcome<Error, Model::DeleteAppSecretResult> DeleteAppSecretOutcome;
typedef std::future<DeleteAppSecretOutcome> DeleteAppSecretOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::DeleteAppSecretRequest&, const DeleteAppSecretOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAppSecretAsyncHandler;
typedef Outcome<Error, Model::DeleteApplicationResult> DeleteApplicationOutcome;
typedef std::future<DeleteApplicationOutcome> DeleteApplicationOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::DeleteApplicationRequest&, const DeleteApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteApplicationAsyncHandler;
typedef Outcome<Error, Model::DeleteGroupResult> DeleteGroupOutcome;
typedef std::future<DeleteGroupOutcome> DeleteGroupOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::DeleteGroupRequest&, const DeleteGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteGroupAsyncHandler;
typedef Outcome<Error, Model::DeleteLoginProfileResult> DeleteLoginProfileOutcome;
typedef std::future<DeleteLoginProfileOutcome> DeleteLoginProfileOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::DeleteLoginProfileRequest&, const DeleteLoginProfileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLoginProfileAsyncHandler;
typedef Outcome<Error, Model::DeleteOIDCProviderResult> DeleteOIDCProviderOutcome;
typedef std::future<DeleteOIDCProviderOutcome> DeleteOIDCProviderOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::DeleteOIDCProviderRequest&, const DeleteOIDCProviderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteOIDCProviderAsyncHandler;
typedef Outcome<Error, Model::DeleteSAMLProviderResult> DeleteSAMLProviderOutcome;
typedef std::future<DeleteSAMLProviderOutcome> DeleteSAMLProviderOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::DeleteSAMLProviderRequest&, const DeleteSAMLProviderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSAMLProviderAsyncHandler;
typedef Outcome<Error, Model::DeleteUserResult> DeleteUserOutcome;
typedef std::future<DeleteUserOutcome> DeleteUserOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::DeleteUserRequest&, const DeleteUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserAsyncHandler;
typedef Outcome<Error, Model::DeleteVirtualMFADeviceResult> DeleteVirtualMFADeviceOutcome;
typedef std::future<DeleteVirtualMFADeviceOutcome> DeleteVirtualMFADeviceOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::DeleteVirtualMFADeviceRequest&, const DeleteVirtualMFADeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteVirtualMFADeviceAsyncHandler;
typedef Outcome<Error, Model::DisableVirtualMFAResult> DisableVirtualMFAOutcome;
typedef std::future<DisableVirtualMFAOutcome> DisableVirtualMFAOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::DisableVirtualMFARequest&, const DisableVirtualMFAOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableVirtualMFAAsyncHandler;
typedef Outcome<Error, Model::GenerateCredentialReportResult> GenerateCredentialReportOutcome;
typedef std::future<GenerateCredentialReportOutcome> GenerateCredentialReportOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GenerateCredentialReportRequest&, const GenerateCredentialReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GenerateCredentialReportAsyncHandler;
typedef Outcome<Error, Model::GetAccessKeyLastUsedResult> GetAccessKeyLastUsedOutcome;
typedef std::future<GetAccessKeyLastUsedOutcome> GetAccessKeyLastUsedOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetAccessKeyLastUsedRequest&, const GetAccessKeyLastUsedOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccessKeyLastUsedAsyncHandler;
typedef Outcome<Error, Model::GetAccountMFAInfoResult> GetAccountMFAInfoOutcome;
typedef std::future<GetAccountMFAInfoOutcome> GetAccountMFAInfoOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetAccountMFAInfoRequest&, const GetAccountMFAInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccountMFAInfoAsyncHandler;
typedef Outcome<Error, Model::GetAccountSecurityPracticeReportResult> GetAccountSecurityPracticeReportOutcome;
typedef std::future<GetAccountSecurityPracticeReportOutcome> GetAccountSecurityPracticeReportOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetAccountSecurityPracticeReportRequest&, const GetAccountSecurityPracticeReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccountSecurityPracticeReportAsyncHandler;
typedef Outcome<Error, Model::GetAccountSummaryResult> GetAccountSummaryOutcome;
typedef std::future<GetAccountSummaryOutcome> GetAccountSummaryOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetAccountSummaryRequest&, const GetAccountSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccountSummaryAsyncHandler;
typedef Outcome<Error, Model::GetAppSecretResult> GetAppSecretOutcome;
typedef std::future<GetAppSecretOutcome> GetAppSecretOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetAppSecretRequest&, const GetAppSecretOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAppSecretAsyncHandler;
typedef Outcome<Error, Model::GetApplicationResult> GetApplicationOutcome;
typedef std::future<GetApplicationOutcome> GetApplicationOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetApplicationRequest&, const GetApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetApplicationAsyncHandler;
typedef Outcome<Error, Model::GetCredentialReportResult> GetCredentialReportOutcome;
typedef std::future<GetCredentialReportOutcome> GetCredentialReportOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetCredentialReportRequest&, const GetCredentialReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCredentialReportAsyncHandler;
typedef Outcome<Error, Model::GetDefaultDomainResult> GetDefaultDomainOutcome;
typedef std::future<GetDefaultDomainOutcome> GetDefaultDomainOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetDefaultDomainRequest&, const GetDefaultDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDefaultDomainAsyncHandler;
typedef Outcome<Error, Model::GetGroupResult> GetGroupOutcome;
typedef std::future<GetGroupOutcome> GetGroupOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetGroupRequest&, const GetGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetGroupAsyncHandler;
typedef Outcome<Error, Model::GetLoginProfileResult> GetLoginProfileOutcome;
typedef std::future<GetLoginProfileOutcome> GetLoginProfileOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetLoginProfileRequest&, const GetLoginProfileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLoginProfileAsyncHandler;
typedef Outcome<Error, Model::GetOIDCProviderResult> GetOIDCProviderOutcome;
typedef std::future<GetOIDCProviderOutcome> GetOIDCProviderOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetOIDCProviderRequest&, const GetOIDCProviderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOIDCProviderAsyncHandler;
typedef Outcome<Error, Model::GetPasswordPolicyResult> GetPasswordPolicyOutcome;
typedef std::future<GetPasswordPolicyOutcome> GetPasswordPolicyOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetPasswordPolicyRequest&, const GetPasswordPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPasswordPolicyAsyncHandler;
typedef Outcome<Error, Model::GetSAMLProviderResult> GetSAMLProviderOutcome;
typedef std::future<GetSAMLProviderOutcome> GetSAMLProviderOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetSAMLProviderRequest&, const GetSAMLProviderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSAMLProviderAsyncHandler;
typedef Outcome<Error, Model::GetSecurityPreferenceResult> GetSecurityPreferenceOutcome;
typedef std::future<GetSecurityPreferenceOutcome> GetSecurityPreferenceOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetSecurityPreferenceRequest&, const GetSecurityPreferenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSecurityPreferenceAsyncHandler;
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
typedef Outcome<Error, Model::GetUserMFAInfoResult> GetUserMFAInfoOutcome;
typedef std::future<GetUserMFAInfoOutcome> GetUserMFAInfoOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetUserMFAInfoRequest&, const GetUserMFAInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserMFAInfoAsyncHandler;
typedef Outcome<Error, Model::GetUserSsoSettingsResult> GetUserSsoSettingsOutcome;
typedef std::future<GetUserSsoSettingsOutcome> GetUserSsoSettingsOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetUserSsoSettingsRequest&, const GetUserSsoSettingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserSsoSettingsAsyncHandler;
typedef Outcome<Error, Model::GetVerificationInfoResult> GetVerificationInfoOutcome;
typedef std::future<GetVerificationInfoOutcome> GetVerificationInfoOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::GetVerificationInfoRequest&, const GetVerificationInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVerificationInfoAsyncHandler;
typedef Outcome<Error, Model::ListAccessKeysResult> ListAccessKeysOutcome;
typedef std::future<ListAccessKeysOutcome> ListAccessKeysOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::ListAccessKeysRequest&, const ListAccessKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAccessKeysAsyncHandler;
typedef Outcome<Error, Model::ListAppSecretIdsResult> ListAppSecretIdsOutcome;
typedef std::future<ListAppSecretIdsOutcome> ListAppSecretIdsOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::ListAppSecretIdsRequest&, const ListAppSecretIdsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAppSecretIdsAsyncHandler;
typedef Outcome<Error, Model::ListApplicationsResult> ListApplicationsOutcome;
typedef std::future<ListApplicationsOutcome> ListApplicationsOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::ListApplicationsRequest&, const ListApplicationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListApplicationsAsyncHandler;
typedef Outcome<Error, Model::ListGroupsResult> ListGroupsOutcome;
typedef std::future<ListGroupsOutcome> ListGroupsOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::ListGroupsRequest&, const ListGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListGroupsAsyncHandler;
typedef Outcome<Error, Model::ListGroupsForUserResult> ListGroupsForUserOutcome;
typedef std::future<ListGroupsForUserOutcome> ListGroupsForUserOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::ListGroupsForUserRequest&, const ListGroupsForUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListGroupsForUserAsyncHandler;
typedef Outcome<Error, Model::ListOIDCProvidersResult> ListOIDCProvidersOutcome;
typedef std::future<ListOIDCProvidersOutcome> ListOIDCProvidersOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::ListOIDCProvidersRequest&, const ListOIDCProvidersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListOIDCProvidersAsyncHandler;
typedef Outcome<Error, Model::ListPredefinedScopesResult> ListPredefinedScopesOutcome;
typedef std::future<ListPredefinedScopesOutcome> ListPredefinedScopesOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::ListPredefinedScopesRequest&, const ListPredefinedScopesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPredefinedScopesAsyncHandler;
typedef Outcome<Error, Model::ListSAMLProvidersResult> ListSAMLProvidersOutcome;
typedef std::future<ListSAMLProvidersOutcome> ListSAMLProvidersOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::ListSAMLProvidersRequest&, const ListSAMLProvidersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSAMLProvidersAsyncHandler;
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
typedef Outcome<Error, Model::ListUserBasicInfosResult> ListUserBasicInfosOutcome;
typedef std::future<ListUserBasicInfosOutcome> ListUserBasicInfosOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::ListUserBasicInfosRequest&, const ListUserBasicInfosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUserBasicInfosAsyncHandler;
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::ListUsersRequest&, const ListUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersAsyncHandler;
typedef Outcome<Error, Model::ListUsersForGroupResult> ListUsersForGroupOutcome;
typedef std::future<ListUsersForGroupOutcome> ListUsersForGroupOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::ListUsersForGroupRequest&, const ListUsersForGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersForGroupAsyncHandler;
typedef Outcome<Error, Model::ListVirtualMFADevicesResult> ListVirtualMFADevicesOutcome;
typedef std::future<ListVirtualMFADevicesOutcome> ListVirtualMFADevicesOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::ListVirtualMFADevicesRequest&, const ListVirtualMFADevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVirtualMFADevicesAsyncHandler;
typedef Outcome<Error, Model::RemoveClientIdFromOIDCProviderResult> RemoveClientIdFromOIDCProviderOutcome;
typedef std::future<RemoveClientIdFromOIDCProviderOutcome> RemoveClientIdFromOIDCProviderOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::RemoveClientIdFromOIDCProviderRequest&, const RemoveClientIdFromOIDCProviderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveClientIdFromOIDCProviderAsyncHandler;
typedef Outcome<Error, Model::RemoveFingerprintFromOIDCProviderResult> RemoveFingerprintFromOIDCProviderOutcome;
typedef std::future<RemoveFingerprintFromOIDCProviderOutcome> RemoveFingerprintFromOIDCProviderOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::RemoveFingerprintFromOIDCProviderRequest&, const RemoveFingerprintFromOIDCProviderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveFingerprintFromOIDCProviderAsyncHandler;
typedef Outcome<Error, Model::RemoveUserFromGroupResult> RemoveUserFromGroupOutcome;
typedef std::future<RemoveUserFromGroupOutcome> RemoveUserFromGroupOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::RemoveUserFromGroupRequest&, const RemoveUserFromGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveUserFromGroupAsyncHandler;
typedef Outcome<Error, Model::SetDefaultDomainResult> SetDefaultDomainOutcome;
typedef std::future<SetDefaultDomainOutcome> SetDefaultDomainOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::SetDefaultDomainRequest&, const SetDefaultDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDefaultDomainAsyncHandler;
typedef Outcome<Error, Model::SetPasswordPolicyResult> SetPasswordPolicyOutcome;
typedef std::future<SetPasswordPolicyOutcome> SetPasswordPolicyOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::SetPasswordPolicyRequest&, const SetPasswordPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetPasswordPolicyAsyncHandler;
typedef Outcome<Error, Model::SetSecurityPreferenceResult> SetSecurityPreferenceOutcome;
typedef std::future<SetSecurityPreferenceOutcome> SetSecurityPreferenceOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::SetSecurityPreferenceRequest&, const SetSecurityPreferenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetSecurityPreferenceAsyncHandler;
typedef Outcome<Error, Model::SetUserSsoSettingsResult> SetUserSsoSettingsOutcome;
typedef std::future<SetUserSsoSettingsOutcome> SetUserSsoSettingsOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::SetUserSsoSettingsRequest&, const SetUserSsoSettingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetUserSsoSettingsAsyncHandler;
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
typedef Outcome<Error, Model::UnbindMFADeviceResult> UnbindMFADeviceOutcome;
typedef std::future<UnbindMFADeviceOutcome> UnbindMFADeviceOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::UnbindMFADeviceRequest&, const UnbindMFADeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindMFADeviceAsyncHandler;
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
typedef Outcome<Error, Model::UpdateAccessKeyResult> UpdateAccessKeyOutcome;
typedef std::future<UpdateAccessKeyOutcome> UpdateAccessKeyOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::UpdateAccessKeyRequest&, const UpdateAccessKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAccessKeyAsyncHandler;
typedef Outcome<Error, Model::UpdateApplicationResult> UpdateApplicationOutcome;
typedef std::future<UpdateApplicationOutcome> UpdateApplicationOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::UpdateApplicationRequest&, const UpdateApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateApplicationAsyncHandler;
typedef Outcome<Error, Model::UpdateGroupResult> UpdateGroupOutcome;
typedef std::future<UpdateGroupOutcome> UpdateGroupOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::UpdateGroupRequest&, const UpdateGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateGroupAsyncHandler;
typedef Outcome<Error, Model::UpdateLoginProfileResult> UpdateLoginProfileOutcome;
typedef std::future<UpdateLoginProfileOutcome> UpdateLoginProfileOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::UpdateLoginProfileRequest&, const UpdateLoginProfileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLoginProfileAsyncHandler;
typedef Outcome<Error, Model::UpdateOIDCProviderResult> UpdateOIDCProviderOutcome;
typedef std::future<UpdateOIDCProviderOutcome> UpdateOIDCProviderOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::UpdateOIDCProviderRequest&, const UpdateOIDCProviderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateOIDCProviderAsyncHandler;
typedef Outcome<Error, Model::UpdateSAMLProviderResult> UpdateSAMLProviderOutcome;
typedef std::future<UpdateSAMLProviderOutcome> UpdateSAMLProviderOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::UpdateSAMLProviderRequest&, const UpdateSAMLProviderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateSAMLProviderAsyncHandler;
typedef Outcome<Error, Model::UpdateUserResult> UpdateUserOutcome;
typedef std::future<UpdateUserOutcome> UpdateUserOutcomeCallable;
typedef std::function<void(const ImsClient*, const Model::UpdateUserRequest&, const UpdateUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateUserAsyncHandler;
ImsClient(const Credentials &credentials, const ClientConfiguration &configuration);
ImsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
ImsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~ImsClient();
AddClientIdToOIDCProviderOutcome addClientIdToOIDCProvider(const Model::AddClientIdToOIDCProviderRequest &request)const;
void addClientIdToOIDCProviderAsync(const Model::AddClientIdToOIDCProviderRequest& request, const AddClientIdToOIDCProviderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddClientIdToOIDCProviderOutcomeCallable addClientIdToOIDCProviderCallable(const Model::AddClientIdToOIDCProviderRequest& request) const;
AddFingerprintToOIDCProviderOutcome addFingerprintToOIDCProvider(const Model::AddFingerprintToOIDCProviderRequest &request)const;
void addFingerprintToOIDCProviderAsync(const Model::AddFingerprintToOIDCProviderRequest& request, const AddFingerprintToOIDCProviderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddFingerprintToOIDCProviderOutcomeCallable addFingerprintToOIDCProviderCallable(const Model::AddFingerprintToOIDCProviderRequest& request) const;
AddUserToGroupOutcome addUserToGroup(const Model::AddUserToGroupRequest &request)const;
void addUserToGroupAsync(const Model::AddUserToGroupRequest& request, const AddUserToGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddUserToGroupOutcomeCallable addUserToGroupCallable(const Model::AddUserToGroupRequest& request) const;
BindMFADeviceOutcome bindMFADevice(const Model::BindMFADeviceRequest &request)const;
void bindMFADeviceAsync(const Model::BindMFADeviceRequest& request, const BindMFADeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BindMFADeviceOutcomeCallable bindMFADeviceCallable(const Model::BindMFADeviceRequest& request) const;
ChangePasswordOutcome changePassword(const Model::ChangePasswordRequest &request)const;
void changePasswordAsync(const Model::ChangePasswordRequest& request, const ChangePasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ChangePasswordOutcomeCallable changePasswordCallable(const Model::ChangePasswordRequest& request) const;
CreateAccessKeyOutcome createAccessKey(const Model::CreateAccessKeyRequest &request)const;
void createAccessKeyAsync(const Model::CreateAccessKeyRequest& request, const CreateAccessKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAccessKeyOutcomeCallable createAccessKeyCallable(const Model::CreateAccessKeyRequest& request) const;
CreateAppSecretOutcome createAppSecret(const Model::CreateAppSecretRequest &request)const;
void createAppSecretAsync(const Model::CreateAppSecretRequest& request, const CreateAppSecretAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAppSecretOutcomeCallable createAppSecretCallable(const Model::CreateAppSecretRequest& request) const;
CreateApplicationOutcome createApplication(const Model::CreateApplicationRequest &request)const;
void createApplicationAsync(const Model::CreateApplicationRequest& request, const CreateApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateApplicationOutcomeCallable createApplicationCallable(const Model::CreateApplicationRequest& request) const;
CreateGroupOutcome createGroup(const Model::CreateGroupRequest &request)const;
void createGroupAsync(const Model::CreateGroupRequest& request, const CreateGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateGroupOutcomeCallable createGroupCallable(const Model::CreateGroupRequest& request) const;
CreateLoginProfileOutcome createLoginProfile(const Model::CreateLoginProfileRequest &request)const;
void createLoginProfileAsync(const Model::CreateLoginProfileRequest& request, const CreateLoginProfileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateLoginProfileOutcomeCallable createLoginProfileCallable(const Model::CreateLoginProfileRequest& request) const;
CreateOIDCProviderOutcome createOIDCProvider(const Model::CreateOIDCProviderRequest &request)const;
void createOIDCProviderAsync(const Model::CreateOIDCProviderRequest& request, const CreateOIDCProviderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateOIDCProviderOutcomeCallable createOIDCProviderCallable(const Model::CreateOIDCProviderRequest& request) const;
CreateSAMLProviderOutcome createSAMLProvider(const Model::CreateSAMLProviderRequest &request)const;
void createSAMLProviderAsync(const Model::CreateSAMLProviderRequest& request, const CreateSAMLProviderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSAMLProviderOutcomeCallable createSAMLProviderCallable(const Model::CreateSAMLProviderRequest& request) const;
CreateUserOutcome createUser(const Model::CreateUserRequest &request)const;
void createUserAsync(const Model::CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateUserOutcomeCallable createUserCallable(const Model::CreateUserRequest& request) const;
CreateVirtualMFADeviceOutcome createVirtualMFADevice(const Model::CreateVirtualMFADeviceRequest &request)const;
void createVirtualMFADeviceAsync(const Model::CreateVirtualMFADeviceRequest& request, const CreateVirtualMFADeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateVirtualMFADeviceOutcomeCallable createVirtualMFADeviceCallable(const Model::CreateVirtualMFADeviceRequest& request) const;
DeleteAccessKeyOutcome deleteAccessKey(const Model::DeleteAccessKeyRequest &request)const;
void deleteAccessKeyAsync(const Model::DeleteAccessKeyRequest& request, const DeleteAccessKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAccessKeyOutcomeCallable deleteAccessKeyCallable(const Model::DeleteAccessKeyRequest& request) const;
DeleteAppSecretOutcome deleteAppSecret(const Model::DeleteAppSecretRequest &request)const;
void deleteAppSecretAsync(const Model::DeleteAppSecretRequest& request, const DeleteAppSecretAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAppSecretOutcomeCallable deleteAppSecretCallable(const Model::DeleteAppSecretRequest& request) const;
DeleteApplicationOutcome deleteApplication(const Model::DeleteApplicationRequest &request)const;
void deleteApplicationAsync(const Model::DeleteApplicationRequest& request, const DeleteApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteApplicationOutcomeCallable deleteApplicationCallable(const Model::DeleteApplicationRequest& request) const;
DeleteGroupOutcome deleteGroup(const Model::DeleteGroupRequest &request)const;
void deleteGroupAsync(const Model::DeleteGroupRequest& request, const DeleteGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteGroupOutcomeCallable deleteGroupCallable(const Model::DeleteGroupRequest& request) const;
DeleteLoginProfileOutcome deleteLoginProfile(const Model::DeleteLoginProfileRequest &request)const;
void deleteLoginProfileAsync(const Model::DeleteLoginProfileRequest& request, const DeleteLoginProfileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteLoginProfileOutcomeCallable deleteLoginProfileCallable(const Model::DeleteLoginProfileRequest& request) const;
DeleteOIDCProviderOutcome deleteOIDCProvider(const Model::DeleteOIDCProviderRequest &request)const;
void deleteOIDCProviderAsync(const Model::DeleteOIDCProviderRequest& request, const DeleteOIDCProviderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteOIDCProviderOutcomeCallable deleteOIDCProviderCallable(const Model::DeleteOIDCProviderRequest& request) const;
DeleteSAMLProviderOutcome deleteSAMLProvider(const Model::DeleteSAMLProviderRequest &request)const;
void deleteSAMLProviderAsync(const Model::DeleteSAMLProviderRequest& request, const DeleteSAMLProviderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSAMLProviderOutcomeCallable deleteSAMLProviderCallable(const Model::DeleteSAMLProviderRequest& request) const;
DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const;
void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const;
DeleteVirtualMFADeviceOutcome deleteVirtualMFADevice(const Model::DeleteVirtualMFADeviceRequest &request)const;
void deleteVirtualMFADeviceAsync(const Model::DeleteVirtualMFADeviceRequest& request, const DeleteVirtualMFADeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteVirtualMFADeviceOutcomeCallable deleteVirtualMFADeviceCallable(const Model::DeleteVirtualMFADeviceRequest& request) const;
DisableVirtualMFAOutcome disableVirtualMFA(const Model::DisableVirtualMFARequest &request)const;
void disableVirtualMFAAsync(const Model::DisableVirtualMFARequest& request, const DisableVirtualMFAAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableVirtualMFAOutcomeCallable disableVirtualMFACallable(const Model::DisableVirtualMFARequest& request) const;
GenerateCredentialReportOutcome generateCredentialReport(const Model::GenerateCredentialReportRequest &request)const;
void generateCredentialReportAsync(const Model::GenerateCredentialReportRequest& request, const GenerateCredentialReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GenerateCredentialReportOutcomeCallable generateCredentialReportCallable(const Model::GenerateCredentialReportRequest& request) const;
GetAccessKeyLastUsedOutcome getAccessKeyLastUsed(const Model::GetAccessKeyLastUsedRequest &request)const;
void getAccessKeyLastUsedAsync(const Model::GetAccessKeyLastUsedRequest& request, const GetAccessKeyLastUsedAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAccessKeyLastUsedOutcomeCallable getAccessKeyLastUsedCallable(const Model::GetAccessKeyLastUsedRequest& request) const;
GetAccountMFAInfoOutcome getAccountMFAInfo(const Model::GetAccountMFAInfoRequest &request)const;
void getAccountMFAInfoAsync(const Model::GetAccountMFAInfoRequest& request, const GetAccountMFAInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAccountMFAInfoOutcomeCallable getAccountMFAInfoCallable(const Model::GetAccountMFAInfoRequest& request) const;
GetAccountSecurityPracticeReportOutcome getAccountSecurityPracticeReport(const Model::GetAccountSecurityPracticeReportRequest &request)const;
void getAccountSecurityPracticeReportAsync(const Model::GetAccountSecurityPracticeReportRequest& request, const GetAccountSecurityPracticeReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAccountSecurityPracticeReportOutcomeCallable getAccountSecurityPracticeReportCallable(const Model::GetAccountSecurityPracticeReportRequest& request) const;
GetAccountSummaryOutcome getAccountSummary(const Model::GetAccountSummaryRequest &request)const;
void getAccountSummaryAsync(const Model::GetAccountSummaryRequest& request, const GetAccountSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAccountSummaryOutcomeCallable getAccountSummaryCallable(const Model::GetAccountSummaryRequest& request) const;
GetAppSecretOutcome getAppSecret(const Model::GetAppSecretRequest &request)const;
void getAppSecretAsync(const Model::GetAppSecretRequest& request, const GetAppSecretAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAppSecretOutcomeCallable getAppSecretCallable(const Model::GetAppSecretRequest& request) const;
GetApplicationOutcome getApplication(const Model::GetApplicationRequest &request)const;
void getApplicationAsync(const Model::GetApplicationRequest& request, const GetApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetApplicationOutcomeCallable getApplicationCallable(const Model::GetApplicationRequest& request) const;
GetCredentialReportOutcome getCredentialReport(const Model::GetCredentialReportRequest &request)const;
void getCredentialReportAsync(const Model::GetCredentialReportRequest& request, const GetCredentialReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCredentialReportOutcomeCallable getCredentialReportCallable(const Model::GetCredentialReportRequest& request) const;
GetDefaultDomainOutcome getDefaultDomain(const Model::GetDefaultDomainRequest &request)const;
void getDefaultDomainAsync(const Model::GetDefaultDomainRequest& request, const GetDefaultDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDefaultDomainOutcomeCallable getDefaultDomainCallable(const Model::GetDefaultDomainRequest& request) const;
GetGroupOutcome getGroup(const Model::GetGroupRequest &request)const;
void getGroupAsync(const Model::GetGroupRequest& request, const GetGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetGroupOutcomeCallable getGroupCallable(const Model::GetGroupRequest& request) const;
GetLoginProfileOutcome getLoginProfile(const Model::GetLoginProfileRequest &request)const;
void getLoginProfileAsync(const Model::GetLoginProfileRequest& request, const GetLoginProfileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetLoginProfileOutcomeCallable getLoginProfileCallable(const Model::GetLoginProfileRequest& request) const;
GetOIDCProviderOutcome getOIDCProvider(const Model::GetOIDCProviderRequest &request)const;
void getOIDCProviderAsync(const Model::GetOIDCProviderRequest& request, const GetOIDCProviderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetOIDCProviderOutcomeCallable getOIDCProviderCallable(const Model::GetOIDCProviderRequest& request) const;
GetPasswordPolicyOutcome getPasswordPolicy(const Model::GetPasswordPolicyRequest &request)const;
void getPasswordPolicyAsync(const Model::GetPasswordPolicyRequest& request, const GetPasswordPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPasswordPolicyOutcomeCallable getPasswordPolicyCallable(const Model::GetPasswordPolicyRequest& request) const;
GetSAMLProviderOutcome getSAMLProvider(const Model::GetSAMLProviderRequest &request)const;
void getSAMLProviderAsync(const Model::GetSAMLProviderRequest& request, const GetSAMLProviderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSAMLProviderOutcomeCallable getSAMLProviderCallable(const Model::GetSAMLProviderRequest& request) const;
GetSecurityPreferenceOutcome getSecurityPreference(const Model::GetSecurityPreferenceRequest &request)const;
void getSecurityPreferenceAsync(const Model::GetSecurityPreferenceRequest& request, const GetSecurityPreferenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSecurityPreferenceOutcomeCallable getSecurityPreferenceCallable(const Model::GetSecurityPreferenceRequest& request) const;
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
GetUserMFAInfoOutcome getUserMFAInfo(const Model::GetUserMFAInfoRequest &request)const;
void getUserMFAInfoAsync(const Model::GetUserMFAInfoRequest& request, const GetUserMFAInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserMFAInfoOutcomeCallable getUserMFAInfoCallable(const Model::GetUserMFAInfoRequest& request) const;
GetUserSsoSettingsOutcome getUserSsoSettings(const Model::GetUserSsoSettingsRequest &request)const;
void getUserSsoSettingsAsync(const Model::GetUserSsoSettingsRequest& request, const GetUserSsoSettingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetUserSsoSettingsOutcomeCallable getUserSsoSettingsCallable(const Model::GetUserSsoSettingsRequest& request) const;
GetVerificationInfoOutcome getVerificationInfo(const Model::GetVerificationInfoRequest &request)const;
void getVerificationInfoAsync(const Model::GetVerificationInfoRequest& request, const GetVerificationInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetVerificationInfoOutcomeCallable getVerificationInfoCallable(const Model::GetVerificationInfoRequest& request) const;
ListAccessKeysOutcome listAccessKeys(const Model::ListAccessKeysRequest &request)const;
void listAccessKeysAsync(const Model::ListAccessKeysRequest& request, const ListAccessKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAccessKeysOutcomeCallable listAccessKeysCallable(const Model::ListAccessKeysRequest& request) const;
ListAppSecretIdsOutcome listAppSecretIds(const Model::ListAppSecretIdsRequest &request)const;
void listAppSecretIdsAsync(const Model::ListAppSecretIdsRequest& request, const ListAppSecretIdsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAppSecretIdsOutcomeCallable listAppSecretIdsCallable(const Model::ListAppSecretIdsRequest& request) const;
ListApplicationsOutcome listApplications(const Model::ListApplicationsRequest &request)const;
void listApplicationsAsync(const Model::ListApplicationsRequest& request, const ListApplicationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListApplicationsOutcomeCallable listApplicationsCallable(const Model::ListApplicationsRequest& request) const;
ListGroupsOutcome listGroups(const Model::ListGroupsRequest &request)const;
void listGroupsAsync(const Model::ListGroupsRequest& request, const ListGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListGroupsOutcomeCallable listGroupsCallable(const Model::ListGroupsRequest& request) const;
ListGroupsForUserOutcome listGroupsForUser(const Model::ListGroupsForUserRequest &request)const;
void listGroupsForUserAsync(const Model::ListGroupsForUserRequest& request, const ListGroupsForUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListGroupsForUserOutcomeCallable listGroupsForUserCallable(const Model::ListGroupsForUserRequest& request) const;
ListOIDCProvidersOutcome listOIDCProviders(const Model::ListOIDCProvidersRequest &request)const;
void listOIDCProvidersAsync(const Model::ListOIDCProvidersRequest& request, const ListOIDCProvidersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListOIDCProvidersOutcomeCallable listOIDCProvidersCallable(const Model::ListOIDCProvidersRequest& request) const;
ListPredefinedScopesOutcome listPredefinedScopes(const Model::ListPredefinedScopesRequest &request)const;
void listPredefinedScopesAsync(const Model::ListPredefinedScopesRequest& request, const ListPredefinedScopesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPredefinedScopesOutcomeCallable listPredefinedScopesCallable(const Model::ListPredefinedScopesRequest& request) const;
ListSAMLProvidersOutcome listSAMLProviders(const Model::ListSAMLProvidersRequest &request)const;
void listSAMLProvidersAsync(const Model::ListSAMLProvidersRequest& request, const ListSAMLProvidersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSAMLProvidersOutcomeCallable listSAMLProvidersCallable(const Model::ListSAMLProvidersRequest& request) const;
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
ListUserBasicInfosOutcome listUserBasicInfos(const Model::ListUserBasicInfosRequest &request)const;
void listUserBasicInfosAsync(const Model::ListUserBasicInfosRequest& request, const ListUserBasicInfosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListUserBasicInfosOutcomeCallable listUserBasicInfosCallable(const Model::ListUserBasicInfosRequest& request) const;
ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const;
void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const;
ListUsersForGroupOutcome listUsersForGroup(const Model::ListUsersForGroupRequest &request)const;
void listUsersForGroupAsync(const Model::ListUsersForGroupRequest& request, const ListUsersForGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListUsersForGroupOutcomeCallable listUsersForGroupCallable(const Model::ListUsersForGroupRequest& request) const;
ListVirtualMFADevicesOutcome listVirtualMFADevices(const Model::ListVirtualMFADevicesRequest &request)const;
void listVirtualMFADevicesAsync(const Model::ListVirtualMFADevicesRequest& request, const ListVirtualMFADevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListVirtualMFADevicesOutcomeCallable listVirtualMFADevicesCallable(const Model::ListVirtualMFADevicesRequest& request) const;
RemoveClientIdFromOIDCProviderOutcome removeClientIdFromOIDCProvider(const Model::RemoveClientIdFromOIDCProviderRequest &request)const;
void removeClientIdFromOIDCProviderAsync(const Model::RemoveClientIdFromOIDCProviderRequest& request, const RemoveClientIdFromOIDCProviderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveClientIdFromOIDCProviderOutcomeCallable removeClientIdFromOIDCProviderCallable(const Model::RemoveClientIdFromOIDCProviderRequest& request) const;
RemoveFingerprintFromOIDCProviderOutcome removeFingerprintFromOIDCProvider(const Model::RemoveFingerprintFromOIDCProviderRequest &request)const;
void removeFingerprintFromOIDCProviderAsync(const Model::RemoveFingerprintFromOIDCProviderRequest& request, const RemoveFingerprintFromOIDCProviderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveFingerprintFromOIDCProviderOutcomeCallable removeFingerprintFromOIDCProviderCallable(const Model::RemoveFingerprintFromOIDCProviderRequest& request) const;
RemoveUserFromGroupOutcome removeUserFromGroup(const Model::RemoveUserFromGroupRequest &request)const;
void removeUserFromGroupAsync(const Model::RemoveUserFromGroupRequest& request, const RemoveUserFromGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveUserFromGroupOutcomeCallable removeUserFromGroupCallable(const Model::RemoveUserFromGroupRequest& request) const;
SetDefaultDomainOutcome setDefaultDomain(const Model::SetDefaultDomainRequest &request)const;
void setDefaultDomainAsync(const Model::SetDefaultDomainRequest& request, const SetDefaultDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetDefaultDomainOutcomeCallable setDefaultDomainCallable(const Model::SetDefaultDomainRequest& request) const;
SetPasswordPolicyOutcome setPasswordPolicy(const Model::SetPasswordPolicyRequest &request)const;
void setPasswordPolicyAsync(const Model::SetPasswordPolicyRequest& request, const SetPasswordPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetPasswordPolicyOutcomeCallable setPasswordPolicyCallable(const Model::SetPasswordPolicyRequest& request) const;
SetSecurityPreferenceOutcome setSecurityPreference(const Model::SetSecurityPreferenceRequest &request)const;
void setSecurityPreferenceAsync(const Model::SetSecurityPreferenceRequest& request, const SetSecurityPreferenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetSecurityPreferenceOutcomeCallable setSecurityPreferenceCallable(const Model::SetSecurityPreferenceRequest& request) const;
SetUserSsoSettingsOutcome setUserSsoSettings(const Model::SetUserSsoSettingsRequest &request)const;
void setUserSsoSettingsAsync(const Model::SetUserSsoSettingsRequest& request, const SetUserSsoSettingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetUserSsoSettingsOutcomeCallable setUserSsoSettingsCallable(const Model::SetUserSsoSettingsRequest& request) const;
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
UnbindMFADeviceOutcome unbindMFADevice(const Model::UnbindMFADeviceRequest &request)const;
void unbindMFADeviceAsync(const Model::UnbindMFADeviceRequest& request, const UnbindMFADeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnbindMFADeviceOutcomeCallable unbindMFADeviceCallable(const Model::UnbindMFADeviceRequest& request) const;
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
UpdateAccessKeyOutcome updateAccessKey(const Model::UpdateAccessKeyRequest &request)const;
void updateAccessKeyAsync(const Model::UpdateAccessKeyRequest& request, const UpdateAccessKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateAccessKeyOutcomeCallable updateAccessKeyCallable(const Model::UpdateAccessKeyRequest& request) const;
UpdateApplicationOutcome updateApplication(const Model::UpdateApplicationRequest &request)const;
void updateApplicationAsync(const Model::UpdateApplicationRequest& request, const UpdateApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateApplicationOutcomeCallable updateApplicationCallable(const Model::UpdateApplicationRequest& request) const;
UpdateGroupOutcome updateGroup(const Model::UpdateGroupRequest &request)const;
void updateGroupAsync(const Model::UpdateGroupRequest& request, const UpdateGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateGroupOutcomeCallable updateGroupCallable(const Model::UpdateGroupRequest& request) const;
UpdateLoginProfileOutcome updateLoginProfile(const Model::UpdateLoginProfileRequest &request)const;
void updateLoginProfileAsync(const Model::UpdateLoginProfileRequest& request, const UpdateLoginProfileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateLoginProfileOutcomeCallable updateLoginProfileCallable(const Model::UpdateLoginProfileRequest& request) const;
UpdateOIDCProviderOutcome updateOIDCProvider(const Model::UpdateOIDCProviderRequest &request)const;
void updateOIDCProviderAsync(const Model::UpdateOIDCProviderRequest& request, const UpdateOIDCProviderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateOIDCProviderOutcomeCallable updateOIDCProviderCallable(const Model::UpdateOIDCProviderRequest& request) const;
UpdateSAMLProviderOutcome updateSAMLProvider(const Model::UpdateSAMLProviderRequest &request)const;
void updateSAMLProviderAsync(const Model::UpdateSAMLProviderRequest& request, const UpdateSAMLProviderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateSAMLProviderOutcomeCallable updateSAMLProviderCallable(const Model::UpdateSAMLProviderRequest& request) const;
UpdateUserOutcome updateUser(const Model::UpdateUserRequest &request)const;
void updateUserAsync(const Model::UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateUserOutcomeCallable updateUserCallable(const Model::UpdateUserRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_IMS_IMSCLIENT_H_

View 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_IMS_IMSEXPORT_H_
#define ALIBABACLOUD_IMS_IMSEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_IMS_LIBRARY)
# define ALIBABACLOUD_IMS_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_IMS_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_IMS_EXPORT
#endif
#endif // !ALIBABACLOUD_IMS_IMSEXPORT_H_

View File

@@ -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_IMS_MODEL_ADDCLIENTIDTOOIDCPROVIDERREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_ADDCLIENTIDTOOIDCPROVIDERREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT AddClientIdToOIDCProviderRequest : public RpcServiceRequest {
public:
AddClientIdToOIDCProviderRequest();
~AddClientIdToOIDCProviderRequest();
std::string getClientId() const;
void setClientId(const std::string &clientId);
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getOIDCProviderName() const;
void setOIDCProviderName(const std::string &oIDCProviderName);
private:
std::string clientId_;
std::string akProxySuffix_;
std::string oIDCProviderName_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_ADDCLIENTIDTOOIDCPROVIDERREQUEST_H_

View File

@@ -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_IMS_MODEL_ADDCLIENTIDTOOIDCPROVIDERRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_ADDCLIENTIDTOOIDCPROVIDERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT AddClientIdToOIDCProviderResult : public ServiceResult
{
public:
struct OIDCProvider
{
std::string updateDate;
std::string gmtCreate;
std::string description;
std::string oIDCProviderName;
std::string issuerUrl;
std::string fingerprints;
std::string gmtModified;
long issuanceLimitTime;
std::string arn;
std::string createDate;
std::string clientIds;
};
AddClientIdToOIDCProviderResult();
explicit AddClientIdToOIDCProviderResult(const std::string &payload);
~AddClientIdToOIDCProviderResult();
OIDCProvider getOIDCProvider()const;
protected:
void parse(const std::string &payload);
private:
OIDCProvider oIDCProvider_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_ADDCLIENTIDTOOIDCPROVIDERRESULT_H_

View File

@@ -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_IMS_MODEL_ADDFINGERPRINTTOOIDCPROVIDERREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_ADDFINGERPRINTTOOIDCPROVIDERREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT AddFingerprintToOIDCProviderRequest : public RpcServiceRequest {
public:
AddFingerprintToOIDCProviderRequest();
~AddFingerprintToOIDCProviderRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getOIDCProviderName() const;
void setOIDCProviderName(const std::string &oIDCProviderName);
std::string getFingerprint() const;
void setFingerprint(const std::string &fingerprint);
private:
std::string akProxySuffix_;
std::string oIDCProviderName_;
std::string fingerprint_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_ADDFINGERPRINTTOOIDCPROVIDERREQUEST_H_

View File

@@ -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_IMS_MODEL_ADDFINGERPRINTTOOIDCPROVIDERRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_ADDFINGERPRINTTOOIDCPROVIDERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT AddFingerprintToOIDCProviderResult : public ServiceResult
{
public:
struct OIDCProvider
{
std::string updateDate;
std::string gmtCreate;
std::string description;
std::string oIDCProviderName;
std::string issuerUrl;
std::string fingerprints;
std::string gmtModified;
long issuanceLimitTime;
std::string arn;
std::string createDate;
std::string clientIds;
};
AddFingerprintToOIDCProviderResult();
explicit AddFingerprintToOIDCProviderResult(const std::string &payload);
~AddFingerprintToOIDCProviderResult();
OIDCProvider getOIDCProvider()const;
protected:
void parse(const std::string &payload);
private:
OIDCProvider oIDCProvider_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_ADDFINGERPRINTTOOIDCPROVIDERRESULT_H_

View 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_IMS_MODEL_ADDUSERTOGROUPREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_ADDUSERTOGROUPREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT AddUserToGroupRequest : public RpcServiceRequest {
public:
AddUserToGroupRequest();
~AddUserToGroupRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getGroupName() const;
void setGroupName(const std::string &groupName);
std::string getUserPrincipalName() const;
void setUserPrincipalName(const std::string &userPrincipalName);
std::string getGroupPrincipalName() const;
void setGroupPrincipalName(const std::string &groupPrincipalName);
private:
std::string akProxySuffix_;
std::string groupName_;
std::string userPrincipalName_;
std::string groupPrincipalName_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_ADDUSERTOGROUPREQUEST_H_

View File

@@ -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_IMS_MODEL_ADDUSERTOGROUPRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_ADDUSERTOGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT AddUserToGroupResult : public ServiceResult
{
public:
AddUserToGroupResult();
explicit AddUserToGroupResult(const std::string &payload);
~AddUserToGroupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_ADDUSERTOGROUPRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_BINDMFADEVICEREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_BINDMFADEVICEREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT BindMFADeviceRequest : public RpcServiceRequest {
public:
BindMFADeviceRequest();
~BindMFADeviceRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getU2fAppId() const;
void setU2fAppId(const std::string &u2fAppId);
std::string getAuthenticationCode2() const;
void setAuthenticationCode2(const std::string &authenticationCode2);
std::string getType() const;
void setType(const std::string &type);
std::string getAuthenticationCode1() const;
void setAuthenticationCode1(const std::string &authenticationCode1);
std::string getU2fPublicKey() const;
void setU2fPublicKey(const std::string &u2fPublicKey);
std::string getU2fVersion() const;
void setU2fVersion(const std::string &u2fVersion);
std::string getSerialNumber() const;
void setSerialNumber(const std::string &serialNumber);
std::string getU2fKeyHandler() const;
void setU2fKeyHandler(const std::string &u2fKeyHandler);
std::string getUserPrincipalName() const;
void setUserPrincipalName(const std::string &userPrincipalName);
std::string getU2fAttestationCert() const;
void setU2fAttestationCert(const std::string &u2fAttestationCert);
private:
std::string akProxySuffix_;
std::string u2fAppId_;
std::string authenticationCode2_;
std::string type_;
std::string authenticationCode1_;
std::string u2fPublicKey_;
std::string u2fVersion_;
std::string serialNumber_;
std::string u2fKeyHandler_;
std::string userPrincipalName_;
std::string u2fAttestationCert_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_BINDMFADEVICEREQUEST_H_

View File

@@ -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_IMS_MODEL_BINDMFADEVICERESULT_H_
#define ALIBABACLOUD_IMS_MODEL_BINDMFADEVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT BindMFADeviceResult : public ServiceResult
{
public:
BindMFADeviceResult();
explicit BindMFADeviceResult(const std::string &payload);
~BindMFADeviceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_BINDMFADEVICERESULT_H_

View File

@@ -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_IMS_MODEL_CHANGEPASSWORDREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_CHANGEPASSWORDREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT ChangePasswordRequest : public RpcServiceRequest {
public:
ChangePasswordRequest();
~ChangePasswordRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getOldPassword() const;
void setOldPassword(const std::string &oldPassword);
std::string getNewPassword() const;
void setNewPassword(const std::string &newPassword);
private:
std::string akProxySuffix_;
std::string oldPassword_;
std::string newPassword_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_CHANGEPASSWORDREQUEST_H_

View File

@@ -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_IMS_MODEL_CHANGEPASSWORDRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_CHANGEPASSWORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT ChangePasswordResult : public ServiceResult
{
public:
ChangePasswordResult();
explicit ChangePasswordResult(const std::string &payload);
~ChangePasswordResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_CHANGEPASSWORDRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_CREATEACCESSKEYREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_CREATEACCESSKEYREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT CreateAccessKeyRequest : public RpcServiceRequest {
public:
CreateAccessKeyRequest();
~CreateAccessKeyRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getUserPrincipalName() const;
void setUserPrincipalName(const std::string &userPrincipalName);
private:
std::string akProxySuffix_;
std::string userPrincipalName_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_CREATEACCESSKEYREQUEST_H_

View File

@@ -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_IMS_MODEL_CREATEACCESSKEYRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_CREATEACCESSKEYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT CreateAccessKeyResult : public ServiceResult
{
public:
struct AccessKey
{
std::string status;
std::string accessKeyId;
std::string accessKeySecret;
std::string createDate;
};
CreateAccessKeyResult();
explicit CreateAccessKeyResult(const std::string &payload);
~CreateAccessKeyResult();
AccessKey getAccessKey()const;
protected:
void parse(const std::string &payload);
private:
AccessKey accessKey_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_CREATEACCESSKEYRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_CREATEAPPSECRETREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_CREATEAPPSECRETREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT CreateAppSecretRequest : public RpcServiceRequest {
public:
CreateAppSecretRequest();
~CreateAppSecretRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getAppId() const;
void setAppId(const std::string &appId);
private:
std::string akProxySuffix_;
std::string appId_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_CREATEAPPSECRETREQUEST_H_

View File

@@ -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_IMS_MODEL_CREATEAPPSECRETRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_CREATEAPPSECRETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT CreateAppSecretResult : public ServiceResult
{
public:
struct AppSecret
{
std::string appId;
std::string appSecretValue;
std::string appSecretId;
std::string createDate;
};
CreateAppSecretResult();
explicit CreateAppSecretResult(const std::string &payload);
~CreateAppSecretResult();
AppSecret getAppSecret()const;
protected:
void parse(const std::string &payload);
private:
AppSecret appSecret_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_CREATEAPPSECRETRESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_CREATEAPPLICATIONREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_CREATEAPPLICATIONREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT CreateApplicationRequest : public RpcServiceRequest {
public:
CreateApplicationRequest();
~CreateApplicationRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getAppName() const;
void setAppName(const std::string &appName);
std::string getRequiredScopes() const;
void setRequiredScopes(const std::string &requiredScopes);
int getAccessTokenValidity() const;
void setAccessTokenValidity(int accessTokenValidity);
int getRefreshTokenValidity() const;
void setRefreshTokenValidity(int refreshTokenValidity);
std::string getRedirectUris() const;
void setRedirectUris(const std::string &redirectUris);
bool getSecretRequired() const;
void setSecretRequired(bool secretRequired);
std::string getAppType() const;
void setAppType(const std::string &appType);
std::string getAppPrincipalName() const;
void setAppPrincipalName(const std::string &appPrincipalName);
std::string getDisplayName() const;
void setDisplayName(const std::string &displayName);
std::string getPredefinedScopes() const;
void setPredefinedScopes(const std::string &predefinedScopes);
bool getIsMultiTenant() const;
void setIsMultiTenant(bool isMultiTenant);
private:
std::string akProxySuffix_;
std::string appName_;
std::string requiredScopes_;
int accessTokenValidity_;
int refreshTokenValidity_;
std::string redirectUris_;
bool secretRequired_;
std::string appType_;
std::string appPrincipalName_;
std::string displayName_;
std::string predefinedScopes_;
bool isMultiTenant_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_CREATEAPPLICATIONREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMS_MODEL_CREATEAPPLICATIONRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_CREATEAPPLICATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT CreateApplicationResult : public ServiceResult
{
public:
struct Application
{
struct DelegatedScope
{
struct PredefinedScope
{
std::string description;
bool required;
std::string name;
};
std::vector<PredefinedScope> predefinedScopes;
};
std::string accountId;
bool secretRequired;
bool isMultiTenant;
std::string createDate;
std::string appName;
DelegatedScope delegatedScope;
std::string updateDate;
std::string tenantId;
std::string appId;
std::string displayName;
int accessTokenValidity;
std::string appPrincipalName;
std::vector<std::string> redirectUris;
int refreshTokenValidity;
std::string appType;
};
CreateApplicationResult();
explicit CreateApplicationResult(const std::string &payload);
~CreateApplicationResult();
Application getApplication()const;
protected:
void parse(const std::string &payload);
private:
Application application_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_CREATEAPPLICATIONRESULT_H_

View File

@@ -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_IMS_MODEL_CREATEGROUPREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_CREATEGROUPREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT CreateGroupRequest : public RpcServiceRequest {
public:
CreateGroupRequest();
~CreateGroupRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getComments() const;
void setComments(const std::string &comments);
std::string getGroupName() const;
void setGroupName(const std::string &groupName);
std::string getDisplayName() const;
void setDisplayName(const std::string &displayName);
std::string getGroupPrincipalName() const;
void setGroupPrincipalName(const std::string &groupPrincipalName);
private:
std::string akProxySuffix_;
std::string comments_;
std::string groupName_;
std::string displayName_;
std::string groupPrincipalName_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_CREATEGROUPREQUEST_H_

View File

@@ -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_IMS_MODEL_CREATEGROUPRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_CREATEGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT CreateGroupResult : public ServiceResult
{
public:
struct Group
{
std::string groupName;
std::string updateDate;
std::string groupPrincipalName;
std::string comments;
std::string displayName;
std::string createDate;
std::string groupId;
};
CreateGroupResult();
explicit CreateGroupResult(const std::string &payload);
~CreateGroupResult();
Group getGroup()const;
protected:
void parse(const std::string &payload);
private:
Group group_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_CREATEGROUPRESULT_H_

View File

@@ -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_IMS_MODEL_CREATELOGINPROFILEREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_CREATELOGINPROFILEREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT CreateLoginProfileRequest : public RpcServiceRequest {
public:
CreateLoginProfileRequest();
~CreateLoginProfileRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getPassword() const;
void setPassword(const std::string &password);
bool getGenerateRandomPassword() const;
void setGenerateRandomPassword(bool generateRandomPassword);
bool getMFABindRequired() const;
void setMFABindRequired(bool mFABindRequired);
bool getPasswordResetRequired() const;
void setPasswordResetRequired(bool passwordResetRequired);
std::string getUserPrincipalName() const;
void setUserPrincipalName(const std::string &userPrincipalName);
std::string getStatus() const;
void setStatus(const std::string &status);
private:
std::string akProxySuffix_;
std::string password_;
bool generateRandomPassword_;
bool mFABindRequired_;
bool passwordResetRequired_;
std::string userPrincipalName_;
std::string status_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_CREATELOGINPROFILEREQUEST_H_

View File

@@ -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_IMS_MODEL_CREATELOGINPROFILERESULT_H_
#define ALIBABACLOUD_IMS_MODEL_CREATELOGINPROFILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT CreateLoginProfileResult : public ServiceResult
{
public:
struct LoginProfile
{
std::string status;
std::string updateDate;
bool passwordResetRequired;
std::string userPrincipalName;
bool mFABindRequired;
std::string createDate;
std::string password;
};
CreateLoginProfileResult();
explicit CreateLoginProfileResult(const std::string &payload);
~CreateLoginProfileResult();
LoginProfile getLoginProfile()const;
protected:
void parse(const std::string &payload);
private:
LoginProfile loginProfile_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_CREATELOGINPROFILERESULT_H_

View File

@@ -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_IMS_MODEL_CREATEOIDCPROVIDERREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_CREATEOIDCPROVIDERREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT CreateOIDCProviderRequest : public RpcServiceRequest {
public:
CreateOIDCProviderRequest();
~CreateOIDCProviderRequest();
long getIssuanceLimitTime() const;
void setIssuanceLimitTime(long issuanceLimitTime);
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getIssuerUrl() const;
void setIssuerUrl(const std::string &issuerUrl);
std::string getOIDCProviderName() const;
void setOIDCProviderName(const std::string &oIDCProviderName);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getClientIds() const;
void setClientIds(const std::string &clientIds);
std::string getFingerprints() const;
void setFingerprints(const std::string &fingerprints);
private:
long issuanceLimitTime_;
std::string akProxySuffix_;
std::string issuerUrl_;
std::string oIDCProviderName_;
std::string description_;
std::string clientIds_;
std::string fingerprints_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_CREATEOIDCPROVIDERREQUEST_H_

View File

@@ -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_IMS_MODEL_CREATEOIDCPROVIDERRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_CREATEOIDCPROVIDERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT CreateOIDCProviderResult : public ServiceResult
{
public:
struct OIDCProvider
{
std::string updateDate;
std::string gmtCreate;
std::string description;
std::string oIDCProviderName;
std::string issuerUrl;
std::string fingerprints;
std::string gmtModified;
long issuanceLimitTime;
std::string arn;
std::string createDate;
std::string clientIds;
};
CreateOIDCProviderResult();
explicit CreateOIDCProviderResult(const std::string &payload);
~CreateOIDCProviderResult();
OIDCProvider getOIDCProvider()const;
protected:
void parse(const std::string &payload);
private:
OIDCProvider oIDCProvider_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_CREATEOIDCPROVIDERRESULT_H_

View File

@@ -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_IMS_MODEL_CREATESAMLPROVIDERREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_CREATESAMLPROVIDERREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT CreateSAMLProviderRequest : public RpcServiceRequest {
public:
CreateSAMLProviderRequest();
~CreateSAMLProviderRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getSAMLMetadataDocument() const;
void setSAMLMetadataDocument(const std::string &sAMLMetadataDocument);
std::string getEncodedSAMLMetadataDocument() const;
void setEncodedSAMLMetadataDocument(const std::string &encodedSAMLMetadataDocument);
std::string getSAMLProviderName() const;
void setSAMLProviderName(const std::string &sAMLProviderName);
private:
std::string akProxySuffix_;
std::string description_;
std::string sAMLMetadataDocument_;
std::string encodedSAMLMetadataDocument_;
std::string sAMLProviderName_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_CREATESAMLPROVIDERREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_CREATESAMLPROVIDERRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_CREATESAMLPROVIDERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT CreateSAMLProviderResult : public ServiceResult
{
public:
struct SAMLProvider
{
std::string updateDate;
std::string description;
std::string sAMLProviderName;
std::string arn;
std::string createDate;
};
CreateSAMLProviderResult();
explicit CreateSAMLProviderResult(const std::string &payload);
~CreateSAMLProviderResult();
SAMLProvider getSAMLProvider()const;
protected:
void parse(const std::string &payload);
private:
SAMLProvider sAMLProvider_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_CREATESAMLPROVIDERRESULT_H_

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_CREATEUSERREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_CREATEUSERREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT CreateUserRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
CreateUserRequest();
~CreateUserRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getExternalId() const;
void setExternalId(const std::string &externalId);
std::string getMobilePhone() const;
void setMobilePhone(const std::string &mobilePhone);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::string getEmail() const;
void setEmail(const std::string &email);
std::string getComments() const;
void setComments(const std::string &comments);
std::string getUserPrincipalName() const;
void setUserPrincipalName(const std::string &userPrincipalName);
std::string getDisplayName() const;
void setDisplayName(const std::string &displayName);
private:
std::string akProxySuffix_;
std::string externalId_;
std::string mobilePhone_;
std::vector<Tag> tag_;
std::string email_;
std::string comments_;
std::string userPrincipalName_;
std::string displayName_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_CREATEUSERREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_CREATEUSERRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_CREATEUSERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT CreateUserResult : public ServiceResult
{
public:
struct User
{
struct Tag
{
std::string tagKey;
std::string tagValue;
};
std::string updateDate;
std::string email;
std::string userId;
std::string comments;
std::string provisionType;
std::string externalId;
std::string displayName;
std::string lastLoginDate;
std::string userPrincipalName;
std::string createDate;
std::vector<Tag> tags;
std::string mobilePhone;
};
CreateUserResult();
explicit CreateUserResult(const std::string &payload);
~CreateUserResult();
User getUser()const;
protected:
void parse(const std::string &payload);
private:
User user_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_CREATEUSERRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_CREATEVIRTUALMFADEVICEREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_CREATEVIRTUALMFADEVICEREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT CreateVirtualMFADeviceRequest : public RpcServiceRequest {
public:
CreateVirtualMFADeviceRequest();
~CreateVirtualMFADeviceRequest();
std::string getVirtualMFADeviceName() const;
void setVirtualMFADeviceName(const std::string &virtualMFADeviceName);
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
private:
std::string virtualMFADeviceName_;
std::string akProxySuffix_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_CREATEVIRTUALMFADEVICEREQUEST_H_

View File

@@ -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_IMS_MODEL_CREATEVIRTUALMFADEVICERESULT_H_
#define ALIBABACLOUD_IMS_MODEL_CREATEVIRTUALMFADEVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT CreateVirtualMFADeviceResult : public ServiceResult
{
public:
struct VirtualMFADevice
{
std::string serialNumber;
std::string qRCodePNG;
std::string base32StringSeed;
};
CreateVirtualMFADeviceResult();
explicit CreateVirtualMFADeviceResult(const std::string &payload);
~CreateVirtualMFADeviceResult();
VirtualMFADevice getVirtualMFADevice()const;
protected:
void parse(const std::string &payload);
private:
VirtualMFADevice virtualMFADevice_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_CREATEVIRTUALMFADEVICERESULT_H_

View File

@@ -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_IMS_MODEL_DELETEACCESSKEYREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_DELETEACCESSKEYREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT DeleteAccessKeyRequest : public RpcServiceRequest {
public:
DeleteAccessKeyRequest();
~DeleteAccessKeyRequest();
std::string getUserAccessKeyId() const;
void setUserAccessKeyId(const std::string &userAccessKeyId);
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getUserPrincipalName() const;
void setUserPrincipalName(const std::string &userPrincipalName);
private:
std::string userAccessKeyId_;
std::string akProxySuffix_;
std::string userPrincipalName_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_DELETEACCESSKEYREQUEST_H_

View File

@@ -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_IMS_MODEL_DELETEACCESSKEYRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_DELETEACCESSKEYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT DeleteAccessKeyResult : public ServiceResult
{
public:
DeleteAccessKeyResult();
explicit DeleteAccessKeyResult(const std::string &payload);
~DeleteAccessKeyResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_DELETEACCESSKEYRESULT_H_

View File

@@ -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_IMS_MODEL_DELETEAPPSECRETREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_DELETEAPPSECRETREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT DeleteAppSecretRequest : public RpcServiceRequest {
public:
DeleteAppSecretRequest();
~DeleteAppSecretRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getAppSecretId() const;
void setAppSecretId(const std::string &appSecretId);
std::string getAppId() const;
void setAppId(const std::string &appId);
private:
std::string akProxySuffix_;
std::string appSecretId_;
std::string appId_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_DELETEAPPSECRETREQUEST_H_

View File

@@ -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_IMS_MODEL_DELETEAPPSECRETRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_DELETEAPPSECRETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT DeleteAppSecretResult : public ServiceResult
{
public:
DeleteAppSecretResult();
explicit DeleteAppSecretResult(const std::string &payload);
~DeleteAppSecretResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_DELETEAPPSECRETRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_DELETEAPPLICATIONREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_DELETEAPPLICATIONREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT DeleteApplicationRequest : public RpcServiceRequest {
public:
DeleteApplicationRequest();
~DeleteApplicationRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getAppId() const;
void setAppId(const std::string &appId);
private:
std::string akProxySuffix_;
std::string appId_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_DELETEAPPLICATIONREQUEST_H_

View File

@@ -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_IMS_MODEL_DELETEAPPLICATIONRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_DELETEAPPLICATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT DeleteApplicationResult : public ServiceResult
{
public:
DeleteApplicationResult();
explicit DeleteApplicationResult(const std::string &payload);
~DeleteApplicationResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_DELETEAPPLICATIONRESULT_H_

View File

@@ -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_IMS_MODEL_DELETEGROUPREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_DELETEGROUPREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT DeleteGroupRequest : public RpcServiceRequest {
public:
DeleteGroupRequest();
~DeleteGroupRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getGroupName() const;
void setGroupName(const std::string &groupName);
std::string getGroupPrincipalName() const;
void setGroupPrincipalName(const std::string &groupPrincipalName);
private:
std::string akProxySuffix_;
std::string groupName_;
std::string groupPrincipalName_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_DELETEGROUPREQUEST_H_

View File

@@ -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_IMS_MODEL_DELETEGROUPRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_DELETEGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT DeleteGroupResult : public ServiceResult
{
public:
DeleteGroupResult();
explicit DeleteGroupResult(const std::string &payload);
~DeleteGroupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_DELETEGROUPRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_DELETELOGINPROFILEREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_DELETELOGINPROFILEREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT DeleteLoginProfileRequest : public RpcServiceRequest {
public:
DeleteLoginProfileRequest();
~DeleteLoginProfileRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getUserPrincipalName() const;
void setUserPrincipalName(const std::string &userPrincipalName);
private:
std::string akProxySuffix_;
std::string userPrincipalName_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_DELETELOGINPROFILEREQUEST_H_

View File

@@ -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_IMS_MODEL_DELETELOGINPROFILERESULT_H_
#define ALIBABACLOUD_IMS_MODEL_DELETELOGINPROFILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT DeleteLoginProfileResult : public ServiceResult
{
public:
DeleteLoginProfileResult();
explicit DeleteLoginProfileResult(const std::string &payload);
~DeleteLoginProfileResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_DELETELOGINPROFILERESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_DELETEOIDCPROVIDERREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_DELETEOIDCPROVIDERREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT DeleteOIDCProviderRequest : public RpcServiceRequest {
public:
DeleteOIDCProviderRequest();
~DeleteOIDCProviderRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getOIDCProviderName() const;
void setOIDCProviderName(const std::string &oIDCProviderName);
private:
std::string akProxySuffix_;
std::string oIDCProviderName_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_DELETEOIDCPROVIDERREQUEST_H_

View File

@@ -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_IMS_MODEL_DELETEOIDCPROVIDERRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_DELETEOIDCPROVIDERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT DeleteOIDCProviderResult : public ServiceResult
{
public:
DeleteOIDCProviderResult();
explicit DeleteOIDCProviderResult(const std::string &payload);
~DeleteOIDCProviderResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_DELETEOIDCPROVIDERRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_DELETESAMLPROVIDERREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_DELETESAMLPROVIDERREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT DeleteSAMLProviderRequest : public RpcServiceRequest {
public:
DeleteSAMLProviderRequest();
~DeleteSAMLProviderRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getSAMLProviderName() const;
void setSAMLProviderName(const std::string &sAMLProviderName);
private:
std::string akProxySuffix_;
std::string sAMLProviderName_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_DELETESAMLPROVIDERREQUEST_H_

View File

@@ -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_IMS_MODEL_DELETESAMLPROVIDERRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_DELETESAMLPROVIDERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT DeleteSAMLProviderResult : public ServiceResult
{
public:
DeleteSAMLProviderResult();
explicit DeleteSAMLProviderResult(const std::string &payload);
~DeleteSAMLProviderResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_DELETESAMLPROVIDERRESULT_H_

View File

@@ -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_IMS_MODEL_DELETEUSERREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_DELETEUSERREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT DeleteUserRequest : public RpcServiceRequest {
public:
DeleteUserRequest();
~DeleteUserRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getUserId() const;
void setUserId(const std::string &userId);
std::string getUserPrincipalName() const;
void setUserPrincipalName(const std::string &userPrincipalName);
private:
std::string akProxySuffix_;
std::string userId_;
std::string userPrincipalName_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_DELETEUSERREQUEST_H_

View File

@@ -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_IMS_MODEL_DELETEUSERRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_DELETEUSERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT DeleteUserResult : public ServiceResult
{
public:
DeleteUserResult();
explicit DeleteUserResult(const std::string &payload);
~DeleteUserResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_DELETEUSERRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_DELETEVIRTUALMFADEVICEREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_DELETEVIRTUALMFADEVICEREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT DeleteVirtualMFADeviceRequest : public RpcServiceRequest {
public:
DeleteVirtualMFADeviceRequest();
~DeleteVirtualMFADeviceRequest();
std::string getSerialNumber() const;
void setSerialNumber(const std::string &serialNumber);
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
private:
std::string serialNumber_;
std::string akProxySuffix_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_DELETEVIRTUALMFADEVICEREQUEST_H_

View File

@@ -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_IMS_MODEL_DELETEVIRTUALMFADEVICERESULT_H_
#define ALIBABACLOUD_IMS_MODEL_DELETEVIRTUALMFADEVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT DeleteVirtualMFADeviceResult : public ServiceResult
{
public:
DeleteVirtualMFADeviceResult();
explicit DeleteVirtualMFADeviceResult(const std::string &payload);
~DeleteVirtualMFADeviceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_DELETEVIRTUALMFADEVICERESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_DISABLEVIRTUALMFAREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_DISABLEVIRTUALMFAREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT DisableVirtualMFARequest : public RpcServiceRequest {
public:
DisableVirtualMFARequest();
~DisableVirtualMFARequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getUserPrincipalName() const;
void setUserPrincipalName(const std::string &userPrincipalName);
private:
std::string akProxySuffix_;
std::string userPrincipalName_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_DISABLEVIRTUALMFAREQUEST_H_

View File

@@ -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_IMS_MODEL_DISABLEVIRTUALMFARESULT_H_
#define ALIBABACLOUD_IMS_MODEL_DISABLEVIRTUALMFARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT DisableVirtualMFAResult : public ServiceResult
{
public:
DisableVirtualMFAResult();
explicit DisableVirtualMFAResult(const std::string &payload);
~DisableVirtualMFAResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_DISABLEVIRTUALMFARESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_GENERATECREDENTIALREPORTREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_GENERATECREDENTIALREPORTREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT GenerateCredentialReportRequest : public RpcServiceRequest {
public:
GenerateCredentialReportRequest();
~GenerateCredentialReportRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
private:
std::string akProxySuffix_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_GENERATECREDENTIALREPORTREQUEST_H_

View 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_IMS_MODEL_GENERATECREDENTIALREPORTRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_GENERATECREDENTIALREPORTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT GenerateCredentialReportResult : public ServiceResult
{
public:
GenerateCredentialReportResult();
explicit GenerateCredentialReportResult(const std::string &payload);
~GenerateCredentialReportResult();
std::string getState()const;
protected:
void parse(const std::string &payload);
private:
std::string state_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_GENERATECREDENTIALREPORTRESULT_H_

View File

@@ -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_IMS_MODEL_GETACCESSKEYLASTUSEDREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_GETACCESSKEYLASTUSEDREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT GetAccessKeyLastUsedRequest : public RpcServiceRequest {
public:
GetAccessKeyLastUsedRequest();
~GetAccessKeyLastUsedRequest();
std::string getUserAccessKeyId() const;
void setUserAccessKeyId(const std::string &userAccessKeyId);
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getUserPrincipalName() const;
void setUserPrincipalName(const std::string &userPrincipalName);
private:
std::string userAccessKeyId_;
std::string akProxySuffix_;
std::string userPrincipalName_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_GETACCESSKEYLASTUSEDREQUEST_H_

View File

@@ -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_IMS_MODEL_GETACCESSKEYLASTUSEDRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_GETACCESSKEYLASTUSEDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT GetAccessKeyLastUsedResult : public ServiceResult
{
public:
struct AccessKeyLastUsed
{
std::string lastUsedDate;
std::string serviceName;
};
GetAccessKeyLastUsedResult();
explicit GetAccessKeyLastUsedResult(const std::string &payload);
~GetAccessKeyLastUsedResult();
AccessKeyLastUsed getAccessKeyLastUsed()const;
protected:
void parse(const std::string &payload);
private:
AccessKeyLastUsed accessKeyLastUsed_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_GETACCESSKEYLASTUSEDRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_GETACCOUNTMFAINFOREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_GETACCOUNTMFAINFOREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT GetAccountMFAInfoRequest : public RpcServiceRequest {
public:
GetAccountMFAInfoRequest();
~GetAccountMFAInfoRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
private:
std::string akProxySuffix_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_GETACCOUNTMFAINFOREQUEST_H_

View 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_IMS_MODEL_GETACCOUNTMFAINFORESULT_H_
#define ALIBABACLOUD_IMS_MODEL_GETACCOUNTMFAINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT GetAccountMFAInfoResult : public ServiceResult
{
public:
GetAccountMFAInfoResult();
explicit GetAccountMFAInfoResult(const std::string &payload);
~GetAccountMFAInfoResult();
bool getIsMFAEnable()const;
protected:
void parse(const std::string &payload);
private:
bool isMFAEnable_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_GETACCOUNTMFAINFORESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_GETACCOUNTSECURITYPRACTICEREPORTREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_GETACCOUNTSECURITYPRACTICEREPORTREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT GetAccountSecurityPracticeReportRequest : public RpcServiceRequest {
public:
GetAccountSecurityPracticeReportRequest();
~GetAccountSecurityPracticeReportRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
private:
std::string akProxySuffix_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_GETACCOUNTSECURITYPRACTICEREPORTREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_GETACCOUNTSECURITYPRACTICEREPORTRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_GETACCOUNTSECURITYPRACTICEREPORTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT GetAccountSecurityPracticeReportResult : public ServiceResult
{
public:
struct AccountSecurityPracticeInfo
{
struct AccountSecurityPracticeUserInfo
{
int subUser;
int subUserBindMfa;
int subUserWithUnusedAccessKey;
int rootWithAccessKey;
int subUserWithOldAccessKey;
std::string subUserPwdLevel;
int unusedAkNum;
int oldAkNum;
bool bindMfa;
};
int score;
AccountSecurityPracticeUserInfo accountSecurityPracticeUserInfo;
};
GetAccountSecurityPracticeReportResult();
explicit GetAccountSecurityPracticeReportResult(const std::string &payload);
~GetAccountSecurityPracticeReportResult();
AccountSecurityPracticeInfo getAccountSecurityPracticeInfo()const;
protected:
void parse(const std::string &payload);
private:
AccountSecurityPracticeInfo accountSecurityPracticeInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_GETACCOUNTSECURITYPRACTICEREPORTRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_GETACCOUNTSUMMARYREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_GETACCOUNTSUMMARYREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT GetAccountSummaryRequest : public RpcServiceRequest {
public:
GetAccountSummaryRequest();
~GetAccountSummaryRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
private:
std::string akProxySuffix_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_GETACCOUNTSUMMARYREQUEST_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_GETACCOUNTSUMMARYRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_GETACCOUNTSUMMARYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT GetAccountSummaryResult : public ServiceResult
{
public:
struct SummaryMap
{
int policies;
int groupsPerUserQuota;
int attachedPoliciesPerUserQuota;
int roles;
int rolesQuota;
int users;
int policiesQuota;
int virtualMFADevicesQuota;
int attachedSystemPoliciesPerGroupQuota;
int mFADevicesInUse;
int accessKeysPerUserQuota;
int attachedPoliciesPerGroupQuota;
int policySizeQuota;
int versionsPerPolicyQuota;
int attachedSystemPoliciesPerUserQuota;
int groups;
int attachedPoliciesPerRoleQuota;
int usersQuota;
int attachedSystemPoliciesPerRoleQuota;
int mFADevices;
int groupsQuota;
};
GetAccountSummaryResult();
explicit GetAccountSummaryResult(const std::string &payload);
~GetAccountSummaryResult();
SummaryMap getSummaryMap()const;
protected:
void parse(const std::string &payload);
private:
SummaryMap summaryMap_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_GETACCOUNTSUMMARYRESULT_H_

View File

@@ -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_IMS_MODEL_GETAPPSECRETREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_GETAPPSECRETREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT GetAppSecretRequest : public RpcServiceRequest {
public:
GetAppSecretRequest();
~GetAppSecretRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getAppSecretId() const;
void setAppSecretId(const std::string &appSecretId);
std::string getAppId() const;
void setAppId(const std::string &appId);
private:
std::string akProxySuffix_;
std::string appSecretId_;
std::string appId_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_GETAPPSECRETREQUEST_H_

View File

@@ -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_IMS_MODEL_GETAPPSECRETRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_GETAPPSECRETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT GetAppSecretResult : public ServiceResult
{
public:
struct AppSecret
{
std::string appId;
std::string appSecretValue;
std::string appSecretId;
std::string createDate;
};
GetAppSecretResult();
explicit GetAppSecretResult(const std::string &payload);
~GetAppSecretResult();
AppSecret getAppSecret()const;
protected:
void parse(const std::string &payload);
private:
AppSecret appSecret_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_GETAPPSECRETRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_GETAPPLICATIONREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_GETAPPLICATIONREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT GetApplicationRequest : public RpcServiceRequest {
public:
GetApplicationRequest();
~GetApplicationRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getAppId() const;
void setAppId(const std::string &appId);
private:
std::string akProxySuffix_;
std::string appId_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_GETAPPLICATIONREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMS_MODEL_GETAPPLICATIONRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_GETAPPLICATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT GetApplicationResult : public ServiceResult
{
public:
struct Application
{
struct DelegatedScope
{
struct PredefinedScope
{
std::string description;
bool required;
std::string name;
};
std::vector<PredefinedScope> predefinedScopes;
};
std::string accountId;
bool secretRequired;
bool isMultiTenant;
std::string createDate;
std::string appName;
DelegatedScope delegatedScope;
std::string updateDate;
std::string tenantId;
std::string appId;
std::string displayName;
int accessTokenValidity;
std::string appPrincipalName;
std::vector<std::string> redirectUris;
int refreshTokenValidity;
std::string appType;
};
GetApplicationResult();
explicit GetApplicationResult(const std::string &payload);
~GetApplicationResult();
Application getApplication()const;
protected:
void parse(const std::string &payload);
private:
Application application_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_GETAPPLICATIONRESULT_H_

View File

@@ -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_IMS_MODEL_GETCREDENTIALREPORTREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_GETCREDENTIALREPORTREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT GetCredentialReportRequest : public RpcServiceRequest {
public:
GetCredentialReportRequest();
~GetCredentialReportRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::string getMaxItems() const;
void setMaxItems(const std::string &maxItems);
private:
std::string akProxySuffix_;
std::string nextToken_;
std::string maxItems_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_GETCREDENTIALREPORTREQUEST_H_

View File

@@ -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_IMS_MODEL_GETCREDENTIALREPORTRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_GETCREDENTIALREPORTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT GetCredentialReportResult : public ServiceResult
{
public:
GetCredentialReportResult();
explicit GetCredentialReportResult(const std::string &payload);
~GetCredentialReportResult();
std::string getGeneratedTime()const;
std::string getNextToken()const;
std::string getContent()const;
std::string getIsTruncated()const;
protected:
void parse(const std::string &payload);
private:
std::string generatedTime_;
std::string nextToken_;
std::string content_;
std::string isTruncated_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_GETCREDENTIALREPORTRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_IMS_MODEL_GETDEFAULTDOMAINREQUEST_H_
#define ALIBABACLOUD_IMS_MODEL_GETDEFAULTDOMAINREQUEST_H_
#include <alibabacloud/ims/ImsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ims {
namespace Model {
class ALIBABACLOUD_IMS_EXPORT GetDefaultDomainRequest : public RpcServiceRequest {
public:
GetDefaultDomainRequest();
~GetDefaultDomainRequest();
std::string getAkProxySuffix() const;
void setAkProxySuffix(const std::string &akProxySuffix);
private:
std::string akProxySuffix_;
};
} // namespace Model
} // namespace Ims
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMS_MODEL_GETDEFAULTDOMAINREQUEST_H_

View 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_IMS_MODEL_GETDEFAULTDOMAINRESULT_H_
#define ALIBABACLOUD_IMS_MODEL_GETDEFAULTDOMAINRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ims/ImsExport.h>
namespace AlibabaCloud
{
namespace Ims
{
namespace Model
{
class ALIBABACLOUD_IMS_EXPORT GetDefaultDomainResult : public ServiceResult
{
public:
GetDefaultDomainResult();
explicit GetDefaultDomainResult(const std::string &payload);
~GetDefaultDomainResult();
std::string getDefaultDomainName()const;
protected:
void parse(const std::string &payload);
private:
std::string defaultDomainName_;
};
}
}
}
#endif // !ALIBABACLOUD_IMS_MODEL_GETDEFAULTDOMAINRESULT_H_

Some files were not shown because too many files have changed in this diff Show More