diff --git a/VERSION b/VERSION
index af8e25216d5..5c6cdb6f31b 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.11.471
\ No newline at end of file
+1.11.472
\ No newline at end of file
diff --git a/generated/smoke-tests/codepipeline/CodePipelineSmokeTests.cpp b/generated/smoke-tests/codepipeline/CodePipelineSmokeTests.cpp
index f4aad1fec0a..b447f8df4c8 100644
--- a/generated/smoke-tests/codepipeline/CodePipelineSmokeTests.cpp
+++ b/generated/smoke-tests/codepipeline/CodePipelineSmokeTests.cpp
@@ -17,7 +17,6 @@
#include
#include
#include
-#include
#include
namespace CodePipelineSmokeTest{
@@ -32,7 +31,7 @@ class CodePipelineSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char CodePipelineSmokeTestSuite::ALLOCATION_TAG[] = "CodePipelineSmokeTest";
-TEST_F(CodePipelineSmokeTestSuite, ListPipelinesSuccess )
+TEST_F(CodePipelineSmokeTestSuite, GetPipelineFailure )
{
Aws::CodePipeline::CodePipelineClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
@@ -41,11 +40,12 @@ TEST_F(CodePipelineSmokeTestSuite, ListPipelinesSuccess )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- ListPipelinesRequest input;
- auto outcome = clientSp->ListPipelines(input);
- EXPECT_TRUE( outcome.IsSuccess());
+ GetPipelineRequest input;
+ input.SetName("fake-pipeline");
+ auto outcome = clientSp->GetPipeline(input);
+ EXPECT_FALSE( outcome.IsSuccess());
}
-TEST_F(CodePipelineSmokeTestSuite, GetPipelineFailure )
+TEST_F(CodePipelineSmokeTestSuite, ListPipelinesSuccess )
{
Aws::CodePipeline::CodePipelineClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
@@ -54,9 +54,8 @@ TEST_F(CodePipelineSmokeTestSuite, GetPipelineFailure )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- GetPipelineRequest input;
- input.SetName("fake-pipeline");
- auto outcome = clientSp->GetPipeline(input);
- EXPECT_FALSE( outcome.IsSuccess());
+ ListPipelinesRequest input;
+ auto outcome = clientSp->ListPipelines(input);
+ EXPECT_TRUE( outcome.IsSuccess());
}
}
diff --git a/generated/smoke-tests/directory-service-data/DirectoryServiceDataSmokeTests.cpp b/generated/smoke-tests/directory-service-data/DirectoryServiceDataSmokeTests.cpp
index 92b3838f598..e0a41d24c9e 100644
--- a/generated/smoke-tests/directory-service-data/DirectoryServiceDataSmokeTests.cpp
+++ b/generated/smoke-tests/directory-service-data/DirectoryServiceDataSmokeTests.cpp
@@ -32,7 +32,7 @@ class DirectoryServiceDataSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSu
static const char ALLOCATION_TAG[];
};
const char DirectoryServiceDataSmokeTestSuite::ALLOCATION_TAG[] = "DirectoryServiceDataSmokeTest";
-TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeGroupFailure )
+TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeUserFailure )
{
Aws::DirectoryServiceData::DirectoryServiceDataClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
@@ -41,13 +41,13 @@ TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeGroupFailure )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- DescribeGroupRequest input;
+ DescribeUserRequest input;
input.SetDirectoryId("d-1111111111");
- input.SetSAMAccountName("test-group");
- auto outcome = clientSp->DescribeGroup(input);
+ input.SetSAMAccountName("test-user");
+ auto outcome = clientSp->DescribeUser(input);
EXPECT_FALSE( outcome.IsSuccess());
}
-TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeUserFailure )
+TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeGroupFailure )
{
Aws::DirectoryServiceData::DirectoryServiceDataClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
@@ -56,10 +56,10 @@ TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeUserFailure )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- DescribeUserRequest input;
+ DescribeGroupRequest input;
input.SetDirectoryId("d-1111111111");
- input.SetSAMAccountName("test-user");
- auto outcome = clientSp->DescribeUser(input);
+ input.SetSAMAccountName("test-group");
+ auto outcome = clientSp->DescribeGroup(input);
EXPECT_FALSE( outcome.IsSuccess());
}
}
diff --git a/generated/smoke-tests/docdb/DocDBSmokeTests.cpp b/generated/smoke-tests/docdb/DocDBSmokeTests.cpp
index 46a2c112eac..78cf5f2bae6 100644
--- a/generated/smoke-tests/docdb/DocDBSmokeTests.cpp
+++ b/generated/smoke-tests/docdb/DocDBSmokeTests.cpp
@@ -15,8 +15,10 @@
#include
#include
#include
+#include
#include
#include
+#include
namespace DocDBSmokeTest{
using namespace Aws::Auth;
@@ -43,4 +45,18 @@ TEST_F(DocDBSmokeTestSuite, DescribeDBEngineVersionsSuccess )
auto outcome = clientSp->DescribeDBEngineVersions(input);
EXPECT_TRUE( outcome.IsSuccess());
}
+TEST_F(DocDBSmokeTestSuite, DescribeDBInstancesFailure )
+{
+ Aws::DocDB::DocDBClientConfiguration clientConfiguration;
+ clientConfiguration.region = "us-west-2";
+ clientConfiguration.useFIPS = false;
+ clientConfiguration.useDualStack = false;
+ auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
+ //populate input params
+
+ DescribeDBInstancesRequest input;
+ input.SetDBInstanceIdentifier("fake-id");
+ auto outcome = clientSp->DescribeDBInstances(input);
+ EXPECT_FALSE( outcome.IsSuccess());
+}
}
diff --git a/generated/smoke-tests/ec2/EC2SmokeTests.cpp b/generated/smoke-tests/ec2/EC2SmokeTests.cpp
index 8005e465974..61ff50a105d 100644
--- a/generated/smoke-tests/ec2/EC2SmokeTests.cpp
+++ b/generated/smoke-tests/ec2/EC2SmokeTests.cpp
@@ -18,6 +18,7 @@
#include
#include
#include
+#include
namespace EC2SmokeTest{
using namespace Aws::Auth;
@@ -31,6 +32,19 @@ class EC2SmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char EC2SmokeTestSuite::ALLOCATION_TAG[] = "EC2SmokeTest";
+TEST_F(EC2SmokeTestSuite, DescribeRegionsSuccess )
+{
+ Aws::EC2::EC2ClientConfiguration clientConfiguration;
+ clientConfiguration.region = "us-west-2";
+ clientConfiguration.useFIPS = false;
+ clientConfiguration.useDualStack = false;
+ auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
+ //populate input params
+
+ DescribeRegionsRequest input;
+ auto outcome = clientSp->DescribeRegions(input);
+ EXPECT_TRUE( outcome.IsSuccess());
+}
TEST_F(EC2SmokeTestSuite, DescribeInstancesFailure )
{
Aws::EC2::EC2ClientConfiguration clientConfiguration;
@@ -54,17 +68,4 @@ TEST_F(EC2SmokeTestSuite, DescribeInstancesFailure )
auto outcome = clientSp->DescribeInstances(input);
EXPECT_FALSE( outcome.IsSuccess());
}
-TEST_F(EC2SmokeTestSuite, DescribeRegionsSuccess )
-{
- Aws::EC2::EC2ClientConfiguration clientConfiguration;
- clientConfiguration.region = "us-west-2";
- clientConfiguration.useFIPS = false;
- clientConfiguration.useDualStack = false;
- auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
- //populate input params
-
- DescribeRegionsRequest input;
- auto outcome = clientSp->DescribeRegions(input);
- EXPECT_TRUE( outcome.IsSuccess());
-}
}
diff --git a/generated/smoke-tests/iam/IAMSmokeTests.cpp b/generated/smoke-tests/iam/IAMSmokeTests.cpp
index b2ad96b2454..f9734d88b06 100644
--- a/generated/smoke-tests/iam/IAMSmokeTests.cpp
+++ b/generated/smoke-tests/iam/IAMSmokeTests.cpp
@@ -18,6 +18,7 @@
#include
#include
#include
+#include
namespace IAMSmokeTest{
using namespace Aws::Auth;
@@ -31,7 +32,7 @@ class IAMSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char IAMSmokeTestSuite::ALLOCATION_TAG[] = "IAMSmokeTest";
-TEST_F(IAMSmokeTestSuite, GetUserFailure )
+TEST_F(IAMSmokeTestSuite, ListUsersSuccess )
{
Aws::IAM::IAMClientConfiguration clientConfiguration;
clientConfiguration.region = "us-east-1";
@@ -40,12 +41,11 @@ TEST_F(IAMSmokeTestSuite, GetUserFailure )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- GetUserRequest input;
- input.SetUserName("fake_user");
- auto outcome = clientSp->GetUser(input);
- EXPECT_FALSE( outcome.IsSuccess());
+ ListUsersRequest input;
+ auto outcome = clientSp->ListUsers(input);
+ EXPECT_TRUE( outcome.IsSuccess());
}
-TEST_F(IAMSmokeTestSuite, ListUsersSuccess )
+TEST_F(IAMSmokeTestSuite, GetUserFailure )
{
Aws::IAM::IAMClientConfiguration clientConfiguration;
clientConfiguration.region = "us-east-1";
@@ -54,8 +54,9 @@ TEST_F(IAMSmokeTestSuite, ListUsersSuccess )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- ListUsersRequest input;
- auto outcome = clientSp->ListUsers(input);
- EXPECT_TRUE( outcome.IsSuccess());
+ GetUserRequest input;
+ input.SetUserName("fake_user");
+ auto outcome = clientSp->GetUser(input);
+ EXPECT_FALSE( outcome.IsSuccess());
}
}
diff --git a/generated/smoke-tests/kinesis/KinesisSmokeTests.cpp b/generated/smoke-tests/kinesis/KinesisSmokeTests.cpp
index 99cd620a151..a8c7180d79c 100644
--- a/generated/smoke-tests/kinesis/KinesisSmokeTests.cpp
+++ b/generated/smoke-tests/kinesis/KinesisSmokeTests.cpp
@@ -18,6 +18,7 @@
#include
#include
#include
+#include
namespace KinesisSmokeTest{
using namespace Aws::Auth;
@@ -31,7 +32,7 @@ class KinesisSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char KinesisSmokeTestSuite::ALLOCATION_TAG[] = "KinesisSmokeTest";
-TEST_F(KinesisSmokeTestSuite, DescribeStreamFailure )
+TEST_F(KinesisSmokeTestSuite, ListStreamsSuccess )
{
Aws::Kinesis::KinesisClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
@@ -40,12 +41,11 @@ TEST_F(KinesisSmokeTestSuite, DescribeStreamFailure )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- DescribeStreamRequest input;
- input.SetStreamName("bogus-stream-name");
- auto outcome = clientSp->DescribeStream(input);
- EXPECT_FALSE( outcome.IsSuccess());
+ ListStreamsRequest input;
+ auto outcome = clientSp->ListStreams(input);
+ EXPECT_TRUE( outcome.IsSuccess());
}
-TEST_F(KinesisSmokeTestSuite, ListStreamsSuccess )
+TEST_F(KinesisSmokeTestSuite, DescribeStreamFailure )
{
Aws::Kinesis::KinesisClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
@@ -54,8 +54,9 @@ TEST_F(KinesisSmokeTestSuite, ListStreamsSuccess )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- ListStreamsRequest input;
- auto outcome = clientSp->ListStreams(input);
- EXPECT_TRUE( outcome.IsSuccess());
+ DescribeStreamRequest input;
+ input.SetStreamName("bogus-stream-name");
+ auto outcome = clientSp->DescribeStream(input);
+ EXPECT_FALSE( outcome.IsSuccess());
}
}
diff --git a/generated/smoke-tests/logs/CloudWatchLogsSmokeTests.cpp b/generated/smoke-tests/logs/CloudWatchLogsSmokeTests.cpp
index 73e1604fc81..94eb97015f7 100644
--- a/generated/smoke-tests/logs/CloudWatchLogsSmokeTests.cpp
+++ b/generated/smoke-tests/logs/CloudWatchLogsSmokeTests.cpp
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
namespace CloudWatchLogsSmokeTest{
using namespace Aws::Auth;
@@ -32,7 +31,7 @@ class CloudWatchLogsSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char CloudWatchLogsSmokeTestSuite::ALLOCATION_TAG[] = "CloudWatchLogsSmokeTest";
-TEST_F(CloudWatchLogsSmokeTestSuite, DescribeLogGroupsSuccess )
+TEST_F(CloudWatchLogsSmokeTestSuite, GetLogEventsFailure )
{
Aws::CloudWatchLogs::CloudWatchLogsClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
@@ -41,11 +40,13 @@ TEST_F(CloudWatchLogsSmokeTestSuite, DescribeLogGroupsSuccess )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- DescribeLogGroupsRequest input;
- auto outcome = clientSp->DescribeLogGroups(input);
- EXPECT_TRUE( outcome.IsSuccess());
+ GetLogEventsRequest input;
+ input.SetLogGroupName("fakegroup");
+ input.SetLogStreamName("fakestream");
+ auto outcome = clientSp->GetLogEvents(input);
+ EXPECT_FALSE( outcome.IsSuccess());
}
-TEST_F(CloudWatchLogsSmokeTestSuite, GetLogEventsFailure )
+TEST_F(CloudWatchLogsSmokeTestSuite, DescribeLogGroupsSuccess )
{
Aws::CloudWatchLogs::CloudWatchLogsClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
@@ -54,10 +55,8 @@ TEST_F(CloudWatchLogsSmokeTestSuite, GetLogEventsFailure )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- GetLogEventsRequest input;
- input.SetLogGroupName("fakegroup");
- input.SetLogStreamName("fakestream");
- auto outcome = clientSp->GetLogEvents(input);
- EXPECT_FALSE( outcome.IsSuccess());
+ DescribeLogGroupsRequest input;
+ auto outcome = clientSp->DescribeLogGroups(input);
+ EXPECT_TRUE( outcome.IsSuccess());
}
}
diff --git a/generated/smoke-tests/neptune/NeptuneSmokeTests.cpp b/generated/smoke-tests/neptune/NeptuneSmokeTests.cpp
index e879663f789..b1cdf517458 100644
--- a/generated/smoke-tests/neptune/NeptuneSmokeTests.cpp
+++ b/generated/smoke-tests/neptune/NeptuneSmokeTests.cpp
@@ -18,6 +18,7 @@
#include
#include
#include
+#include
namespace NeptuneSmokeTest{
using namespace Aws::Auth;
@@ -31,7 +32,7 @@ class NeptuneSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char NeptuneSmokeTestSuite::ALLOCATION_TAG[] = "NeptuneSmokeTest";
-TEST_F(NeptuneSmokeTestSuite, DescribeDBInstancesFailure )
+TEST_F(NeptuneSmokeTestSuite, DescribeDBEngineVersionsSuccess )
{
Aws::Neptune::NeptuneClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
@@ -40,12 +41,11 @@ TEST_F(NeptuneSmokeTestSuite, DescribeDBInstancesFailure )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- DescribeDBInstancesRequest input;
- input.SetDBInstanceIdentifier("fake-id");
- auto outcome = clientSp->DescribeDBInstances(input);
- EXPECT_FALSE( outcome.IsSuccess());
+ DescribeDBEngineVersionsRequest input;
+ auto outcome = clientSp->DescribeDBEngineVersions(input);
+ EXPECT_TRUE( outcome.IsSuccess());
}
-TEST_F(NeptuneSmokeTestSuite, DescribeDBEngineVersionsSuccess )
+TEST_F(NeptuneSmokeTestSuite, DescribeDBInstancesFailure )
{
Aws::Neptune::NeptuneClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
@@ -54,8 +54,9 @@ TEST_F(NeptuneSmokeTestSuite, DescribeDBEngineVersionsSuccess )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- DescribeDBEngineVersionsRequest input;
- auto outcome = clientSp->DescribeDBEngineVersions(input);
- EXPECT_TRUE( outcome.IsSuccess());
+ DescribeDBInstancesRequest input;
+ input.SetDBInstanceIdentifier("fake-id");
+ auto outcome = clientSp->DescribeDBInstances(input);
+ EXPECT_FALSE( outcome.IsSuccess());
}
}
diff --git a/generated/smoke-tests/rds/RDSSmokeTests.cpp b/generated/smoke-tests/rds/RDSSmokeTests.cpp
index bf150f4893a..0da11b71595 100644
--- a/generated/smoke-tests/rds/RDSSmokeTests.cpp
+++ b/generated/smoke-tests/rds/RDSSmokeTests.cpp
@@ -18,6 +18,7 @@
#include
#include
#include
+#include
namespace RDSSmokeTest{
using namespace Aws::Auth;
@@ -31,7 +32,7 @@ class RDSSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char RDSSmokeTestSuite::ALLOCATION_TAG[] = "RDSSmokeTest";
-TEST_F(RDSSmokeTestSuite, DescribeDBInstancesFailure )
+TEST_F(RDSSmokeTestSuite, DescribeDBEngineVersionsSuccess )
{
Aws::RDS::RDSClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
@@ -40,12 +41,11 @@ TEST_F(RDSSmokeTestSuite, DescribeDBInstancesFailure )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- DescribeDBInstancesRequest input;
- input.SetDBInstanceIdentifier("fake-id");
- auto outcome = clientSp->DescribeDBInstances(input);
- EXPECT_FALSE( outcome.IsSuccess());
+ DescribeDBEngineVersionsRequest input;
+ auto outcome = clientSp->DescribeDBEngineVersions(input);
+ EXPECT_TRUE( outcome.IsSuccess());
}
-TEST_F(RDSSmokeTestSuite, DescribeDBEngineVersionsSuccess )
+TEST_F(RDSSmokeTestSuite, DescribeDBInstancesFailure )
{
Aws::RDS::RDSClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
@@ -54,8 +54,9 @@ TEST_F(RDSSmokeTestSuite, DescribeDBEngineVersionsSuccess )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- DescribeDBEngineVersionsRequest input;
- auto outcome = clientSp->DescribeDBEngineVersions(input);
- EXPECT_TRUE( outcome.IsSuccess());
+ DescribeDBInstancesRequest input;
+ input.SetDBInstanceIdentifier("fake-id");
+ auto outcome = clientSp->DescribeDBInstances(input);
+ EXPECT_FALSE( outcome.IsSuccess());
}
}
diff --git a/generated/smoke-tests/route53/Route53SmokeTests.cpp b/generated/smoke-tests/route53/Route53SmokeTests.cpp
index 1bdd4ecb39c..4ace8553a3a 100644
--- a/generated/smoke-tests/route53/Route53SmokeTests.cpp
+++ b/generated/smoke-tests/route53/Route53SmokeTests.cpp
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
namespace Route53SmokeTest{
using namespace Aws::Auth;
@@ -32,7 +31,7 @@ class Route53SmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char Route53SmokeTestSuite::ALLOCATION_TAG[] = "Route53SmokeTest";
-TEST_F(Route53SmokeTestSuite, ListHostedZonesSuccess )
+TEST_F(Route53SmokeTestSuite, GetHostedZoneFailure )
{
Aws::Route53::Route53ClientConfiguration clientConfiguration;
clientConfiguration.region = "us-east-1";
@@ -41,11 +40,12 @@ TEST_F(Route53SmokeTestSuite, ListHostedZonesSuccess )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- ListHostedZonesRequest input;
- auto outcome = clientSp->ListHostedZones(input);
- EXPECT_TRUE( outcome.IsSuccess());
+ GetHostedZoneRequest input;
+ input.SetId("fake-zone");
+ auto outcome = clientSp->GetHostedZone(input);
+ EXPECT_FALSE( outcome.IsSuccess());
}
-TEST_F(Route53SmokeTestSuite, GetHostedZoneFailure )
+TEST_F(Route53SmokeTestSuite, ListHostedZonesSuccess )
{
Aws::Route53::Route53ClientConfiguration clientConfiguration;
clientConfiguration.region = "us-east-1";
@@ -54,9 +54,8 @@ TEST_F(Route53SmokeTestSuite, GetHostedZoneFailure )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- GetHostedZoneRequest input;
- input.SetId("fake-zone");
- auto outcome = clientSp->GetHostedZone(input);
- EXPECT_FALSE( outcome.IsSuccess());
+ ListHostedZonesRequest input;
+ auto outcome = clientSp->ListHostedZones(input);
+ EXPECT_TRUE( outcome.IsSuccess());
}
}
diff --git a/generated/smoke-tests/route53domains/Route53DomainsSmokeTests.cpp b/generated/smoke-tests/route53domains/Route53DomainsSmokeTests.cpp
index 348a6974924..5ae06ac511d 100644
--- a/generated/smoke-tests/route53domains/Route53DomainsSmokeTests.cpp
+++ b/generated/smoke-tests/route53domains/Route53DomainsSmokeTests.cpp
@@ -18,7 +18,6 @@
#include
#include
#include
-#include
namespace Route53DomainsSmokeTest{
using namespace Aws::Auth;
@@ -32,7 +31,7 @@ class Route53DomainsSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char Route53DomainsSmokeTestSuite::ALLOCATION_TAG[] = "Route53DomainsSmokeTest";
-TEST_F(Route53DomainsSmokeTestSuite, ListDomainsSuccess )
+TEST_F(Route53DomainsSmokeTestSuite, GetDomainDetailFailure )
{
Aws::Route53Domains::Route53DomainsClientConfiguration clientConfiguration;
clientConfiguration.region = "us-east-1";
@@ -41,11 +40,12 @@ TEST_F(Route53DomainsSmokeTestSuite, ListDomainsSuccess )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- ListDomainsRequest input;
- auto outcome = clientSp->ListDomains(input);
- EXPECT_TRUE( outcome.IsSuccess());
+ GetDomainDetailRequest input;
+ input.SetDomainName("fake-domain-name");
+ auto outcome = clientSp->GetDomainDetail(input);
+ EXPECT_FALSE( outcome.IsSuccess());
}
-TEST_F(Route53DomainsSmokeTestSuite, GetDomainDetailFailure )
+TEST_F(Route53DomainsSmokeTestSuite, ListDomainsSuccess )
{
Aws::Route53Domains::Route53DomainsClientConfiguration clientConfiguration;
clientConfiguration.region = "us-east-1";
@@ -54,9 +54,8 @@ TEST_F(Route53DomainsSmokeTestSuite, GetDomainDetailFailure )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- GetDomainDetailRequest input;
- input.SetDomainName("fake-domain-name");
- auto outcome = clientSp->GetDomainDetail(input);
- EXPECT_FALSE( outcome.IsSuccess());
+ ListDomainsRequest input;
+ auto outcome = clientSp->ListDomains(input);
+ EXPECT_TRUE( outcome.IsSuccess());
}
}
diff --git a/generated/smoke-tests/secretsmanager/SecretsManagerSmokeTests.cpp b/generated/smoke-tests/secretsmanager/SecretsManagerSmokeTests.cpp
index 109df5d055f..eaeee0e36ce 100644
--- a/generated/smoke-tests/secretsmanager/SecretsManagerSmokeTests.cpp
+++ b/generated/smoke-tests/secretsmanager/SecretsManagerSmokeTests.cpp
@@ -18,6 +18,7 @@
#include
#include
#include
+#include
namespace SecretsManagerSmokeTest{
using namespace Aws::Auth;
@@ -31,7 +32,7 @@ class SecretsManagerSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite {
static const char ALLOCATION_TAG[];
};
const char SecretsManagerSmokeTestSuite::ALLOCATION_TAG[] = "SecretsManagerSmokeTest";
-TEST_F(SecretsManagerSmokeTestSuite, DescribeSecretFailure )
+TEST_F(SecretsManagerSmokeTestSuite, ListSecretsSuccess )
{
Aws::SecretsManager::SecretsManagerClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
@@ -40,12 +41,11 @@ TEST_F(SecretsManagerSmokeTestSuite, DescribeSecretFailure )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- DescribeSecretRequest input;
- input.SetSecretId("fake-secret-id");
- auto outcome = clientSp->DescribeSecret(input);
- EXPECT_FALSE( outcome.IsSuccess());
+ ListSecretsRequest input;
+ auto outcome = clientSp->ListSecrets(input);
+ EXPECT_TRUE( outcome.IsSuccess());
}
-TEST_F(SecretsManagerSmokeTestSuite, ListSecretsSuccess )
+TEST_F(SecretsManagerSmokeTestSuite, DescribeSecretFailure )
{
Aws::SecretsManager::SecretsManagerClientConfiguration clientConfiguration;
clientConfiguration.region = "us-west-2";
@@ -54,8 +54,9 @@ TEST_F(SecretsManagerSmokeTestSuite, ListSecretsSuccess )
auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration);
//populate input params
- ListSecretsRequest input;
- auto outcome = clientSp->ListSecrets(input);
- EXPECT_TRUE( outcome.IsSuccess());
+ DescribeSecretRequest input;
+ input.SetSecretId("fake-secret-id");
+ auto outcome = clientSp->DescribeSecret(input);
+ EXPECT_FALSE( outcome.IsSuccess());
}
}
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/BedrockAgentRuntimeClient.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/BedrockAgentRuntimeClient.h
index e613da8f349..3c38f12b515 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/BedrockAgentRuntimeClient.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/BedrockAgentRuntimeClient.h
@@ -169,14 +169,18 @@ namespace BedrockAgentRuntime
* processed, the actions it took, and the final result it yielded. For more
* information, see Trace
- * enablement.
End a conversation by setting
- * endSession
to true
.
In the
- * sessionState
object, you can include attributes for the session or
- * prompt or, if you configured an action group to return control, results from
- * invocation of the action group.
The response is returned in
- * the bytes
field of the chunk
object.
-
- *
The attribution
object contains citations for parts of the
- * response.
-
If you set enableTrace
to
+ * enablement.
-
To stream agent responses, make sure that only
+ * orchestration prompt is enabled. Agent streaming is not supported for the
+ * following steps:
-
End a
+ * conversation by setting endSession
to true
.
+ * -
In the sessionState
object, you can include attributes for
+ * the session or prompt or, if you configured an action group to return control,
+ * results from invocation of the action group.
The response is
+ * returned in the bytes
field of the chunk
object.
+ * -
The attribution
object contains citations for parts of
+ * the response.
-
If you set enableTrace
to
* true
in the request, you can trace the agent's steps and reasoning
* process that led it to the response.
-
If the action predicted
* was configured to return control, the response returns parameters for the
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/BedrockAgentRuntimeErrors.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/BedrockAgentRuntimeErrors.h
index 4c2382699f3..cdab835fda4 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/BedrockAgentRuntimeErrors.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/BedrockAgentRuntimeErrors.h
@@ -51,6 +51,7 @@ enum class BedrockAgentRuntimeErrors
CONFLICT,
DEPENDENCY_FAILED,
INTERNAL_SERVER,
+ MODEL_NOT_READY,
SERVICE_QUOTA_EXCEEDED
};
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentActionGroup.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentActionGroup.h
index 2ee7b3e117d..cb948b16af4 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentActionGroup.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AgentActionGroup.h
@@ -126,7 +126,7 @@ namespace Model
*
During orchestration, if your agent determines that it needs to invoke an API
* in an action group, but doesn't have enough information to complete the API
* request, it will invoke this action group instead and return an Observation
+ * href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html">Observation
* reprompting the user for more information.
*/
inline const ActionGroupSignature& GetParentActionGroupSignature() const{ return m_parentActionGroupSignature; }
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/BedrockModelConfigurations.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/BedrockModelConfigurations.h
new file mode 100644
index 00000000000..1adab268efc
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/BedrockModelConfigurations.h
@@ -0,0 +1,60 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+ /**
+ * Settings for a model called with InvokeAgent.
See Also:
+ * AWS
+ * API Reference
+ */
+ class BedrockModelConfigurations
+ {
+ public:
+ AWS_BEDROCKAGENTRUNTIME_API BedrockModelConfigurations();
+ AWS_BEDROCKAGENTRUNTIME_API BedrockModelConfigurations(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API BedrockModelConfigurations& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The performance configuration for the model.
+ */
+ inline const PerformanceConfiguration& GetPerformanceConfig() const{ return m_performanceConfig; }
+ inline bool PerformanceConfigHasBeenSet() const { return m_performanceConfigHasBeenSet; }
+ inline void SetPerformanceConfig(const PerformanceConfiguration& value) { m_performanceConfigHasBeenSet = true; m_performanceConfig = value; }
+ inline void SetPerformanceConfig(PerformanceConfiguration&& value) { m_performanceConfigHasBeenSet = true; m_performanceConfig = std::move(value); }
+ inline BedrockModelConfigurations& WithPerformanceConfig(const PerformanceConfiguration& value) { SetPerformanceConfig(value); return *this;}
+ inline BedrockModelConfigurations& WithPerformanceConfig(PerformanceConfiguration&& value) { SetPerformanceConfig(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ PerformanceConfiguration m_performanceConfig;
+ bool m_performanceConfigHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/DeleteAgentMemoryRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/DeleteAgentMemoryRequest.h
index df50f388aa3..363c9de8631 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/DeleteAgentMemoryRequest.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/DeleteAgentMemoryRequest.h
@@ -79,6 +79,20 @@ namespace Model
inline DeleteAgentMemoryRequest& WithMemoryId(Aws::String&& value) { SetMemoryId(std::move(value)); return *this;}
inline DeleteAgentMemoryRequest& WithMemoryId(const char* value) { SetMemoryId(value); return *this;}
///@}
+
+ ///@{
+ /**
+ * The unique session identifier of the memory.
+ */
+ inline const Aws::String& GetSessionId() const{ return m_sessionId; }
+ inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
+ inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
+ inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
+ inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
+ inline DeleteAgentMemoryRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
+ inline DeleteAgentMemoryRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
+ inline DeleteAgentMemoryRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
+ ///@}
private:
Aws::String m_agentAliasId;
@@ -89,6 +103,9 @@ namespace Model
Aws::String m_memoryId;
bool m_memoryIdHasBeenSet = false;
+
+ Aws::String m_sessionId;
+ bool m_sessionIdHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ExternalSourcesGenerationConfiguration.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ExternalSourcesGenerationConfiguration.h
index 63db6e5f163..8768714192d 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ExternalSourcesGenerationConfiguration.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ExternalSourcesGenerationConfiguration.h
@@ -8,6 +8,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -88,6 +89,18 @@ namespace Model
inline ExternalSourcesGenerationConfiguration& WithInferenceConfig(InferenceConfig&& value) { SetInferenceConfig(std::move(value)); return *this;}
///@}
+ ///@{
+ /**
+ * The latency configuration for the model.
+ */
+ inline const PerformanceConfiguration& GetPerformanceConfig() const{ return m_performanceConfig; }
+ inline bool PerformanceConfigHasBeenSet() const { return m_performanceConfigHasBeenSet; }
+ inline void SetPerformanceConfig(const PerformanceConfiguration& value) { m_performanceConfigHasBeenSet = true; m_performanceConfig = value; }
+ inline void SetPerformanceConfig(PerformanceConfiguration&& value) { m_performanceConfigHasBeenSet = true; m_performanceConfig = std::move(value); }
+ inline ExternalSourcesGenerationConfiguration& WithPerformanceConfig(const PerformanceConfiguration& value) { SetPerformanceConfig(value); return *this;}
+ inline ExternalSourcesGenerationConfiguration& WithPerformanceConfig(PerformanceConfiguration&& value) { SetPerformanceConfig(std::move(value)); return *this;}
+ ///@}
+
///@{
/**
* Contain the textPromptTemplate string for the external source wrapper
@@ -111,6 +124,9 @@ namespace Model
InferenceConfig m_inferenceConfig;
bool m_inferenceConfigHasBeenSet = false;
+ PerformanceConfiguration m_performanceConfig;
+ bool m_performanceConfigHasBeenSet = false;
+
PromptTemplate m_promptTemplate;
bool m_promptTemplateHasBeenSet = false;
};
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/GenerationConfiguration.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/GenerationConfiguration.h
index 9a54c3a521e..5e299bfe852 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/GenerationConfiguration.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/GenerationConfiguration.h
@@ -8,6 +8,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -91,6 +92,18 @@ namespace Model
inline GenerationConfiguration& WithInferenceConfig(InferenceConfig&& value) { SetInferenceConfig(std::move(value)); return *this;}
///@}
+ ///@{
+ /**
+ * The latency configuration for the model.
+ */
+ inline const PerformanceConfiguration& GetPerformanceConfig() const{ return m_performanceConfig; }
+ inline bool PerformanceConfigHasBeenSet() const { return m_performanceConfigHasBeenSet; }
+ inline void SetPerformanceConfig(const PerformanceConfiguration& value) { m_performanceConfigHasBeenSet = true; m_performanceConfig = value; }
+ inline void SetPerformanceConfig(PerformanceConfiguration&& value) { m_performanceConfigHasBeenSet = true; m_performanceConfig = std::move(value); }
+ inline GenerationConfiguration& WithPerformanceConfig(const PerformanceConfiguration& value) { SetPerformanceConfig(value); return *this;}
+ inline GenerationConfiguration& WithPerformanceConfig(PerformanceConfiguration&& value) { SetPerformanceConfig(std::move(value)); return *this;}
+ ///@}
+
///@{
/**
* Contains the template for the prompt that's sent to the model for response
@@ -117,6 +130,9 @@ namespace Model
InferenceConfig m_inferenceConfig;
bool m_inferenceConfigHasBeenSet = false;
+ PerformanceConfiguration m_performanceConfig;
+ bool m_performanceConfigHasBeenSet = false;
+
PromptTemplate m_promptTemplate;
bool m_promptTemplateHasBeenSet = false;
};
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InlineBedrockModelConfigurations.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InlineBedrockModelConfigurations.h
new file mode 100644
index 00000000000..d70ee418276
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InlineBedrockModelConfigurations.h
@@ -0,0 +1,60 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+ /**
+ * Settings for a model called with InvokeInlineAgent.
See
+ * Also:
AWS
+ * API Reference
+ */
+ class InlineBedrockModelConfigurations
+ {
+ public:
+ AWS_BEDROCKAGENTRUNTIME_API InlineBedrockModelConfigurations();
+ AWS_BEDROCKAGENTRUNTIME_API InlineBedrockModelConfigurations(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API InlineBedrockModelConfigurations& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The latency configuration for the model.
+ */
+ inline const PerformanceConfiguration& GetPerformanceConfig() const{ return m_performanceConfig; }
+ inline bool PerformanceConfigHasBeenSet() const { return m_performanceConfigHasBeenSet; }
+ inline void SetPerformanceConfig(const PerformanceConfiguration& value) { m_performanceConfigHasBeenSet = true; m_performanceConfig = value; }
+ inline void SetPerformanceConfig(PerformanceConfiguration&& value) { m_performanceConfigHasBeenSet = true; m_performanceConfig = std::move(value); }
+ inline InlineBedrockModelConfigurations& WithPerformanceConfig(const PerformanceConfiguration& value) { SetPerformanceConfig(value); return *this;}
+ inline InlineBedrockModelConfigurations& WithPerformanceConfig(PerformanceConfiguration&& value) { SetPerformanceConfig(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ PerformanceConfiguration m_performanceConfig;
+ bool m_performanceConfigHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentRequest.h
index ec9f045c2e3..a11aabad307 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentRequest.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentRequest.h
@@ -9,6 +9,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -86,6 +87,18 @@ namespace Model
inline InvokeAgentRequest& WithAgentId(const char* value) { SetAgentId(value); return *this;}
///@}
+ ///@{
+ /**
+ * Model performance settings for the request.
+ */
+ inline const BedrockModelConfigurations& GetBedrockModelConfigurations() const{ return m_bedrockModelConfigurations; }
+ inline bool BedrockModelConfigurationsHasBeenSet() const { return m_bedrockModelConfigurationsHasBeenSet; }
+ inline void SetBedrockModelConfigurations(const BedrockModelConfigurations& value) { m_bedrockModelConfigurationsHasBeenSet = true; m_bedrockModelConfigurations = value; }
+ inline void SetBedrockModelConfigurations(BedrockModelConfigurations&& value) { m_bedrockModelConfigurationsHasBeenSet = true; m_bedrockModelConfigurations = std::move(value); }
+ inline InvokeAgentRequest& WithBedrockModelConfigurations(const BedrockModelConfigurations& value) { SetBedrockModelConfigurations(value); return *this;}
+ inline InvokeAgentRequest& WithBedrockModelConfigurations(BedrockModelConfigurations&& value) { SetBedrockModelConfigurations(std::move(value)); return *this;}
+ ///@}
+
///@{
/**
* Specifies whether to turn on the trace or not to track the agent's reasoning
@@ -187,7 +200,9 @@ namespace Model
///@{
/**
- *
Specifies the configurations for streaming.
+ * Specifies the configurations for streaming.
To use agent
+ * streaming, you need permissions to perform the
+ * bedrock:InvokeModelWithResponseStream
action.
*/
inline const StreamingConfigurations& GetStreamingConfigurations() const{ return m_streamingConfigurations; }
inline bool StreamingConfigurationsHasBeenSet() const { return m_streamingConfigurationsHasBeenSet; }
@@ -204,6 +219,9 @@ namespace Model
Aws::String m_agentId;
bool m_agentIdHasBeenSet = false;
+ BedrockModelConfigurations m_bedrockModelConfigurations;
+ bool m_bedrockModelConfigurationsHasBeenSet = false;
+
bool m_enableTrace;
bool m_enableTraceHasBeenSet = false;
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeFlowRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeFlowRequest.h
index 107bc6ff73e..9efe091b98b 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeFlowRequest.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeFlowRequest.h
@@ -10,6 +10,7 @@
#include
#include
#include
+#include
#include
#include
@@ -111,6 +112,18 @@ namespace Model
inline InvokeFlowRequest& AddInputs(const FlowInput& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
inline InvokeFlowRequest& AddInputs(FlowInput&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
///@}
+
+ ///@{
+ /**
+ * Model performance settings for the request.
+ */
+ inline const ModelPerformanceConfiguration& GetModelPerformanceConfiguration() const{ return m_modelPerformanceConfiguration; }
+ inline bool ModelPerformanceConfigurationHasBeenSet() const { return m_modelPerformanceConfigurationHasBeenSet; }
+ inline void SetModelPerformanceConfiguration(const ModelPerformanceConfiguration& value) { m_modelPerformanceConfigurationHasBeenSet = true; m_modelPerformanceConfiguration = value; }
+ inline void SetModelPerformanceConfiguration(ModelPerformanceConfiguration&& value) { m_modelPerformanceConfigurationHasBeenSet = true; m_modelPerformanceConfiguration = std::move(value); }
+ inline InvokeFlowRequest& WithModelPerformanceConfiguration(const ModelPerformanceConfiguration& value) { SetModelPerformanceConfiguration(value); return *this;}
+ inline InvokeFlowRequest& WithModelPerformanceConfiguration(ModelPerformanceConfiguration&& value) { SetModelPerformanceConfiguration(std::move(value)); return *this;}
+ ///@}
private:
bool m_enableTrace;
@@ -124,6 +137,9 @@ namespace Model
Aws::Vector m_inputs;
bool m_inputsHasBeenSet = false;
+
+ ModelPerformanceConfiguration m_modelPerformanceConfiguration;
+ bool m_modelPerformanceConfigurationHasBeenSet = false;
InvokeFlowHandler m_handler;
Aws::Utils::Event::EventStreamDecoder m_decoder;
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeInlineAgentRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeInlineAgentRequest.h
index 962b2ccfaae..c1bfe9ae275 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeInlineAgentRequest.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeInlineAgentRequest.h
@@ -9,6 +9,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -75,6 +76,18 @@ namespace Model
inline InvokeInlineAgentRequest& AddActionGroups(AgentActionGroup&& value) { m_actionGroupsHasBeenSet = true; m_actionGroups.push_back(std::move(value)); return *this; }
///@}
+ ///@{
+ /**
+ * Model settings for the request.
+ */
+ inline const InlineBedrockModelConfigurations& GetBedrockModelConfigurations() const{ return m_bedrockModelConfigurations; }
+ inline bool BedrockModelConfigurationsHasBeenSet() const { return m_bedrockModelConfigurationsHasBeenSet; }
+ inline void SetBedrockModelConfigurations(const InlineBedrockModelConfigurations& value) { m_bedrockModelConfigurationsHasBeenSet = true; m_bedrockModelConfigurations = value; }
+ inline void SetBedrockModelConfigurations(InlineBedrockModelConfigurations&& value) { m_bedrockModelConfigurationsHasBeenSet = true; m_bedrockModelConfigurations = std::move(value); }
+ inline InvokeInlineAgentRequest& WithBedrockModelConfigurations(const InlineBedrockModelConfigurations& value) { SetBedrockModelConfigurations(value); return *this;}
+ inline InvokeInlineAgentRequest& WithBedrockModelConfigurations(InlineBedrockModelConfigurations&& value) { SetBedrockModelConfigurations(std::move(value)); return *this;}
+ ///@}
+
///@{
/**
* The Amazon Resource Name (ARN) of the Amazon Web Services KMS key to use to
@@ -255,6 +268,9 @@ namespace Model
Aws::Vector m_actionGroups;
bool m_actionGroupsHasBeenSet = false;
+ InlineBedrockModelConfigurations m_bedrockModelConfigurations;
+ bool m_bedrockModelConfigurationsHasBeenSet = false;
+
Aws::String m_customerEncryptionKeyArn;
bool m_customerEncryptionKeyArnHasBeenSet = false;
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ModelPerformanceConfiguration.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ModelPerformanceConfiguration.h
new file mode 100644
index 00000000000..ed8224116af
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ModelPerformanceConfiguration.h
@@ -0,0 +1,60 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+ /**
+ * The performance configuration for a model called with
+ * InvokeFlow.
See Also:
AWS
+ * API Reference
+ */
+ class ModelPerformanceConfiguration
+ {
+ public:
+ AWS_BEDROCKAGENTRUNTIME_API ModelPerformanceConfiguration();
+ AWS_BEDROCKAGENTRUNTIME_API ModelPerformanceConfiguration(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API ModelPerformanceConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The latency configuration for the model.
+ */
+ inline const PerformanceConfiguration& GetPerformanceConfig() const{ return m_performanceConfig; }
+ inline bool PerformanceConfigHasBeenSet() const { return m_performanceConfigHasBeenSet; }
+ inline void SetPerformanceConfig(const PerformanceConfiguration& value) { m_performanceConfigHasBeenSet = true; m_performanceConfig = value; }
+ inline void SetPerformanceConfig(PerformanceConfiguration&& value) { m_performanceConfigHasBeenSet = true; m_performanceConfig = std::move(value); }
+ inline ModelPerformanceConfiguration& WithPerformanceConfig(const PerformanceConfiguration& value) { SetPerformanceConfig(value); return *this;}
+ inline ModelPerformanceConfiguration& WithPerformanceConfig(PerformanceConfiguration&& value) { SetPerformanceConfig(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ PerformanceConfiguration m_performanceConfig;
+ bool m_performanceConfigHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OrchestrationConfiguration.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OrchestrationConfiguration.h
index 5a5af1bfe02..cd7bdd0bcda 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OrchestrationConfiguration.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OrchestrationConfiguration.h
@@ -7,6 +7,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -76,6 +77,18 @@ namespace Model
inline OrchestrationConfiguration& WithInferenceConfig(InferenceConfig&& value) { SetInferenceConfig(std::move(value)); return *this;}
///@}
+ ///@{
+ /**
+ * The latency configuration for the model.
+ */
+ inline const PerformanceConfiguration& GetPerformanceConfig() const{ return m_performanceConfig; }
+ inline bool PerformanceConfigHasBeenSet() const { return m_performanceConfigHasBeenSet; }
+ inline void SetPerformanceConfig(const PerformanceConfiguration& value) { m_performanceConfigHasBeenSet = true; m_performanceConfig = value; }
+ inline void SetPerformanceConfig(PerformanceConfiguration&& value) { m_performanceConfigHasBeenSet = true; m_performanceConfig = std::move(value); }
+ inline OrchestrationConfiguration& WithPerformanceConfig(const PerformanceConfiguration& value) { SetPerformanceConfig(value); return *this;}
+ inline OrchestrationConfiguration& WithPerformanceConfig(PerformanceConfiguration&& value) { SetPerformanceConfig(std::move(value)); return *this;}
+ ///@}
+
///@{
/**
* Contains the template for the prompt that's sent to the model. Orchestration
@@ -113,6 +126,9 @@ namespace Model
InferenceConfig m_inferenceConfig;
bool m_inferenceConfigHasBeenSet = false;
+ PerformanceConfiguration m_performanceConfig;
+ bool m_performanceConfigHasBeenSet = false;
+
PromptTemplate m_promptTemplate;
bool m_promptTemplateHasBeenSet = false;
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/PerformanceConfigLatency.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/PerformanceConfigLatency.h
new file mode 100644
index 00000000000..6ef0748c7c8
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/PerformanceConfigLatency.h
@@ -0,0 +1,31 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+
+namespace Aws
+{
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+ enum class PerformanceConfigLatency
+ {
+ NOT_SET,
+ standard,
+ optimized
+ };
+
+namespace PerformanceConfigLatencyMapper
+{
+AWS_BEDROCKAGENTRUNTIME_API PerformanceConfigLatency GetPerformanceConfigLatencyForName(const Aws::String& name);
+
+AWS_BEDROCKAGENTRUNTIME_API Aws::String GetNameForPerformanceConfigLatency(PerformanceConfigLatency value);
+} // namespace PerformanceConfigLatencyMapper
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/PerformanceConfiguration.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/PerformanceConfiguration.h
new file mode 100644
index 00000000000..1631255eb4d
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/PerformanceConfiguration.h
@@ -0,0 +1,60 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+ /**
+ * Performance settings for a model.
See Also:
AWS
+ * API Reference
+ */
+ class PerformanceConfiguration
+ {
+ public:
+ AWS_BEDROCKAGENTRUNTIME_API PerformanceConfiguration();
+ AWS_BEDROCKAGENTRUNTIME_API PerformanceConfiguration(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API PerformanceConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * To use a latency-optimized version of the model, set to
+ * optimized
.
+ */
+ inline const PerformanceConfigLatency& GetLatency() const{ return m_latency; }
+ inline bool LatencyHasBeenSet() const { return m_latencyHasBeenSet; }
+ inline void SetLatency(const PerformanceConfigLatency& value) { m_latencyHasBeenSet = true; m_latency = value; }
+ inline void SetLatency(PerformanceConfigLatency&& value) { m_latencyHasBeenSet = true; m_latency = std::move(value); }
+ inline PerformanceConfiguration& WithLatency(const PerformanceConfigLatency& value) { SetLatency(value); return *this;}
+ inline PerformanceConfiguration& WithLatency(PerformanceConfigLatency&& value) { SetLatency(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ PerformanceConfigLatency m_latency;
+ bool m_latencyHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ResponseStream.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ResponseStream.h
index d2927a47eb8..7a8cf68de0a 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ResponseStream.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ResponseStream.h
@@ -12,6 +12,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -139,6 +140,22 @@ namespace Model
inline ResponseStream& WithInternalServerException(InternalServerException&& value) { SetInternalServerException(std::move(value)); return *this;}
///@}
+ ///@{
+ /**
+ * The model specified in the request is not ready to serve Inference requests.
+ * The AWS SDK will automatically retry the operation up to 5 times. For
+ * information about configuring automatic retries, see Retry
+ * behavior in the AWS SDKs and Tools reference guide.
+ */
+ inline const ModelNotReadyException& GetModelNotReadyException() const{ return m_modelNotReadyException; }
+ inline bool ModelNotReadyExceptionHasBeenSet() const { return m_modelNotReadyExceptionHasBeenSet; }
+ inline void SetModelNotReadyException(const ModelNotReadyException& value) { m_modelNotReadyExceptionHasBeenSet = true; m_modelNotReadyException = value; }
+ inline void SetModelNotReadyException(ModelNotReadyException&& value) { m_modelNotReadyExceptionHasBeenSet = true; m_modelNotReadyException = std::move(value); }
+ inline ResponseStream& WithModelNotReadyException(const ModelNotReadyException& value) { SetModelNotReadyException(value); return *this;}
+ inline ResponseStream& WithModelNotReadyException(ModelNotReadyException&& value) { SetModelNotReadyException(std::move(value)); return *this;}
+ ///@}
+
///@{
/**
* The specified resource Amazon Resource Name (ARN) was not found. Check the
@@ -243,6 +260,9 @@ namespace Model
InternalServerException m_internalServerException;
bool m_internalServerExceptionHasBeenSet = false;
+ ModelNotReadyException m_modelNotReadyException;
+ bool m_modelNotReadyExceptionHasBeenSet = false;
+
ResourceNotFoundException m_resourceNotFoundException;
bool m_resourceNotFoundExceptionHasBeenSet = false;
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/StreamingConfigurations.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/StreamingConfigurations.h
index a1e10611df0..87faf521c5f 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/StreamingConfigurations.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/StreamingConfigurations.h
@@ -22,7 +22,7 @@ namespace Model
{
/**
- *
Configurations for streaming.
See Also:
Configurations for streaming.
See Also:
AWS
* API Reference
*/
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/BedrockAgentRuntimeErrors.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/BedrockAgentRuntimeErrors.cpp
index 5c4bce1aba2..5add004a6c0 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/BedrockAgentRuntimeErrors.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/BedrockAgentRuntimeErrors.cpp
@@ -38,6 +38,7 @@ static const int BAD_GATEWAY_HASH = HashingUtils::HashString("BadGatewayExceptio
static const int SERVICE_QUOTA_EXCEEDED_HASH = HashingUtils::HashString("ServiceQuotaExceededException");
static const int INTERNAL_SERVER_HASH = HashingUtils::HashString("InternalServerException");
static const int DEPENDENCY_FAILED_HASH = HashingUtils::HashString("DependencyFailedException");
+static const int MODEL_NOT_READY_HASH = HashingUtils::HashString("ModelNotReadyException");
AWSError GetErrorForName(const char* errorName)
@@ -64,6 +65,10 @@ AWSError GetErrorForName(const char* errorName)
{
return AWSError(static_cast(BedrockAgentRuntimeErrors::DEPENDENCY_FAILED), RetryableType::NOT_RETRYABLE);
}
+ else if (hashCode == MODEL_NOT_READY_HASH)
+ {
+ return AWSError(static_cast(BedrockAgentRuntimeErrors::MODEL_NOT_READY), RetryableType::NOT_RETRYABLE);
+ }
return AWSError(CoreErrors::UNKNOWN, false);
}
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/BedrockModelConfigurations.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/BedrockModelConfigurations.cpp
new file mode 100644
index 00000000000..4df07bbb2b8
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/BedrockModelConfigurations.cpp
@@ -0,0 +1,59 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+BedrockModelConfigurations::BedrockModelConfigurations() :
+ m_performanceConfigHasBeenSet(false)
+{
+}
+
+BedrockModelConfigurations::BedrockModelConfigurations(JsonView jsonValue)
+ : BedrockModelConfigurations()
+{
+ *this = jsonValue;
+}
+
+BedrockModelConfigurations& BedrockModelConfigurations::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("performanceConfig"))
+ {
+ m_performanceConfig = jsonValue.GetObject("performanceConfig");
+
+ m_performanceConfigHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue BedrockModelConfigurations::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_performanceConfigHasBeenSet)
+ {
+ payload.WithObject("performanceConfig", m_performanceConfig.Jsonize());
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/DeleteAgentMemoryRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/DeleteAgentMemoryRequest.cpp
index 890f0ea7953..37375167238 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/DeleteAgentMemoryRequest.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/DeleteAgentMemoryRequest.cpp
@@ -18,7 +18,8 @@ using namespace Aws::Http;
DeleteAgentMemoryRequest::DeleteAgentMemoryRequest() :
m_agentAliasIdHasBeenSet(false),
m_agentIdHasBeenSet(false),
- m_memoryIdHasBeenSet(false)
+ m_memoryIdHasBeenSet(false),
+ m_sessionIdHasBeenSet(false)
{
}
@@ -37,6 +38,13 @@ void DeleteAgentMemoryRequest::AddQueryStringParameters(URI& uri) const
ss.str("");
}
+ if(m_sessionIdHasBeenSet)
+ {
+ ss << m_sessionId;
+ uri.AddQueryStringParameter("sessionId", ss.str());
+ ss.str("");
+ }
+
}
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ExternalSourcesGenerationConfiguration.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ExternalSourcesGenerationConfiguration.cpp
index cde05a6e5e7..bd613c0b0e6 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ExternalSourcesGenerationConfiguration.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ExternalSourcesGenerationConfiguration.cpp
@@ -22,6 +22,7 @@ ExternalSourcesGenerationConfiguration::ExternalSourcesGenerationConfiguration()
m_additionalModelRequestFieldsHasBeenSet(false),
m_guardrailConfigurationHasBeenSet(false),
m_inferenceConfigHasBeenSet(false),
+ m_performanceConfigHasBeenSet(false),
m_promptTemplateHasBeenSet(false)
{
}
@@ -58,6 +59,13 @@ ExternalSourcesGenerationConfiguration& ExternalSourcesGenerationConfiguration::
m_inferenceConfigHasBeenSet = true;
}
+ if(jsonValue.ValueExists("performanceConfig"))
+ {
+ m_performanceConfig = jsonValue.GetObject("performanceConfig");
+
+ m_performanceConfigHasBeenSet = true;
+ }
+
if(jsonValue.ValueExists("promptTemplate"))
{
m_promptTemplate = jsonValue.GetObject("promptTemplate");
@@ -95,6 +103,12 @@ JsonValue ExternalSourcesGenerationConfiguration::Jsonize() const
}
+ if(m_performanceConfigHasBeenSet)
+ {
+ payload.WithObject("performanceConfig", m_performanceConfig.Jsonize());
+
+ }
+
if(m_promptTemplateHasBeenSet)
{
payload.WithObject("promptTemplate", m_promptTemplate.Jsonize());
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/GenerationConfiguration.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/GenerationConfiguration.cpp
index d7ec00ab0be..e268a33c289 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/GenerationConfiguration.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/GenerationConfiguration.cpp
@@ -22,6 +22,7 @@ GenerationConfiguration::GenerationConfiguration() :
m_additionalModelRequestFieldsHasBeenSet(false),
m_guardrailConfigurationHasBeenSet(false),
m_inferenceConfigHasBeenSet(false),
+ m_performanceConfigHasBeenSet(false),
m_promptTemplateHasBeenSet(false)
{
}
@@ -58,6 +59,13 @@ GenerationConfiguration& GenerationConfiguration::operator =(JsonView jsonValue)
m_inferenceConfigHasBeenSet = true;
}
+ if(jsonValue.ValueExists("performanceConfig"))
+ {
+ m_performanceConfig = jsonValue.GetObject("performanceConfig");
+
+ m_performanceConfigHasBeenSet = true;
+ }
+
if(jsonValue.ValueExists("promptTemplate"))
{
m_promptTemplate = jsonValue.GetObject("promptTemplate");
@@ -95,6 +103,12 @@ JsonValue GenerationConfiguration::Jsonize() const
}
+ if(m_performanceConfigHasBeenSet)
+ {
+ payload.WithObject("performanceConfig", m_performanceConfig.Jsonize());
+
+ }
+
if(m_promptTemplateHasBeenSet)
{
payload.WithObject("promptTemplate", m_promptTemplate.Jsonize());
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InlineBedrockModelConfigurations.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InlineBedrockModelConfigurations.cpp
new file mode 100644
index 00000000000..542b92f85cf
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InlineBedrockModelConfigurations.cpp
@@ -0,0 +1,59 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+InlineBedrockModelConfigurations::InlineBedrockModelConfigurations() :
+ m_performanceConfigHasBeenSet(false)
+{
+}
+
+InlineBedrockModelConfigurations::InlineBedrockModelConfigurations(JsonView jsonValue)
+ : InlineBedrockModelConfigurations()
+{
+ *this = jsonValue;
+}
+
+InlineBedrockModelConfigurations& InlineBedrockModelConfigurations::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("performanceConfig"))
+ {
+ m_performanceConfig = jsonValue.GetObject("performanceConfig");
+
+ m_performanceConfigHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue InlineBedrockModelConfigurations::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_performanceConfigHasBeenSet)
+ {
+ payload.WithObject("performanceConfig", m_performanceConfig.Jsonize());
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeAgentRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeAgentRequest.cpp
index 535e090b2e2..c1378e26ae2 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeAgentRequest.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeAgentRequest.cpp
@@ -16,6 +16,7 @@ using namespace Aws::Utils;
InvokeAgentRequest::InvokeAgentRequest() :
m_agentAliasIdHasBeenSet(false),
m_agentIdHasBeenSet(false),
+ m_bedrockModelConfigurationsHasBeenSet(false),
m_enableTrace(false),
m_enableTraceHasBeenSet(false),
m_endSession(false),
@@ -34,6 +35,12 @@ Aws::String InvokeAgentRequest::SerializePayload() const
{
JsonValue payload;
+ if(m_bedrockModelConfigurationsHasBeenSet)
+ {
+ payload.WithObject("bedrockModelConfigurations", m_bedrockModelConfigurations.Jsonize());
+
+ }
+
if(m_enableTraceHasBeenSet)
{
payload.WithBool("enableTrace", m_enableTrace);
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeFlowRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeFlowRequest.cpp
index a640d98deeb..82ed3181385 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeFlowRequest.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeFlowRequest.cpp
@@ -18,6 +18,7 @@ InvokeFlowRequest::InvokeFlowRequest() :
m_flowAliasIdentifierHasBeenSet(false),
m_flowIdentifierHasBeenSet(false),
m_inputsHasBeenSet(false),
+ m_modelPerformanceConfigurationHasBeenSet(false),
m_handler(), m_decoder(Aws::Utils::Event::EventStreamDecoder(&m_handler))
{
}
@@ -43,6 +44,12 @@ Aws::String InvokeFlowRequest::SerializePayload() const
}
+ if(m_modelPerformanceConfigurationHasBeenSet)
+ {
+ payload.WithObject("modelPerformanceConfiguration", m_modelPerformanceConfiguration.Jsonize());
+
+ }
+
return payload.View().WriteReadable();
}
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeInlineAgentRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeInlineAgentRequest.cpp
index d2bb464ff0a..ca222c89659 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeInlineAgentRequest.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InvokeInlineAgentRequest.cpp
@@ -14,6 +14,7 @@ using namespace Aws::Utils;
InvokeInlineAgentRequest::InvokeInlineAgentRequest() :
m_actionGroupsHasBeenSet(false),
+ m_bedrockModelConfigurationsHasBeenSet(false),
m_customerEncryptionKeyArnHasBeenSet(false),
m_enableTrace(false),
m_enableTraceHasBeenSet(false),
@@ -48,6 +49,12 @@ Aws::String InvokeInlineAgentRequest::SerializePayload() const
}
+ if(m_bedrockModelConfigurationsHasBeenSet)
+ {
+ payload.WithObject("bedrockModelConfigurations", m_bedrockModelConfigurations.Jsonize());
+
+ }
+
if(m_customerEncryptionKeyArnHasBeenSet)
{
payload.WithString("customerEncryptionKeyArn", m_customerEncryptionKeyArn);
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ModelPerformanceConfiguration.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ModelPerformanceConfiguration.cpp
new file mode 100644
index 00000000000..9b04cddcd86
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ModelPerformanceConfiguration.cpp
@@ -0,0 +1,59 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+ModelPerformanceConfiguration::ModelPerformanceConfiguration() :
+ m_performanceConfigHasBeenSet(false)
+{
+}
+
+ModelPerformanceConfiguration::ModelPerformanceConfiguration(JsonView jsonValue)
+ : ModelPerformanceConfiguration()
+{
+ *this = jsonValue;
+}
+
+ModelPerformanceConfiguration& ModelPerformanceConfiguration::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("performanceConfig"))
+ {
+ m_performanceConfig = jsonValue.GetObject("performanceConfig");
+
+ m_performanceConfigHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue ModelPerformanceConfiguration::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_performanceConfigHasBeenSet)
+ {
+ payload.WithObject("performanceConfig", m_performanceConfig.Jsonize());
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OrchestrationConfiguration.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OrchestrationConfiguration.cpp
index f710702c127..04078973c80 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OrchestrationConfiguration.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OrchestrationConfiguration.cpp
@@ -21,6 +21,7 @@ namespace Model
OrchestrationConfiguration::OrchestrationConfiguration() :
m_additionalModelRequestFieldsHasBeenSet(false),
m_inferenceConfigHasBeenSet(false),
+ m_performanceConfigHasBeenSet(false),
m_promptTemplateHasBeenSet(false),
m_queryTransformationConfigurationHasBeenSet(false)
{
@@ -51,6 +52,13 @@ OrchestrationConfiguration& OrchestrationConfiguration::operator =(JsonView json
m_inferenceConfigHasBeenSet = true;
}
+ if(jsonValue.ValueExists("performanceConfig"))
+ {
+ m_performanceConfig = jsonValue.GetObject("performanceConfig");
+
+ m_performanceConfigHasBeenSet = true;
+ }
+
if(jsonValue.ValueExists("promptTemplate"))
{
m_promptTemplate = jsonValue.GetObject("promptTemplate");
@@ -89,6 +97,12 @@ JsonValue OrchestrationConfiguration::Jsonize() const
}
+ if(m_performanceConfigHasBeenSet)
+ {
+ payload.WithObject("performanceConfig", m_performanceConfig.Jsonize());
+
+ }
+
if(m_promptTemplateHasBeenSet)
{
payload.WithObject("promptTemplate", m_promptTemplate.Jsonize());
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/PerformanceConfigLatency.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/PerformanceConfigLatency.cpp
new file mode 100644
index 00000000000..0cbdfa33e8a
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/PerformanceConfigLatency.cpp
@@ -0,0 +1,72 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+
+using namespace Aws::Utils;
+
+
+namespace Aws
+{
+ namespace BedrockAgentRuntime
+ {
+ namespace Model
+ {
+ namespace PerformanceConfigLatencyMapper
+ {
+
+ static const int standard_HASH = HashingUtils::HashString("standard");
+ static const int optimized_HASH = HashingUtils::HashString("optimized");
+
+
+ PerformanceConfigLatency GetPerformanceConfigLatencyForName(const Aws::String& name)
+ {
+ int hashCode = HashingUtils::HashString(name.c_str());
+ if (hashCode == standard_HASH)
+ {
+ return PerformanceConfigLatency::standard;
+ }
+ else if (hashCode == optimized_HASH)
+ {
+ return PerformanceConfigLatency::optimized;
+ }
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ overflowContainer->StoreOverflow(hashCode, name);
+ return static_cast(hashCode);
+ }
+
+ return PerformanceConfigLatency::NOT_SET;
+ }
+
+ Aws::String GetNameForPerformanceConfigLatency(PerformanceConfigLatency enumValue)
+ {
+ switch(enumValue)
+ {
+ case PerformanceConfigLatency::NOT_SET:
+ return {};
+ case PerformanceConfigLatency::standard:
+ return "standard";
+ case PerformanceConfigLatency::optimized:
+ return "optimized";
+ default:
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ return overflowContainer->RetrieveOverflow(static_cast(enumValue));
+ }
+
+ return {};
+ }
+ }
+
+ } // namespace PerformanceConfigLatencyMapper
+ } // namespace Model
+ } // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/PerformanceConfiguration.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/PerformanceConfiguration.cpp
new file mode 100644
index 00000000000..04522ce3660
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/PerformanceConfiguration.cpp
@@ -0,0 +1,59 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+PerformanceConfiguration::PerformanceConfiguration() :
+ m_latency(PerformanceConfigLatency::NOT_SET),
+ m_latencyHasBeenSet(false)
+{
+}
+
+PerformanceConfiguration::PerformanceConfiguration(JsonView jsonValue)
+ : PerformanceConfiguration()
+{
+ *this = jsonValue;
+}
+
+PerformanceConfiguration& PerformanceConfiguration::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("latency"))
+ {
+ m_latency = PerformanceConfigLatencyMapper::GetPerformanceConfigLatencyForName(jsonValue.GetString("latency"));
+
+ m_latencyHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue PerformanceConfiguration::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_latencyHasBeenSet)
+ {
+ payload.WithString("latency", PerformanceConfigLatencyMapper::GetNameForPerformanceConfigLatency(m_latency));
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/MemoryConfiguration.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/MemoryConfiguration.h
index 2a281a39ca5..1ad8125c08e 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/MemoryConfiguration.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/MemoryConfiguration.h
@@ -6,6 +6,7 @@
#pragma once
#include
#include
+#include
#include
#include
@@ -52,6 +53,19 @@ namespace Model
inline MemoryConfiguration& AddEnabledMemoryTypes(MemoryType&& value) { m_enabledMemoryTypesHasBeenSet = true; m_enabledMemoryTypes.push_back(std::move(value)); return *this; }
///@}
+ ///@{
+ /**
+ * Contains the configuration for SESSION_SUMMARY memory type enabled for the
+ * agent.
+ */
+ inline const SessionSummaryConfiguration& GetSessionSummaryConfiguration() const{ return m_sessionSummaryConfiguration; }
+ inline bool SessionSummaryConfigurationHasBeenSet() const { return m_sessionSummaryConfigurationHasBeenSet; }
+ inline void SetSessionSummaryConfiguration(const SessionSummaryConfiguration& value) { m_sessionSummaryConfigurationHasBeenSet = true; m_sessionSummaryConfiguration = value; }
+ inline void SetSessionSummaryConfiguration(SessionSummaryConfiguration&& value) { m_sessionSummaryConfigurationHasBeenSet = true; m_sessionSummaryConfiguration = std::move(value); }
+ inline MemoryConfiguration& WithSessionSummaryConfiguration(const SessionSummaryConfiguration& value) { SetSessionSummaryConfiguration(value); return *this;}
+ inline MemoryConfiguration& WithSessionSummaryConfiguration(SessionSummaryConfiguration&& value) { SetSessionSummaryConfiguration(std::move(value)); return *this;}
+ ///@}
+
///@{
/**
* The number of days the agent is configured to retain the conversational
@@ -67,6 +81,9 @@ namespace Model
Aws::Vector m_enabledMemoryTypes;
bool m_enabledMemoryTypesHasBeenSet = false;
+ SessionSummaryConfiguration m_sessionSummaryConfiguration;
+ bool m_sessionSummaryConfigurationHasBeenSet = false;
+
int m_storageDays;
bool m_storageDaysHasBeenSet = false;
};
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/PromptType.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/PromptType.h
index b0f5df21782..75045e561c8 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/PromptType.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/PromptType.h
@@ -19,7 +19,8 @@ namespace Model
PRE_PROCESSING,
ORCHESTRATION,
POST_PROCESSING,
- KNOWLEDGE_BASE_RESPONSE_GENERATION
+ KNOWLEDGE_BASE_RESPONSE_GENERATION,
+ MEMORY_SUMMARIZATION
};
namespace PromptTypeMapper
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/SessionSummaryConfiguration.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/SessionSummaryConfiguration.h
new file mode 100644
index 00000000000..16a26509c34
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/SessionSummaryConfiguration.h
@@ -0,0 +1,57 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace BedrockAgent
+{
+namespace Model
+{
+
+ /**
+ * Configuration for SESSION_SUMMARY memory type enabled for the
+ * agent.
See Also:
AWS
+ * API Reference
+ */
+ class SessionSummaryConfiguration
+ {
+ public:
+ AWS_BEDROCKAGENT_API SessionSummaryConfiguration();
+ AWS_BEDROCKAGENT_API SessionSummaryConfiguration(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENT_API SessionSummaryConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * Maximum number of recent session summaries to include in the agent's prompt
+ * context.
+ */
+ inline int GetMaxRecentSessions() const{ return m_maxRecentSessions; }
+ inline bool MaxRecentSessionsHasBeenSet() const { return m_maxRecentSessionsHasBeenSet; }
+ inline void SetMaxRecentSessions(int value) { m_maxRecentSessionsHasBeenSet = true; m_maxRecentSessions = value; }
+ inline SessionSummaryConfiguration& WithMaxRecentSessions(int value) { SetMaxRecentSessions(value); return *this;}
+ ///@}
+ private:
+
+ int m_maxRecentSessions;
+ bool m_maxRecentSessionsHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace BedrockAgent
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/SharePointAuthType.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/SharePointAuthType.h
index 27c3f4f7249..c208a3fcfd1 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/SharePointAuthType.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/SharePointAuthType.h
@@ -16,7 +16,8 @@ namespace Model
enum class SharePointAuthType
{
NOT_SET,
- OAUTH2_CLIENT_CREDENTIALS
+ OAUTH2_CLIENT_CREDENTIALS,
+ OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS
};
namespace SharePointAuthTypeMapper
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/WebCrawlerConfiguration.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/WebCrawlerConfiguration.h
index 025cc47349b..130b2e23222 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/WebCrawlerConfiguration.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/WebCrawlerConfiguration.h
@@ -106,6 +106,24 @@ namespace Model
inline WebCrawlerConfiguration& WithScope(const WebScopeType& value) { SetScope(value); return *this;}
inline WebCrawlerConfiguration& WithScope(WebScopeType&& value) { SetScope(std::move(value)); return *this;}
///@}
+
+ ///@{
+ /**
+ * A string used for identifying the crawler or a bot when it accesses a web
+ * server. By default, this is set to bedrockbot_UUID
for your
+ * crawler. You can optionally append a custom string to
+ * bedrockbot_UUID
to allowlist a specific user agent permitted to
+ * access your source URLs.
+ */
+ inline const Aws::String& GetUserAgent() const{ return m_userAgent; }
+ inline bool UserAgentHasBeenSet() const { return m_userAgentHasBeenSet; }
+ inline void SetUserAgent(const Aws::String& value) { m_userAgentHasBeenSet = true; m_userAgent = value; }
+ inline void SetUserAgent(Aws::String&& value) { m_userAgentHasBeenSet = true; m_userAgent = std::move(value); }
+ inline void SetUserAgent(const char* value) { m_userAgentHasBeenSet = true; m_userAgent.assign(value); }
+ inline WebCrawlerConfiguration& WithUserAgent(const Aws::String& value) { SetUserAgent(value); return *this;}
+ inline WebCrawlerConfiguration& WithUserAgent(Aws::String&& value) { SetUserAgent(std::move(value)); return *this;}
+ inline WebCrawlerConfiguration& WithUserAgent(const char* value) { SetUserAgent(value); return *this;}
+ ///@}
private:
WebCrawlerLimits m_crawlerLimits;
@@ -119,6 +137,9 @@ namespace Model
WebScopeType m_scope;
bool m_scopeHasBeenSet = false;
+
+ Aws::String m_userAgent;
+ bool m_userAgentHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/WebCrawlerLimits.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/WebCrawlerLimits.h
index 867e61b5f56..4f36b6669dc 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/WebCrawlerLimits.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/WebCrawlerLimits.h
@@ -36,6 +36,18 @@ namespace Model
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
+ ///@{
+ /**
+ * The max number of web pages crawled from your source URLs, up to 25,000
+ * pages. If the web pages exceed this limit, the data source sync will fail and no
+ * web pages will be ingested.
+ */
+ inline int GetMaxPages() const{ return m_maxPages; }
+ inline bool MaxPagesHasBeenSet() const { return m_maxPagesHasBeenSet; }
+ inline void SetMaxPages(int value) { m_maxPagesHasBeenSet = true; m_maxPages = value; }
+ inline WebCrawlerLimits& WithMaxPages(int value) { SetMaxPages(value); return *this;}
+ ///@}
+
///@{
/**
* The max rate at which pages are crawled, up to 300 per minute per host.
@@ -47,6 +59,9 @@ namespace Model
///@}
private:
+ int m_maxPages;
+ bool m_maxPagesHasBeenSet = false;
+
int m_rateLimit;
bool m_rateLimitHasBeenSet = false;
};
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/MemoryConfiguration.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/MemoryConfiguration.cpp
index 4144ac04943..168a88050df 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/MemoryConfiguration.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/MemoryConfiguration.cpp
@@ -20,6 +20,7 @@ namespace Model
MemoryConfiguration::MemoryConfiguration() :
m_enabledMemoryTypesHasBeenSet(false),
+ m_sessionSummaryConfigurationHasBeenSet(false),
m_storageDays(0),
m_storageDaysHasBeenSet(false)
{
@@ -43,6 +44,13 @@ MemoryConfiguration& MemoryConfiguration::operator =(JsonView jsonValue)
m_enabledMemoryTypesHasBeenSet = true;
}
+ if(jsonValue.ValueExists("sessionSummaryConfiguration"))
+ {
+ m_sessionSummaryConfiguration = jsonValue.GetObject("sessionSummaryConfiguration");
+
+ m_sessionSummaryConfigurationHasBeenSet = true;
+ }
+
if(jsonValue.ValueExists("storageDays"))
{
m_storageDays = jsonValue.GetInteger("storageDays");
@@ -68,6 +76,12 @@ JsonValue MemoryConfiguration::Jsonize() const
}
+ if(m_sessionSummaryConfigurationHasBeenSet)
+ {
+ payload.WithObject("sessionSummaryConfiguration", m_sessionSummaryConfiguration.Jsonize());
+
+ }
+
if(m_storageDaysHasBeenSet)
{
payload.WithInteger("storageDays", m_storageDays);
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/PromptType.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/PromptType.cpp
index 237b1a67b58..38df83d75b4 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/PromptType.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/PromptType.cpp
@@ -24,6 +24,7 @@ namespace Aws
static const int ORCHESTRATION_HASH = HashingUtils::HashString("ORCHESTRATION");
static const int POST_PROCESSING_HASH = HashingUtils::HashString("POST_PROCESSING");
static const int KNOWLEDGE_BASE_RESPONSE_GENERATION_HASH = HashingUtils::HashString("KNOWLEDGE_BASE_RESPONSE_GENERATION");
+ static const int MEMORY_SUMMARIZATION_HASH = HashingUtils::HashString("MEMORY_SUMMARIZATION");
PromptType GetPromptTypeForName(const Aws::String& name)
@@ -45,6 +46,10 @@ namespace Aws
{
return PromptType::KNOWLEDGE_BASE_RESPONSE_GENERATION;
}
+ else if (hashCode == MEMORY_SUMMARIZATION_HASH)
+ {
+ return PromptType::MEMORY_SUMMARIZATION;
+ }
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
@@ -69,6 +74,8 @@ namespace Aws
return "POST_PROCESSING";
case PromptType::KNOWLEDGE_BASE_RESPONSE_GENERATION:
return "KNOWLEDGE_BASE_RESPONSE_GENERATION";
+ case PromptType::MEMORY_SUMMARIZATION:
+ return "MEMORY_SUMMARIZATION";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/SessionSummaryConfiguration.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/SessionSummaryConfiguration.cpp
new file mode 100644
index 00000000000..a45e5b39478
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/SessionSummaryConfiguration.cpp
@@ -0,0 +1,60 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace BedrockAgent
+{
+namespace Model
+{
+
+SessionSummaryConfiguration::SessionSummaryConfiguration() :
+ m_maxRecentSessions(0),
+ m_maxRecentSessionsHasBeenSet(false)
+{
+}
+
+SessionSummaryConfiguration::SessionSummaryConfiguration(JsonView jsonValue)
+ : SessionSummaryConfiguration()
+{
+ *this = jsonValue;
+}
+
+SessionSummaryConfiguration& SessionSummaryConfiguration::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("maxRecentSessions"))
+ {
+ m_maxRecentSessions = jsonValue.GetInteger("maxRecentSessions");
+
+ m_maxRecentSessionsHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue SessionSummaryConfiguration::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_maxRecentSessionsHasBeenSet)
+ {
+ payload.WithInteger("maxRecentSessions", m_maxRecentSessions);
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace BedrockAgent
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/SharePointAuthType.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/SharePointAuthType.cpp
index b963392e134..a65b96723d6 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/SharePointAuthType.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/SharePointAuthType.cpp
@@ -21,6 +21,7 @@ namespace Aws
{
static const int OAUTH2_CLIENT_CREDENTIALS_HASH = HashingUtils::HashString("OAUTH2_CLIENT_CREDENTIALS");
+ static const int OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS_HASH = HashingUtils::HashString("OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS");
SharePointAuthType GetSharePointAuthTypeForName(const Aws::String& name)
@@ -30,6 +31,10 @@ namespace Aws
{
return SharePointAuthType::OAUTH2_CLIENT_CREDENTIALS;
}
+ else if (hashCode == OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS_HASH)
+ {
+ return SharePointAuthType::OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS;
+ }
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
@@ -48,6 +53,8 @@ namespace Aws
return {};
case SharePointAuthType::OAUTH2_CLIENT_CREDENTIALS:
return "OAUTH2_CLIENT_CREDENTIALS";
+ case SharePointAuthType::OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS:
+ return "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/WebCrawlerConfiguration.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/WebCrawlerConfiguration.cpp
index 39c61d24ed7..e8779b99d3e 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/WebCrawlerConfiguration.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/WebCrawlerConfiguration.cpp
@@ -23,7 +23,8 @@ WebCrawlerConfiguration::WebCrawlerConfiguration() :
m_exclusionFiltersHasBeenSet(false),
m_inclusionFiltersHasBeenSet(false),
m_scope(WebScopeType::NOT_SET),
- m_scopeHasBeenSet(false)
+ m_scopeHasBeenSet(false),
+ m_userAgentHasBeenSet(false)
{
}
@@ -69,6 +70,13 @@ WebCrawlerConfiguration& WebCrawlerConfiguration::operator =(JsonView jsonValue)
m_scopeHasBeenSet = true;
}
+ if(jsonValue.ValueExists("userAgent"))
+ {
+ m_userAgent = jsonValue.GetString("userAgent");
+
+ m_userAgentHasBeenSet = true;
+ }
+
return *this;
}
@@ -109,6 +117,12 @@ JsonValue WebCrawlerConfiguration::Jsonize() const
payload.WithString("scope", WebScopeTypeMapper::GetNameForWebScopeType(m_scope));
}
+ if(m_userAgentHasBeenSet)
+ {
+ payload.WithString("userAgent", m_userAgent);
+
+ }
+
return payload;
}
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/WebCrawlerLimits.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/WebCrawlerLimits.cpp
index 400bf74fc33..bb228f0e694 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/WebCrawlerLimits.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/WebCrawlerLimits.cpp
@@ -19,6 +19,8 @@ namespace Model
{
WebCrawlerLimits::WebCrawlerLimits() :
+ m_maxPages(0),
+ m_maxPagesHasBeenSet(false),
m_rateLimit(0),
m_rateLimitHasBeenSet(false)
{
@@ -32,6 +34,13 @@ WebCrawlerLimits::WebCrawlerLimits(JsonView jsonValue)
WebCrawlerLimits& WebCrawlerLimits::operator =(JsonView jsonValue)
{
+ if(jsonValue.ValueExists("maxPages"))
+ {
+ m_maxPages = jsonValue.GetInteger("maxPages");
+
+ m_maxPagesHasBeenSet = true;
+ }
+
if(jsonValue.ValueExists("rateLimit"))
{
m_rateLimit = jsonValue.GetInteger("rateLimit");
@@ -46,6 +55,12 @@ JsonValue WebCrawlerLimits::Jsonize() const
{
JsonValue payload;
+ if(m_maxPagesHasBeenSet)
+ {
+ payload.WithInteger("maxPages", m_maxPages);
+
+ }
+
if(m_rateLimitHasBeenSet)
{
payload.WithInteger("rateLimit", m_rateLimit);
diff --git a/generated/src/aws-cpp-sdk-bedrock-data-automation-runtime/include/aws/bedrock-data-automation-runtime/BedrockDataAutomationRuntimeClient.h b/generated/src/aws-cpp-sdk-bedrock-data-automation-runtime/include/aws/bedrock-data-automation-runtime/BedrockDataAutomationRuntimeClient.h
index ac77d84866a..722757904ce 100644
--- a/generated/src/aws-cpp-sdk-bedrock-data-automation-runtime/include/aws/bedrock-data-automation-runtime/BedrockDataAutomationRuntimeClient.h
+++ b/generated/src/aws-cpp-sdk-bedrock-data-automation-runtime/include/aws/bedrock-data-automation-runtime/BedrockDataAutomationRuntimeClient.h
@@ -16,7 +16,7 @@ namespace Aws
namespace BedrockDataAutomationRuntime
{
/**
- * Amazon Bedrock Keystone Runtime
+ * Amazon Bedrock Data Automation Runtime
*/
class AWS_BEDROCKDATAAUTOMATIONRUNTIME_API BedrockDataAutomationRuntimeClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods
{
diff --git a/generated/src/aws-cpp-sdk-bedrock-data-automation/include/aws/bedrock-data-automation/BedrockDataAutomationClient.h b/generated/src/aws-cpp-sdk-bedrock-data-automation/include/aws/bedrock-data-automation/BedrockDataAutomationClient.h
index 74509d803d3..be700164fcf 100644
--- a/generated/src/aws-cpp-sdk-bedrock-data-automation/include/aws/bedrock-data-automation/BedrockDataAutomationClient.h
+++ b/generated/src/aws-cpp-sdk-bedrock-data-automation/include/aws/bedrock-data-automation/BedrockDataAutomationClient.h
@@ -16,7 +16,7 @@ namespace Aws
namespace BedrockDataAutomation
{
/**
- * Amazon Bedrock Keystone Build
+ * Amazon Bedrock Data Automation BuildTime
*/
class AWS_BEDROCKDATAAUTOMATION_API BedrockDataAutomationClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods
{
@@ -77,7 +77,8 @@ namespace BedrockDataAutomation
virtual ~BedrockDataAutomationClient();
/**
- * Creates an Amazon Bedrock Keystone Blueprint
See Also:
Creates an Amazon Bedrock Data Automation BlueprintSee Also:
+ * AWS
* API Reference
*/
@@ -102,7 +103,7 @@ namespace BedrockDataAutomation
}
/**
- * Creates a new version of an existing Amazon Bedrock Keystone
+ *
Creates a new version of an existing Amazon Bedrock Data Automation
* Blueprint
See Also:
AWS
* API Reference
@@ -128,8 +129,8 @@ namespace BedrockDataAutomation
}
/**
- * Creates an Amazon Bedrock Keystone DataAutomationProject
See
- * Also:
Creates an Amazon Bedrock Data Automation ProjectSee Also:
+ * AWS
* API Reference
*/
@@ -154,7 +155,7 @@ namespace BedrockDataAutomation
}
/**
- * Deletes an existing Amazon Bedrock Keystone Blueprint
See
+ *
Deletes an existing Amazon Bedrock Data Automation Blueprint
See
* Also:
AWS
* API Reference
@@ -180,8 +181,8 @@ namespace BedrockDataAutomation
}
/**
- * Deletes an existing Amazon Bedrock Keystone
- * DataAutomationProject
See Also:
Deletes an existing Amazon Bedrock Data Automation ProjectSee
+ * Also:
AWS
* API Reference
*/
@@ -206,8 +207,8 @@ namespace BedrockDataAutomation
}
/**
- * Gets an existing Amazon Bedrock Keystone Blueprint
See Also:
- * Gets an existing Amazon Bedrock Data Automation BlueprintSee
+ * Also:
AWS
* API Reference
*/
@@ -232,7 +233,7 @@ namespace BedrockDataAutomation
}
/**
- * Gets an existing Amazon Bedrock Keystone DataAutomationProject
See
+ *
Gets an existing Amazon Bedrock Data Automation Project
See
* Also:
AWS
* API Reference
@@ -258,7 +259,7 @@ namespace BedrockDataAutomation
}
/**
- * Lists all existing Amazon Bedrock Keystone Blueprints
See
+ *
Lists all existing Amazon Bedrock Data Automation Blueprints
See
* Also:
AWS
* API Reference
@@ -284,8 +285,8 @@ namespace BedrockDataAutomation
}
/**
- * Lists all existing Amazon Bedrock Keystone
- * DataAutomationProjects
See Also:
Lists all existing Amazon Bedrock Data Automation ProjectsSee
+ * Also:
AWS
* API Reference
*/
@@ -310,7 +311,8 @@ namespace BedrockDataAutomation
}
/**
- * Updates an existing Amazon Bedrock Blueprint
See Also:
Updates an existing Amazon Bedrock Data Automation BlueprintSee
+ * Also:
AWS
* API Reference
*/
@@ -335,7 +337,7 @@ namespace BedrockDataAutomation
}
/**
- * Updates an existing Amazon Bedrock DataAutomationProject
See
+ *
Updates an existing Amazon Bedrock Data Automation Project
See
* Also:
AWS
* API Reference
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/BillingClient.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/BillingClient.h
index c87ffcec1b5..4c8f2b03a88 100644
--- a/generated/src/aws-cpp-sdk-billing/include/aws/billing/BillingClient.h
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/BillingClient.h
@@ -79,6 +79,109 @@ namespace Billing
/* End of legacy constructors due deprecation */
virtual ~BillingClient();
+ /**
+ * Creates a billing view with the specified billing view attributes.
+ *
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::CreateBillingViewOutcome CreateBillingView(const Model::CreateBillingViewRequest& request) const;
+
+ /**
+ * A Callable wrapper for CreateBillingView that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::CreateBillingViewOutcomeCallable CreateBillingViewCallable(const CreateBillingViewRequestT& request) const
+ {
+ return SubmitCallable(&BillingClient::CreateBillingView, request);
+ }
+
+ /**
+ * An Async wrapper for CreateBillingView that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void CreateBillingViewAsync(const CreateBillingViewRequestT& request, const CreateBillingViewResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&BillingClient::CreateBillingView, request, handler, context);
+ }
+
+ /**
+ * Deletes the specified billing view.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::DeleteBillingViewOutcome DeleteBillingView(const Model::DeleteBillingViewRequest& request) const;
+
+ /**
+ * A Callable wrapper for DeleteBillingView that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::DeleteBillingViewOutcomeCallable DeleteBillingViewCallable(const DeleteBillingViewRequestT& request) const
+ {
+ return SubmitCallable(&BillingClient::DeleteBillingView, request);
+ }
+
+ /**
+ * An Async wrapper for DeleteBillingView that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void DeleteBillingViewAsync(const DeleteBillingViewRequestT& request, const DeleteBillingViewResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&BillingClient::DeleteBillingView, request, handler, context);
+ }
+
+ /**
+ * Returns the metadata associated to the specified billing view ARN.
+ *
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::GetBillingViewOutcome GetBillingView(const Model::GetBillingViewRequest& request) const;
+
+ /**
+ * A Callable wrapper for GetBillingView that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::GetBillingViewOutcomeCallable GetBillingViewCallable(const GetBillingViewRequestT& request) const
+ {
+ return SubmitCallable(&BillingClient::GetBillingView, request);
+ }
+
+ /**
+ * An Async wrapper for GetBillingView that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void GetBillingViewAsync(const GetBillingViewRequestT& request, const GetBillingViewResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&BillingClient::GetBillingView, request, handler, context);
+ }
+
+ /**
+ * Returns the resource-based policy document attached to the resource in
+ * JSON
format.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::GetResourcePolicyOutcome GetResourcePolicy(const Model::GetResourcePolicyRequest& request) const;
+
+ /**
+ * A Callable wrapper for GetResourcePolicy that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::GetResourcePolicyOutcomeCallable GetResourcePolicyCallable(const GetResourcePolicyRequestT& request) const
+ {
+ return SubmitCallable(&BillingClient::GetResourcePolicy, request);
+ }
+
+ /**
+ * An Async wrapper for GetResourcePolicy that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void GetResourcePolicyAsync(const GetResourcePolicyRequestT& request, const GetResourcePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&BillingClient::GetResourcePolicy, request, handler, context);
+ }
+
/**
* Lists the billing views available for a given time period.
Every
* Amazon Web Services account has a unique PRIMARY
billing view that
@@ -89,13 +192,13 @@ namespace Billing
* href="http://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/ListBillingViews">AWS
* API Reference
*/
- virtual Model::ListBillingViewsOutcome ListBillingViews(const Model::ListBillingViewsRequest& request) const;
+ virtual Model::ListBillingViewsOutcome ListBillingViews(const Model::ListBillingViewsRequest& request = {}) const;
/**
* A Callable wrapper for ListBillingViews that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
- Model::ListBillingViewsOutcomeCallable ListBillingViewsCallable(const ListBillingViewsRequestT& request) const
+ Model::ListBillingViewsOutcomeCallable ListBillingViewsCallable(const ListBillingViewsRequestT& request = {}) const
{
return SubmitCallable(&BillingClient::ListBillingViews, request);
}
@@ -104,11 +207,141 @@ namespace Billing
* An Async wrapper for ListBillingViews that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
- void ListBillingViewsAsync(const ListBillingViewsRequestT& request, const ListBillingViewsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ void ListBillingViewsAsync(const ListBillingViewsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListBillingViewsRequestT& request = {}) const
{
return SubmitAsync(&BillingClient::ListBillingViews, request, handler, context);
}
+ /**
+ * Lists the source views (managed Amazon Web Services billing views) associated
+ * with the billing view.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::ListSourceViewsForBillingViewOutcome ListSourceViewsForBillingView(const Model::ListSourceViewsForBillingViewRequest& request) const;
+
+ /**
+ * A Callable wrapper for ListSourceViewsForBillingView that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::ListSourceViewsForBillingViewOutcomeCallable ListSourceViewsForBillingViewCallable(const ListSourceViewsForBillingViewRequestT& request) const
+ {
+ return SubmitCallable(&BillingClient::ListSourceViewsForBillingView, request);
+ }
+
+ /**
+ * An Async wrapper for ListSourceViewsForBillingView that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void ListSourceViewsForBillingViewAsync(const ListSourceViewsForBillingViewRequestT& request, const ListSourceViewsForBillingViewResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&BillingClient::ListSourceViewsForBillingView, request, handler, context);
+ }
+
+ /**
+ * Lists tags associated with the billing view resource.
See
+ * Also:
AWS
+ * API Reference
+ */
+ virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const;
+
+ /**
+ * A Callable wrapper for ListTagsForResource that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
+ {
+ return SubmitCallable(&BillingClient::ListTagsForResource, request);
+ }
+
+ /**
+ * An Async wrapper for ListTagsForResource that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&BillingClient::ListTagsForResource, request, handler, context);
+ }
+
+ /**
+ * An API operation for adding one or more tags (key-value pairs) to a
+ * resource.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const;
+
+ /**
+ * A Callable wrapper for TagResource that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
+ {
+ return SubmitCallable(&BillingClient::TagResource, request);
+ }
+
+ /**
+ * An Async wrapper for TagResource that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&BillingClient::TagResource, request, handler, context);
+ }
+
+ /**
+ * Removes one or more tags from a resource. Specify only tag keys in your
+ * request. Don't specify the value.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const;
+
+ /**
+ * A Callable wrapper for UntagResource that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
+ {
+ return SubmitCallable(&BillingClient::UntagResource, request);
+ }
+
+ /**
+ * An Async wrapper for UntagResource that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&BillingClient::UntagResource, request, handler, context);
+ }
+
+ /**
+ * An API to update the attributes of the billing view.
See
+ * Also:
AWS
+ * API Reference
+ */
+ virtual Model::UpdateBillingViewOutcome UpdateBillingView(const Model::UpdateBillingViewRequest& request) const;
+
+ /**
+ * A Callable wrapper for UpdateBillingView that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::UpdateBillingViewOutcomeCallable UpdateBillingViewCallable(const UpdateBillingViewRequestT& request) const
+ {
+ return SubmitCallable(&BillingClient::UpdateBillingView, request);
+ }
+
+ /**
+ * An Async wrapper for UpdateBillingView that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void UpdateBillingViewAsync(const UpdateBillingViewRequestT& request, const UpdateBillingViewResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&BillingClient::UpdateBillingView, request, handler, context);
+ }
+
void OverrideEndpoint(const Aws::String& endpoint);
std::shared_ptr& accessEndpointProvider();
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/BillingErrors.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/BillingErrors.h
index 789f7bdcfeb..01c41787633 100644
--- a/generated/src/aws-cpp-sdk-billing/include/aws/billing/BillingErrors.h
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/BillingErrors.h
@@ -47,7 +47,9 @@ enum class BillingErrors
UNKNOWN = 100,
///////////////////////////////////////////////////////////////////////////////////////////
- INTERNAL_SERVER= static_cast(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1
+ CONFLICT= static_cast(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
+ INTERNAL_SERVER,
+ SERVICE_QUOTA_EXCEEDED
};
class AWS_BILLING_API BillingError : public Aws::Client::AWSError
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/BillingServiceClientModel.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/BillingServiceClientModel.h
index 76502de3bae..0a50a9d2475 100644
--- a/generated/src/aws-cpp-sdk-billing/include/aws/billing/BillingServiceClientModel.h
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/BillingServiceClientModel.h
@@ -18,7 +18,17 @@
/* End of generic header includes */
/* Service model headers required in BillingClient header */
+#include
+#include
+#include
+#include
#include
+#include
+#include
+#include
+#include
+#include
+#include
/* End of service model headers required in BillingClient header */
namespace Aws
@@ -59,22 +69,58 @@ namespace Aws
namespace Model
{
/* Service model forward declarations required in BillingClient header */
+ class CreateBillingViewRequest;
+ class DeleteBillingViewRequest;
+ class GetBillingViewRequest;
+ class GetResourcePolicyRequest;
class ListBillingViewsRequest;
+ class ListSourceViewsForBillingViewRequest;
+ class ListTagsForResourceRequest;
+ class TagResourceRequest;
+ class UntagResourceRequest;
+ class UpdateBillingViewRequest;
/* End of service model forward declarations required in BillingClient header */
/* Service model Outcome class definitions */
+ typedef Aws::Utils::Outcome CreateBillingViewOutcome;
+ typedef Aws::Utils::Outcome DeleteBillingViewOutcome;
+ typedef Aws::Utils::Outcome GetBillingViewOutcome;
+ typedef Aws::Utils::Outcome GetResourcePolicyOutcome;
typedef Aws::Utils::Outcome ListBillingViewsOutcome;
+ typedef Aws::Utils::Outcome ListSourceViewsForBillingViewOutcome;
+ typedef Aws::Utils::Outcome ListTagsForResourceOutcome;
+ typedef Aws::Utils::Outcome TagResourceOutcome;
+ typedef Aws::Utils::Outcome UntagResourceOutcome;
+ typedef Aws::Utils::Outcome UpdateBillingViewOutcome;
/* End of service model Outcome class definitions */
/* Service model Outcome callable definitions */
+ typedef std::future CreateBillingViewOutcomeCallable;
+ typedef std::future DeleteBillingViewOutcomeCallable;
+ typedef std::future GetBillingViewOutcomeCallable;
+ typedef std::future GetResourcePolicyOutcomeCallable;
typedef std::future ListBillingViewsOutcomeCallable;
+ typedef std::future ListSourceViewsForBillingViewOutcomeCallable;
+ typedef std::future ListTagsForResourceOutcomeCallable;
+ typedef std::future TagResourceOutcomeCallable;
+ typedef std::future UntagResourceOutcomeCallable;
+ typedef std::future UpdateBillingViewOutcomeCallable;
/* End of service model Outcome callable definitions */
} // namespace Model
class BillingClient;
/* Service model async handlers definitions */
+ typedef std::function&) > CreateBillingViewResponseReceivedHandler;
+ typedef std::function&) > DeleteBillingViewResponseReceivedHandler;
+ typedef std::function&) > GetBillingViewResponseReceivedHandler;
+ typedef std::function&) > GetResourcePolicyResponseReceivedHandler;
typedef std::function&) > ListBillingViewsResponseReceivedHandler;
+ typedef std::function&) > ListSourceViewsForBillingViewResponseReceivedHandler;
+ typedef std::function&) > ListTagsForResourceResponseReceivedHandler;
+ typedef std::function&) > TagResourceResponseReceivedHandler;
+ typedef std::function&) > UntagResourceResponseReceivedHandler;
+ typedef std::function&) > UpdateBillingViewResponseReceivedHandler;
/* End of service model async handlers definitions */
} // namespace Billing
} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/BillingViewElement.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/BillingViewElement.h
new file mode 100644
index 00000000000..bade707cdba
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/BillingViewElement.h
@@ -0,0 +1,179 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace Billing
+{
+namespace Model
+{
+
+ /**
+ * The metadata associated to the billing view.
See Also:
AWS
+ * API Reference
+ */
+ class BillingViewElement
+ {
+ public:
+ AWS_BILLING_API BillingViewElement();
+ AWS_BILLING_API BillingViewElement(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BILLING_API BillingViewElement& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) that can be used to uniquely identify the
+ * billing view.
+ */
+ inline const Aws::String& GetArn() const{ return m_arn; }
+ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
+ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
+ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
+ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
+ inline BillingViewElement& WithArn(const Aws::String& value) { SetArn(value); return *this;}
+ inline BillingViewElement& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
+ inline BillingViewElement& WithArn(const char* value) { SetArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * A list of names of the billing view.
+ */
+ inline const Aws::String& GetName() const{ return m_name; }
+ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
+ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
+ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
+ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
+ inline BillingViewElement& WithName(const Aws::String& value) { SetName(value); return *this;}
+ inline BillingViewElement& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
+ inline BillingViewElement& WithName(const char* value) { SetName(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The description of the billing view.
+ */
+ inline const Aws::String& GetDescription() const{ return m_description; }
+ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
+ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
+ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
+ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
+ inline BillingViewElement& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
+ inline BillingViewElement& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
+ inline BillingViewElement& WithDescription(const char* value) { SetDescription(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The type of billing group.
+ */
+ inline const BillingViewType& GetBillingViewType() const{ return m_billingViewType; }
+ inline bool BillingViewTypeHasBeenSet() const { return m_billingViewTypeHasBeenSet; }
+ inline void SetBillingViewType(const BillingViewType& value) { m_billingViewTypeHasBeenSet = true; m_billingViewType = value; }
+ inline void SetBillingViewType(BillingViewType&& value) { m_billingViewTypeHasBeenSet = true; m_billingViewType = std::move(value); }
+ inline BillingViewElement& WithBillingViewType(const BillingViewType& value) { SetBillingViewType(value); return *this;}
+ inline BillingViewElement& WithBillingViewType(BillingViewType&& value) { SetBillingViewType(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The list of owners of the billing view.
+ */
+ inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; }
+ inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; }
+ inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = value; }
+ inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::move(value); }
+ inline void SetOwnerAccountId(const char* value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId.assign(value); }
+ inline BillingViewElement& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;}
+ inline BillingViewElement& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;}
+ inline BillingViewElement& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * See Expression.
+ * Billing view only supports LINKED_ACCOUNT
and Tags
.
+ *
+ */
+ inline const Expression& GetDataFilterExpression() const{ return m_dataFilterExpression; }
+ inline bool DataFilterExpressionHasBeenSet() const { return m_dataFilterExpressionHasBeenSet; }
+ inline void SetDataFilterExpression(const Expression& value) { m_dataFilterExpressionHasBeenSet = true; m_dataFilterExpression = value; }
+ inline void SetDataFilterExpression(Expression&& value) { m_dataFilterExpressionHasBeenSet = true; m_dataFilterExpression = std::move(value); }
+ inline BillingViewElement& WithDataFilterExpression(const Expression& value) { SetDataFilterExpression(value); return *this;}
+ inline BillingViewElement& WithDataFilterExpression(Expression&& value) { SetDataFilterExpression(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The time when the billing view was created.
+ */
+ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
+ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
+ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
+ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
+ inline BillingViewElement& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
+ inline BillingViewElement& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The time when the billing view was last updated.
+ */
+ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
+ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
+ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
+ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
+ inline BillingViewElement& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
+ inline BillingViewElement& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_arn;
+ bool m_arnHasBeenSet = false;
+
+ Aws::String m_name;
+ bool m_nameHasBeenSet = false;
+
+ Aws::String m_description;
+ bool m_descriptionHasBeenSet = false;
+
+ BillingViewType m_billingViewType;
+ bool m_billingViewTypeHasBeenSet = false;
+
+ Aws::String m_ownerAccountId;
+ bool m_ownerAccountIdHasBeenSet = false;
+
+ Expression m_dataFilterExpression;
+ bool m_dataFilterExpressionHasBeenSet = false;
+
+ Aws::Utils::DateTime m_createdAt;
+ bool m_createdAtHasBeenSet = false;
+
+ Aws::Utils::DateTime m_updatedAt;
+ bool m_updatedAtHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/BillingViewListElement.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/BillingViewListElement.h
index dcec3c7ebe0..0cbca8c29ee 100644
--- a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/BillingViewListElement.h
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/BillingViewListElement.h
@@ -67,6 +67,20 @@ namespace Model
inline BillingViewListElement& WithName(const char* value) { SetName(value); return *this;}
///@}
+ ///@{
+ /**
+ * The description of the billing view.
+ */
+ inline const Aws::String& GetDescription() const{ return m_description; }
+ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
+ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
+ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
+ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
+ inline BillingViewListElement& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
+ inline BillingViewListElement& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
+ inline BillingViewListElement& WithDescription(const char* value) { SetDescription(value); return *this;}
+ ///@}
+
///@{
/**
* The list of owners of the Billing view.
@@ -100,6 +114,9 @@ namespace Model
Aws::String m_name;
bool m_nameHasBeenSet = false;
+ Aws::String m_description;
+ bool m_descriptionHasBeenSet = false;
+
Aws::String m_ownerAccountId;
bool m_ownerAccountIdHasBeenSet = false;
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/BillingViewType.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/BillingViewType.h
index 793b2ae8601..7ffdb801f4d 100644
--- a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/BillingViewType.h
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/BillingViewType.h
@@ -17,7 +17,8 @@ namespace Model
{
NOT_SET,
PRIMARY,
- BILLING_GROUP
+ BILLING_GROUP,
+ CUSTOM
};
namespace BillingViewTypeMapper
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ConflictException.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ConflictException.h
new file mode 100644
index 00000000000..b36ac00804d
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ConflictException.h
@@ -0,0 +1,95 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace Billing
+{
+namespace Model
+{
+
+ /**
+ * The requested operation would cause a conflict with the current state of a
+ * service resource associated with the request. Resolve the conflict before
+ * retrying this request.
See Also:
AWS
+ * API Reference
+ */
+ class ConflictException
+ {
+ public:
+ AWS_BILLING_API ConflictException();
+ AWS_BILLING_API ConflictException(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BILLING_API ConflictException& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+
+ inline const Aws::String& GetMessage() const{ return m_message; }
+ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
+ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
+ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
+ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
+ inline ConflictException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
+ inline ConflictException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
+ inline ConflictException& WithMessage(const char* value) { SetMessage(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The identifier for the service resource associated with the request.
+ */
+ inline const Aws::String& GetResourceId() const{ return m_resourceId; }
+ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
+ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
+ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
+ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
+ inline ConflictException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
+ inline ConflictException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
+ inline ConflictException& WithResourceId(const char* value) { SetResourceId(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The type of resource associated with the request.
+ */
+ inline const Aws::String& GetResourceType() const{ return m_resourceType; }
+ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
+ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
+ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
+ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
+ inline ConflictException& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
+ inline ConflictException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
+ inline ConflictException& WithResourceType(const char* value) { SetResourceType(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_message;
+ bool m_messageHasBeenSet = false;
+
+ Aws::String m_resourceId;
+ bool m_resourceIdHasBeenSet = false;
+
+ Aws::String m_resourceType;
+ bool m_resourceTypeHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/CreateBillingViewRequest.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/CreateBillingViewRequest.h
new file mode 100644
index 00000000000..e80f08be6bd
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/CreateBillingViewRequest.h
@@ -0,0 +1,155 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Billing
+{
+namespace Model
+{
+
+ /**
+ */
+ class CreateBillingViewRequest : public BillingRequest
+ {
+ public:
+ AWS_BILLING_API CreateBillingViewRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "CreateBillingView"; }
+
+ AWS_BILLING_API Aws::String SerializePayload() const override;
+
+ AWS_BILLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
+
+
+ ///@{
+ /**
+ * The name of the billing view.
+ */
+ inline const Aws::String& GetName() const{ return m_name; }
+ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
+ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
+ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
+ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
+ inline CreateBillingViewRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
+ inline CreateBillingViewRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
+ inline CreateBillingViewRequest& WithName(const char* value) { SetName(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The description of the billing view.
+ */
+ inline const Aws::String& GetDescription() const{ return m_description; }
+ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
+ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
+ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
+ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
+ inline CreateBillingViewRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
+ inline CreateBillingViewRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
+ inline CreateBillingViewRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * A list of billing views used as the data source for the custom billing
+ * view.
+ */
+ inline const Aws::Vector& GetSourceViews() const{ return m_sourceViews; }
+ inline bool SourceViewsHasBeenSet() const { return m_sourceViewsHasBeenSet; }
+ inline void SetSourceViews(const Aws::Vector& value) { m_sourceViewsHasBeenSet = true; m_sourceViews = value; }
+ inline void SetSourceViews(Aws::Vector&& value) { m_sourceViewsHasBeenSet = true; m_sourceViews = std::move(value); }
+ inline CreateBillingViewRequest& WithSourceViews(const Aws::Vector& value) { SetSourceViews(value); return *this;}
+ inline CreateBillingViewRequest& WithSourceViews(Aws::Vector&& value) { SetSourceViews(std::move(value)); return *this;}
+ inline CreateBillingViewRequest& AddSourceViews(const Aws::String& value) { m_sourceViewsHasBeenSet = true; m_sourceViews.push_back(value); return *this; }
+ inline CreateBillingViewRequest& AddSourceViews(Aws::String&& value) { m_sourceViewsHasBeenSet = true; m_sourceViews.push_back(std::move(value)); return *this; }
+ inline CreateBillingViewRequest& AddSourceViews(const char* value) { m_sourceViewsHasBeenSet = true; m_sourceViews.push_back(value); return *this; }
+ ///@}
+
+ ///@{
+ /**
+ * See Expression.
+ * Billing view only supports LINKED_ACCOUNT
and Tags
.
+ *
+ */
+ inline const Expression& GetDataFilterExpression() const{ return m_dataFilterExpression; }
+ inline bool DataFilterExpressionHasBeenSet() const { return m_dataFilterExpressionHasBeenSet; }
+ inline void SetDataFilterExpression(const Expression& value) { m_dataFilterExpressionHasBeenSet = true; m_dataFilterExpression = value; }
+ inline void SetDataFilterExpression(Expression&& value) { m_dataFilterExpressionHasBeenSet = true; m_dataFilterExpression = std::move(value); }
+ inline CreateBillingViewRequest& WithDataFilterExpression(const Expression& value) { SetDataFilterExpression(value); return *this;}
+ inline CreateBillingViewRequest& WithDataFilterExpression(Expression&& value) { SetDataFilterExpression(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * A unique, case-sensitive identifier you specify to ensure idempotency of the
+ * request. Idempotency ensures that an API request completes no more than one
+ * time. If the original request completes successfully, any subsequent retries
+ * complete successfully without performing any further actions with an idempotent
+ * request.
+ */
+ inline const Aws::String& GetClientToken() const{ return m_clientToken; }
+ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
+ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
+ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
+ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
+ inline CreateBillingViewRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
+ inline CreateBillingViewRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
+ inline CreateBillingViewRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * A list of key value map specifying tags associated to the billing view being
+ * created.
+ */
+ inline const Aws::Vector& GetResourceTags() const{ return m_resourceTags; }
+ inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; }
+ inline void SetResourceTags(const Aws::Vector& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = value; }
+ inline void SetResourceTags(Aws::Vector&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = std::move(value); }
+ inline CreateBillingViewRequest& WithResourceTags(const Aws::Vector& value) { SetResourceTags(value); return *this;}
+ inline CreateBillingViewRequest& WithResourceTags(Aws::Vector&& value) { SetResourceTags(std::move(value)); return *this;}
+ inline CreateBillingViewRequest& AddResourceTags(const ResourceTag& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.push_back(value); return *this; }
+ inline CreateBillingViewRequest& AddResourceTags(ResourceTag&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.push_back(std::move(value)); return *this; }
+ ///@}
+ private:
+
+ Aws::String m_name;
+ bool m_nameHasBeenSet = false;
+
+ Aws::String m_description;
+ bool m_descriptionHasBeenSet = false;
+
+ Aws::Vector m_sourceViews;
+ bool m_sourceViewsHasBeenSet = false;
+
+ Expression m_dataFilterExpression;
+ bool m_dataFilterExpressionHasBeenSet = false;
+
+ Aws::String m_clientToken;
+ bool m_clientTokenHasBeenSet = false;
+
+ Aws::Vector m_resourceTags;
+ bool m_resourceTagsHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/CreateBillingViewResult.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/CreateBillingViewResult.h
new file mode 100644
index 00000000000..43d30821097
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/CreateBillingViewResult.h
@@ -0,0 +1,82 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace Billing
+{
+namespace Model
+{
+ class CreateBillingViewResult
+ {
+ public:
+ AWS_BILLING_API CreateBillingViewResult();
+ AWS_BILLING_API CreateBillingViewResult(const Aws::AmazonWebServiceResult& result);
+ AWS_BILLING_API CreateBillingViewResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) that can be used to uniquely identify the
+ * billing view.
+ */
+ inline const Aws::String& GetArn() const{ return m_arn; }
+ inline void SetArn(const Aws::String& value) { m_arn = value; }
+ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
+ inline void SetArn(const char* value) { m_arn.assign(value); }
+ inline CreateBillingViewResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
+ inline CreateBillingViewResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
+ inline CreateBillingViewResult& WithArn(const char* value) { SetArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The time when the billing view was created.
+ */
+ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
+ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
+ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
+ inline CreateBillingViewResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
+ inline CreateBillingViewResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline CreateBillingViewResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline CreateBillingViewResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline CreateBillingViewResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_arn;
+
+ Aws::Utils::DateTime m_createdAt;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/DeleteBillingViewRequest.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/DeleteBillingViewRequest.h
new file mode 100644
index 00000000000..49b35b91a99
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/DeleteBillingViewRequest.h
@@ -0,0 +1,59 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Billing
+{
+namespace Model
+{
+
+ /**
+ */
+ class DeleteBillingViewRequest : public BillingRequest
+ {
+ public:
+ AWS_BILLING_API DeleteBillingViewRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "DeleteBillingView"; }
+
+ AWS_BILLING_API Aws::String SerializePayload() const override;
+
+ AWS_BILLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
+
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) that can be used to uniquely identify the
+ * billing view.
+ */
+ inline const Aws::String& GetArn() const{ return m_arn; }
+ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
+ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
+ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
+ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
+ inline DeleteBillingViewRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
+ inline DeleteBillingViewRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
+ inline DeleteBillingViewRequest& WithArn(const char* value) { SetArn(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_arn;
+ bool m_arnHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/DeleteBillingViewResult.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/DeleteBillingViewResult.h
new file mode 100644
index 00000000000..4f6dff74af3
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/DeleteBillingViewResult.h
@@ -0,0 +1,68 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace Billing
+{
+namespace Model
+{
+ class DeleteBillingViewResult
+ {
+ public:
+ AWS_BILLING_API DeleteBillingViewResult();
+ AWS_BILLING_API DeleteBillingViewResult(const Aws::AmazonWebServiceResult& result);
+ AWS_BILLING_API DeleteBillingViewResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) that can be used to uniquely identify the
+ * billing view.
+ */
+ inline const Aws::String& GetArn() const{ return m_arn; }
+ inline void SetArn(const Aws::String& value) { m_arn = value; }
+ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
+ inline void SetArn(const char* value) { m_arn.assign(value); }
+ inline DeleteBillingViewResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
+ inline DeleteBillingViewResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
+ inline DeleteBillingViewResult& WithArn(const char* value) { SetArn(value); return *this;}
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline DeleteBillingViewResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline DeleteBillingViewResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline DeleteBillingViewResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_arn;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/Dimension.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/Dimension.h
new file mode 100644
index 00000000000..9f9cec5da73
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/Dimension.h
@@ -0,0 +1,30 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+
+namespace Aws
+{
+namespace Billing
+{
+namespace Model
+{
+ enum class Dimension
+ {
+ NOT_SET,
+ LINKED_ACCOUNT
+ };
+
+namespace DimensionMapper
+{
+AWS_BILLING_API Dimension GetDimensionForName(const Aws::String& name);
+
+AWS_BILLING_API Aws::String GetNameForDimension(Dimension value);
+} // namespace DimensionMapper
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/DimensionValues.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/DimensionValues.h
new file mode 100644
index 00000000000..636b691a8db
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/DimensionValues.h
@@ -0,0 +1,81 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace Billing
+{
+namespace Model
+{
+
+ /**
+ * The metadata that you can use to filter and group your results.
+ *
See Also:
AWS
+ * API Reference
+ */
+ class DimensionValues
+ {
+ public:
+ AWS_BILLING_API DimensionValues();
+ AWS_BILLING_API DimensionValues(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BILLING_API DimensionValues& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The names of the metadata types that you can use to filter and group your
+ * results.
+ */
+ inline const Dimension& GetKey() const{ return m_key; }
+ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
+ inline void SetKey(const Dimension& value) { m_keyHasBeenSet = true; m_key = value; }
+ inline void SetKey(Dimension&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
+ inline DimensionValues& WithKey(const Dimension& value) { SetKey(value); return *this;}
+ inline DimensionValues& WithKey(Dimension&& value) { SetKey(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The metadata values that you can use to filter and group your results.
+ */
+ inline const Aws::Vector& GetValues() const{ return m_values; }
+ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
+ inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; }
+ inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
+ inline DimensionValues& WithValues(const Aws::Vector& value) { SetValues(value); return *this;}
+ inline DimensionValues& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;}
+ inline DimensionValues& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
+ inline DimensionValues& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
+ inline DimensionValues& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
+ ///@}
+ private:
+
+ Dimension m_key;
+ bool m_keyHasBeenSet = false;
+
+ Aws::Vector m_values;
+ bool m_valuesHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/Expression.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/Expression.h
new file mode 100644
index 00000000000..4497728597e
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/Expression.h
@@ -0,0 +1,78 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace Billing
+{
+namespace Model
+{
+
+ /**
+ * See Expression.
+ * Billing view only supports LINKED_ACCOUNT
and Tags
.
+ *
See Also:
AWS
+ * API Reference
+ */
+ class Expression
+ {
+ public:
+ AWS_BILLING_API Expression();
+ AWS_BILLING_API Expression(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BILLING_API Expression& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The specific Dimension
to use for Expression
.
+ */
+ inline const DimensionValues& GetDimensions() const{ return m_dimensions; }
+ inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
+ inline void SetDimensions(const DimensionValues& value) { m_dimensionsHasBeenSet = true; m_dimensions = value; }
+ inline void SetDimensions(DimensionValues&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::move(value); }
+ inline Expression& WithDimensions(const DimensionValues& value) { SetDimensions(value); return *this;}
+ inline Expression& WithDimensions(DimensionValues&& value) { SetDimensions(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The specific Tag
to use for Expression
.
+ */
+ inline const TagValues& GetTags() const{ return m_tags; }
+ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
+ inline void SetTags(const TagValues& value) { m_tagsHasBeenSet = true; m_tags = value; }
+ inline void SetTags(TagValues&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
+ inline Expression& WithTags(const TagValues& value) { SetTags(value); return *this;}
+ inline Expression& WithTags(TagValues&& value) { SetTags(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ DimensionValues m_dimensions;
+ bool m_dimensionsHasBeenSet = false;
+
+ TagValues m_tags;
+ bool m_tagsHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/GetBillingViewRequest.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/GetBillingViewRequest.h
new file mode 100644
index 00000000000..f59fe7aa5df
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/GetBillingViewRequest.h
@@ -0,0 +1,59 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Billing
+{
+namespace Model
+{
+
+ /**
+ */
+ class GetBillingViewRequest : public BillingRequest
+ {
+ public:
+ AWS_BILLING_API GetBillingViewRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "GetBillingView"; }
+
+ AWS_BILLING_API Aws::String SerializePayload() const override;
+
+ AWS_BILLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
+
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) that can be used to uniquely identify the
+ * billing view.
+ */
+ inline const Aws::String& GetArn() const{ return m_arn; }
+ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
+ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
+ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
+ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
+ inline GetBillingViewRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
+ inline GetBillingViewRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
+ inline GetBillingViewRequest& WithArn(const char* value) { SetArn(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_arn;
+ bool m_arnHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/GetBillingViewResult.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/GetBillingViewResult.h
new file mode 100644
index 00000000000..734d585e450
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/GetBillingViewResult.h
@@ -0,0 +1,66 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace Billing
+{
+namespace Model
+{
+ class GetBillingViewResult
+ {
+ public:
+ AWS_BILLING_API GetBillingViewResult();
+ AWS_BILLING_API GetBillingViewResult(const Aws::AmazonWebServiceResult& result);
+ AWS_BILLING_API GetBillingViewResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * The billing view element associated with the specified ARN.
+ */
+ inline const BillingViewElement& GetBillingView() const{ return m_billingView; }
+ inline void SetBillingView(const BillingViewElement& value) { m_billingView = value; }
+ inline void SetBillingView(BillingViewElement&& value) { m_billingView = std::move(value); }
+ inline GetBillingViewResult& WithBillingView(const BillingViewElement& value) { SetBillingView(value); return *this;}
+ inline GetBillingViewResult& WithBillingView(BillingViewElement&& value) { SetBillingView(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline GetBillingViewResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline GetBillingViewResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline GetBillingViewResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ BillingViewElement m_billingView;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/GetResourcePolicyRequest.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/GetResourcePolicyRequest.h
new file mode 100644
index 00000000000..f8dec011d9b
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/GetResourcePolicyRequest.h
@@ -0,0 +1,59 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Billing
+{
+namespace Model
+{
+
+ /**
+ */
+ class GetResourcePolicyRequest : public BillingRequest
+ {
+ public:
+ AWS_BILLING_API GetResourcePolicyRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "GetResourcePolicy"; }
+
+ AWS_BILLING_API Aws::String SerializePayload() const override;
+
+ AWS_BILLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
+
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) of the billing view resource to which the
+ * policy is attached to.
+ */
+ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
+ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
+ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
+ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
+ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
+ inline GetResourcePolicyRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
+ inline GetResourcePolicyRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
+ inline GetResourcePolicyRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_resourceArn;
+ bool m_resourceArnHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/GetResourcePolicyResult.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/GetResourcePolicyResult.h
new file mode 100644
index 00000000000..eee310bc00c
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/GetResourcePolicyResult.h
@@ -0,0 +1,84 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace Billing
+{
+namespace Model
+{
+ class GetResourcePolicyResult
+ {
+ public:
+ AWS_BILLING_API GetResourcePolicyResult();
+ AWS_BILLING_API GetResourcePolicyResult(const Aws::AmazonWebServiceResult& result);
+ AWS_BILLING_API GetResourcePolicyResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) of the billing view resource to which the
+ * policy is attached to.
+ */
+ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
+ inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
+ inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
+ inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
+ inline GetResourcePolicyResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
+ inline GetResourcePolicyResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
+ inline GetResourcePolicyResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The resource-based policy document attached to the resource in
+ * JSON
format.
+ */
+ inline const Aws::String& GetPolicy() const{ return m_policy; }
+ inline void SetPolicy(const Aws::String& value) { m_policy = value; }
+ inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
+ inline void SetPolicy(const char* value) { m_policy.assign(value); }
+ inline GetResourcePolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
+ inline GetResourcePolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
+ inline GetResourcePolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline GetResourcePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline GetResourcePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline GetResourcePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_resourceArn;
+
+ Aws::String m_policy;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListBillingViewsRequest.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListBillingViewsRequest.h
index 789034b0773..45daf796e0b 100644
--- a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListBillingViewsRequest.h
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListBillingViewsRequest.h
@@ -7,7 +7,9 @@
#include
#include
#include
+#include
#include
+#include
#include
namespace Aws
@@ -50,6 +52,50 @@ namespace Model
inline ListBillingViewsRequest& WithActiveTimeRange(ActiveTimeRange&& value) { SetActiveTimeRange(std::move(value)); return *this;}
///@}
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) that can be used to uniquely identify the
+ * billing view.
+ */
+ inline const Aws::Vector& GetArns() const{ return m_arns; }
+ inline bool ArnsHasBeenSet() const { return m_arnsHasBeenSet; }
+ inline void SetArns(const Aws::Vector& value) { m_arnsHasBeenSet = true; m_arns = value; }
+ inline void SetArns(Aws::Vector&& value) { m_arnsHasBeenSet = true; m_arns = std::move(value); }
+ inline ListBillingViewsRequest& WithArns(const Aws::Vector& value) { SetArns(value); return *this;}
+ inline ListBillingViewsRequest& WithArns(Aws::Vector&& value) { SetArns(std::move(value)); return *this;}
+ inline ListBillingViewsRequest& AddArns(const Aws::String& value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; }
+ inline ListBillingViewsRequest& AddArns(Aws::String&& value) { m_arnsHasBeenSet = true; m_arns.push_back(std::move(value)); return *this; }
+ inline ListBillingViewsRequest& AddArns(const char* value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; }
+ ///@}
+
+ ///@{
+ /**
+ * The type of billing view.
+ */
+ inline const Aws::Vector& GetBillingViewTypes() const{ return m_billingViewTypes; }
+ inline bool BillingViewTypesHasBeenSet() const { return m_billingViewTypesHasBeenSet; }
+ inline void SetBillingViewTypes(const Aws::Vector& value) { m_billingViewTypesHasBeenSet = true; m_billingViewTypes = value; }
+ inline void SetBillingViewTypes(Aws::Vector&& value) { m_billingViewTypesHasBeenSet = true; m_billingViewTypes = std::move(value); }
+ inline ListBillingViewsRequest& WithBillingViewTypes(const Aws::Vector& value) { SetBillingViewTypes(value); return *this;}
+ inline ListBillingViewsRequest& WithBillingViewTypes(Aws::Vector&& value) { SetBillingViewTypes(std::move(value)); return *this;}
+ inline ListBillingViewsRequest& AddBillingViewTypes(const BillingViewType& value) { m_billingViewTypesHasBeenSet = true; m_billingViewTypes.push_back(value); return *this; }
+ inline ListBillingViewsRequest& AddBillingViewTypes(BillingViewType&& value) { m_billingViewTypesHasBeenSet = true; m_billingViewTypes.push_back(std::move(value)); return *this; }
+ ///@}
+
+ ///@{
+ /**
+ * The list of owners of the billing view.
+ */
+ inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; }
+ inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; }
+ inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = value; }
+ inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::move(value); }
+ inline void SetOwnerAccountId(const char* value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId.assign(value); }
+ inline ListBillingViewsRequest& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;}
+ inline ListBillingViewsRequest& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;}
+ inline ListBillingViewsRequest& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;}
+ ///@}
+
///@{
/**
* The maximum number of billing views to retrieve. Default is 100.
@@ -79,6 +125,15 @@ namespace Model
ActiveTimeRange m_activeTimeRange;
bool m_activeTimeRangeHasBeenSet = false;
+ Aws::Vector m_arns;
+ bool m_arnsHasBeenSet = false;
+
+ Aws::Vector m_billingViewTypes;
+ bool m_billingViewTypesHasBeenSet = false;
+
+ Aws::String m_ownerAccountId;
+ bool m_ownerAccountIdHasBeenSet = false;
+
int m_maxResults;
bool m_maxResultsHasBeenSet = false;
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListSourceViewsForBillingViewRequest.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListSourceViewsForBillingViewRequest.h
new file mode 100644
index 00000000000..a37f1cd9381
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListSourceViewsForBillingViewRequest.h
@@ -0,0 +1,90 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Billing
+{
+namespace Model
+{
+
+ /**
+ */
+ class ListSourceViewsForBillingViewRequest : public BillingRequest
+ {
+ public:
+ AWS_BILLING_API ListSourceViewsForBillingViewRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "ListSourceViewsForBillingView"; }
+
+ AWS_BILLING_API Aws::String SerializePayload() const override;
+
+ AWS_BILLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
+
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) that can be used to uniquely identify the
+ * billing view.
+ */
+ inline const Aws::String& GetArn() const{ return m_arn; }
+ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
+ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
+ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
+ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
+ inline ListSourceViewsForBillingViewRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
+ inline ListSourceViewsForBillingViewRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
+ inline ListSourceViewsForBillingViewRequest& WithArn(const char* value) { SetArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The number of entries a paginated response contains.
+ */
+ inline int GetMaxResults() const{ return m_maxResults; }
+ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
+ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
+ inline ListSourceViewsForBillingViewRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The pagination token that is used on subsequent calls to list billing views.
+ *
+ */
+ inline const Aws::String& GetNextToken() const{ return m_nextToken; }
+ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
+ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
+ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
+ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
+ inline ListSourceViewsForBillingViewRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
+ inline ListSourceViewsForBillingViewRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
+ inline ListSourceViewsForBillingViewRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_arn;
+ bool m_arnHasBeenSet = false;
+
+ int m_maxResults;
+ bool m_maxResultsHasBeenSet = false;
+
+ Aws::String m_nextToken;
+ bool m_nextTokenHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListSourceViewsForBillingViewResult.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListSourceViewsForBillingViewResult.h
new file mode 100644
index 00000000000..2c3d8a2f8f2
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListSourceViewsForBillingViewResult.h
@@ -0,0 +1,86 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace Billing
+{
+namespace Model
+{
+ class ListSourceViewsForBillingViewResult
+ {
+ public:
+ AWS_BILLING_API ListSourceViewsForBillingViewResult();
+ AWS_BILLING_API ListSourceViewsForBillingViewResult(const Aws::AmazonWebServiceResult& result);
+ AWS_BILLING_API ListSourceViewsForBillingViewResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * A list of billing views used as the data source for the custom billing view.
+ *
+ */
+ inline const Aws::Vector& GetSourceViews() const{ return m_sourceViews; }
+ inline void SetSourceViews(const Aws::Vector& value) { m_sourceViews = value; }
+ inline void SetSourceViews(Aws::Vector&& value) { m_sourceViews = std::move(value); }
+ inline ListSourceViewsForBillingViewResult& WithSourceViews(const Aws::Vector& value) { SetSourceViews(value); return *this;}
+ inline ListSourceViewsForBillingViewResult& WithSourceViews(Aws::Vector&& value) { SetSourceViews(std::move(value)); return *this;}
+ inline ListSourceViewsForBillingViewResult& AddSourceViews(const Aws::String& value) { m_sourceViews.push_back(value); return *this; }
+ inline ListSourceViewsForBillingViewResult& AddSourceViews(Aws::String&& value) { m_sourceViews.push_back(std::move(value)); return *this; }
+ inline ListSourceViewsForBillingViewResult& AddSourceViews(const char* value) { m_sourceViews.push_back(value); return *this; }
+ ///@}
+
+ ///@{
+ /**
+ * The pagination token that is used on subsequent calls to list billing views.
+ *
+ */
+ inline const Aws::String& GetNextToken() const{ return m_nextToken; }
+ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
+ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
+ inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
+ inline ListSourceViewsForBillingViewResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
+ inline ListSourceViewsForBillingViewResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
+ inline ListSourceViewsForBillingViewResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline ListSourceViewsForBillingViewResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline ListSourceViewsForBillingViewResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline ListSourceViewsForBillingViewResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::Vector m_sourceViews;
+
+ Aws::String m_nextToken;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListTagsForResourceRequest.h
new file mode 100644
index 00000000000..27bdf3a3b72
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListTagsForResourceRequest.h
@@ -0,0 +1,58 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Billing
+{
+namespace Model
+{
+
+ /**
+ */
+ class ListTagsForResourceRequest : public BillingRequest
+ {
+ public:
+ AWS_BILLING_API ListTagsForResourceRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "ListTagsForResource"; }
+
+ AWS_BILLING_API Aws::String SerializePayload() const override;
+
+ AWS_BILLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
+
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) of the resource.
+ */
+ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
+ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
+ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
+ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
+ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
+ inline ListTagsForResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
+ inline ListTagsForResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
+ inline ListTagsForResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_resourceArn;
+ bool m_resourceArnHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Billing
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListTagsForResourceResult.h
new file mode 100644
index 00000000000..28d39e6bcf5
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-billing/include/aws/billing/model/ListTagsForResourceResult.h
@@ -0,0 +1,69 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace Billing
+{
+namespace Model
+{
+ class ListTagsForResourceResult
+ {
+ public:
+ AWS_BILLING_API ListTagsForResourceResult();
+ AWS_BILLING_API ListTagsForResourceResult(const Aws::AmazonWebServiceResult