66 lines
1.4 KiB
C++
66 lines
1.4 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#include <aws/AWSMigrationHub/model/DisassociateCreatedArtifactRequest.h>
|
|
#include <aws/core/utils/json/JsonSerializer.h>
|
|
|
|
#include <utility>
|
|
|
|
using namespace Aws::MigrationHub::Model;
|
|
using namespace Aws::Utils::Json;
|
|
using namespace Aws::Utils;
|
|
|
|
DisassociateCreatedArtifactRequest::DisassociateCreatedArtifactRequest() :
|
|
m_progressUpdateStreamHasBeenSet(false),
|
|
m_migrationTaskNameHasBeenSet(false),
|
|
m_createdArtifactNameHasBeenSet(false),
|
|
m_dryRun(false),
|
|
m_dryRunHasBeenSet(false)
|
|
{
|
|
}
|
|
|
|
Aws::String DisassociateCreatedArtifactRequest::SerializePayload() const
|
|
{
|
|
JsonValue payload;
|
|
|
|
if(m_progressUpdateStreamHasBeenSet)
|
|
{
|
|
payload.WithString("ProgressUpdateStream", m_progressUpdateStream);
|
|
|
|
}
|
|
|
|
if(m_migrationTaskNameHasBeenSet)
|
|
{
|
|
payload.WithString("MigrationTaskName", m_migrationTaskName);
|
|
|
|
}
|
|
|
|
if(m_createdArtifactNameHasBeenSet)
|
|
{
|
|
payload.WithString("CreatedArtifactName", m_createdArtifactName);
|
|
|
|
}
|
|
|
|
if(m_dryRunHasBeenSet)
|
|
{
|
|
payload.WithBool("DryRun", m_dryRun);
|
|
|
|
}
|
|
|
|
return payload.View().WriteReadable();
|
|
}
|
|
|
|
Aws::Http::HeaderValueCollection DisassociateCreatedArtifactRequest::GetRequestSpecificHeaders() const
|
|
{
|
|
Aws::Http::HeaderValueCollection headers;
|
|
headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSMigrationHub.DisassociateCreatedArtifact"));
|
|
return headers;
|
|
|
|
}
|
|
|
|
|
|
|
|
|