regenerate code
This commit is contained in:
@@ -35,23 +35,23 @@ namespace AlibabaCloud
|
||||
AssumeRoleWithSAMLRequest();
|
||||
~AssumeRoleWithSAMLRequest();
|
||||
|
||||
std::string getSAMLAssertion()const;
|
||||
void setSAMLAssertion(const std::string& sAMLAssertion);
|
||||
std::string getRoleArn()const;
|
||||
void setRoleArn(const std::string& roleArn);
|
||||
std::string getSAMLProviderArn()const;
|
||||
void setSAMLProviderArn(const std::string& sAMLProviderArn);
|
||||
long getDurationSeconds()const;
|
||||
void setDurationSeconds(long durationSeconds);
|
||||
std::string getPolicy()const;
|
||||
void setPolicy(const std::string& policy);
|
||||
std::string getSAMLAssertion()const;
|
||||
void setSAMLAssertion(const std::string& sAMLAssertion);
|
||||
std::string getRoleArn()const;
|
||||
void setRoleArn(const std::string& roleArn);
|
||||
std::string getSAMLProviderArn()const;
|
||||
void setSAMLProviderArn(const std::string& sAMLProviderArn);
|
||||
long getDurationSeconds()const;
|
||||
void setDurationSeconds(long durationSeconds);
|
||||
std::string getPolicy()const;
|
||||
void setPolicy(const std::string& policy);
|
||||
|
||||
private:
|
||||
std::string sAMLAssertion_;
|
||||
std::string roleArn_;
|
||||
std::string sAMLProviderArn_;
|
||||
long durationSeconds_;
|
||||
std::string policy_;
|
||||
std::string sAMLAssertion_;
|
||||
std::string roleArn_;
|
||||
std::string sAMLProviderArn_;
|
||||
long durationSeconds_;
|
||||
std::string policy_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sts::Model::AssumeRoleRequest;
|
||||
|
||||
AssumeRoleRequest::AssumeRoleRequest() :
|
||||
RpcServiceRequest("sts", "2015-04-01", "AssumeRole")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AssumeRoleRequest::~AssumeRoleRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string AssumeRoleRequest::getRoleSessionName()const
|
||||
void AssumeRoleRequest::setRoleSessionName(const std::string& roleSessionName)
|
||||
{
|
||||
roleSessionName_ = roleSessionName;
|
||||
setCoreParameter("RoleSessionName", roleSessionName);
|
||||
setParameter("RoleSessionName", roleSessionName);
|
||||
}
|
||||
|
||||
std::string AssumeRoleRequest::getPolicy()const
|
||||
@@ -44,7 +46,7 @@ std::string AssumeRoleRequest::getPolicy()const
|
||||
void AssumeRoleRequest::setPolicy(const std::string& policy)
|
||||
{
|
||||
policy_ = policy;
|
||||
setCoreParameter("Policy", policy);
|
||||
setParameter("Policy", policy);
|
||||
}
|
||||
|
||||
std::string AssumeRoleRequest::getRoleArn()const
|
||||
@@ -55,7 +57,7 @@ std::string AssumeRoleRequest::getRoleArn()const
|
||||
void AssumeRoleRequest::setRoleArn(const std::string& roleArn)
|
||||
{
|
||||
roleArn_ = roleArn;
|
||||
setCoreParameter("RoleArn", roleArn);
|
||||
setParameter("RoleArn", roleArn);
|
||||
}
|
||||
|
||||
long AssumeRoleRequest::getDurationSeconds()const
|
||||
@@ -66,6 +68,6 @@ long AssumeRoleRequest::getDurationSeconds()const
|
||||
void AssumeRoleRequest::setDurationSeconds(long durationSeconds)
|
||||
{
|
||||
durationSeconds_ = durationSeconds;
|
||||
setCoreParameter("DurationSeconds", std::to_string(durationSeconds));
|
||||
setParameter("DurationSeconds", std::to_string(durationSeconds));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,63 +20,65 @@ using AlibabaCloud::Sts::Model::AssumeRoleWithSAMLRequest;
|
||||
|
||||
AssumeRoleWithSAMLRequest::AssumeRoleWithSAMLRequest() :
|
||||
RpcServiceRequest("sts", "2015-04-01", "AssumeRoleWithSAML")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AssumeRoleWithSAMLRequest::~AssumeRoleWithSAMLRequest()
|
||||
{}
|
||||
|
||||
std::string AssumeRoleWithSAMLRequest::getSAMLAssertion()const
|
||||
{
|
||||
return sAMLAssertion_;
|
||||
}
|
||||
|
||||
void AssumeRoleWithSAMLRequest::setSAMLAssertion(const std::string& sAMLAssertion)
|
||||
{
|
||||
sAMLAssertion_ = sAMLAssertion;
|
||||
setCoreParameter("SAMLAssertion", sAMLAssertion);
|
||||
}
|
||||
|
||||
std::string AssumeRoleWithSAMLRequest::getRoleArn()const
|
||||
{
|
||||
return roleArn_;
|
||||
}
|
||||
|
||||
void AssumeRoleWithSAMLRequest::setRoleArn(const std::string& roleArn)
|
||||
{
|
||||
roleArn_ = roleArn;
|
||||
setCoreParameter("RoleArn", roleArn);
|
||||
}
|
||||
|
||||
std::string AssumeRoleWithSAMLRequest::getSAMLProviderArn()const
|
||||
{
|
||||
return sAMLProviderArn_;
|
||||
}
|
||||
|
||||
void AssumeRoleWithSAMLRequest::setSAMLProviderArn(const std::string& sAMLProviderArn)
|
||||
{
|
||||
sAMLProviderArn_ = sAMLProviderArn;
|
||||
setCoreParameter("SAMLProviderArn", sAMLProviderArn);
|
||||
}
|
||||
|
||||
long AssumeRoleWithSAMLRequest::getDurationSeconds()const
|
||||
{
|
||||
return durationSeconds_;
|
||||
}
|
||||
|
||||
void AssumeRoleWithSAMLRequest::setDurationSeconds(long durationSeconds)
|
||||
{
|
||||
durationSeconds_ = durationSeconds;
|
||||
setCoreParameter("DurationSeconds", std::to_string(durationSeconds));
|
||||
}
|
||||
|
||||
std::string AssumeRoleWithSAMLRequest::getPolicy()const
|
||||
{
|
||||
return policy_;
|
||||
}
|
||||
|
||||
void AssumeRoleWithSAMLRequest::setPolicy(const std::string& policy)
|
||||
{
|
||||
policy_ = policy;
|
||||
setCoreParameter("Policy", policy);
|
||||
}
|
||||
|
||||
std::string AssumeRoleWithSAMLRequest::getSAMLAssertion()const
|
||||
{
|
||||
return sAMLAssertion_;
|
||||
}
|
||||
|
||||
void AssumeRoleWithSAMLRequest::setSAMLAssertion(const std::string& sAMLAssertion)
|
||||
{
|
||||
sAMLAssertion_ = sAMLAssertion;
|
||||
setParameter("SAMLAssertion", sAMLAssertion);
|
||||
}
|
||||
|
||||
std::string AssumeRoleWithSAMLRequest::getRoleArn()const
|
||||
{
|
||||
return roleArn_;
|
||||
}
|
||||
|
||||
void AssumeRoleWithSAMLRequest::setRoleArn(const std::string& roleArn)
|
||||
{
|
||||
roleArn_ = roleArn;
|
||||
setParameter("RoleArn", roleArn);
|
||||
}
|
||||
|
||||
std::string AssumeRoleWithSAMLRequest::getSAMLProviderArn()const
|
||||
{
|
||||
return sAMLProviderArn_;
|
||||
}
|
||||
|
||||
void AssumeRoleWithSAMLRequest::setSAMLProviderArn(const std::string& sAMLProviderArn)
|
||||
{
|
||||
sAMLProviderArn_ = sAMLProviderArn;
|
||||
setParameter("SAMLProviderArn", sAMLProviderArn);
|
||||
}
|
||||
|
||||
long AssumeRoleWithSAMLRequest::getDurationSeconds()const
|
||||
{
|
||||
return durationSeconds_;
|
||||
}
|
||||
|
||||
void AssumeRoleWithSAMLRequest::setDurationSeconds(long durationSeconds)
|
||||
{
|
||||
durationSeconds_ = durationSeconds;
|
||||
setParameter("DurationSeconds", std::to_string(durationSeconds));
|
||||
}
|
||||
|
||||
std::string AssumeRoleWithSAMLRequest::getPolicy()const
|
||||
{
|
||||
return policy_;
|
||||
}
|
||||
|
||||
void AssumeRoleWithSAMLRequest::setPolicy(const std::string& policy)
|
||||
{
|
||||
policy_ = policy;
|
||||
setParameter("Policy", policy);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Sts::Model::GetCallerIdentityRequest;
|
||||
|
||||
GetCallerIdentityRequest::GetCallerIdentityRequest() :
|
||||
RpcServiceRequest("sts", "2015-04-01", "GetCallerIdentity")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetCallerIdentityRequest::~GetCallerIdentityRequest()
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user