Skip to content

Commit bbf1cd2

Browse files
Add additional costTypes: IncludeDiscount, UseAmortized, to support finer control for different charges included in a cost budget.
1 parent 09dec48 commit bbf1cd2

File tree

142 files changed

+363
-298
lines changed

Some content is hidden

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

142 files changed

+363
-298
lines changed

aws-cpp-sdk-AWSMigrationHub/nuget/aws-cpp-sdk-AWSMigrationHub.autopkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-MigrationHub;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.3.20170531.43;
16+
version : 1.3.20170531.44;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (AWS Migration Hub);
@@ -48,7 +48,7 @@ nuget {
4848

4949
dependencies {
5050
packages: {
51-
AWSSDKCPP-Core/1.3.43
51+
AWSSDKCPP-Core/1.3.44
5252
}
5353
}
5454

aws-cpp-sdk-access-management/nuget/aws-cpp-sdk-access-management.autopkg

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-AccessManagement;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.3.43;
16+
version : 1.3.44;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (Access Management);
@@ -48,9 +48,9 @@ nuget {
4848

4949
dependencies {
5050
packages: {
51-
AWSSDKCPP-Core/1.3.43,
52-
AWSSDKCPP-CognitoIdentity/1.3.20140630.43,
53-
AWSSDKCPP-IAM/1.3.20100508.43
51+
AWSSDKCPP-Core/1.3.44,
52+
AWSSDKCPP-CognitoIdentity/1.3.20140630.44,
53+
AWSSDKCPP-IAM/1.3.20100508.44
5454
}
5555
}
5656

aws-cpp-sdk-acm/nuget/aws-cpp-sdk-acm.autopkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-ACM;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.3.20151208.43;
16+
version : 1.3.20151208.44;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (AWS Certificate Manager);
@@ -48,7 +48,7 @@ nuget {
4848

4949
dependencies {
5050
packages: {
51-
AWSSDKCPP-Core/1.3.43
51+
AWSSDKCPP-Core/1.3.44
5252
}
5353
}
5454

aws-cpp-sdk-alexaforbusiness/nuget/aws-cpp-sdk-alexaforbusiness.autopkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-AlexaForBusiness;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.3.20171109.43;
16+
version : 1.3.20171109.44;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (Alexa For Business);
@@ -48,7 +48,7 @@ nuget {
4848

4949
dependencies {
5050
packages: {
51-
AWSSDKCPP-Core/1.3.43
51+
AWSSDKCPP-Core/1.3.44
5252
}
5353
}
5454

aws-cpp-sdk-apigateway/nuget/aws-cpp-sdk-apigateway.autopkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-APIGateway;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.3.20150709.43;
16+
version : 1.3.20150709.44;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (Amazon API Gateway);
@@ -48,7 +48,7 @@ nuget {
4848

4949
dependencies {
5050
packages: {
51-
AWSSDKCPP-Core/1.3.43
51+
AWSSDKCPP-Core/1.3.44
5252
}
5353
}
5454

aws-cpp-sdk-application-autoscaling/nuget/aws-cpp-sdk-application-autoscaling.autopkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-ApplicationAutoScaling;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.3.20160206.43;
16+
version : 1.3.20160206.44;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (Application Auto Scaling);
@@ -48,7 +48,7 @@ nuget {
4848

4949
dependencies {
5050
packages: {
51-
AWSSDKCPP-Core/1.3.43
51+
AWSSDKCPP-Core/1.3.44
5252
}
5353
}
5454

aws-cpp-sdk-appstream/nuget/aws-cpp-sdk-appstream.autopkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-AppStream;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.3.20161201.43;
16+
version : 1.3.20161201.44;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (Amazon AppStream);
@@ -48,7 +48,7 @@ nuget {
4848

4949
dependencies {
5050
packages: {
51-
AWSSDKCPP-Core/1.3.43
51+
AWSSDKCPP-Core/1.3.44
5252
}
5353
}
5454

aws-cpp-sdk-appsync/nuget/aws-cpp-sdk-appsync.autopkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-AppSync;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.3.20170725.43;
16+
version : 1.3.20170725.44;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (AWS AppSync);
@@ -48,7 +48,7 @@ nuget {
4848

4949
dependencies {
5050
packages: {
51-
AWSSDKCPP-Core/1.3.43
51+
AWSSDKCPP-Core/1.3.44
5252
}
5353
}
5454

aws-cpp-sdk-athena/nuget/aws-cpp-sdk-athena.autopkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-Athena;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.3.20170518.43;
16+
version : 1.3.20170518.44;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (Amazon Athena);
@@ -48,7 +48,7 @@ nuget {
4848

4949
dependencies {
5050
packages: {
51-
AWSSDKCPP-Core/1.3.43
51+
AWSSDKCPP-Core/1.3.44
5252
}
5353
}
5454

aws-cpp-sdk-autoscaling/nuget/aws-cpp-sdk-autoscaling.autopkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-AutoScaling;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.3.20110101.43;
16+
version : 1.3.20110101.44;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (Auto Scaling);
@@ -48,7 +48,7 @@ nuget {
4848

4949
dependencies {
5050
packages: {
51-
AWSSDKCPP-Core/1.3.43
51+
AWSSDKCPP-Core/1.3.44
5252
}
5353
}
5454

aws-cpp-sdk-batch/nuget/aws-cpp-sdk-batch.autopkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-Batch;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.3.20160810.43;
16+
version : 1.3.20160810.44;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (AWS Batch);
@@ -48,7 +48,7 @@ nuget {
4848

4949
dependencies {
5050
packages: {
51-
AWSSDKCPP-Core/1.3.43
51+
AWSSDKCPP-Core/1.3.44
5252
}
5353
}
5454

aws-cpp-sdk-budgets/include/aws/budgets/model/CostTypes.h

+38
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,38 @@ namespace Model
188188
*/
189189
inline CostTypes& WithIncludeSupport(bool value) { SetIncludeSupport(value); return *this;}
190190

191+
192+
/**
193+
* A boolean value whether to include discounts in the cost budget.
194+
*/
195+
inline bool GetIncludeDiscount() const{ return m_includeDiscount; }
196+
197+
/**
198+
* A boolean value whether to include discounts in the cost budget.
199+
*/
200+
inline void SetIncludeDiscount(bool value) { m_includeDiscountHasBeenSet = true; m_includeDiscount = value; }
201+
202+
/**
203+
* A boolean value whether to include discounts in the cost budget.
204+
*/
205+
inline CostTypes& WithIncludeDiscount(bool value) { SetIncludeDiscount(value); return *this;}
206+
207+
208+
/**
209+
* A boolean value whether to include amortized costs in the cost budget.
210+
*/
211+
inline bool GetUseAmortized() const{ return m_useAmortized; }
212+
213+
/**
214+
* A boolean value whether to include amortized costs in the cost budget.
215+
*/
216+
inline void SetUseAmortized(bool value) { m_useAmortizedHasBeenSet = true; m_useAmortized = value; }
217+
218+
/**
219+
* A boolean value whether to include amortized costs in the cost budget.
220+
*/
221+
inline CostTypes& WithUseAmortized(bool value) { SetUseAmortized(value); return *this;}
222+
191223
private:
192224

193225
bool m_includeTax;
@@ -216,6 +248,12 @@ namespace Model
216248

217249
bool m_includeSupport;
218250
bool m_includeSupportHasBeenSet;
251+
252+
bool m_includeDiscount;
253+
bool m_includeDiscountHasBeenSet;
254+
255+
bool m_useAmortized;
256+
bool m_useAmortizedHasBeenSet;
219257
};
220258

221259
} // namespace Model

aws-cpp-sdk-budgets/nuget/aws-cpp-sdk-budgets.autopkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-Budgets;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.3.20161020.43;
16+
version : 1.3.20161020.44;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (AWS Budgets);
@@ -48,7 +48,7 @@ nuget {
4848

4949
dependencies {
5050
packages: {
51-
AWSSDKCPP-Core/1.3.43
51+
AWSSDKCPP-Core/1.3.44
5252
}
5353
}
5454

aws-cpp-sdk-budgets/source/model/CostTypes.cpp

+36-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ CostTypes::CostTypes() :
4646
m_includeOtherSubscription(false),
4747
m_includeOtherSubscriptionHasBeenSet(false),
4848
m_includeSupport(false),
49-
m_includeSupportHasBeenSet(false)
49+
m_includeSupportHasBeenSet(false),
50+
m_includeDiscount(false),
51+
m_includeDiscountHasBeenSet(false),
52+
m_useAmortized(false),
53+
m_useAmortizedHasBeenSet(false)
5054
{
5155
}
5256

@@ -68,7 +72,11 @@ CostTypes::CostTypes(const JsonValue& jsonValue) :
6872
m_includeOtherSubscription(false),
6973
m_includeOtherSubscriptionHasBeenSet(false),
7074
m_includeSupport(false),
71-
m_includeSupportHasBeenSet(false)
75+
m_includeSupportHasBeenSet(false),
76+
m_includeDiscount(false),
77+
m_includeDiscountHasBeenSet(false),
78+
m_useAmortized(false),
79+
m_useAmortizedHasBeenSet(false)
7280
{
7381
*this = jsonValue;
7482
}
@@ -138,6 +146,20 @@ CostTypes& CostTypes::operator =(const JsonValue& jsonValue)
138146
m_includeSupportHasBeenSet = true;
139147
}
140148

149+
if(jsonValue.ValueExists("IncludeDiscount"))
150+
{
151+
m_includeDiscount = jsonValue.GetBool("IncludeDiscount");
152+
153+
m_includeDiscountHasBeenSet = true;
154+
}
155+
156+
if(jsonValue.ValueExists("UseAmortized"))
157+
{
158+
m_useAmortized = jsonValue.GetBool("UseAmortized");
159+
160+
m_useAmortizedHasBeenSet = true;
161+
}
162+
141163
return *this;
142164
}
143165

@@ -199,6 +221,18 @@ JsonValue CostTypes::Jsonize() const
199221

200222
}
201223

224+
if(m_includeDiscountHasBeenSet)
225+
{
226+
payload.WithBool("IncludeDiscount", m_includeDiscount);
227+
228+
}
229+
230+
if(m_useAmortizedHasBeenSet)
231+
{
232+
payload.WithBool("UseAmortized", m_useAmortized);
233+
234+
}
235+
202236
return payload;
203237
}
204238

aws-cpp-sdk-cloud9/nuget/aws-cpp-sdk-cloud9.autopkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-Cloud9;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.3.20170923.43;
16+
version : 1.3.20170923.44;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (AWS Cloud9);
@@ -48,7 +48,7 @@ nuget {
4848

4949
dependencies {
5050
packages: {
51-
AWSSDKCPP-Core/1.3.43
51+
AWSSDKCPP-Core/1.3.44
5252
}
5353
}
5454

aws-cpp-sdk-clouddirectory/nuget/aws-cpp-sdk-clouddirectory.autopkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-CloudDirectory;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.3.20160510.43;
16+
version : 1.3.20160510.44;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (Amazon CloudDirectory);
@@ -48,7 +48,7 @@ nuget {
4848

4949
dependencies {
5050
packages: {
51-
AWSSDKCPP-Core/1.3.43
51+
AWSSDKCPP-Core/1.3.44
5252
}
5353
}
5454

aws-cpp-sdk-cloudformation/nuget/aws-cpp-sdk-cloudformation.autopkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ nuget {
1313
id = AWSSDKCPP-CloudFormation;
1414

1515
// Version number. Follows NuGet standards. (currently SemVer 1.0)
16-
version : 1.3.20100515.43;
16+
version : 1.3.20100515.44;
1717

1818
// Display name for package.
1919
title: AWS SDK for C++ (AWS CloudFormation);
@@ -48,7 +48,7 @@ nuget {
4848

4949
dependencies {
5050
packages: {
51-
AWSSDKCPP-Core/1.3.43
51+
AWSSDKCPP-Core/1.3.44
5252
}
5353
}
5454

0 commit comments

Comments
 (0)