Aws::String CreateCloudFrontOriginAccessIdentity2016_01_28Request::SerializePayload() const { XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("CloudFrontOriginAccessIdentityConfig"); XmlNode parentNode = payloadDoc.GetRootElement(); parentNode.SetAttributeValue("xmlns", "http://cloudfront.amazonaws.com/doc/2016-01-28/"); m_cloudFrontOriginAccessIdentityConfig.AddToNode(parentNode); if(parentNode.HasChildren()) { return payloadDoc.ConvertToString(); } return ""; }
Aws::String PutBucketTaggingRequest::SerializePayload() const { XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("Tagging"); XmlNode rootNode = payloadDoc.GetRootElement(); rootNode.SetAttributeValue("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); m_tagging.AddToNode(rootNode); if(rootNode.HasChildren()) { return payloadDoc.ConvertToString(); } return ""; }
Aws::String PutBucketRequestPaymentRequest::SerializePayload() const { XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("RequestPaymentConfiguration"); XmlNode parentNode = payloadDoc.GetRootElement(); parentNode.SetAttributeValue("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); m_requestPaymentConfiguration.AddToNode(parentNode); if(parentNode.HasChildren()) { return payloadDoc.ConvertToString(); } return ""; }
Aws::String TagResource2018_06_18Request::SerializePayload() const { XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("Tags"); XmlNode parentNode = payloadDoc.GetRootElement(); parentNode.SetAttributeValue("xmlns", "http://cloudfront.amazonaws.com/doc/2018-06-18/"); m_tags.AddToNode(parentNode); if(parentNode.HasChildren()) { return payloadDoc.ConvertToString(); } return ""; }
Aws::String CreateFieldLevelEncryptionProfile2018_06_18Request::SerializePayload() const { XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("FieldLevelEncryptionProfileConfig"); XmlNode parentNode = payloadDoc.GetRootElement(); parentNode.SetAttributeValue("xmlns", "http://cloudfront.amazonaws.com/doc/2018-06-18/"); m_fieldLevelEncryptionProfileConfig.AddToNode(parentNode); if(parentNode.HasChildren()) { return payloadDoc.ConvertToString(); } return ""; }
Aws::String CreateInvalidation2016_01_28Request::SerializePayload() const { XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("InvalidationBatch"); XmlNode rootNode = payloadDoc.GetRootElement(); rootNode.SetAttributeValue("xmlns", "http://cloudfront.amazonaws.com/doc/2016-01-28/"); m_invalidationBatch.AddToNode(rootNode); if(rootNode.HasChildren()) { return payloadDoc.ConvertToString(); } return ""; }
Aws::String CompleteMultipartUploadRequest::SerializePayload() const { XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("CompleteMultipartUpload"); XmlNode parentNode = payloadDoc.GetRootElement(); parentNode.SetAttributeValue("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); m_multipartUpload.AddToNode(parentNode); if(parentNode.HasChildren()) { return payloadDoc.ConvertToString(); } return ""; }