CR SDK Auto Released By shenshi,Version:1.34.24

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2019-03-14 16:22:34 +08:00
parent 6da61cc993
commit 1da6c4aa18
263 changed files with 16603 additions and 2 deletions

2357
cr/src/CrClient.cc Normal file

File diff suppressed because it is too large Load Diff

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.
*/
#include <alibabacloud/cr/model/CancelRepoBuildRequest.h>
using AlibabaCloud::Cr::Model::CancelRepoBuildRequest;
CancelRepoBuildRequest::CancelRepoBuildRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
CancelRepoBuildRequest::~CancelRepoBuildRequest()
{}
std::string CancelRepoBuildRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void CancelRepoBuildRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string CancelRepoBuildRequest::getRepoName()const
{
return repoName_;
}
void CancelRepoBuildRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string CancelRepoBuildRequest::getRegionId()const
{
return regionId_;
}
void CancelRepoBuildRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string CancelRepoBuildRequest::getBuildId()const
{
return buildId_;
}
void CancelRepoBuildRequest::setBuildId(const std::string& buildId)
{
buildId_ = buildId;
setParameter("BuildId", buildId);
}

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/cr/model/CancelRepoBuildResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
CancelRepoBuildResult::CancelRepoBuildResult() :
ServiceResult()
{}
CancelRepoBuildResult::CancelRepoBuildResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CancelRepoBuildResult::~CancelRepoBuildResult()
{}
void CancelRepoBuildResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/cr/model/CreateCollectionRequest.h>
using AlibabaCloud::Cr::Model::CreateCollectionRequest;
CreateCollectionRequest::CreateCollectionRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
CreateCollectionRequest::~CreateCollectionRequest()
{}
std::string CreateCollectionRequest::getRegionId()const
{
return regionId_;
}
void CreateCollectionRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/CreateCollectionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
CreateCollectionResult::CreateCollectionResult() :
ServiceResult()
{}
CreateCollectionResult::CreateCollectionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateCollectionResult::~CreateCollectionResult()
{}
void CreateCollectionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/CreateNamespaceAuthorizationRequest.h>
using AlibabaCloud::Cr::Model::CreateNamespaceAuthorizationRequest;
CreateNamespaceAuthorizationRequest::CreateNamespaceAuthorizationRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
CreateNamespaceAuthorizationRequest::~CreateNamespaceAuthorizationRequest()
{}
std::string CreateNamespaceAuthorizationRequest::getRegionId()const
{
return regionId_;
}
void CreateNamespaceAuthorizationRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string CreateNamespaceAuthorizationRequest::get_Namespace()const
{
return _namespace_;
}
void CreateNamespaceAuthorizationRequest::set_Namespace(const std::string& _namespace)
{
_namespace_ = _namespace;
setParameter("_Namespace", _namespace);
}

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/cr/model/CreateNamespaceAuthorizationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
CreateNamespaceAuthorizationResult::CreateNamespaceAuthorizationResult() :
ServiceResult()
{}
CreateNamespaceAuthorizationResult::CreateNamespaceAuthorizationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateNamespaceAuthorizationResult::~CreateNamespaceAuthorizationResult()
{}
void CreateNamespaceAuthorizationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/cr/model/CreateNamespaceRequest.h>
using AlibabaCloud::Cr::Model::CreateNamespaceRequest;
CreateNamespaceRequest::CreateNamespaceRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
CreateNamespaceRequest::~CreateNamespaceRequest()
{}
std::string CreateNamespaceRequest::getRegionId()const
{
return regionId_;
}
void CreateNamespaceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/CreateNamespaceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
CreateNamespaceResult::CreateNamespaceResult() :
ServiceResult()
{}
CreateNamespaceResult::CreateNamespaceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateNamespaceResult::~CreateNamespaceResult()
{}
void CreateNamespaceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/CreateRepoAuthorizationRequest.h>
using AlibabaCloud::Cr::Model::CreateRepoAuthorizationRequest;
CreateRepoAuthorizationRequest::CreateRepoAuthorizationRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
CreateRepoAuthorizationRequest::~CreateRepoAuthorizationRequest()
{}
std::string CreateRepoAuthorizationRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void CreateRepoAuthorizationRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string CreateRepoAuthorizationRequest::getRepoName()const
{
return repoName_;
}
void CreateRepoAuthorizationRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string CreateRepoAuthorizationRequest::getRegionId()const
{
return regionId_;
}
void CreateRepoAuthorizationRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/CreateRepoAuthorizationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
CreateRepoAuthorizationResult::CreateRepoAuthorizationResult() :
ServiceResult()
{}
CreateRepoAuthorizationResult::CreateRepoAuthorizationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateRepoAuthorizationResult::~CreateRepoAuthorizationResult()
{}
void CreateRepoAuthorizationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/CreateRepoBuildRuleRequest.h>
using AlibabaCloud::Cr::Model::CreateRepoBuildRuleRequest;
CreateRepoBuildRuleRequest::CreateRepoBuildRuleRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
CreateRepoBuildRuleRequest::~CreateRepoBuildRuleRequest()
{}
std::string CreateRepoBuildRuleRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void CreateRepoBuildRuleRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string CreateRepoBuildRuleRequest::getRepoName()const
{
return repoName_;
}
void CreateRepoBuildRuleRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string CreateRepoBuildRuleRequest::getRegionId()const
{
return regionId_;
}
void CreateRepoBuildRuleRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/CreateRepoBuildRuleResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
CreateRepoBuildRuleResult::CreateRepoBuildRuleResult() :
ServiceResult()
{}
CreateRepoBuildRuleResult::CreateRepoBuildRuleResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateRepoBuildRuleResult::~CreateRepoBuildRuleResult()
{}
void CreateRepoBuildRuleResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/cr/model/CreateRepoRequest.h>
using AlibabaCloud::Cr::Model::CreateRepoRequest;
CreateRepoRequest::CreateRepoRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
CreateRepoRequest::~CreateRepoRequest()
{}
std::string CreateRepoRequest::getRegionId()const
{
return regionId_;
}
void CreateRepoRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/CreateRepoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
CreateRepoResult::CreateRepoResult() :
ServiceResult()
{}
CreateRepoResult::CreateRepoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateRepoResult::~CreateRepoResult()
{}
void CreateRepoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/CreateRepoSyncTaskRequest.h>
using AlibabaCloud::Cr::Model::CreateRepoSyncTaskRequest;
CreateRepoSyncTaskRequest::CreateRepoSyncTaskRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
CreateRepoSyncTaskRequest::~CreateRepoSyncTaskRequest()
{}
std::string CreateRepoSyncTaskRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void CreateRepoSyncTaskRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string CreateRepoSyncTaskRequest::getRepoName()const
{
return repoName_;
}
void CreateRepoSyncTaskRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string CreateRepoSyncTaskRequest::getRegionId()const
{
return regionId_;
}
void CreateRepoSyncTaskRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/CreateRepoSyncTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
CreateRepoSyncTaskResult::CreateRepoSyncTaskResult() :
ServiceResult()
{}
CreateRepoSyncTaskResult::CreateRepoSyncTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateRepoSyncTaskResult::~CreateRepoSyncTaskResult()
{}
void CreateRepoSyncTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/CreateRepoWebhookRequest.h>
using AlibabaCloud::Cr::Model::CreateRepoWebhookRequest;
CreateRepoWebhookRequest::CreateRepoWebhookRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
CreateRepoWebhookRequest::~CreateRepoWebhookRequest()
{}
std::string CreateRepoWebhookRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void CreateRepoWebhookRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string CreateRepoWebhookRequest::getRepoName()const
{
return repoName_;
}
void CreateRepoWebhookRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string CreateRepoWebhookRequest::getRegionId()const
{
return regionId_;
}
void CreateRepoWebhookRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/CreateRepoWebhookResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
CreateRepoWebhookResult::CreateRepoWebhookResult() :
ServiceResult()
{}
CreateRepoWebhookResult::CreateRepoWebhookResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateRepoWebhookResult::~CreateRepoWebhookResult()
{}
void CreateRepoWebhookResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/cr/model/CreateUserInfoRequest.h>
using AlibabaCloud::Cr::Model::CreateUserInfoRequest;
CreateUserInfoRequest::CreateUserInfoRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
CreateUserInfoRequest::~CreateUserInfoRequest()
{}
std::string CreateUserInfoRequest::getRegionId()const
{
return regionId_;
}
void CreateUserInfoRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/CreateUserInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
CreateUserInfoResult::CreateUserInfoResult() :
ServiceResult()
{}
CreateUserInfoResult::CreateUserInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateUserInfoResult::~CreateUserInfoResult()
{}
void CreateUserInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/cr/model/CreateUserSourceAccountRequest.h>
using AlibabaCloud::Cr::Model::CreateUserSourceAccountRequest;
CreateUserSourceAccountRequest::CreateUserSourceAccountRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
CreateUserSourceAccountRequest::~CreateUserSourceAccountRequest()
{}
std::string CreateUserSourceAccountRequest::getRegionId()const
{
return regionId_;
}
void CreateUserSourceAccountRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/CreateUserSourceAccountResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
CreateUserSourceAccountResult::CreateUserSourceAccountResult() :
ServiceResult()
{}
CreateUserSourceAccountResult::CreateUserSourceAccountResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateUserSourceAccountResult::~CreateUserSourceAccountResult()
{}
void CreateUserSourceAccountResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/DeleteCollectionRequest.h>
using AlibabaCloud::Cr::Model::DeleteCollectionRequest;
DeleteCollectionRequest::DeleteCollectionRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
DeleteCollectionRequest::~DeleteCollectionRequest()
{}
std::string DeleteCollectionRequest::getRegionId()const
{
return regionId_;
}
void DeleteCollectionRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
long DeleteCollectionRequest::getCollectionId()const
{
return collectionId_;
}
void DeleteCollectionRequest::setCollectionId(long collectionId)
{
collectionId_ = collectionId;
setParameter("CollectionId", std::to_string(collectionId));
}

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/cr/model/DeleteCollectionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
DeleteCollectionResult::DeleteCollectionResult() :
ServiceResult()
{}
DeleteCollectionResult::DeleteCollectionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteCollectionResult::~DeleteCollectionResult()
{}
void DeleteCollectionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/DeleteImageRequest.h>
using AlibabaCloud::Cr::Model::DeleteImageRequest;
DeleteImageRequest::DeleteImageRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
DeleteImageRequest::~DeleteImageRequest()
{}
std::string DeleteImageRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void DeleteImageRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string DeleteImageRequest::getRepoName()const
{
return repoName_;
}
void DeleteImageRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string DeleteImageRequest::getRegionId()const
{
return regionId_;
}
void DeleteImageRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DeleteImageRequest::getTag()const
{
return tag_;
}
void DeleteImageRequest::setTag(const std::string& tag)
{
tag_ = tag;
setParameter("Tag", tag);
}

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/cr/model/DeleteImageResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
DeleteImageResult::DeleteImageResult() :
ServiceResult()
{}
DeleteImageResult::DeleteImageResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteImageResult::~DeleteImageResult()
{}
void DeleteImageResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/DeleteNamespaceAuthorizationRequest.h>
using AlibabaCloud::Cr::Model::DeleteNamespaceAuthorizationRequest;
DeleteNamespaceAuthorizationRequest::DeleteNamespaceAuthorizationRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
DeleteNamespaceAuthorizationRequest::~DeleteNamespaceAuthorizationRequest()
{}
std::string DeleteNamespaceAuthorizationRequest::getRegionId()const
{
return regionId_;
}
void DeleteNamespaceAuthorizationRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
long DeleteNamespaceAuthorizationRequest::getAuthorizeId()const
{
return authorizeId_;
}
void DeleteNamespaceAuthorizationRequest::setAuthorizeId(long authorizeId)
{
authorizeId_ = authorizeId;
setParameter("AuthorizeId", std::to_string(authorizeId));
}
std::string DeleteNamespaceAuthorizationRequest::get_Namespace()const
{
return _namespace_;
}
void DeleteNamespaceAuthorizationRequest::set_Namespace(const std::string& _namespace)
{
_namespace_ = _namespace;
setParameter("_Namespace", _namespace);
}

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/cr/model/DeleteNamespaceAuthorizationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
DeleteNamespaceAuthorizationResult::DeleteNamespaceAuthorizationResult() :
ServiceResult()
{}
DeleteNamespaceAuthorizationResult::DeleteNamespaceAuthorizationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteNamespaceAuthorizationResult::~DeleteNamespaceAuthorizationResult()
{}
void DeleteNamespaceAuthorizationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/DeleteNamespaceRequest.h>
using AlibabaCloud::Cr::Model::DeleteNamespaceRequest;
DeleteNamespaceRequest::DeleteNamespaceRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
DeleteNamespaceRequest::~DeleteNamespaceRequest()
{}
std::string DeleteNamespaceRequest::getRegionId()const
{
return regionId_;
}
void DeleteNamespaceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string DeleteNamespaceRequest::get_Namespace()const
{
return _namespace_;
}
void DeleteNamespaceRequest::set_Namespace(const std::string& _namespace)
{
_namespace_ = _namespace;
setParameter("_Namespace", _namespace);
}

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/cr/model/DeleteNamespaceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
DeleteNamespaceResult::DeleteNamespaceResult() :
ServiceResult()
{}
DeleteNamespaceResult::DeleteNamespaceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteNamespaceResult::~DeleteNamespaceResult()
{}
void DeleteNamespaceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/DeleteRepoAuthorizationRequest.h>
using AlibabaCloud::Cr::Model::DeleteRepoAuthorizationRequest;
DeleteRepoAuthorizationRequest::DeleteRepoAuthorizationRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
DeleteRepoAuthorizationRequest::~DeleteRepoAuthorizationRequest()
{}
std::string DeleteRepoAuthorizationRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void DeleteRepoAuthorizationRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string DeleteRepoAuthorizationRequest::getRepoName()const
{
return repoName_;
}
void DeleteRepoAuthorizationRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string DeleteRepoAuthorizationRequest::getRegionId()const
{
return regionId_;
}
void DeleteRepoAuthorizationRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
long DeleteRepoAuthorizationRequest::getAuthorizeId()const
{
return authorizeId_;
}
void DeleteRepoAuthorizationRequest::setAuthorizeId(long authorizeId)
{
authorizeId_ = authorizeId;
setParameter("AuthorizeId", std::to_string(authorizeId));
}

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/cr/model/DeleteRepoAuthorizationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
DeleteRepoAuthorizationResult::DeleteRepoAuthorizationResult() :
ServiceResult()
{}
DeleteRepoAuthorizationResult::DeleteRepoAuthorizationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteRepoAuthorizationResult::~DeleteRepoAuthorizationResult()
{}
void DeleteRepoAuthorizationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/DeleteRepoBuildRuleRequest.h>
using AlibabaCloud::Cr::Model::DeleteRepoBuildRuleRequest;
DeleteRepoBuildRuleRequest::DeleteRepoBuildRuleRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
DeleteRepoBuildRuleRequest::~DeleteRepoBuildRuleRequest()
{}
std::string DeleteRepoBuildRuleRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void DeleteRepoBuildRuleRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string DeleteRepoBuildRuleRequest::getRepoName()const
{
return repoName_;
}
void DeleteRepoBuildRuleRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string DeleteRepoBuildRuleRequest::getRegionId()const
{
return regionId_;
}
void DeleteRepoBuildRuleRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
long DeleteRepoBuildRuleRequest::getBuildRuleId()const
{
return buildRuleId_;
}
void DeleteRepoBuildRuleRequest::setBuildRuleId(long buildRuleId)
{
buildRuleId_ = buildRuleId;
setParameter("BuildRuleId", std::to_string(buildRuleId));
}

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/cr/model/DeleteRepoBuildRuleResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
DeleteRepoBuildRuleResult::DeleteRepoBuildRuleResult() :
ServiceResult()
{}
DeleteRepoBuildRuleResult::DeleteRepoBuildRuleResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteRepoBuildRuleResult::~DeleteRepoBuildRuleResult()
{}
void DeleteRepoBuildRuleResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/DeleteRepoRequest.h>
using AlibabaCloud::Cr::Model::DeleteRepoRequest;
DeleteRepoRequest::DeleteRepoRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
DeleteRepoRequest::~DeleteRepoRequest()
{}
std::string DeleteRepoRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void DeleteRepoRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string DeleteRepoRequest::getRepoName()const
{
return repoName_;
}
void DeleteRepoRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string DeleteRepoRequest::getRegionId()const
{
return regionId_;
}
void DeleteRepoRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/DeleteRepoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
DeleteRepoResult::DeleteRepoResult() :
ServiceResult()
{}
DeleteRepoResult::DeleteRepoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteRepoResult::~DeleteRepoResult()
{}
void DeleteRepoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/DeleteRepoWebhookRequest.h>
using AlibabaCloud::Cr::Model::DeleteRepoWebhookRequest;
DeleteRepoWebhookRequest::DeleteRepoWebhookRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
DeleteRepoWebhookRequest::~DeleteRepoWebhookRequest()
{}
std::string DeleteRepoWebhookRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void DeleteRepoWebhookRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
long DeleteRepoWebhookRequest::getWebhookId()const
{
return webhookId_;
}
void DeleteRepoWebhookRequest::setWebhookId(long webhookId)
{
webhookId_ = webhookId;
setParameter("WebhookId", std::to_string(webhookId));
}
std::string DeleteRepoWebhookRequest::getRepoName()const
{
return repoName_;
}
void DeleteRepoWebhookRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string DeleteRepoWebhookRequest::getRegionId()const
{
return regionId_;
}
void DeleteRepoWebhookRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/DeleteRepoWebhookResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
DeleteRepoWebhookResult::DeleteRepoWebhookResult() :
ServiceResult()
{}
DeleteRepoWebhookResult::DeleteRepoWebhookResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteRepoWebhookResult::~DeleteRepoWebhookResult()
{}
void DeleteRepoWebhookResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/DeleteUserSourceAccountRequest.h>
using AlibabaCloud::Cr::Model::DeleteUserSourceAccountRequest;
DeleteUserSourceAccountRequest::DeleteUserSourceAccountRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
DeleteUserSourceAccountRequest::~DeleteUserSourceAccountRequest()
{}
long DeleteUserSourceAccountRequest::getSourceAccountId()const
{
return sourceAccountId_;
}
void DeleteUserSourceAccountRequest::setSourceAccountId(long sourceAccountId)
{
sourceAccountId_ = sourceAccountId;
setParameter("SourceAccountId", std::to_string(sourceAccountId));
}
std::string DeleteUserSourceAccountRequest::getRegionId()const
{
return regionId_;
}
void DeleteUserSourceAccountRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/DeleteUserSourceAccountResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
DeleteUserSourceAccountResult::DeleteUserSourceAccountResult() :
ServiceResult()
{}
DeleteUserSourceAccountResult::DeleteUserSourceAccountResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteUserSourceAccountResult::~DeleteUserSourceAccountResult()
{}
void DeleteUserSourceAccountResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/cr/model/GetAuthorizationTokenRequest.h>
using AlibabaCloud::Cr::Model::GetAuthorizationTokenRequest;
GetAuthorizationTokenRequest::GetAuthorizationTokenRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetAuthorizationTokenRequest::~GetAuthorizationTokenRequest()
{}
std::string GetAuthorizationTokenRequest::getRegionId()const
{
return regionId_;
}
void GetAuthorizationTokenRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/GetAuthorizationTokenResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetAuthorizationTokenResult::GetAuthorizationTokenResult() :
ServiceResult()
{}
GetAuthorizationTokenResult::GetAuthorizationTokenResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAuthorizationTokenResult::~GetAuthorizationTokenResult()
{}
void GetAuthorizationTokenResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetCollectionRequest.h>
using AlibabaCloud::Cr::Model::GetCollectionRequest;
GetCollectionRequest::GetCollectionRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetCollectionRequest::~GetCollectionRequest()
{}
std::string GetCollectionRequest::getRegionId()const
{
return regionId_;
}
void GetCollectionRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
int GetCollectionRequest::getPageSize()const
{
return pageSize_;
}
void GetCollectionRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int GetCollectionRequest::getPage()const
{
return page_;
}
void GetCollectionRequest::setPage(int page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}

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/cr/model/GetCollectionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetCollectionResult::GetCollectionResult() :
ServiceResult()
{}
GetCollectionResult::GetCollectionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetCollectionResult::~GetCollectionResult()
{}
void GetCollectionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetImageLayerRequest.h>
using AlibabaCloud::Cr::Model::GetImageLayerRequest;
GetImageLayerRequest::GetImageLayerRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetImageLayerRequest::~GetImageLayerRequest()
{}
std::string GetImageLayerRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetImageLayerRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string GetImageLayerRequest::getRepoName()const
{
return repoName_;
}
void GetImageLayerRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string GetImageLayerRequest::getRegionId()const
{
return regionId_;
}
void GetImageLayerRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetImageLayerRequest::getTag()const
{
return tag_;
}
void GetImageLayerRequest::setTag(const std::string& tag)
{
tag_ = tag;
setParameter("Tag", tag);
}

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/cr/model/GetImageLayerResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetImageLayerResult::GetImageLayerResult() :
ServiceResult()
{}
GetImageLayerResult::GetImageLayerResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetImageLayerResult::~GetImageLayerResult()
{}
void GetImageLayerResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,82 @@
/*
* 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/cr/model/GetImageManifestRequest.h>
using AlibabaCloud::Cr::Model::GetImageManifestRequest;
GetImageManifestRequest::GetImageManifestRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetImageManifestRequest::~GetImageManifestRequest()
{}
std::string GetImageManifestRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetImageManifestRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string GetImageManifestRequest::getRepoName()const
{
return repoName_;
}
void GetImageManifestRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string GetImageManifestRequest::getRegionId()const
{
return regionId_;
}
void GetImageManifestRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetImageManifestRequest::getTag()const
{
return tag_;
}
void GetImageManifestRequest::setTag(const std::string& tag)
{
tag_ = tag;
setParameter("Tag", tag);
}
int GetImageManifestRequest::getSchemaVersion()const
{
return schemaVersion_;
}
void GetImageManifestRequest::setSchemaVersion(int schemaVersion)
{
schemaVersion_ = schemaVersion;
setParameter("SchemaVersion", std::to_string(schemaVersion));
}

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/cr/model/GetImageManifestResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetImageManifestResult::GetImageManifestResult() :
ServiceResult()
{}
GetImageManifestResult::GetImageManifestResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetImageManifestResult::~GetImageManifestResult()
{}
void GetImageManifestResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetImageScanRequest.h>
using AlibabaCloud::Cr::Model::GetImageScanRequest;
GetImageScanRequest::GetImageScanRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetImageScanRequest::~GetImageScanRequest()
{}
std::string GetImageScanRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetImageScanRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string GetImageScanRequest::getRepoName()const
{
return repoName_;
}
void GetImageScanRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string GetImageScanRequest::getRegionId()const
{
return regionId_;
}
void GetImageScanRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetImageScanRequest::getTag()const
{
return tag_;
}
void GetImageScanRequest::setTag(const std::string& tag)
{
tag_ = tag;
setParameter("Tag", tag);
}

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/cr/model/GetImageScanResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetImageScanResult::GetImageScanResult() :
ServiceResult()
{}
GetImageScanResult::GetImageScanResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetImageScanResult::~GetImageScanResult()
{}
void GetImageScanResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/cr/model/GetMirrorListRequest.h>
using AlibabaCloud::Cr::Model::GetMirrorListRequest;
GetMirrorListRequest::GetMirrorListRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetMirrorListRequest::~GetMirrorListRequest()
{}
std::string GetMirrorListRequest::getRegionId()const
{
return regionId_;
}
void GetMirrorListRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/GetMirrorListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetMirrorListResult::GetMirrorListResult() :
ServiceResult()
{}
GetMirrorListResult::GetMirrorListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetMirrorListResult::~GetMirrorListResult()
{}
void GetMirrorListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetNamespaceAuthorizationListRequest.h>
using AlibabaCloud::Cr::Model::GetNamespaceAuthorizationListRequest;
GetNamespaceAuthorizationListRequest::GetNamespaceAuthorizationListRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetNamespaceAuthorizationListRequest::~GetNamespaceAuthorizationListRequest()
{}
std::string GetNamespaceAuthorizationListRequest::getRegionId()const
{
return regionId_;
}
void GetNamespaceAuthorizationListRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetNamespaceAuthorizationListRequest::get_Namespace()const
{
return _namespace_;
}
void GetNamespaceAuthorizationListRequest::set_Namespace(const std::string& _namespace)
{
_namespace_ = _namespace;
setParameter("_Namespace", _namespace);
}
std::string GetNamespaceAuthorizationListRequest::getAuthorize()const
{
return authorize_;
}
void GetNamespaceAuthorizationListRequest::setAuthorize(const std::string& authorize)
{
authorize_ = authorize;
setParameter("Authorize", authorize);
}

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/cr/model/GetNamespaceAuthorizationListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetNamespaceAuthorizationListResult::GetNamespaceAuthorizationListResult() :
ServiceResult()
{}
GetNamespaceAuthorizationListResult::GetNamespaceAuthorizationListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetNamespaceAuthorizationListResult::~GetNamespaceAuthorizationListResult()
{}
void GetNamespaceAuthorizationListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetNamespaceListRequest.h>
using AlibabaCloud::Cr::Model::GetNamespaceListRequest;
GetNamespaceListRequest::GetNamespaceListRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetNamespaceListRequest::~GetNamespaceListRequest()
{}
std::string GetNamespaceListRequest::getRegionId()const
{
return regionId_;
}
void GetNamespaceListRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetNamespaceListRequest::getAuthorize()const
{
return authorize_;
}
void GetNamespaceListRequest::setAuthorize(const std::string& authorize)
{
authorize_ = authorize;
setParameter("Authorize", authorize);
}
std::string GetNamespaceListRequest::getStatus()const
{
return status_;
}
void GetNamespaceListRequest::setStatus(const std::string& status)
{
status_ = status;
setParameter("Status", status);
}

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/cr/model/GetNamespaceListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetNamespaceListResult::GetNamespaceListResult() :
ServiceResult()
{}
GetNamespaceListResult::GetNamespaceListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetNamespaceListResult::~GetNamespaceListResult()
{}
void GetNamespaceListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetNamespaceRequest.h>
using AlibabaCloud::Cr::Model::GetNamespaceRequest;
GetNamespaceRequest::GetNamespaceRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetNamespaceRequest::~GetNamespaceRequest()
{}
std::string GetNamespaceRequest::getRegionId()const
{
return regionId_;
}
void GetNamespaceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetNamespaceRequest::get_Namespace()const
{
return _namespace_;
}
void GetNamespaceRequest::set_Namespace(const std::string& _namespace)
{
_namespace_ = _namespace;
setParameter("_Namespace", _namespace);
}

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/cr/model/GetNamespaceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetNamespaceResult::GetNamespaceResult() :
ServiceResult()
{}
GetNamespaceResult::GetNamespaceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetNamespaceResult::~GetNamespaceResult()
{}
void GetNamespaceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/cr/model/GetRegionListRequest.h>
using AlibabaCloud::Cr::Model::GetRegionListRequest;
GetRegionListRequest::GetRegionListRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRegionListRequest::~GetRegionListRequest()
{}
std::string GetRegionListRequest::getRegionId()const
{
return regionId_;
}
void GetRegionListRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/GetRegionListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRegionListResult::GetRegionListResult() :
ServiceResult()
{}
GetRegionListResult::GetRegionListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRegionListResult::~GetRegionListResult()
{}
void GetRegionListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/cr/model/GetRegionRequest.h>
using AlibabaCloud::Cr::Model::GetRegionRequest;
GetRegionRequest::GetRegionRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRegionRequest::~GetRegionRequest()
{}
std::string GetRegionRequest::getDomain()const
{
return domain_;
}
void GetRegionRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
}

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/cr/model/GetRegionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRegionResult::GetRegionResult() :
ServiceResult()
{}
GetRegionResult::GetRegionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRegionResult::~GetRegionResult()
{}
void GetRegionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetRepoAuthorizationListRequest.h>
using AlibabaCloud::Cr::Model::GetRepoAuthorizationListRequest;
GetRepoAuthorizationListRequest::GetRepoAuthorizationListRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRepoAuthorizationListRequest::~GetRepoAuthorizationListRequest()
{}
std::string GetRepoAuthorizationListRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetRepoAuthorizationListRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string GetRepoAuthorizationListRequest::getRepoName()const
{
return repoName_;
}
void GetRepoAuthorizationListRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string GetRepoAuthorizationListRequest::getRegionId()const
{
return regionId_;
}
void GetRepoAuthorizationListRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetRepoAuthorizationListRequest::getAuthorize()const
{
return authorize_;
}
void GetRepoAuthorizationListRequest::setAuthorize(const std::string& authorize)
{
authorize_ = authorize;
setParameter("Authorize", authorize);
}

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/cr/model/GetRepoAuthorizationListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRepoAuthorizationListResult::GetRepoAuthorizationListResult() :
ServiceResult()
{}
GetRepoAuthorizationListResult::GetRepoAuthorizationListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepoAuthorizationListResult::~GetRepoAuthorizationListResult()
{}
void GetRepoAuthorizationListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetRepoBatchRequest.h>
using AlibabaCloud::Cr::Model::GetRepoBatchRequest;
GetRepoBatchRequest::GetRepoBatchRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRepoBatchRequest::~GetRepoBatchRequest()
{}
std::string GetRepoBatchRequest::getRegionId()const
{
return regionId_;
}
void GetRepoBatchRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetRepoBatchRequest::getRepoIds()const
{
return repoIds_;
}
void GetRepoBatchRequest::setRepoIds(const std::string& repoIds)
{
repoIds_ = repoIds;
setParameter("RepoIds", repoIds);
}

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/cr/model/GetRepoBatchResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRepoBatchResult::GetRepoBatchResult() :
ServiceResult()
{}
GetRepoBatchResult::GetRepoBatchResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepoBatchResult::~GetRepoBatchResult()
{}
void GetRepoBatchResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,82 @@
/*
* 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/cr/model/GetRepoBuildListRequest.h>
using AlibabaCloud::Cr::Model::GetRepoBuildListRequest;
GetRepoBuildListRequest::GetRepoBuildListRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRepoBuildListRequest::~GetRepoBuildListRequest()
{}
std::string GetRepoBuildListRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetRepoBuildListRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string GetRepoBuildListRequest::getRepoName()const
{
return repoName_;
}
void GetRepoBuildListRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string GetRepoBuildListRequest::getRegionId()const
{
return regionId_;
}
void GetRepoBuildListRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
int GetRepoBuildListRequest::getPageSize()const
{
return pageSize_;
}
void GetRepoBuildListRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int GetRepoBuildListRequest::getPage()const
{
return page_;
}
void GetRepoBuildListRequest::setPage(int page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}

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/cr/model/GetRepoBuildListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRepoBuildListResult::GetRepoBuildListResult() :
ServiceResult()
{}
GetRepoBuildListResult::GetRepoBuildListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepoBuildListResult::~GetRepoBuildListResult()
{}
void GetRepoBuildListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetRepoBuildLogsRequest.h>
using AlibabaCloud::Cr::Model::GetRepoBuildLogsRequest;
GetRepoBuildLogsRequest::GetRepoBuildLogsRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRepoBuildLogsRequest::~GetRepoBuildLogsRequest()
{}
std::string GetRepoBuildLogsRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetRepoBuildLogsRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string GetRepoBuildLogsRequest::getRepoName()const
{
return repoName_;
}
void GetRepoBuildLogsRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string GetRepoBuildLogsRequest::getRegionId()const
{
return regionId_;
}
void GetRepoBuildLogsRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetRepoBuildLogsRequest::getBuildId()const
{
return buildId_;
}
void GetRepoBuildLogsRequest::setBuildId(const std::string& buildId)
{
buildId_ = buildId;
setParameter("BuildId", buildId);
}

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/cr/model/GetRepoBuildLogsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRepoBuildLogsResult::GetRepoBuildLogsResult() :
ServiceResult()
{}
GetRepoBuildLogsResult::GetRepoBuildLogsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepoBuildLogsResult::~GetRepoBuildLogsResult()
{}
void GetRepoBuildLogsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetRepoBuildRuleListRequest.h>
using AlibabaCloud::Cr::Model::GetRepoBuildRuleListRequest;
GetRepoBuildRuleListRequest::GetRepoBuildRuleListRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRepoBuildRuleListRequest::~GetRepoBuildRuleListRequest()
{}
std::string GetRepoBuildRuleListRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetRepoBuildRuleListRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string GetRepoBuildRuleListRequest::getRepoName()const
{
return repoName_;
}
void GetRepoBuildRuleListRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string GetRepoBuildRuleListRequest::getRegionId()const
{
return regionId_;
}
void GetRepoBuildRuleListRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/GetRepoBuildRuleListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRepoBuildRuleListResult::GetRepoBuildRuleListResult() :
ServiceResult()
{}
GetRepoBuildRuleListResult::GetRepoBuildRuleListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepoBuildRuleListResult::~GetRepoBuildRuleListResult()
{}
void GetRepoBuildRuleListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetRepoBuildStatusRequest.h>
using AlibabaCloud::Cr::Model::GetRepoBuildStatusRequest;
GetRepoBuildStatusRequest::GetRepoBuildStatusRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRepoBuildStatusRequest::~GetRepoBuildStatusRequest()
{}
std::string GetRepoBuildStatusRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetRepoBuildStatusRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string GetRepoBuildStatusRequest::getRepoName()const
{
return repoName_;
}
void GetRepoBuildStatusRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string GetRepoBuildStatusRequest::getRegionId()const
{
return regionId_;
}
void GetRepoBuildStatusRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetRepoBuildStatusRequest::getBuildId()const
{
return buildId_;
}
void GetRepoBuildStatusRequest::setBuildId(const std::string& buildId)
{
buildId_ = buildId;
setParameter("BuildId", buildId);
}

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/cr/model/GetRepoBuildStatusResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRepoBuildStatusResult::GetRepoBuildStatusResult() :
ServiceResult()
{}
GetRepoBuildStatusResult::GetRepoBuildStatusResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepoBuildStatusResult::~GetRepoBuildStatusResult()
{}
void GetRepoBuildStatusResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,82 @@
/*
* 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/cr/model/GetRepoListByNamespaceRequest.h>
using AlibabaCloud::Cr::Model::GetRepoListByNamespaceRequest;
GetRepoListByNamespaceRequest::GetRepoListByNamespaceRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRepoListByNamespaceRequest::~GetRepoListByNamespaceRequest()
{}
std::string GetRepoListByNamespaceRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetRepoListByNamespaceRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string GetRepoListByNamespaceRequest::getRegionId()const
{
return regionId_;
}
void GetRepoListByNamespaceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
int GetRepoListByNamespaceRequest::getPageSize()const
{
return pageSize_;
}
void GetRepoListByNamespaceRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int GetRepoListByNamespaceRequest::getPage()const
{
return page_;
}
void GetRepoListByNamespaceRequest::setPage(int page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}
std::string GetRepoListByNamespaceRequest::getStatus()const
{
return status_;
}
void GetRepoListByNamespaceRequest::setStatus(const std::string& status)
{
status_ = status;
setParameter("Status", status);
}

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/cr/model/GetRepoListByNamespaceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRepoListByNamespaceResult::GetRepoListByNamespaceResult() :
ServiceResult()
{}
GetRepoListByNamespaceResult::GetRepoListByNamespaceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepoListByNamespaceResult::~GetRepoListByNamespaceResult()
{}
void GetRepoListByNamespaceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetRepoListRequest.h>
using AlibabaCloud::Cr::Model::GetRepoListRequest;
GetRepoListRequest::GetRepoListRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRepoListRequest::~GetRepoListRequest()
{}
std::string GetRepoListRequest::getRegionId()const
{
return regionId_;
}
void GetRepoListRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
int GetRepoListRequest::getPageSize()const
{
return pageSize_;
}
void GetRepoListRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int GetRepoListRequest::getPage()const
{
return page_;
}
void GetRepoListRequest::setPage(int page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}
std::string GetRepoListRequest::getStatus()const
{
return status_;
}
void GetRepoListRequest::setStatus(const std::string& status)
{
status_ = status;
setParameter("Status", status);
}

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/cr/model/GetRepoListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRepoListResult::GetRepoListResult() :
ServiceResult()
{}
GetRepoListResult::GetRepoListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepoListResult::~GetRepoListResult()
{}
void GetRepoListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetRepoRequest.h>
using AlibabaCloud::Cr::Model::GetRepoRequest;
GetRepoRequest::GetRepoRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRepoRequest::~GetRepoRequest()
{}
std::string GetRepoRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetRepoRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string GetRepoRequest::getRepoName()const
{
return repoName_;
}
void GetRepoRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string GetRepoRequest::getRegionId()const
{
return regionId_;
}
void GetRepoRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/GetRepoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRepoResult::GetRepoResult() :
ServiceResult()
{}
GetRepoResult::GetRepoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepoResult::~GetRepoResult()
{}
void GetRepoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetRepoSourceRepoRequest.h>
using AlibabaCloud::Cr::Model::GetRepoSourceRepoRequest;
GetRepoSourceRepoRequest::GetRepoSourceRepoRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRepoSourceRepoRequest::~GetRepoSourceRepoRequest()
{}
std::string GetRepoSourceRepoRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetRepoSourceRepoRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string GetRepoSourceRepoRequest::getRepoName()const
{
return repoName_;
}
void GetRepoSourceRepoRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string GetRepoSourceRepoRequest::getRegionId()const
{
return regionId_;
}
void GetRepoSourceRepoRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/GetRepoSourceRepoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRepoSourceRepoResult::GetRepoSourceRepoResult() :
ServiceResult()
{}
GetRepoSourceRepoResult::GetRepoSourceRepoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepoSourceRepoResult::~GetRepoSourceRepoResult()
{}
void GetRepoSourceRepoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,82 @@
/*
* 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/cr/model/GetRepoSyncTaskListRequest.h>
using AlibabaCloud::Cr::Model::GetRepoSyncTaskListRequest;
GetRepoSyncTaskListRequest::GetRepoSyncTaskListRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRepoSyncTaskListRequest::~GetRepoSyncTaskListRequest()
{}
std::string GetRepoSyncTaskListRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetRepoSyncTaskListRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string GetRepoSyncTaskListRequest::getRepoName()const
{
return repoName_;
}
void GetRepoSyncTaskListRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string GetRepoSyncTaskListRequest::getRegionId()const
{
return regionId_;
}
void GetRepoSyncTaskListRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
int GetRepoSyncTaskListRequest::getPageSize()const
{
return pageSize_;
}
void GetRepoSyncTaskListRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int GetRepoSyncTaskListRequest::getPage()const
{
return page_;
}
void GetRepoSyncTaskListRequest::setPage(int page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}

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/cr/model/GetRepoSyncTaskListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRepoSyncTaskListResult::GetRepoSyncTaskListResult() :
ServiceResult()
{}
GetRepoSyncTaskListResult::GetRepoSyncTaskListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepoSyncTaskListResult::~GetRepoSyncTaskListResult()
{}
void GetRepoSyncTaskListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetRepoSyncTaskRequest.h>
using AlibabaCloud::Cr::Model::GetRepoSyncTaskRequest;
GetRepoSyncTaskRequest::GetRepoSyncTaskRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRepoSyncTaskRequest::~GetRepoSyncTaskRequest()
{}
std::string GetRepoSyncTaskRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetRepoSyncTaskRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string GetRepoSyncTaskRequest::getRepoName()const
{
return repoName_;
}
void GetRepoSyncTaskRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string GetRepoSyncTaskRequest::getSyncTaskId()const
{
return syncTaskId_;
}
void GetRepoSyncTaskRequest::setSyncTaskId(const std::string& syncTaskId)
{
syncTaskId_ = syncTaskId;
setParameter("SyncTaskId", syncTaskId);
}
std::string GetRepoSyncTaskRequest::getRegionId()const
{
return regionId_;
}
void GetRepoSyncTaskRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/GetRepoSyncTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRepoSyncTaskResult::GetRepoSyncTaskResult() :
ServiceResult()
{}
GetRepoSyncTaskResult::GetRepoSyncTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepoSyncTaskResult::~GetRepoSyncTaskResult()
{}
void GetRepoSyncTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,82 @@
/*
* 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/cr/model/GetRepoTagsRequest.h>
using AlibabaCloud::Cr::Model::GetRepoTagsRequest;
GetRepoTagsRequest::GetRepoTagsRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRepoTagsRequest::~GetRepoTagsRequest()
{}
std::string GetRepoTagsRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetRepoTagsRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string GetRepoTagsRequest::getRepoName()const
{
return repoName_;
}
void GetRepoTagsRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string GetRepoTagsRequest::getRegionId()const
{
return regionId_;
}
void GetRepoTagsRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
int GetRepoTagsRequest::getPageSize()const
{
return pageSize_;
}
void GetRepoTagsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int GetRepoTagsRequest::getPage()const
{
return page_;
}
void GetRepoTagsRequest::setPage(int page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}

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/cr/model/GetRepoTagsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRepoTagsResult::GetRepoTagsResult() :
ServiceResult()
{}
GetRepoTagsResult::GetRepoTagsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepoTagsResult::~GetRepoTagsResult()
{}
void GetRepoTagsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetRepoWebhookLogListRequest.h>
using AlibabaCloud::Cr::Model::GetRepoWebhookLogListRequest;
GetRepoWebhookLogListRequest::GetRepoWebhookLogListRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRepoWebhookLogListRequest::~GetRepoWebhookLogListRequest()
{}
std::string GetRepoWebhookLogListRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetRepoWebhookLogListRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
long GetRepoWebhookLogListRequest::getWebhookId()const
{
return webhookId_;
}
void GetRepoWebhookLogListRequest::setWebhookId(long webhookId)
{
webhookId_ = webhookId;
setParameter("WebhookId", std::to_string(webhookId));
}
std::string GetRepoWebhookLogListRequest::getRepoName()const
{
return repoName_;
}
void GetRepoWebhookLogListRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string GetRepoWebhookLogListRequest::getRegionId()const
{
return regionId_;
}
void GetRepoWebhookLogListRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/GetRepoWebhookLogListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRepoWebhookLogListResult::GetRepoWebhookLogListResult() :
ServiceResult()
{}
GetRepoWebhookLogListResult::GetRepoWebhookLogListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepoWebhookLogListResult::~GetRepoWebhookLogListResult()
{}
void GetRepoWebhookLogListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetRepoWebhookRequest.h>
using AlibabaCloud::Cr::Model::GetRepoWebhookRequest;
GetRepoWebhookRequest::GetRepoWebhookRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetRepoWebhookRequest::~GetRepoWebhookRequest()
{}
std::string GetRepoWebhookRequest::getRepoNamespace()const
{
return repoNamespace_;
}
void GetRepoWebhookRequest::setRepoNamespace(const std::string& repoNamespace)
{
repoNamespace_ = repoNamespace;
setParameter("RepoNamespace", repoNamespace);
}
std::string GetRepoWebhookRequest::getRepoName()const
{
return repoName_;
}
void GetRepoWebhookRequest::setRepoName(const std::string& repoName)
{
repoName_ = repoName;
setParameter("RepoName", repoName);
}
std::string GetRepoWebhookRequest::getRegionId()const
{
return regionId_;
}
void GetRepoWebhookRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/GetRepoWebhookResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetRepoWebhookResult::GetRepoWebhookResult() :
ServiceResult()
{}
GetRepoWebhookResult::GetRepoWebhookResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetRepoWebhookResult::~GetRepoWebhookResult()
{}
void GetRepoWebhookResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,82 @@
/*
* 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/cr/model/GetSearchRequest.h>
using AlibabaCloud::Cr::Model::GetSearchRequest;
GetSearchRequest::GetSearchRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetSearchRequest::~GetSearchRequest()
{}
std::string GetSearchRequest::getRegionId()const
{
return regionId_;
}
void GetSearchRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetSearchRequest::getOrigin()const
{
return origin_;
}
void GetSearchRequest::setOrigin(const std::string& origin)
{
origin_ = origin;
setParameter("Origin", origin);
}
int GetSearchRequest::getPageSize()const
{
return pageSize_;
}
void GetSearchRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int GetSearchRequest::getPage()const
{
return page_;
}
void GetSearchRequest::setPage(int page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}
std::string GetSearchRequest::getKeyword()const
{
return keyword_;
}
void GetSearchRequest::setKeyword(const std::string& keyword)
{
keyword_ = keyword;
setParameter("Keyword", keyword);
}

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/cr/model/GetSearchResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetSearchResult::GetSearchResult() :
ServiceResult()
{}
GetSearchResult::GetSearchResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetSearchResult::~GetSearchResult()
{}
void GetSearchResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/cr/model/GetSubUserListRequest.h>
using AlibabaCloud::Cr::Model::GetSubUserListRequest;
GetSubUserListRequest::GetSubUserListRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetSubUserListRequest::~GetSubUserListRequest()
{}
std::string GetSubUserListRequest::getRegionId()const
{
return regionId_;
}
void GetSubUserListRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/GetSubUserListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetSubUserListResult::GetSubUserListResult() :
ServiceResult()
{}
GetSubUserListResult::GetSubUserListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetSubUserListResult::~GetSubUserListResult()
{}
void GetSubUserListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/cr/model/GetUserInfoRequest.h>
using AlibabaCloud::Cr::Model::GetUserInfoRequest;
GetUserInfoRequest::GetUserInfoRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetUserInfoRequest::~GetUserInfoRequest()
{}
std::string GetUserInfoRequest::getRegionId()const
{
return regionId_;
}
void GetUserInfoRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}

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/cr/model/GetUserInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Cr;
using namespace AlibabaCloud::Cr::Model;
GetUserInfoResult::GetUserInfoResult() :
ServiceResult()
{}
GetUserInfoResult::GetUserInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetUserInfoResult::~GetUserInfoResult()
{}
void GetUserInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/cr/model/GetUserSourceAccountRequest.h>
using AlibabaCloud::Cr::Model::GetUserSourceAccountRequest;
GetUserSourceAccountRequest::GetUserSourceAccountRequest() :
RoaServiceRequest("cr", "2016-06-07")
{}
GetUserSourceAccountRequest::~GetUserSourceAccountRequest()
{}
std::string GetUserSourceAccountRequest::getRegionId()const
{
return regionId_;
}
void GetUserSourceAccountRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string GetUserSourceAccountRequest::getSourceOriginType()const
{
return sourceOriginType_;
}
void GetUserSourceAccountRequest::setSourceOriginType(const std::string& sourceOriginType)
{
sourceOriginType_ = sourceOriginType;
setParameter("SourceOriginType", sourceOriginType);
}

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