/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::ECS::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateContainerAgentRequest::UpdateContainerAgentRequest() : m_clusterHasBeenSet(false), m_containerInstanceHasBeenSet(false) { } Aws::String UpdateContainerAgentRequest::SerializePayload() const { JsonValue payload; if(m_clusterHasBeenSet) { payload.WithString("cluster", m_cluster); } if(m_containerInstanceHasBeenSet) { payload.WithString("containerInstance", m_containerInstance); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection UpdateContainerAgentRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AmazonEC2ContainerServiceV20141113.UpdateContainerAgent")); return headers; }