/** * 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; DescribeGroupRequest::DescribeGroupRequest() : m_identityStoreIdHasBeenSet(false), m_groupIdHasBeenSet(false) { } Aws::String DescribeGroupRequest::SerializePayload() const { JsonValue payload; if(m_identityStoreIdHasBeenSet) { payload.WithString("IdentityStoreId", m_identityStoreId); } if(m_groupIdHasBeenSet) { payload.WithString("GroupId", m_groupId); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection DescribeGroupRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "AWSIdentityStore.DescribeGroup")); return headers; }