1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #include <aws/neptune/model/RemoveRoleFromDBClusterRequest.h> 7 #include <aws/core/utils/StringUtils.h> 8 #include <aws/core/utils/memory/stl/AWSStringStream.h> 9 10 using namespace Aws::Neptune::Model; 11 using namespace Aws::Utils; 12 RemoveRoleFromDBClusterRequest()13RemoveRoleFromDBClusterRequest::RemoveRoleFromDBClusterRequest() : 14 m_dBClusterIdentifierHasBeenSet(false), 15 m_roleArnHasBeenSet(false), 16 m_featureNameHasBeenSet(false) 17 { 18 } 19 SerializePayload() const20Aws::String RemoveRoleFromDBClusterRequest::SerializePayload() const 21 { 22 Aws::StringStream ss; 23 ss << "Action=RemoveRoleFromDBCluster&"; 24 if(m_dBClusterIdentifierHasBeenSet) 25 { 26 ss << "DBClusterIdentifier=" << StringUtils::URLEncode(m_dBClusterIdentifier.c_str()) << "&"; 27 } 28 29 if(m_roleArnHasBeenSet) 30 { 31 ss << "RoleArn=" << StringUtils::URLEncode(m_roleArn.c_str()) << "&"; 32 } 33 34 if(m_featureNameHasBeenSet) 35 { 36 ss << "FeatureName=" << StringUtils::URLEncode(m_featureName.c_str()) << "&"; 37 } 38 39 ss << "Version=2014-10-31"; 40 return ss.str(); 41 } 42 43 DumpBodyToUrl(Aws::Http::URI & uri) const44void RemoveRoleFromDBClusterRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const 45 { 46 uri.SetQueryString(SerializePayload()); 47 } 48