/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::FMS::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; PutAdminAccountRequest::PutAdminAccountRequest() : m_adminAccountHasBeenSet(false), m_adminScopeHasBeenSet(false) { } Aws::String PutAdminAccountRequest::SerializePayload() const { JsonValue payload; if(m_adminAccountHasBeenSet) { payload.WithString("AdminAccount", m_adminAccount); } if(m_adminScopeHasBeenSet) { payload.WithObject("AdminScope", m_adminScope.Jsonize()); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection PutAdminAccountRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSFMS_20180101.PutAdminAccount")); return headers; }