Git Product home page Git Product logo

Comments (6)

JonathanHenson avatar JonathanHenson commented on June 12, 2024

We'll have to update the generator. Thanks for letting us know.

from aws-sdk-cpp.

kevincdeng avatar kevincdeng commented on June 12, 2024

Please fix this soon, it makes the CW client unusable without patching the SDK source.

from aws-sdk-cpp.

JonathanHenson avatar JonathanHenson commented on June 12, 2024

looking in to it now.

from aws-sdk-cpp.

kevincdeng avatar kevincdeng commented on June 12, 2024

This is the patch I'm using, in case it's any help

--- /Users/chaodeng/MetricDatum.cpp 2016-02-11 13:22:37.000000000 -0800
+++ /Users/chaodeng/MetricDatum.cpp.2 2016-02-11 13:30:36.000000000 -0800
@@ -107,10 +107,11 @@
   }
   if(m_dimensionsHasBeenSet)
   {
+      size_t i = 1;
       for(auto& item : m_dimensions)
       {
         Aws::StringStream dimensionsSs;
-        dimensionsSs << location << index << locationValue << ".Dimensions";
+        dimensionsSs << location << index << locationValue << ".Dimensions.member." << std::to_string(i++);
         item.OutputToStream(oStream, dimensionsSs.str().c_str());
       }
   }
@@ -142,10 +143,12 @@
   }
   if(m_dimensionsHasBeenSet)
   {
+      size_t i = 1;
       for(auto& item : m_dimensions)
       {
         Aws::String locationAndListMember(location);
-        locationAndListMember += ".Dimensions";
+        locationAndListMember += ".Dimensions.member.";
+        locationAndListMember += std::to_string(i++);
         item.OutputToStream(oStream, locationAndListMember.c_str());
       }
   }

from aws-sdk-cpp.

JonathanHenson avatar JonathanHenson commented on June 12, 2024

Ok, I just pushed. Can you give it a try?

from aws-sdk-cpp.

kevincdeng avatar kevincdeng commented on June 12, 2024

It works now. Thanks!

from aws-sdk-cpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.