66 lines
1.5 KiB
C++
66 lines
1.5 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#include <aws/codeartifact/model/DisassociateExternalConnectionRequest.h>
|
|
#include <aws/core/utils/json/JsonSerializer.h>
|
|
#include <aws/core/http/URI.h>
|
|
#include <aws/core/utils/memory/stl/AWSStringStream.h>
|
|
|
|
#include <utility>
|
|
|
|
using namespace Aws::CodeArtifact::Model;
|
|
using namespace Aws::Utils::Json;
|
|
using namespace Aws::Utils;
|
|
using namespace Aws::Http;
|
|
|
|
DisassociateExternalConnectionRequest::DisassociateExternalConnectionRequest() :
|
|
m_domainHasBeenSet(false),
|
|
m_domainOwnerHasBeenSet(false),
|
|
m_repositoryHasBeenSet(false),
|
|
m_externalConnectionHasBeenSet(false)
|
|
{
|
|
}
|
|
|
|
Aws::String DisassociateExternalConnectionRequest::SerializePayload() const
|
|
{
|
|
return {};
|
|
}
|
|
|
|
void DisassociateExternalConnectionRequest::AddQueryStringParameters(URI& uri) const
|
|
{
|
|
Aws::StringStream ss;
|
|
if(m_domainHasBeenSet)
|
|
{
|
|
ss << m_domain;
|
|
uri.AddQueryStringParameter("domain", ss.str());
|
|
ss.str("");
|
|
}
|
|
|
|
if(m_domainOwnerHasBeenSet)
|
|
{
|
|
ss << m_domainOwner;
|
|
uri.AddQueryStringParameter("domain-owner", ss.str());
|
|
ss.str("");
|
|
}
|
|
|
|
if(m_repositoryHasBeenSet)
|
|
{
|
|
ss << m_repository;
|
|
uri.AddQueryStringParameter("repository", ss.str());
|
|
ss.str("");
|
|
}
|
|
|
|
if(m_externalConnectionHasBeenSet)
|
|
{
|
|
ss << m_externalConnection;
|
|
uri.AddQueryStringParameter("external-connection", ss.str());
|
|
ss.str("");
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|