/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::CodeStar::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DescribeUserProfileRequest::DescribeUserProfileRequest() : m_userArnHasBeenSet(false) { } Aws::String DescribeUserProfileRequest::SerializePayload() const { JsonValue payload; if(m_userArnHasBeenSet) { payload.WithString("userArn", m_userArn); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DescribeUserProfileRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "CodeStar_20170419.DescribeUserProfile")); return headers; }