Skip to content

Commit 672fc2c

Browse files
author
aws-sdk-cpp-automation
committed
Documentation updates for sts
1 parent 92ba870 commit 672fc2c

File tree

1,672 files changed

+5624
-5600
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,672 files changed

+5624
-5600
lines changed

aws-cpp-sdk-autoscaling/source/model/Activity.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,61 +72,61 @@ Activity& Activity::operator =(const XmlNode& xmlNode)
7272
XmlNode activityIdNode = resultNode.FirstChild("ActivityId");
7373
if(!activityIdNode.IsNull())
7474
{
75-
m_activityId = activityIdNode.GetText();
75+
m_activityId = Aws::Utils::Xml::DecodeEscapedXmlText(activityIdNode.GetText());
7676
m_activityIdHasBeenSet = true;
7777
}
7878
XmlNode autoScalingGroupNameNode = resultNode.FirstChild("AutoScalingGroupName");
7979
if(!autoScalingGroupNameNode.IsNull())
8080
{
81-
m_autoScalingGroupName = autoScalingGroupNameNode.GetText();
81+
m_autoScalingGroupName = Aws::Utils::Xml::DecodeEscapedXmlText(autoScalingGroupNameNode.GetText());
8282
m_autoScalingGroupNameHasBeenSet = true;
8383
}
8484
XmlNode descriptionNode = resultNode.FirstChild("Description");
8585
if(!descriptionNode.IsNull())
8686
{
87-
m_description = descriptionNode.GetText();
87+
m_description = Aws::Utils::Xml::DecodeEscapedXmlText(descriptionNode.GetText());
8888
m_descriptionHasBeenSet = true;
8989
}
9090
XmlNode causeNode = resultNode.FirstChild("Cause");
9191
if(!causeNode.IsNull())
9292
{
93-
m_cause = causeNode.GetText();
93+
m_cause = Aws::Utils::Xml::DecodeEscapedXmlText(causeNode.GetText());
9494
m_causeHasBeenSet = true;
9595
}
9696
XmlNode startTimeNode = resultNode.FirstChild("StartTime");
9797
if(!startTimeNode.IsNull())
9898
{
99-
m_startTime = DateTime(StringUtils::Trim(startTimeNode.GetText().c_str()).c_str(), DateFormat::ISO_8601);
99+
m_startTime = DateTime(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(startTimeNode.GetText()).c_str()).c_str(), DateFormat::ISO_8601);
100100
m_startTimeHasBeenSet = true;
101101
}
102102
XmlNode endTimeNode = resultNode.FirstChild("EndTime");
103103
if(!endTimeNode.IsNull())
104104
{
105-
m_endTime = DateTime(StringUtils::Trim(endTimeNode.GetText().c_str()).c_str(), DateFormat::ISO_8601);
105+
m_endTime = DateTime(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(endTimeNode.GetText()).c_str()).c_str(), DateFormat::ISO_8601);
106106
m_endTimeHasBeenSet = true;
107107
}
108108
XmlNode statusCodeNode = resultNode.FirstChild("StatusCode");
109109
if(!statusCodeNode.IsNull())
110110
{
111-
m_statusCode = ScalingActivityStatusCodeMapper::GetScalingActivityStatusCodeForName(StringUtils::Trim(statusCodeNode.GetText().c_str()).c_str());
111+
m_statusCode = ScalingActivityStatusCodeMapper::GetScalingActivityStatusCodeForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(statusCodeNode.GetText()).c_str()).c_str());
112112
m_statusCodeHasBeenSet = true;
113113
}
114114
XmlNode statusMessageNode = resultNode.FirstChild("StatusMessage");
115115
if(!statusMessageNode.IsNull())
116116
{
117-
m_statusMessage = statusMessageNode.GetText();
117+
m_statusMessage = Aws::Utils::Xml::DecodeEscapedXmlText(statusMessageNode.GetText());
118118
m_statusMessageHasBeenSet = true;
119119
}
120120
XmlNode progressNode = resultNode.FirstChild("Progress");
121121
if(!progressNode.IsNull())
122122
{
123-
m_progress = StringUtils::ConvertToInt32(StringUtils::Trim(progressNode.GetText().c_str()).c_str());
123+
m_progress = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(progressNode.GetText()).c_str()).c_str());
124124
m_progressHasBeenSet = true;
125125
}
126126
XmlNode detailsNode = resultNode.FirstChild("Details");
127127
if(!detailsNode.IsNull())
128128
{
129-
m_details = detailsNode.GetText();
129+
m_details = Aws::Utils::Xml::DecodeEscapedXmlText(detailsNode.GetText());
130130
m_detailsHasBeenSet = true;
131131
}
132132
}

aws-cpp-sdk-autoscaling/source/model/AdjustmentType.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ AdjustmentType& AdjustmentType::operator =(const XmlNode& xmlNode)
5050
XmlNode adjustmentTypeNode = resultNode.FirstChild("AdjustmentType");
5151
if(!adjustmentTypeNode.IsNull())
5252
{
53-
m_adjustmentType = adjustmentTypeNode.GetText();
53+
m_adjustmentType = Aws::Utils::Xml::DecodeEscapedXmlText(adjustmentTypeNode.GetText());
5454
m_adjustmentTypeHasBeenSet = true;
5555
}
5656
}

aws-cpp-sdk-autoscaling/source/model/Alarm.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ Alarm& Alarm::operator =(const XmlNode& xmlNode)
5252
XmlNode alarmNameNode = resultNode.FirstChild("AlarmName");
5353
if(!alarmNameNode.IsNull())
5454
{
55-
m_alarmName = alarmNameNode.GetText();
55+
m_alarmName = Aws::Utils::Xml::DecodeEscapedXmlText(alarmNameNode.GetText());
5656
m_alarmNameHasBeenSet = true;
5757
}
5858
XmlNode alarmARNNode = resultNode.FirstChild("AlarmARN");
5959
if(!alarmARNNode.IsNull())
6060
{
61-
m_alarmARN = alarmARNNode.GetText();
61+
m_alarmARN = Aws::Utils::Xml::DecodeEscapedXmlText(alarmARNNode.GetText());
6262
m_alarmARNHasBeenSet = true;
6363
}
6464
}

aws-cpp-sdk-autoscaling/source/model/AutoScalingGroup.cpp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -110,19 +110,19 @@ AutoScalingGroup& AutoScalingGroup::operator =(const XmlNode& xmlNode)
110110
XmlNode autoScalingGroupNameNode = resultNode.FirstChild("AutoScalingGroupName");
111111
if(!autoScalingGroupNameNode.IsNull())
112112
{
113-
m_autoScalingGroupName = autoScalingGroupNameNode.GetText();
113+
m_autoScalingGroupName = Aws::Utils::Xml::DecodeEscapedXmlText(autoScalingGroupNameNode.GetText());
114114
m_autoScalingGroupNameHasBeenSet = true;
115115
}
116116
XmlNode autoScalingGroupARNNode = resultNode.FirstChild("AutoScalingGroupARN");
117117
if(!autoScalingGroupARNNode.IsNull())
118118
{
119-
m_autoScalingGroupARN = autoScalingGroupARNNode.GetText();
119+
m_autoScalingGroupARN = Aws::Utils::Xml::DecodeEscapedXmlText(autoScalingGroupARNNode.GetText());
120120
m_autoScalingGroupARNHasBeenSet = true;
121121
}
122122
XmlNode launchConfigurationNameNode = resultNode.FirstChild("LaunchConfigurationName");
123123
if(!launchConfigurationNameNode.IsNull())
124124
{
125-
m_launchConfigurationName = launchConfigurationNameNode.GetText();
125+
m_launchConfigurationName = Aws::Utils::Xml::DecodeEscapedXmlText(launchConfigurationNameNode.GetText());
126126
m_launchConfigurationNameHasBeenSet = true;
127127
}
128128
XmlNode launchTemplateNode = resultNode.FirstChild("LaunchTemplate");
@@ -140,25 +140,25 @@ AutoScalingGroup& AutoScalingGroup::operator =(const XmlNode& xmlNode)
140140
XmlNode minSizeNode = resultNode.FirstChild("MinSize");
141141
if(!minSizeNode.IsNull())
142142
{
143-
m_minSize = StringUtils::ConvertToInt32(StringUtils::Trim(minSizeNode.GetText().c_str()).c_str());
143+
m_minSize = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(minSizeNode.GetText()).c_str()).c_str());
144144
m_minSizeHasBeenSet = true;
145145
}
146146
XmlNode maxSizeNode = resultNode.FirstChild("MaxSize");
147147
if(!maxSizeNode.IsNull())
148148
{
149-
m_maxSize = StringUtils::ConvertToInt32(StringUtils::Trim(maxSizeNode.GetText().c_str()).c_str());
149+
m_maxSize = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(maxSizeNode.GetText()).c_str()).c_str());
150150
m_maxSizeHasBeenSet = true;
151151
}
152152
XmlNode desiredCapacityNode = resultNode.FirstChild("DesiredCapacity");
153153
if(!desiredCapacityNode.IsNull())
154154
{
155-
m_desiredCapacity = StringUtils::ConvertToInt32(StringUtils::Trim(desiredCapacityNode.GetText().c_str()).c_str());
155+
m_desiredCapacity = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(desiredCapacityNode.GetText()).c_str()).c_str());
156156
m_desiredCapacityHasBeenSet = true;
157157
}
158158
XmlNode defaultCooldownNode = resultNode.FirstChild("DefaultCooldown");
159159
if(!defaultCooldownNode.IsNull())
160160
{
161-
m_defaultCooldown = StringUtils::ConvertToInt32(StringUtils::Trim(defaultCooldownNode.GetText().c_str()).c_str());
161+
m_defaultCooldown = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(defaultCooldownNode.GetText()).c_str()).c_str());
162162
m_defaultCooldownHasBeenSet = true;
163163
}
164164
XmlNode availabilityZonesNode = resultNode.FirstChild("AvailabilityZones");
@@ -200,13 +200,13 @@ AutoScalingGroup& AutoScalingGroup::operator =(const XmlNode& xmlNode)
200200
XmlNode healthCheckTypeNode = resultNode.FirstChild("HealthCheckType");
201201
if(!healthCheckTypeNode.IsNull())
202202
{
203-
m_healthCheckType = healthCheckTypeNode.GetText();
203+
m_healthCheckType = Aws::Utils::Xml::DecodeEscapedXmlText(healthCheckTypeNode.GetText());
204204
m_healthCheckTypeHasBeenSet = true;
205205
}
206206
XmlNode healthCheckGracePeriodNode = resultNode.FirstChild("HealthCheckGracePeriod");
207207
if(!healthCheckGracePeriodNode.IsNull())
208208
{
209-
m_healthCheckGracePeriod = StringUtils::ConvertToInt32(StringUtils::Trim(healthCheckGracePeriodNode.GetText().c_str()).c_str());
209+
m_healthCheckGracePeriod = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(healthCheckGracePeriodNode.GetText()).c_str()).c_str());
210210
m_healthCheckGracePeriodHasBeenSet = true;
211211
}
212212
XmlNode instancesNode = resultNode.FirstChild("Instances");
@@ -224,7 +224,7 @@ AutoScalingGroup& AutoScalingGroup::operator =(const XmlNode& xmlNode)
224224
XmlNode createdTimeNode = resultNode.FirstChild("CreatedTime");
225225
if(!createdTimeNode.IsNull())
226226
{
227-
m_createdTime = DateTime(StringUtils::Trim(createdTimeNode.GetText().c_str()).c_str(), DateFormat::ISO_8601);
227+
m_createdTime = DateTime(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(createdTimeNode.GetText()).c_str()).c_str(), DateFormat::ISO_8601);
228228
m_createdTimeHasBeenSet = true;
229229
}
230230
XmlNode suspendedProcessesNode = resultNode.FirstChild("SuspendedProcesses");
@@ -242,13 +242,13 @@ AutoScalingGroup& AutoScalingGroup::operator =(const XmlNode& xmlNode)
242242
XmlNode placementGroupNode = resultNode.FirstChild("PlacementGroup");
243243
if(!placementGroupNode.IsNull())
244244
{
245-
m_placementGroup = placementGroupNode.GetText();
245+
m_placementGroup = Aws::Utils::Xml::DecodeEscapedXmlText(placementGroupNode.GetText());
246246
m_placementGroupHasBeenSet = true;
247247
}
248248
XmlNode vPCZoneIdentifierNode = resultNode.FirstChild("VPCZoneIdentifier");
249249
if(!vPCZoneIdentifierNode.IsNull())
250250
{
251-
m_vPCZoneIdentifier = vPCZoneIdentifierNode.GetText();
251+
m_vPCZoneIdentifier = Aws::Utils::Xml::DecodeEscapedXmlText(vPCZoneIdentifierNode.GetText());
252252
m_vPCZoneIdentifierHasBeenSet = true;
253253
}
254254
XmlNode enabledMetricsNode = resultNode.FirstChild("EnabledMetrics");
@@ -266,7 +266,7 @@ AutoScalingGroup& AutoScalingGroup::operator =(const XmlNode& xmlNode)
266266
XmlNode statusNode = resultNode.FirstChild("Status");
267267
if(!statusNode.IsNull())
268268
{
269-
m_status = statusNode.GetText();
269+
m_status = Aws::Utils::Xml::DecodeEscapedXmlText(statusNode.GetText());
270270
m_statusHasBeenSet = true;
271271
}
272272
XmlNode tagsNode = resultNode.FirstChild("Tags");
@@ -296,13 +296,13 @@ AutoScalingGroup& AutoScalingGroup::operator =(const XmlNode& xmlNode)
296296
XmlNode newInstancesProtectedFromScaleInNode = resultNode.FirstChild("NewInstancesProtectedFromScaleIn");
297297
if(!newInstancesProtectedFromScaleInNode.IsNull())
298298
{
299-
m_newInstancesProtectedFromScaleIn = StringUtils::ConvertToBool(StringUtils::Trim(newInstancesProtectedFromScaleInNode.GetText().c_str()).c_str());
299+
m_newInstancesProtectedFromScaleIn = StringUtils::ConvertToBool(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(newInstancesProtectedFromScaleInNode.GetText()).c_str()).c_str());
300300
m_newInstancesProtectedFromScaleInHasBeenSet = true;
301301
}
302302
XmlNode serviceLinkedRoleARNNode = resultNode.FirstChild("ServiceLinkedRoleARN");
303303
if(!serviceLinkedRoleARNNode.IsNull())
304304
{
305-
m_serviceLinkedRoleARN = serviceLinkedRoleARNNode.GetText();
305+
m_serviceLinkedRoleARN = Aws::Utils::Xml::DecodeEscapedXmlText(serviceLinkedRoleARNNode.GetText());
306306
m_serviceLinkedRoleARNHasBeenSet = true;
307307
}
308308
}

aws-cpp-sdk-autoscaling/source/model/AutoScalingInstanceDetails.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,37 +66,37 @@ AutoScalingInstanceDetails& AutoScalingInstanceDetails::operator =(const XmlNode
6666
XmlNode instanceIdNode = resultNode.FirstChild("InstanceId");
6767
if(!instanceIdNode.IsNull())
6868
{
69-
m_instanceId = instanceIdNode.GetText();
69+
m_instanceId = Aws::Utils::Xml::DecodeEscapedXmlText(instanceIdNode.GetText());
7070
m_instanceIdHasBeenSet = true;
7171
}
7272
XmlNode autoScalingGroupNameNode = resultNode.FirstChild("AutoScalingGroupName");
7373
if(!autoScalingGroupNameNode.IsNull())
7474
{
75-
m_autoScalingGroupName = autoScalingGroupNameNode.GetText();
75+
m_autoScalingGroupName = Aws::Utils::Xml::DecodeEscapedXmlText(autoScalingGroupNameNode.GetText());
7676
m_autoScalingGroupNameHasBeenSet = true;
7777
}
7878
XmlNode availabilityZoneNode = resultNode.FirstChild("AvailabilityZone");
7979
if(!availabilityZoneNode.IsNull())
8080
{
81-
m_availabilityZone = availabilityZoneNode.GetText();
81+
m_availabilityZone = Aws::Utils::Xml::DecodeEscapedXmlText(availabilityZoneNode.GetText());
8282
m_availabilityZoneHasBeenSet = true;
8383
}
8484
XmlNode lifecycleStateNode = resultNode.FirstChild("LifecycleState");
8585
if(!lifecycleStateNode.IsNull())
8686
{
87-
m_lifecycleState = lifecycleStateNode.GetText();
87+
m_lifecycleState = Aws::Utils::Xml::DecodeEscapedXmlText(lifecycleStateNode.GetText());
8888
m_lifecycleStateHasBeenSet = true;
8989
}
9090
XmlNode healthStatusNode = resultNode.FirstChild("HealthStatus");
9191
if(!healthStatusNode.IsNull())
9292
{
93-
m_healthStatus = healthStatusNode.GetText();
93+
m_healthStatus = Aws::Utils::Xml::DecodeEscapedXmlText(healthStatusNode.GetText());
9494
m_healthStatusHasBeenSet = true;
9595
}
9696
XmlNode launchConfigurationNameNode = resultNode.FirstChild("LaunchConfigurationName");
9797
if(!launchConfigurationNameNode.IsNull())
9898
{
99-
m_launchConfigurationName = launchConfigurationNameNode.GetText();
99+
m_launchConfigurationName = Aws::Utils::Xml::DecodeEscapedXmlText(launchConfigurationNameNode.GetText());
100100
m_launchConfigurationNameHasBeenSet = true;
101101
}
102102
XmlNode launchTemplateNode = resultNode.FirstChild("LaunchTemplate");
@@ -108,7 +108,7 @@ AutoScalingInstanceDetails& AutoScalingInstanceDetails::operator =(const XmlNode
108108
XmlNode protectedFromScaleInNode = resultNode.FirstChild("ProtectedFromScaleIn");
109109
if(!protectedFromScaleInNode.IsNull())
110110
{
111-
m_protectedFromScaleIn = StringUtils::ConvertToBool(StringUtils::Trim(protectedFromScaleInNode.GetText().c_str()).c_str());
111+
m_protectedFromScaleIn = StringUtils::ConvertToBool(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(protectedFromScaleInNode.GetText()).c_str()).c_str());
112112
m_protectedFromScaleInHasBeenSet = true;
113113
}
114114
}

aws-cpp-sdk-autoscaling/source/model/BlockDeviceMapping.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ BlockDeviceMapping& BlockDeviceMapping::operator =(const XmlNode& xmlNode)
5858
XmlNode virtualNameNode = resultNode.FirstChild("VirtualName");
5959
if(!virtualNameNode.IsNull())
6060
{
61-
m_virtualName = virtualNameNode.GetText();
61+
m_virtualName = Aws::Utils::Xml::DecodeEscapedXmlText(virtualNameNode.GetText());
6262
m_virtualNameHasBeenSet = true;
6363
}
6464
XmlNode deviceNameNode = resultNode.FirstChild("DeviceName");
6565
if(!deviceNameNode.IsNull())
6666
{
67-
m_deviceName = deviceNameNode.GetText();
67+
m_deviceName = Aws::Utils::Xml::DecodeEscapedXmlText(deviceNameNode.GetText());
6868
m_deviceNameHasBeenSet = true;
6969
}
7070
XmlNode ebsNode = resultNode.FirstChild("Ebs");
@@ -76,7 +76,7 @@ BlockDeviceMapping& BlockDeviceMapping::operator =(const XmlNode& xmlNode)
7676
XmlNode noDeviceNode = resultNode.FirstChild("NoDevice");
7777
if(!noDeviceNode.IsNull())
7878
{
79-
m_noDevice = StringUtils::ConvertToBool(StringUtils::Trim(noDeviceNode.GetText().c_str()).c_str());
79+
m_noDevice = StringUtils::ConvertToBool(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(noDeviceNode.GetText()).c_str()).c_str());
8080
m_noDeviceHasBeenSet = true;
8181
}
8282
}

aws-cpp-sdk-autoscaling/source/model/CustomizedMetricSpecification.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ CustomizedMetricSpecification& CustomizedMetricSpecification::operator =(const X
6060
XmlNode metricNameNode = resultNode.FirstChild("MetricName");
6161
if(!metricNameNode.IsNull())
6262
{
63-
m_metricName = metricNameNode.GetText();
63+
m_metricName = Aws::Utils::Xml::DecodeEscapedXmlText(metricNameNode.GetText());
6464
m_metricNameHasBeenSet = true;
6565
}
6666
XmlNode namespaceNode = resultNode.FirstChild("Namespace");
6767
if(!namespaceNode.IsNull())
6868
{
69-
m_namespace = namespaceNode.GetText();
69+
m_namespace = Aws::Utils::Xml::DecodeEscapedXmlText(namespaceNode.GetText());
7070
m_namespaceHasBeenSet = true;
7171
}
7272
XmlNode dimensionsNode = resultNode.FirstChild("Dimensions");
@@ -84,13 +84,13 @@ CustomizedMetricSpecification& CustomizedMetricSpecification::operator =(const X
8484
XmlNode statisticNode = resultNode.FirstChild("Statistic");
8585
if(!statisticNode.IsNull())
8686
{
87-
m_statistic = MetricStatisticMapper::GetMetricStatisticForName(StringUtils::Trim(statisticNode.GetText().c_str()).c_str());
87+
m_statistic = MetricStatisticMapper::GetMetricStatisticForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(statisticNode.GetText()).c_str()).c_str());
8888
m_statisticHasBeenSet = true;
8989
}
9090
XmlNode unitNode = resultNode.FirstChild("Unit");
9191
if(!unitNode.IsNull())
9292
{
93-
m_unit = unitNode.GetText();
93+
m_unit = Aws::Utils::Xml::DecodeEscapedXmlText(unitNode.GetText());
9494
m_unitHasBeenSet = true;
9595
}
9696
}

aws-cpp-sdk-autoscaling/source/model/DescribeAccountLimitsResult.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,22 @@ DescribeAccountLimitsResult& DescribeAccountLimitsResult::operator =(const Aws::
5959
XmlNode maxNumberOfAutoScalingGroupsNode = resultNode.FirstChild("MaxNumberOfAutoScalingGroups");
6060
if(!maxNumberOfAutoScalingGroupsNode.IsNull())
6161
{
62-
m_maxNumberOfAutoScalingGroups = StringUtils::ConvertToInt32(StringUtils::Trim(maxNumberOfAutoScalingGroupsNode.GetText().c_str()).c_str());
62+
m_maxNumberOfAutoScalingGroups = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(maxNumberOfAutoScalingGroupsNode.GetText()).c_str()).c_str());
6363
}
6464
XmlNode maxNumberOfLaunchConfigurationsNode = resultNode.FirstChild("MaxNumberOfLaunchConfigurations");
6565
if(!maxNumberOfLaunchConfigurationsNode.IsNull())
6666
{
67-
m_maxNumberOfLaunchConfigurations = StringUtils::ConvertToInt32(StringUtils::Trim(maxNumberOfLaunchConfigurationsNode.GetText().c_str()).c_str());
67+
m_maxNumberOfLaunchConfigurations = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(maxNumberOfLaunchConfigurationsNode.GetText()).c_str()).c_str());
6868
}
6969
XmlNode numberOfAutoScalingGroupsNode = resultNode.FirstChild("NumberOfAutoScalingGroups");
7070
if(!numberOfAutoScalingGroupsNode.IsNull())
7171
{
72-
m_numberOfAutoScalingGroups = StringUtils::ConvertToInt32(StringUtils::Trim(numberOfAutoScalingGroupsNode.GetText().c_str()).c_str());
72+
m_numberOfAutoScalingGroups = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(numberOfAutoScalingGroupsNode.GetText()).c_str()).c_str());
7373
}
7474
XmlNode numberOfLaunchConfigurationsNode = resultNode.FirstChild("NumberOfLaunchConfigurations");
7575
if(!numberOfLaunchConfigurationsNode.IsNull())
7676
{
77-
m_numberOfLaunchConfigurations = StringUtils::ConvertToInt32(StringUtils::Trim(numberOfLaunchConfigurationsNode.GetText().c_str()).c_str());
77+
m_numberOfLaunchConfigurations = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(numberOfLaunchConfigurationsNode.GetText()).c_str()).c_str());
7878
}
7979
}
8080

aws-cpp-sdk-autoscaling/source/model/DescribeAutoScalingGroupsResult.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ DescribeAutoScalingGroupsResult& DescribeAutoScalingGroupsResult::operator =(con
6262
XmlNode nextTokenNode = resultNode.FirstChild("NextToken");
6363
if(!nextTokenNode.IsNull())
6464
{
65-
m_nextToken = nextTokenNode.GetText();
65+
m_nextToken = Aws::Utils::Xml::DecodeEscapedXmlText(nextTokenNode.GetText());
6666
}
6767
}
6868

aws-cpp-sdk-autoscaling/source/model/DescribeAutoScalingInstancesResult.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ DescribeAutoScalingInstancesResult& DescribeAutoScalingInstancesResult::operator
6262
XmlNode nextTokenNode = resultNode.FirstChild("NextToken");
6363
if(!nextTokenNode.IsNull())
6464
{
65-
m_nextToken = nextTokenNode.GetText();
65+
m_nextToken = Aws::Utils::Xml::DecodeEscapedXmlText(nextTokenNode.GetText());
6666
}
6767
}
6868

0 commit comments

Comments
 (0)