/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Proton::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateEnvironmentAccountConnectionRequest::UpdateEnvironmentAccountConnectionRequest() : m_codebuildRoleArnHasBeenSet(false), m_componentRoleArnHasBeenSet(false), m_idHasBeenSet(false), m_roleArnHasBeenSet(false) { } Aws::String UpdateEnvironmentAccountConnectionRequest::SerializePayload() const { JsonValue payload; if(m_codebuildRoleArnHasBeenSet) { payload.WithString("codebuildRoleArn", m_codebuildRoleArn); } if(m_componentRoleArnHasBeenSet) { payload.WithString("componentRoleArn", m_componentRoleArn); } if(m_idHasBeenSet) { payload.WithString("id", m_id); } if(m_roleArnHasBeenSet) { payload.WithString("roleArn", m_roleArn); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection UpdateEnvironmentAccountConnectionRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AwsProton20200720.UpdateEnvironmentAccountConnection")); return headers; }