本文整理汇总了C++中aws::http::URI::SetPath方法的典型用法代码示例。如果您正苦于以下问题:C++ URI::SetPath方法的具体用法?C++ URI::SetPath怎么用?C++ URI::SetPath使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类aws::http::URI
的用法示例。
在下文中一共展示了URI::SetPath方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: UpdateDomainContactPrivacyOutcome
UpdateDomainContactPrivacyOutcome Route53DomainsClient::UpdateDomainContactPrivacy(const UpdateDomainContactPrivacyRequest& request) const
{
Aws::StringStream ss;
Aws::Http::URI uri = m_uri;
ss << "/";
uri.SetPath(uri.GetPath() + ss.str());
JsonOutcome outcome = MakeRequest(uri, request, HttpMethod::HTTP_POST);
if(outcome.IsSuccess())
{
return UpdateDomainContactPrivacyOutcome(UpdateDomainContactPrivacyResult(outcome.GetResult()));
}
else
{
return UpdateDomainContactPrivacyOutcome(outcome.GetError());
}
}
示例2: ViewBillingOutcome
ViewBillingOutcome Route53DomainsClient::ViewBilling(const ViewBillingRequest& request) const
{
Aws::StringStream ss;
Aws::Http::URI uri = m_uri;
ss << "/";
uri.SetPath(uri.GetPath() + ss.str());
JsonOutcome outcome = MakeRequest(uri, request, HttpMethod::HTTP_POST);
if(outcome.IsSuccess())
{
return ViewBillingOutcome(ViewBillingResult(outcome.GetResult()));
}
else
{
return ViewBillingOutcome(outcome.GetError());
}
}
示例3: EnableDomainTransferLockOutcome
EnableDomainTransferLockOutcome Route53DomainsClient::EnableDomainTransferLock(const EnableDomainTransferLockRequest& request) const
{
Aws::StringStream ss;
Aws::Http::URI uri = m_uri;
ss << "/";
uri.SetPath(uri.GetPath() + ss.str());
JsonOutcome outcome = MakeRequest(uri, request, HttpMethod::HTTP_POST);
if(outcome.IsSuccess())
{
return EnableDomainTransferLockOutcome(EnableDomainTransferLockResult(outcome.GetResult()));
}
else
{
return EnableDomainTransferLockOutcome(outcome.GetError());
}
}
示例4: ResendContactReachabilityEmailOutcome
ResendContactReachabilityEmailOutcome Route53DomainsClient::ResendContactReachabilityEmail(const ResendContactReachabilityEmailRequest& request) const
{
Aws::StringStream ss;
Aws::Http::URI uri = m_uri;
ss << "/";
uri.SetPath(uri.GetPath() + ss.str());
JsonOutcome outcome = MakeRequest(uri, request, HttpMethod::HTTP_POST);
if(outcome.IsSuccess())
{
return ResendContactReachabilityEmailOutcome(ResendContactReachabilityEmailResult(outcome.GetResult()));
}
else
{
return ResendContactReachabilityEmailOutcome(outcome.GetError());
}
}
示例5: PutEvents
PutEventsOutcome MobileAnalyticsClient::PutEvents(const PutEventsRequest& request) const
{
Aws::StringStream ss;
Aws::Http::URI uri = m_uri;
ss << "/2014-06-05/events";
uri.SetPath(uri.GetPath() + ss.str());
JsonOutcome outcome = MakeRequest(uri, request, HttpMethod::HTTP_POST);
if(outcome.IsSuccess())
{
return PutEventsOutcome(NoResult());
}
else
{
return PutEventsOutcome(outcome.GetError());
}
}
示例6: StopBuild
StopBuildOutcome CodeBuildClient::StopBuild(const StopBuildRequest& request) const
{
Aws::StringStream ss;
Aws::Http::URI uri = m_uri;
ss << "/";
uri.SetPath(uri.GetPath() + ss.str());
JsonOutcome outcome = MakeRequest(uri, request, HttpMethod::HTTP_POST);
if(outcome.IsSuccess())
{
return StopBuildOutcome(StopBuildResult(outcome.GetResult()));
}
else
{
return StopBuildOutcome(outcome.GetError());
}
}
示例7: RegisterJobDefinition
RegisterJobDefinitionOutcome BatchClient::RegisterJobDefinition(const RegisterJobDefinitionRequest& request) const
{
Aws::StringStream ss;
Aws::Http::URI uri = m_uri;
ss << "/v1/registerjobdefinition";
uri.SetPath(uri.GetPath() + ss.str());
JsonOutcome outcome = MakeRequest(uri, request, HttpMethod::HTTP_POST);
if(outcome.IsSuccess())
{
return RegisterJobDefinitionOutcome(RegisterJobDefinitionResult(outcome.GetResult()));
}
else
{
return RegisterJobDefinitionOutcome(outcome.GetError());
}
}
示例8: DescribeNotificationsForBudgetOutcome
DescribeNotificationsForBudgetOutcome BudgetsClient::DescribeNotificationsForBudget(const DescribeNotificationsForBudgetRequest& request) const
{
Aws::StringStream ss;
Aws::Http::URI uri = m_uri;
ss << "/";
uri.SetPath(uri.GetPath() + ss.str());
JsonOutcome outcome = MakeRequest(uri, request, HttpMethod::HTTP_POST);
if(outcome.IsSuccess())
{
return DescribeNotificationsForBudgetOutcome(DescribeNotificationsForBudgetResult(outcome.GetResult()));
}
else
{
return DescribeNotificationsForBudgetOutcome(outcome.GetError());
}
}
示例9: DeleteComputeEnvironment
DeleteComputeEnvironmentOutcome BatchClient::DeleteComputeEnvironment(const DeleteComputeEnvironmentRequest& request) const
{
Aws::StringStream ss;
Aws::Http::URI uri = m_uri;
ss << "/v1/deletecomputeenvironment";
uri.SetPath(uri.GetPath() + ss.str());
JsonOutcome outcome = MakeRequest(uri, request, HttpMethod::HTTP_POST);
if(outcome.IsSuccess())
{
return DeleteComputeEnvironmentOutcome(DeleteComputeEnvironmentResult(outcome.GetResult()));
}
else
{
return DeleteComputeEnvironmentOutcome(outcome.GetError());
}
}
示例10: DescribeJobs
DescribeJobsOutcome BatchClient::DescribeJobs(const DescribeJobsRequest& request) const
{
Aws::StringStream ss;
Aws::Http::URI uri = m_uri;
ss << "/v1/describejobs";
uri.SetPath(uri.GetPath() + ss.str());
JsonOutcome outcome = MakeRequest(uri, request, HttpMethod::HTTP_POST);
if(outcome.IsSuccess())
{
return DescribeJobsOutcome(DescribeJobsResult(outcome.GetResult()));
}
else
{
return DescribeJobsOutcome(outcome.GetError());
}
}
示例11: RemoveTagsFromResource
RemoveTagsFromResourceOutcome CloudHSMClient::RemoveTagsFromResource(const RemoveTagsFromResourceRequest& request) const
{
Aws::StringStream ss;
Aws::Http::URI uri = m_uri;
ss << "/";
uri.SetPath(uri.GetPath() + ss.str());
JsonOutcome outcome = MakeRequest(uri, request, HttpMethod::HTTP_POST);
if(outcome.IsSuccess())
{
return RemoveTagsFromResourceOutcome(RemoveTagsFromResourceResult(outcome.GetResult()));
}
else
{
return RemoveTagsFromResourceOutcome(outcome.GetError());
}
}
示例12: ModifyLunaClient
ModifyLunaClientOutcome CloudHSMClient::ModifyLunaClient(const ModifyLunaClientRequest& request) const
{
Aws::StringStream ss;
Aws::Http::URI uri = m_uri;
ss << "/";
uri.SetPath(uri.GetPath() + ss.str());
JsonOutcome outcome = MakeRequest(uri, request, HttpMethod::HTTP_POST);
if(outcome.IsSuccess())
{
return ModifyLunaClientOutcome(ModifyLunaClientResult(outcome.GetResult()));
}
else
{
return ModifyLunaClientOutcome(outcome.GetError());
}
}
示例13: ListAvailableZones
ListAvailableZonesOutcome CloudHSMClient::ListAvailableZones(const ListAvailableZonesRequest& request) const
{
Aws::StringStream ss;
Aws::Http::URI uri = m_uri;
ss << "/";
uri.SetPath(uri.GetPath() + ss.str());
JsonOutcome outcome = MakeRequest(uri, request, HttpMethod::HTTP_POST);
if(outcome.IsSuccess())
{
return ListAvailableZonesOutcome(ListAvailableZonesResult(outcome.GetResult()));
}
else
{
return ListAvailableZonesOutcome(outcome.GetError());
}
}
示例14: DiscoverInputSchema
DiscoverInputSchemaOutcome KinesisAnalyticsClient::DiscoverInputSchema(const DiscoverInputSchemaRequest& request) const
{
Aws::StringStream ss;
Aws::Http::URI uri = m_uri;
ss << "/";
uri.SetPath(uri.GetPath() + ss.str());
JsonOutcome outcome = MakeRequest(uri, request, HttpMethod::HTTP_POST);
if(outcome.IsSuccess())
{
return DiscoverInputSchemaOutcome(DiscoverInputSchemaResult(outcome.GetResult()));
}
else
{
return DiscoverInputSchemaOutcome(outcome.GetError());
}
}
示例15: SubmitJob
SubmitJobOutcome BatchClient::SubmitJob(const SubmitJobRequest& request) const
{
Aws::StringStream ss;
Aws::Http::URI uri = m_uri;
ss << "/v1/submitjob";
uri.SetPath(uri.GetPath() + ss.str());
JsonOutcome outcome = MakeRequest(uri, request, HttpMethod::HTTP_POST);
if(outcome.IsSuccess())
{
return SubmitJobOutcome(SubmitJobResult(outcome.GetResult()));
}
else
{
return SubmitJobOutcome(outcome.GetError());
}
}