/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::IdentityStore::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateGroupRequest::CreateGroupRequest() : m_identityStoreIdHasBeenSet(false), m_displayNameHasBeenSet(false), m_descriptionHasBeenSet(false) { } Aws::String CreateGroupRequest::SerializePayload() const { JsonValue payload; if(m_identityStoreIdHasBeenSet) { payload.WithString("IdentityStoreId", m_identityStoreId); } if(m_displayNameHasBeenSet) { payload.WithString("DisplayName", m_displayName); } if(m_descriptionHasBeenSet) { payload.WithString("Description", m_description); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection CreateGroupRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSIdentityStore.CreateGroup")); return headers; }