From b667af2b13efcf9c2c0914b3630e30778e59bcdc Mon Sep 17 00:00:00 2001
From: aws-sdk-cpp-automation The AWS Identity and Access Management (IAM) service role for the Amazon
- * Resource Name (ARN) of the Amplify app. The Amazon Resource Name (ARN) of the IAM role for an SSR app. The Compute
+ * role allows the Amplify Hosting compute service to securely access specific
+ * Amazon Web Services resources based on the role's permissions. For more
+ * information about the SSR Compute role, see Adding
+ * an SSR Compute role in the Amplify User Guide. The Amazon Resource Name (ARN) of the IAM service role for the Amplify
+ * app. The Amazon Resource Name (ARN) of the IAM role for a branch of an SSR app.
+ * The Compute role allows the Amplify Hosting compute service to securely access
+ * specific Amazon Web Services resources based on the role's permissions. For more
+ * information about the SSR Compute role, see Adding
+ * an SSR Compute role in the Amplify User Guide. The AWS Identity and Access Management (IAM) service role for an Amplify app.
- * The Amazon Resource Name (ARN) of the IAM role to assign to an SSR app. The
+ * SSR Compute role allows the Amplify Hosting compute service to securely access
+ * specific Amazon Web Services resources based on the role's permissions. For more
+ * information about the SSR Compute role, see Adding
+ * an SSR Compute role in the Amplify User Guide. The Amazon Resource Name (ARN) of the IAM service role for the Amplify
+ * app. The Amazon Resource Name (ARN) of the IAM role to assign to a branch of an
+ * SSR app. The SSR Compute role allows the Amplify Hosting compute service to
+ * securely access specific Amazon Web Services resources based on the role's
+ * permissions. For more information about the SSR Compute role, see Adding
+ * an SSR Compute role in the Amplify User Guide. The AWS Identity and Access Management (IAM) service role for an Amplify app.
- * The Amazon Resource Name (ARN) of the IAM role to assign to an SSR app. The
+ * SSR Compute role allows the Amplify Hosting compute service to securely access
+ * specific Amazon Web Services resources based on the role's permissions. For more
+ * information about the SSR Compute role, see Adding
+ * an SSR Compute role in the Amplify User Guide. The Amazon Resource Name (ARN) of the IAM service role for the Amplify
+ * app. The Amazon Resource Name (ARN) of the IAM role to assign to a branch of an
+ * SSR app. The SSR Compute role allows the Amplify Hosting compute service to
+ * securely access specific Amazon Web Services resources based on the role's
+ * permissions. For more information about the SSR Compute role, see Adding
+ * an SSR Compute role in the Amplify User Guide. Amazon Resource Name (ARN) of a serverless replication on which you want to
+ * base the default list of individual assessments. Name of a database engine that the specified replication instance supports as
@@ -147,6 +162,9 @@ namespace Model
Aws::String m_replicationInstanceArn;
bool m_replicationInstanceArnHasBeenSet = false;
+ Aws::String m_replicationConfigArn;
+ bool m_replicationConfigArnHasBeenSet = false;
+
Aws::String m_sourceEngineName;
bool m_sourceEngineNameHasBeenSet = false;
diff --git a/generated/src/aws-cpp-sdk-dms/source/model/DescribeApplicableIndividualAssessmentsRequest.cpp b/generated/src/aws-cpp-sdk-dms/source/model/DescribeApplicableIndividualAssessmentsRequest.cpp
index f143cab7ad0..2cc1410ff3c 100644
--- a/generated/src/aws-cpp-sdk-dms/source/model/DescribeApplicableIndividualAssessmentsRequest.cpp
+++ b/generated/src/aws-cpp-sdk-dms/source/model/DescribeApplicableIndividualAssessmentsRequest.cpp
@@ -15,6 +15,7 @@ using namespace Aws::Utils;
DescribeApplicableIndividualAssessmentsRequest::DescribeApplicableIndividualAssessmentsRequest() :
m_replicationTaskArnHasBeenSet(false),
m_replicationInstanceArnHasBeenSet(false),
+ m_replicationConfigArnHasBeenSet(false),
m_sourceEngineNameHasBeenSet(false),
m_targetEngineNameHasBeenSet(false),
m_migrationType(MigrationTypeValue::NOT_SET),
@@ -41,6 +42,12 @@ Aws::String DescribeApplicableIndividualAssessmentsRequest::SerializePayload() c
}
+ if(m_replicationConfigArnHasBeenSet)
+ {
+ payload.WithString("ReplicationConfigArn", m_replicationConfigArn);
+
+ }
+
if(m_sourceEngineNameHasBeenSet)
{
payload.WithString("SourceEngineName", m_sourceEngineName);
diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/TimestreamInfluxDBClient.h b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/TimestreamInfluxDBClient.h
index 5406119d11a..247a6362568 100644
--- a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/TimestreamInfluxDBClient.h
+++ b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/TimestreamInfluxDBClient.h
@@ -93,6 +93,31 @@ namespace TimestreamInfluxDB
/* End of legacy constructors due deprecation */
virtual ~TimestreamInfluxDBClient();
+ /**
+ * Creates a new Timestream for InfluxDB cluster.See Also:
AWS
+ * API Reference
Creates a new Timestream for InfluxDB DB instance.
Deletes a Timestream for InfluxDB DB instance.
Retrieves information about a Timestream for InfluxDB cluster.
Returns a Timestream for InfluxDB DB instance.
Returns a list of Timestream for InfluxDB DB clusters.
Returns a list of Timestream for InfluxDB DB instances.
Returns a list of Timestream for InfluxDB DB parameter groups.
Updates a Timestream for InfluxDB DB instance.
The name that uniquely identifies the DB cluster when interacting with the + * Amazon Timestream for InfluxDB API and CLI commands. This name will also be a + * prefix included in the endpoint. DB cluster names must be unique per customer + * and per region.
+ */ + 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 CreateDbClusterRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline CreateDbClusterRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline CreateDbClusterRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *The username of the initial admin user created in InfluxDB. Must start with a + * letter and can't end with a hyphen or contain two consecutive hyphens. For + * example, my-user1. This username will allow you to access the InfluxDB UI to + * perform various administrative tasks and also use the InfluxDB CLI to create an + * operator token. These attributes will be stored in a secret created in Amazon + * Web Services Secrets Manager in your account.
+ */ + inline const Aws::String& GetUsername() const{ return m_username; } + inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; } + inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; } + inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); } + inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); } + inline CreateDbClusterRequest& WithUsername(const Aws::String& value) { SetUsername(value); return *this;} + inline CreateDbClusterRequest& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;} + inline CreateDbClusterRequest& WithUsername(const char* value) { SetUsername(value); return *this;} + ///@} + + ///@{ + /** + *The password of the initial admin user created in InfluxDB. This password + * will allow you to access the InfluxDB UI to perform various administrative tasks + * and also use the InfluxDB CLI to create an operator token. These attributes will + * be stored in a secret created in Amazon Web Services Secrets Manager in your + * account.
+ */ + inline const Aws::String& GetPassword() const{ return m_password; } + inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; } + inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; } + inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); } + inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); } + inline CreateDbClusterRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;} + inline CreateDbClusterRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;} + inline CreateDbClusterRequest& WithPassword(const char* value) { SetPassword(value); return *this;} + ///@} + + ///@{ + /** + *The name of the initial organization for the initial admin user in InfluxDB. + * An InfluxDB organization is a workspace for a group of users.
+ */ + inline const Aws::String& GetOrganization() const{ return m_organization; } + inline bool OrganizationHasBeenSet() const { return m_organizationHasBeenSet; } + inline void SetOrganization(const Aws::String& value) { m_organizationHasBeenSet = true; m_organization = value; } + inline void SetOrganization(Aws::String&& value) { m_organizationHasBeenSet = true; m_organization = std::move(value); } + inline void SetOrganization(const char* value) { m_organizationHasBeenSet = true; m_organization.assign(value); } + inline CreateDbClusterRequest& WithOrganization(const Aws::String& value) { SetOrganization(value); return *this;} + inline CreateDbClusterRequest& WithOrganization(Aws::String&& value) { SetOrganization(std::move(value)); return *this;} + inline CreateDbClusterRequest& WithOrganization(const char* value) { SetOrganization(value); return *this;} + ///@} + + ///@{ + /** + *The name of the initial InfluxDB bucket. All InfluxDB data is stored in a + * bucket. A bucket combines the concept of a database and a retention period (the + * duration of time that each data point persists). A bucket belongs to an + * organization.
+ */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + inline CreateDbClusterRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + inline CreateDbClusterRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + inline CreateDbClusterRequest& WithBucket(const char* value) { SetBucket(value); return *this;} + ///@} + + ///@{ + /** + *The port number on which InfluxDB accepts connections.
Valid Values: + * 1024-65535
Default: 8086
Constraints: The value can't be + * 2375-2376, 7788-7799, 8090, or 51678-51680
+ */ + inline int GetPort() const{ return m_port; } + inline bool PortHasBeenSet() const { return m_portHasBeenSet; } + inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } + inline CreateDbClusterRequest& WithPort(int value) { SetPort(value); return *this;} + ///@} + + ///@{ + /** + *The ID of the DB parameter group to assign to your DB cluster. DB parameter + * groups specify how the database is configured. For example, DB parameter groups + * can specify the limit for query concurrency.
+ */ + inline const Aws::String& GetDbParameterGroupIdentifier() const{ return m_dbParameterGroupIdentifier; } + inline bool DbParameterGroupIdentifierHasBeenSet() const { return m_dbParameterGroupIdentifierHasBeenSet; } + inline void SetDbParameterGroupIdentifier(const Aws::String& value) { m_dbParameterGroupIdentifierHasBeenSet = true; m_dbParameterGroupIdentifier = value; } + inline void SetDbParameterGroupIdentifier(Aws::String&& value) { m_dbParameterGroupIdentifierHasBeenSet = true; m_dbParameterGroupIdentifier = std::move(value); } + inline void SetDbParameterGroupIdentifier(const char* value) { m_dbParameterGroupIdentifierHasBeenSet = true; m_dbParameterGroupIdentifier.assign(value); } + inline CreateDbClusterRequest& WithDbParameterGroupIdentifier(const Aws::String& value) { SetDbParameterGroupIdentifier(value); return *this;} + inline CreateDbClusterRequest& WithDbParameterGroupIdentifier(Aws::String&& value) { SetDbParameterGroupIdentifier(std::move(value)); return *this;} + inline CreateDbClusterRequest& WithDbParameterGroupIdentifier(const char* value) { SetDbParameterGroupIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *The Timestream for InfluxDB DB instance type to run InfluxDB on.
+ */ + inline const DbInstanceType& GetDbInstanceType() const{ return m_dbInstanceType; } + inline bool DbInstanceTypeHasBeenSet() const { return m_dbInstanceTypeHasBeenSet; } + inline void SetDbInstanceType(const DbInstanceType& value) { m_dbInstanceTypeHasBeenSet = true; m_dbInstanceType = value; } + inline void SetDbInstanceType(DbInstanceType&& value) { m_dbInstanceTypeHasBeenSet = true; m_dbInstanceType = std::move(value); } + inline CreateDbClusterRequest& WithDbInstanceType(const DbInstanceType& value) { SetDbInstanceType(value); return *this;} + inline CreateDbClusterRequest& WithDbInstanceType(DbInstanceType&& value) { SetDbInstanceType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The Timestream for InfluxDB DB storage type to read and write InfluxDB + * data.
You can choose between three different types of provisioned Influx + * IOPS Included storage according to your workload requirements:
Influx I/O Included 3000 IOPS
Influx I/O Included 12000 + * IOPS
Influx I/O Included 16000 IOPS
The amount of storage to allocate for your DB storage type in GiB + * (gibibytes).
+ */ + inline int GetAllocatedStorage() const{ return m_allocatedStorage; } + inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; } + inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; } + inline CreateDbClusterRequest& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;} + ///@} + + ///@{ + /** + *Specifies whether the network type of the Timestream for InfluxDB cluster is + * IPv4, which can communicate over IPv4 protocol only, or DUAL, which can + * communicate over both IPv4 and IPv6 protocols.
+ */ + inline const NetworkType& GetNetworkType() const{ return m_networkType; } + inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; } + inline void SetNetworkType(const NetworkType& value) { m_networkTypeHasBeenSet = true; m_networkType = value; } + inline void SetNetworkType(NetworkType&& value) { m_networkTypeHasBeenSet = true; m_networkType = std::move(value); } + inline CreateDbClusterRequest& WithNetworkType(const NetworkType& value) { SetNetworkType(value); return *this;} + inline CreateDbClusterRequest& WithNetworkType(NetworkType&& value) { SetNetworkType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *Configures the Timestream for InfluxDB cluster with a public IP to facilitate + * access from outside the VPC.
+ */ + inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; } + inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; } + inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; } + inline CreateDbClusterRequest& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;} + ///@} + + ///@{ + /** + *A list of VPC subnet IDs to associate with the DB cluster. Provide at least + * two VPC subnet IDs in different Availability Zones when deploying with a + * Multi-AZ standby.
+ */ + inline const Aws::VectorA list of VPC security group IDs to associate with the Timestream for + * InfluxDB cluster.
+ */ + inline const Aws::VectorSpecifies the type of cluster to create.
+ */ + inline const ClusterDeploymentType& GetDeploymentType() const{ return m_deploymentType; } + inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; } + inline void SetDeploymentType(const ClusterDeploymentType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; } + inline void SetDeploymentType(ClusterDeploymentType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); } + inline CreateDbClusterRequest& WithDeploymentType(const ClusterDeploymentType& value) { SetDeploymentType(value); return *this;} + inline CreateDbClusterRequest& WithDeploymentType(ClusterDeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *Specifies the behavior of failure recovery when the primary node of the + * cluster fails.
+ */ + inline const FailoverMode& GetFailoverMode() const{ return m_failoverMode; } + inline bool FailoverModeHasBeenSet() const { return m_failoverModeHasBeenSet; } + inline void SetFailoverMode(const FailoverMode& value) { m_failoverModeHasBeenSet = true; m_failoverMode = value; } + inline void SetFailoverMode(FailoverMode&& value) { m_failoverModeHasBeenSet = true; m_failoverMode = std::move(value); } + inline CreateDbClusterRequest& WithFailoverMode(const FailoverMode& value) { SetFailoverMode(value); return *this;} + inline CreateDbClusterRequest& WithFailoverMode(FailoverMode&& value) { SetFailoverMode(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *Configuration for sending InfluxDB engine logs to a specified S3 bucket.
+ */ + inline const LogDeliveryConfiguration& GetLogDeliveryConfiguration() const{ return m_logDeliveryConfiguration; } + inline bool LogDeliveryConfigurationHasBeenSet() const { return m_logDeliveryConfigurationHasBeenSet; } + inline void SetLogDeliveryConfiguration(const LogDeliveryConfiguration& value) { m_logDeliveryConfigurationHasBeenSet = true; m_logDeliveryConfiguration = value; } + inline void SetLogDeliveryConfiguration(LogDeliveryConfiguration&& value) { m_logDeliveryConfigurationHasBeenSet = true; m_logDeliveryConfiguration = std::move(value); } + inline CreateDbClusterRequest& WithLogDeliveryConfiguration(const LogDeliveryConfiguration& value) { SetLogDeliveryConfiguration(value); return *this;} + inline CreateDbClusterRequest& WithLogDeliveryConfiguration(LogDeliveryConfiguration&& value) { SetLogDeliveryConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *A list of key-value pairs to associate with the DB instance.
+ */ + inline const Aws::MapA service-generated unique identifier.
+ */ + inline const Aws::String& GetDbClusterId() const{ return m_dbClusterId; } + inline void SetDbClusterId(const Aws::String& value) { m_dbClusterId = value; } + inline void SetDbClusterId(Aws::String&& value) { m_dbClusterId = std::move(value); } + inline void SetDbClusterId(const char* value) { m_dbClusterId.assign(value); } + inline CreateDbClusterResult& WithDbClusterId(const Aws::String& value) { SetDbClusterId(value); return *this;} + inline CreateDbClusterResult& WithDbClusterId(Aws::String&& value) { SetDbClusterId(std::move(value)); return *this;} + inline CreateDbClusterResult& WithDbClusterId(const char* value) { SetDbClusterId(value); return *this;} + ///@} + + ///@{ + /** + *The status of the DB cluster.
+ */ + inline const ClusterStatus& GetDbClusterStatus() const{ return m_dbClusterStatus; } + inline void SetDbClusterStatus(const ClusterStatus& value) { m_dbClusterStatus = value; } + inline void SetDbClusterStatus(ClusterStatus&& value) { m_dbClusterStatus = std::move(value); } + inline CreateDbClusterResult& WithDbClusterStatus(const ClusterStatus& value) { SetDbClusterStatus(value); return *this;} + inline CreateDbClusterResult& WithDbClusterStatus(ClusterStatus&& value) { SetDbClusterStatus(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 CreateDbClusterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateDbClusterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateDbClusterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_dbClusterId; + + ClusterStatus m_dbClusterStatus; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace TimestreamInfluxDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/CreateDbInstanceResult.h b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/CreateDbInstanceResult.h index 943ca7d3bec..66565e74482 100644 --- a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/CreateDbInstanceResult.h +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/CreateDbInstanceResult.h @@ -13,6 +13,7 @@ #includeSpecifies the DbCluster to which this DbInstance belongs to.
+ */ + inline const Aws::String& GetDbClusterId() const{ return m_dbClusterId; } + inline void SetDbClusterId(const Aws::String& value) { m_dbClusterId = value; } + inline void SetDbClusterId(Aws::String&& value) { m_dbClusterId = std::move(value); } + inline void SetDbClusterId(const char* value) { m_dbClusterId.assign(value); } + inline CreateDbInstanceResult& WithDbClusterId(const Aws::String& value) { SetDbClusterId(value); return *this;} + inline CreateDbInstanceResult& WithDbClusterId(Aws::String&& value) { SetDbClusterId(std::move(value)); return *this;} + inline CreateDbInstanceResult& WithDbClusterId(const char* value) { SetDbClusterId(value); return *this;} + ///@} + + ///@{ + /** + *Specifies the DbInstance's role in the cluster.
+ */ + inline const InstanceMode& GetInstanceMode() const{ return m_instanceMode; } + inline void SetInstanceMode(const InstanceMode& value) { m_instanceMode = value; } + inline void SetInstanceMode(InstanceMode&& value) { m_instanceMode = std::move(value); } + inline CreateDbInstanceResult& WithInstanceMode(const InstanceMode& value) { SetInstanceMode(value); return *this;} + inline CreateDbInstanceResult& WithInstanceMode(InstanceMode&& value) { SetInstanceMode(std::move(value)); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -325,6 +350,10 @@ namespace Model Aws::String m_influxAuthParametersSecretArn; + Aws::String m_dbClusterId; + + InstanceMode m_instanceMode; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DbClusterSummary.h b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DbClusterSummary.h new file mode 100644 index 00000000000..f41823a27e1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DbClusterSummary.h @@ -0,0 +1,240 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeDescribes a summary of a Timestream for InfluxDB cluster.
Service-generated unique identifier of the DB cluster to retrieve.
+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + inline DbClusterSummary& WithId(const Aws::String& value) { SetId(value); return *this;} + inline DbClusterSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline DbClusterSummary& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *Customer supplied name of the Timestream for InfluxDB cluster.
+ */ + 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 DbClusterSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + inline DbClusterSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline DbClusterSummary& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *The Amazon Resource Name (ARN) of the DB cluster.
+ */ + 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 DbClusterSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline DbClusterSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline DbClusterSummary& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *The status of the DB cluster.
+ */ + inline const ClusterStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const ClusterStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(ClusterStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline DbClusterSummary& WithStatus(const ClusterStatus& value) { SetStatus(value); return *this;} + inline DbClusterSummary& WithStatus(ClusterStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The endpoint used to connect to the Timestream for InfluxDB cluster for write + * and read operations.
+ */ + inline const Aws::String& GetEndpoint() const{ return m_endpoint; } + inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; } + inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; } + inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); } + inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); } + inline DbClusterSummary& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} + inline DbClusterSummary& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} + inline DbClusterSummary& WithEndpoint(const char* value) { SetEndpoint(value); return *this;} + ///@} + + ///@{ + /** + *The endpoint used to connect to the Timestream for InfluxDB cluster for + * read-only operations.
+ */ + inline const Aws::String& GetReaderEndpoint() const{ return m_readerEndpoint; } + inline bool ReaderEndpointHasBeenSet() const { return m_readerEndpointHasBeenSet; } + inline void SetReaderEndpoint(const Aws::String& value) { m_readerEndpointHasBeenSet = true; m_readerEndpoint = value; } + inline void SetReaderEndpoint(Aws::String&& value) { m_readerEndpointHasBeenSet = true; m_readerEndpoint = std::move(value); } + inline void SetReaderEndpoint(const char* value) { m_readerEndpointHasBeenSet = true; m_readerEndpoint.assign(value); } + inline DbClusterSummary& WithReaderEndpoint(const Aws::String& value) { SetReaderEndpoint(value); return *this;} + inline DbClusterSummary& WithReaderEndpoint(Aws::String&& value) { SetReaderEndpoint(std::move(value)); return *this;} + inline DbClusterSummary& WithReaderEndpoint(const char* value) { SetReaderEndpoint(value); return *this;} + ///@} + + ///@{ + /** + *The port number on which InfluxDB accepts connections.
+ */ + inline int GetPort() const{ return m_port; } + inline bool PortHasBeenSet() const { return m_portHasBeenSet; } + inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } + inline DbClusterSummary& WithPort(int value) { SetPort(value); return *this;} + ///@} + + ///@{ + /** + *Deployment type of the DB cluster
+ */ + inline const ClusterDeploymentType& GetDeploymentType() const{ return m_deploymentType; } + inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; } + inline void SetDeploymentType(const ClusterDeploymentType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; } + inline void SetDeploymentType(ClusterDeploymentType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); } + inline DbClusterSummary& WithDeploymentType(const ClusterDeploymentType& value) { SetDeploymentType(value); return *this;} + inline DbClusterSummary& WithDeploymentType(ClusterDeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The Timestream for InfluxDB DB instance type that InfluxDB runs on.
+ */ + inline const DbInstanceType& GetDbInstanceType() const{ return m_dbInstanceType; } + inline bool DbInstanceTypeHasBeenSet() const { return m_dbInstanceTypeHasBeenSet; } + inline void SetDbInstanceType(const DbInstanceType& value) { m_dbInstanceTypeHasBeenSet = true; m_dbInstanceType = value; } + inline void SetDbInstanceType(DbInstanceType&& value) { m_dbInstanceTypeHasBeenSet = true; m_dbInstanceType = std::move(value); } + inline DbClusterSummary& WithDbInstanceType(const DbInstanceType& value) { SetDbInstanceType(value); return *this;} + inline DbClusterSummary& WithDbInstanceType(DbInstanceType&& value) { SetDbInstanceType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *Specifies whether the network type of the Timestream for InfluxDB Cluster is + * IPv4, which can communicate over IPv4 protocol only, or DUAL, which can + * communicate over both IPv4 and IPv6 protocols.
+ */ + inline const NetworkType& GetNetworkType() const{ return m_networkType; } + inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; } + inline void SetNetworkType(const NetworkType& value) { m_networkTypeHasBeenSet = true; m_networkType = value; } + inline void SetNetworkType(NetworkType&& value) { m_networkTypeHasBeenSet = true; m_networkType = std::move(value); } + inline DbClusterSummary& WithNetworkType(const NetworkType& value) { SetNetworkType(value); return *this;} + inline DbClusterSummary& WithNetworkType(NetworkType&& value) { SetNetworkType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The Timestream for InfluxDB DB storage type that InfluxDB stores data on.
+ */ + inline const DbStorageType& GetDbStorageType() const{ return m_dbStorageType; } + inline bool DbStorageTypeHasBeenSet() const { return m_dbStorageTypeHasBeenSet; } + inline void SetDbStorageType(const DbStorageType& value) { m_dbStorageTypeHasBeenSet = true; m_dbStorageType = value; } + inline void SetDbStorageType(DbStorageType&& value) { m_dbStorageTypeHasBeenSet = true; m_dbStorageType = std::move(value); } + inline DbClusterSummary& WithDbStorageType(const DbStorageType& value) { SetDbStorageType(value); return *this;} + inline DbClusterSummary& WithDbStorageType(DbStorageType&& value) { SetDbStorageType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The amount of storage allocated for your DB storage type (in gibibytes).
+ */ + inline int GetAllocatedStorage() const{ return m_allocatedStorage; } + inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; } + inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; } + inline DbClusterSummary& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;} + ///@} + private: + + Aws::String m_id; + bool m_idHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + + ClusterStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::String m_endpoint; + bool m_endpointHasBeenSet = false; + + Aws::String m_readerEndpoint; + bool m_readerEndpointHasBeenSet = false; + + int m_port; + bool m_portHasBeenSet = false; + + ClusterDeploymentType m_deploymentType; + bool m_deploymentTypeHasBeenSet = false; + + DbInstanceType m_dbInstanceType; + bool m_dbInstanceTypeHasBeenSet = false; + + NetworkType m_networkType; + bool m_networkTypeHasBeenSet = false; + + DbStorageType m_dbStorageType; + bool m_dbStorageTypeHasBeenSet = false; + + int m_allocatedStorage; + bool m_allocatedStorageHasBeenSet = false; + }; + +} // namespace Model +} // namespace TimestreamInfluxDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DbInstanceForClusterSummary.h b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DbInstanceForClusterSummary.h new file mode 100644 index 00000000000..09dd96326f7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DbInstanceForClusterSummary.h @@ -0,0 +1,240 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeContains a summary of a DB instance belonging to a DB cluster.
The service-generated unique identifier of the DB instance.
+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + inline DbInstanceForClusterSummary& WithId(const Aws::String& value) { SetId(value); return *this;} + inline DbInstanceForClusterSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline DbInstanceForClusterSummary& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *A service-generated name for the DB instance based on the customer-supplied + * name for the DB cluster.
+ */ + 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 DbInstanceForClusterSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + inline DbInstanceForClusterSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline DbInstanceForClusterSummary& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *The Amazon Resource Name (ARN) of the DB instance.
+ */ + 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 DbInstanceForClusterSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline DbInstanceForClusterSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline DbInstanceForClusterSummary& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *The status of the DB instance.
+ */ + inline const Status& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline DbInstanceForClusterSummary& WithStatus(const Status& value) { SetStatus(value); return *this;} + inline DbInstanceForClusterSummary& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The endpoint used to connect to InfluxDB. The default InfluxDB port is + * 8086.
+ */ + inline const Aws::String& GetEndpoint() const{ return m_endpoint; } + inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; } + inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; } + inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); } + inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); } + inline DbInstanceForClusterSummary& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} + inline DbInstanceForClusterSummary& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} + inline DbInstanceForClusterSummary& WithEndpoint(const char* value) { SetEndpoint(value); return *this;} + ///@} + + ///@{ + /** + *The port number on which InfluxDB accepts connections.
+ */ + inline int GetPort() const{ return m_port; } + inline bool PortHasBeenSet() const { return m_portHasBeenSet; } + inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } + inline DbInstanceForClusterSummary& WithPort(int value) { SetPort(value); return *this;} + ///@} + + ///@{ + /** + *Specifies whether the network type of the Timestream for InfluxDB instance is + * IPv4, which can communicate over IPv4 protocol only, or DUAL, which can + * communicate over both IPv4 and IPv6 protocols.
+ */ + inline const NetworkType& GetNetworkType() const{ return m_networkType; } + inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; } + inline void SetNetworkType(const NetworkType& value) { m_networkTypeHasBeenSet = true; m_networkType = value; } + inline void SetNetworkType(NetworkType&& value) { m_networkTypeHasBeenSet = true; m_networkType = std::move(value); } + inline DbInstanceForClusterSummary& WithNetworkType(const NetworkType& value) { SetNetworkType(value); return *this;} + inline DbInstanceForClusterSummary& WithNetworkType(NetworkType&& value) { SetNetworkType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The Timestream for InfluxDB instance type to run InfluxDB on.
+ */ + inline const DbInstanceType& GetDbInstanceType() const{ return m_dbInstanceType; } + inline bool DbInstanceTypeHasBeenSet() const { return m_dbInstanceTypeHasBeenSet; } + inline void SetDbInstanceType(const DbInstanceType& value) { m_dbInstanceTypeHasBeenSet = true; m_dbInstanceType = value; } + inline void SetDbInstanceType(DbInstanceType&& value) { m_dbInstanceTypeHasBeenSet = true; m_dbInstanceType = std::move(value); } + inline DbInstanceForClusterSummary& WithDbInstanceType(const DbInstanceType& value) { SetDbInstanceType(value); return *this;} + inline DbInstanceForClusterSummary& WithDbInstanceType(DbInstanceType&& value) { SetDbInstanceType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The storage type for your DB instance.
+ */ + inline const DbStorageType& GetDbStorageType() const{ return m_dbStorageType; } + inline bool DbStorageTypeHasBeenSet() const { return m_dbStorageTypeHasBeenSet; } + inline void SetDbStorageType(const DbStorageType& value) { m_dbStorageTypeHasBeenSet = true; m_dbStorageType = value; } + inline void SetDbStorageType(DbStorageType&& value) { m_dbStorageTypeHasBeenSet = true; m_dbStorageType = std::move(value); } + inline DbInstanceForClusterSummary& WithDbStorageType(const DbStorageType& value) { SetDbStorageType(value); return *this;} + inline DbInstanceForClusterSummary& WithDbStorageType(DbStorageType&& value) { SetDbStorageType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The amount of storage allocated for your DB storage type in GiB + * (gibibytes).
+ */ + inline int GetAllocatedStorage() const{ return m_allocatedStorage; } + inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; } + inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; } + inline DbInstanceForClusterSummary& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;} + ///@} + + ///@{ + /** + *Specifies the deployment type if applicable.
+ */ + inline const DeploymentType& GetDeploymentType() const{ return m_deploymentType; } + inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; } + inline void SetDeploymentType(const DeploymentType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; } + inline void SetDeploymentType(DeploymentType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); } + inline DbInstanceForClusterSummary& WithDeploymentType(const DeploymentType& value) { SetDeploymentType(value); return *this;} + inline DbInstanceForClusterSummary& WithDeploymentType(DeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *Specifies the DB instance's role in the cluster.
+ */ + inline const InstanceMode& GetInstanceMode() const{ return m_instanceMode; } + inline bool InstanceModeHasBeenSet() const { return m_instanceModeHasBeenSet; } + inline void SetInstanceMode(const InstanceMode& value) { m_instanceModeHasBeenSet = true; m_instanceMode = value; } + inline void SetInstanceMode(InstanceMode&& value) { m_instanceModeHasBeenSet = true; m_instanceMode = std::move(value); } + inline DbInstanceForClusterSummary& WithInstanceMode(const InstanceMode& value) { SetInstanceMode(value); return *this;} + inline DbInstanceForClusterSummary& WithInstanceMode(InstanceMode&& value) { SetInstanceMode(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_id; + bool m_idHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + + Status m_status; + bool m_statusHasBeenSet = false; + + Aws::String m_endpoint; + bool m_endpointHasBeenSet = false; + + int m_port; + bool m_portHasBeenSet = false; + + NetworkType m_networkType; + bool m_networkTypeHasBeenSet = false; + + DbInstanceType m_dbInstanceType; + bool m_dbInstanceTypeHasBeenSet = false; + + DbStorageType m_dbStorageType; + bool m_dbStorageTypeHasBeenSet = false; + + int m_allocatedStorage; + bool m_allocatedStorageHasBeenSet = false; + + DeploymentType m_deploymentType; + bool m_deploymentTypeHasBeenSet = false; + + InstanceMode m_instanceMode; + bool m_instanceModeHasBeenSet = false; + }; + +} // namespace Model +} // namespace TimestreamInfluxDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DeleteDbClusterRequest.h b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DeleteDbClusterRequest.h new file mode 100644 index 00000000000..f6a6af52323 --- /dev/null +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DeleteDbClusterRequest.h @@ -0,0 +1,58 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeService-generated unique identifier of the DB cluster.
+ */ + inline const Aws::String& GetDbClusterId() const{ return m_dbClusterId; } + inline bool DbClusterIdHasBeenSet() const { return m_dbClusterIdHasBeenSet; } + inline void SetDbClusterId(const Aws::String& value) { m_dbClusterIdHasBeenSet = true; m_dbClusterId = value; } + inline void SetDbClusterId(Aws::String&& value) { m_dbClusterIdHasBeenSet = true; m_dbClusterId = std::move(value); } + inline void SetDbClusterId(const char* value) { m_dbClusterIdHasBeenSet = true; m_dbClusterId.assign(value); } + inline DeleteDbClusterRequest& WithDbClusterId(const Aws::String& value) { SetDbClusterId(value); return *this;} + inline DeleteDbClusterRequest& WithDbClusterId(Aws::String&& value) { SetDbClusterId(std::move(value)); return *this;} + inline DeleteDbClusterRequest& WithDbClusterId(const char* value) { SetDbClusterId(value); return *this;} + ///@} + private: + + Aws::String m_dbClusterId; + bool m_dbClusterIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace TimestreamInfluxDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DeleteDbClusterResult.h b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DeleteDbClusterResult.h new file mode 100644 index 00000000000..ac67811ab48 --- /dev/null +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DeleteDbClusterResult.h @@ -0,0 +1,66 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe status of the DB cluster.
+ */ + inline const ClusterStatus& GetDbClusterStatus() const{ return m_dbClusterStatus; } + inline void SetDbClusterStatus(const ClusterStatus& value) { m_dbClusterStatus = value; } + inline void SetDbClusterStatus(ClusterStatus&& value) { m_dbClusterStatus = std::move(value); } + inline DeleteDbClusterResult& WithDbClusterStatus(const ClusterStatus& value) { SetDbClusterStatus(value); return *this;} + inline DeleteDbClusterResult& WithDbClusterStatus(ClusterStatus&& value) { SetDbClusterStatus(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 DeleteDbClusterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline DeleteDbClusterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline DeleteDbClusterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + ClusterStatus m_dbClusterStatus; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace TimestreamInfluxDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DeleteDbInstanceResult.h b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DeleteDbInstanceResult.h index f5adab2743a..4d64297a91b 100644 --- a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DeleteDbInstanceResult.h +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/DeleteDbInstanceResult.h @@ -13,6 +13,7 @@ #includeSpecifies the DbCluster to which this DbInstance belongs to.
+ */ + inline const Aws::String& GetDbClusterId() const{ return m_dbClusterId; } + inline void SetDbClusterId(const Aws::String& value) { m_dbClusterId = value; } + inline void SetDbClusterId(Aws::String&& value) { m_dbClusterId = std::move(value); } + inline void SetDbClusterId(const char* value) { m_dbClusterId.assign(value); } + inline DeleteDbInstanceResult& WithDbClusterId(const Aws::String& value) { SetDbClusterId(value); return *this;} + inline DeleteDbInstanceResult& WithDbClusterId(Aws::String&& value) { SetDbClusterId(std::move(value)); return *this;} + inline DeleteDbInstanceResult& WithDbClusterId(const char* value) { SetDbClusterId(value); return *this;} + ///@} + + ///@{ + /** + *Specifies the DbInstance's role in the cluster.
+ */ + inline const InstanceMode& GetInstanceMode() const{ return m_instanceMode; } + inline void SetInstanceMode(const InstanceMode& value) { m_instanceMode = value; } + inline void SetInstanceMode(InstanceMode&& value) { m_instanceMode = std::move(value); } + inline DeleteDbInstanceResult& WithInstanceMode(const InstanceMode& value) { SetInstanceMode(value); return *this;} + inline DeleteDbInstanceResult& WithInstanceMode(InstanceMode&& value) { SetInstanceMode(std::move(value)); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -324,6 +349,10 @@ namespace Model Aws::String m_influxAuthParametersSecretArn; + Aws::String m_dbClusterId; + + InstanceMode m_instanceMode; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/FailoverMode.h b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/FailoverMode.h new file mode 100644 index 00000000000..c018e10f551 --- /dev/null +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/FailoverMode.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeService-generated unique identifier of the DB cluster to retrieve.
+ */ + inline const Aws::String& GetDbClusterId() const{ return m_dbClusterId; } + inline bool DbClusterIdHasBeenSet() const { return m_dbClusterIdHasBeenSet; } + inline void SetDbClusterId(const Aws::String& value) { m_dbClusterIdHasBeenSet = true; m_dbClusterId = value; } + inline void SetDbClusterId(Aws::String&& value) { m_dbClusterIdHasBeenSet = true; m_dbClusterId = std::move(value); } + inline void SetDbClusterId(const char* value) { m_dbClusterIdHasBeenSet = true; m_dbClusterId.assign(value); } + inline GetDbClusterRequest& WithDbClusterId(const Aws::String& value) { SetDbClusterId(value); return *this;} + inline GetDbClusterRequest& WithDbClusterId(Aws::String&& value) { SetDbClusterId(std::move(value)); return *this;} + inline GetDbClusterRequest& WithDbClusterId(const char* value) { SetDbClusterId(value); return *this;} + ///@} + private: + + Aws::String m_dbClusterId; + bool m_dbClusterIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace TimestreamInfluxDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/GetDbClusterResult.h b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/GetDbClusterResult.h new file mode 100644 index 00000000000..e02d2adba05 --- /dev/null +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/GetDbClusterResult.h @@ -0,0 +1,330 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeService-generated unique identifier of the DB cluster to retrieve.
+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline GetDbClusterResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline GetDbClusterResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline GetDbClusterResult& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *Customer-supplied name of the Timestream for InfluxDB cluster.
+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline void SetName(const Aws::String& value) { m_name = value; } + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + inline void SetName(const char* value) { m_name.assign(value); } + inline GetDbClusterResult& WithName(const Aws::String& value) { SetName(value); return *this;} + inline GetDbClusterResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline GetDbClusterResult& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *The Amazon Resource Name (ARN) of the DB cluster.
+ */ + 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 GetDbClusterResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline GetDbClusterResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline GetDbClusterResult& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *The status of the DB cluster.
+ */ + inline const ClusterStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const ClusterStatus& value) { m_status = value; } + inline void SetStatus(ClusterStatus&& value) { m_status = std::move(value); } + inline GetDbClusterResult& WithStatus(const ClusterStatus& value) { SetStatus(value); return *this;} + inline GetDbClusterResult& WithStatus(ClusterStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The endpoint used to connect to the Timestream for InfluxDB cluster for write + * and read operations.
+ */ + inline const Aws::String& GetEndpoint() const{ return m_endpoint; } + inline void SetEndpoint(const Aws::String& value) { m_endpoint = value; } + inline void SetEndpoint(Aws::String&& value) { m_endpoint = std::move(value); } + inline void SetEndpoint(const char* value) { m_endpoint.assign(value); } + inline GetDbClusterResult& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} + inline GetDbClusterResult& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} + inline GetDbClusterResult& WithEndpoint(const char* value) { SetEndpoint(value); return *this;} + ///@} + + ///@{ + /** + *The endpoint used to connect to the Timestream for InfluxDB cluster for + * read-only operations.
+ */ + inline const Aws::String& GetReaderEndpoint() const{ return m_readerEndpoint; } + inline void SetReaderEndpoint(const Aws::String& value) { m_readerEndpoint = value; } + inline void SetReaderEndpoint(Aws::String&& value) { m_readerEndpoint = std::move(value); } + inline void SetReaderEndpoint(const char* value) { m_readerEndpoint.assign(value); } + inline GetDbClusterResult& WithReaderEndpoint(const Aws::String& value) { SetReaderEndpoint(value); return *this;} + inline GetDbClusterResult& WithReaderEndpoint(Aws::String&& value) { SetReaderEndpoint(std::move(value)); return *this;} + inline GetDbClusterResult& WithReaderEndpoint(const char* value) { SetReaderEndpoint(value); return *this;} + ///@} + + ///@{ + /** + *The port number on which InfluxDB accepts connections.
+ */ + inline int GetPort() const{ return m_port; } + inline void SetPort(int value) { m_port = value; } + inline GetDbClusterResult& WithPort(int value) { SetPort(value); return *this;} + ///@} + + ///@{ + /** + *Deployment type of the DB cluster.
+ */ + inline const ClusterDeploymentType& GetDeploymentType() const{ return m_deploymentType; } + inline void SetDeploymentType(const ClusterDeploymentType& value) { m_deploymentType = value; } + inline void SetDeploymentType(ClusterDeploymentType&& value) { m_deploymentType = std::move(value); } + inline GetDbClusterResult& WithDeploymentType(const ClusterDeploymentType& value) { SetDeploymentType(value); return *this;} + inline GetDbClusterResult& WithDeploymentType(ClusterDeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The Timestream for InfluxDB instance type that InfluxDB runs on.
+ */ + inline const DbInstanceType& GetDbInstanceType() const{ return m_dbInstanceType; } + inline void SetDbInstanceType(const DbInstanceType& value) { m_dbInstanceType = value; } + inline void SetDbInstanceType(DbInstanceType&& value) { m_dbInstanceType = std::move(value); } + inline GetDbClusterResult& WithDbInstanceType(const DbInstanceType& value) { SetDbInstanceType(value); return *this;} + inline GetDbClusterResult& WithDbInstanceType(DbInstanceType&& value) { SetDbInstanceType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *Specifies whether the network type of the Timestream for InfluxDB cluster is + * IPv4, which can communicate over IPv4 protocol only, or DUAL, which can + * communicate over both IPv4 and IPv6 protocols.
+ */ + inline const NetworkType& GetNetworkType() const{ return m_networkType; } + inline void SetNetworkType(const NetworkType& value) { m_networkType = value; } + inline void SetNetworkType(NetworkType&& value) { m_networkType = std::move(value); } + inline GetDbClusterResult& WithNetworkType(const NetworkType& value) { SetNetworkType(value); return *this;} + inline GetDbClusterResult& WithNetworkType(NetworkType&& value) { SetNetworkType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The Timestream for InfluxDB DB storage type that InfluxDB stores data on.
+ */ + inline const DbStorageType& GetDbStorageType() const{ return m_dbStorageType; } + inline void SetDbStorageType(const DbStorageType& value) { m_dbStorageType = value; } + inline void SetDbStorageType(DbStorageType&& value) { m_dbStorageType = std::move(value); } + inline GetDbClusterResult& WithDbStorageType(const DbStorageType& value) { SetDbStorageType(value); return *this;} + inline GetDbClusterResult& WithDbStorageType(DbStorageType&& value) { SetDbStorageType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The amount of storage allocated for your DB storage type (in gibibytes).
+ */ + inline int GetAllocatedStorage() const{ return m_allocatedStorage; } + inline void SetAllocatedStorage(int value) { m_allocatedStorage = value; } + inline GetDbClusterResult& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;} + ///@} + + ///@{ + /** + *Indicates if the DB cluster has a public IP to facilitate access from outside + * the VPC.
+ */ + inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; } + inline void SetPubliclyAccessible(bool value) { m_publiclyAccessible = value; } + inline GetDbClusterResult& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;} + ///@} + + ///@{ + /** + *The ID of the DB parameter group assigned to your DB cluster.
+ */ + inline const Aws::String& GetDbParameterGroupIdentifier() const{ return m_dbParameterGroupIdentifier; } + inline void SetDbParameterGroupIdentifier(const Aws::String& value) { m_dbParameterGroupIdentifier = value; } + inline void SetDbParameterGroupIdentifier(Aws::String&& value) { m_dbParameterGroupIdentifier = std::move(value); } + inline void SetDbParameterGroupIdentifier(const char* value) { m_dbParameterGroupIdentifier.assign(value); } + inline GetDbClusterResult& WithDbParameterGroupIdentifier(const Aws::String& value) { SetDbParameterGroupIdentifier(value); return *this;} + inline GetDbClusterResult& WithDbParameterGroupIdentifier(Aws::String&& value) { SetDbParameterGroupIdentifier(std::move(value)); return *this;} + inline GetDbClusterResult& WithDbParameterGroupIdentifier(const char* value) { SetDbParameterGroupIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *Configuration for sending InfluxDB engine logs to send to specified S3 + * bucket.
+ */ + inline const LogDeliveryConfiguration& GetLogDeliveryConfiguration() const{ return m_logDeliveryConfiguration; } + inline void SetLogDeliveryConfiguration(const LogDeliveryConfiguration& value) { m_logDeliveryConfiguration = value; } + inline void SetLogDeliveryConfiguration(LogDeliveryConfiguration&& value) { m_logDeliveryConfiguration = std::move(value); } + inline GetDbClusterResult& WithLogDeliveryConfiguration(const LogDeliveryConfiguration& value) { SetLogDeliveryConfiguration(value); return *this;} + inline GetDbClusterResult& WithLogDeliveryConfiguration(LogDeliveryConfiguration&& value) { SetLogDeliveryConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager + * secret containing the initial InfluxDB authorization parameters. The secret + * value is a JSON formatted key-value pair holding InfluxDB authorization values: + * organization, bucket, username, and password.
+ */ + inline const Aws::String& GetInfluxAuthParametersSecretArn() const{ return m_influxAuthParametersSecretArn; } + inline void SetInfluxAuthParametersSecretArn(const Aws::String& value) { m_influxAuthParametersSecretArn = value; } + inline void SetInfluxAuthParametersSecretArn(Aws::String&& value) { m_influxAuthParametersSecretArn = std::move(value); } + inline void SetInfluxAuthParametersSecretArn(const char* value) { m_influxAuthParametersSecretArn.assign(value); } + inline GetDbClusterResult& WithInfluxAuthParametersSecretArn(const Aws::String& value) { SetInfluxAuthParametersSecretArn(value); return *this;} + inline GetDbClusterResult& WithInfluxAuthParametersSecretArn(Aws::String&& value) { SetInfluxAuthParametersSecretArn(std::move(value)); return *this;} + inline GetDbClusterResult& WithInfluxAuthParametersSecretArn(const char* value) { SetInfluxAuthParametersSecretArn(value); return *this;} + ///@} + + ///@{ + /** + *A list of VPC subnet IDs associated with the DB cluster.
+ */ + inline const Aws::VectorA list of VPC security group IDs associated with the DB cluster.
+ */ + inline const Aws::VectorThe configured failover mode for the DB cluster.
+ */ + inline const FailoverMode& GetFailoverMode() const{ return m_failoverMode; } + inline void SetFailoverMode(const FailoverMode& value) { m_failoverMode = value; } + inline void SetFailoverMode(FailoverMode&& value) { m_failoverMode = std::move(value); } + inline GetDbClusterResult& WithFailoverMode(const FailoverMode& value) { SetFailoverMode(value); return *this;} + inline GetDbClusterResult& WithFailoverMode(FailoverMode&& value) { SetFailoverMode(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 GetDbClusterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetDbClusterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetDbClusterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_id; + + Aws::String m_name; + + Aws::String m_arn; + + ClusterStatus m_status; + + Aws::String m_endpoint; + + Aws::String m_readerEndpoint; + + int m_port; + + ClusterDeploymentType m_deploymentType; + + DbInstanceType m_dbInstanceType; + + NetworkType m_networkType; + + DbStorageType m_dbStorageType; + + int m_allocatedStorage; + + bool m_publiclyAccessible; + + Aws::String m_dbParameterGroupIdentifier; + + LogDeliveryConfiguration m_logDeliveryConfiguration; + + Aws::String m_influxAuthParametersSecretArn; + + Aws::VectorSpecifies the DbCluster to which this DbInstance belongs to.
+ */ + inline const Aws::String& GetDbClusterId() const{ return m_dbClusterId; } + inline void SetDbClusterId(const Aws::String& value) { m_dbClusterId = value; } + inline void SetDbClusterId(Aws::String&& value) { m_dbClusterId = std::move(value); } + inline void SetDbClusterId(const char* value) { m_dbClusterId.assign(value); } + inline GetDbInstanceResult& WithDbClusterId(const Aws::String& value) { SetDbClusterId(value); return *this;} + inline GetDbInstanceResult& WithDbClusterId(Aws::String&& value) { SetDbClusterId(std::move(value)); return *this;} + inline GetDbInstanceResult& WithDbClusterId(const char* value) { SetDbClusterId(value); return *this;} + ///@} + + ///@{ + /** + *Specifies the DbInstance's role in the cluster.
+ */ + inline const InstanceMode& GetInstanceMode() const{ return m_instanceMode; } + inline void SetInstanceMode(const InstanceMode& value) { m_instanceMode = value; } + inline void SetInstanceMode(InstanceMode&& value) { m_instanceMode = std::move(value); } + inline GetDbInstanceResult& WithInstanceMode(const InstanceMode& value) { SetInstanceMode(value); return *this;} + inline GetDbInstanceResult& WithInstanceMode(InstanceMode&& value) { SetInstanceMode(std::move(value)); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -324,6 +349,10 @@ namespace Model Aws::String m_influxAuthParametersSecretArn; + Aws::String m_dbClusterId; + + InstanceMode m_instanceMode; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/InstanceMode.h b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/InstanceMode.h new file mode 100644 index 00000000000..52a6d2ed25d --- /dev/null +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/InstanceMode.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe pagination token. To resume pagination, provide the nextToken value as an + * argument of a subsequent API invocation.
+ */ + 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 ListDbClustersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListDbClustersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListDbClustersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *The maximum number of items to return in the output. If the total number of + * items available is more than the value specified, a nextToken is provided in the + * output. To resume pagination, provide the nextToken value as an argument of a + * subsequent API invocation.
+ */ + 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 ListDbClustersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + }; + +} // namespace Model +} // namespace TimestreamInfluxDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/ListDbClustersResult.h b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/ListDbClustersResult.h new file mode 100644 index 00000000000..4caa48aa468 --- /dev/null +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/ListDbClustersResult.h @@ -0,0 +1,85 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeA list of Timestream for InfluxDB cluster summaries.
+ */ + inline const Aws::VectorToken from a previous call of the operation. When this value is provided, the + * service returns results from where the previous response left off.
+ */ + 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 ListDbClustersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListDbClustersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListDbClustersResult& 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 ListDbClustersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListDbClustersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListDbClustersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::VectorService-generated unique identifier of the DB cluster.
+ */ + inline const Aws::String& GetDbClusterId() const{ return m_dbClusterId; } + inline bool DbClusterIdHasBeenSet() const { return m_dbClusterIdHasBeenSet; } + inline void SetDbClusterId(const Aws::String& value) { m_dbClusterIdHasBeenSet = true; m_dbClusterId = value; } + inline void SetDbClusterId(Aws::String&& value) { m_dbClusterIdHasBeenSet = true; m_dbClusterId = std::move(value); } + inline void SetDbClusterId(const char* value) { m_dbClusterIdHasBeenSet = true; m_dbClusterId.assign(value); } + inline ListDbInstancesForClusterRequest& WithDbClusterId(const Aws::String& value) { SetDbClusterId(value); return *this;} + inline ListDbInstancesForClusterRequest& WithDbClusterId(Aws::String&& value) { SetDbClusterId(std::move(value)); return *this;} + inline ListDbInstancesForClusterRequest& WithDbClusterId(const char* value) { SetDbClusterId(value); return *this;} + ///@} + + ///@{ + /** + *The pagination token. To resume pagination, provide the nextToken value as an + * argument of a subsequent API invocation.
+ */ + 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 ListDbInstancesForClusterRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListDbInstancesForClusterRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListDbInstancesForClusterRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *The maximum number of items to return in the output. If the total number of + * items available is more than the value specified, a nextToken is provided in the + * output. To resume pagination, provide the nextToken value as an argument of a + * subsequent API invocation.
+ */ + 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 ListDbInstancesForClusterRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: + + Aws::String m_dbClusterId; + bool m_dbClusterIdHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + }; + +} // namespace Model +} // namespace TimestreamInfluxDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/ListDbInstancesForClusterResult.h b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/ListDbInstancesForClusterResult.h new file mode 100644 index 00000000000..6c43a0625e2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/ListDbInstancesForClusterResult.h @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeA list of Timestream for InfluxDB instance summaries belonging to the + * cluster.
+ */ + inline const Aws::VectorToken from a previous call of the operation. When this value is provided, the + * service returns results from where the previous response left off.
+ */ + 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 ListDbInstancesForClusterResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListDbInstancesForClusterResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListDbInstancesForClusterResult& 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 ListDbInstancesForClusterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListDbInstancesForClusterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListDbInstancesForClusterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::VectorService-generated unique identifier of the DB cluster to update.
+ */ + inline const Aws::String& GetDbClusterId() const{ return m_dbClusterId; } + inline bool DbClusterIdHasBeenSet() const { return m_dbClusterIdHasBeenSet; } + inline void SetDbClusterId(const Aws::String& value) { m_dbClusterIdHasBeenSet = true; m_dbClusterId = value; } + inline void SetDbClusterId(Aws::String&& value) { m_dbClusterIdHasBeenSet = true; m_dbClusterId = std::move(value); } + inline void SetDbClusterId(const char* value) { m_dbClusterIdHasBeenSet = true; m_dbClusterId.assign(value); } + inline UpdateDbClusterRequest& WithDbClusterId(const Aws::String& value) { SetDbClusterId(value); return *this;} + inline UpdateDbClusterRequest& WithDbClusterId(Aws::String&& value) { SetDbClusterId(std::move(value)); return *this;} + inline UpdateDbClusterRequest& WithDbClusterId(const char* value) { SetDbClusterId(value); return *this;} + ///@} + + ///@{ + /** + *The log delivery configuration to apply to the DB cluster.
+ */ + inline const LogDeliveryConfiguration& GetLogDeliveryConfiguration() const{ return m_logDeliveryConfiguration; } + inline bool LogDeliveryConfigurationHasBeenSet() const { return m_logDeliveryConfigurationHasBeenSet; } + inline void SetLogDeliveryConfiguration(const LogDeliveryConfiguration& value) { m_logDeliveryConfigurationHasBeenSet = true; m_logDeliveryConfiguration = value; } + inline void SetLogDeliveryConfiguration(LogDeliveryConfiguration&& value) { m_logDeliveryConfigurationHasBeenSet = true; m_logDeliveryConfiguration = std::move(value); } + inline UpdateDbClusterRequest& WithLogDeliveryConfiguration(const LogDeliveryConfiguration& value) { SetLogDeliveryConfiguration(value); return *this;} + inline UpdateDbClusterRequest& WithLogDeliveryConfiguration(LogDeliveryConfiguration&& value) { SetLogDeliveryConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *Update the DB cluster to use the specified DB parameter group.
+ */ + inline const Aws::String& GetDbParameterGroupIdentifier() const{ return m_dbParameterGroupIdentifier; } + inline bool DbParameterGroupIdentifierHasBeenSet() const { return m_dbParameterGroupIdentifierHasBeenSet; } + inline void SetDbParameterGroupIdentifier(const Aws::String& value) { m_dbParameterGroupIdentifierHasBeenSet = true; m_dbParameterGroupIdentifier = value; } + inline void SetDbParameterGroupIdentifier(Aws::String&& value) { m_dbParameterGroupIdentifierHasBeenSet = true; m_dbParameterGroupIdentifier = std::move(value); } + inline void SetDbParameterGroupIdentifier(const char* value) { m_dbParameterGroupIdentifierHasBeenSet = true; m_dbParameterGroupIdentifier.assign(value); } + inline UpdateDbClusterRequest& WithDbParameterGroupIdentifier(const Aws::String& value) { SetDbParameterGroupIdentifier(value); return *this;} + inline UpdateDbClusterRequest& WithDbParameterGroupIdentifier(Aws::String&& value) { SetDbParameterGroupIdentifier(std::move(value)); return *this;} + inline UpdateDbClusterRequest& WithDbParameterGroupIdentifier(const char* value) { SetDbParameterGroupIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *Update the DB cluster to use the specified port.
+ */ + inline int GetPort() const{ return m_port; } + inline bool PortHasBeenSet() const { return m_portHasBeenSet; } + inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } + inline UpdateDbClusterRequest& WithPort(int value) { SetPort(value); return *this;} + ///@} + + ///@{ + /** + *Update the DB cluster to use the specified DB instance Type.
+ */ + inline const DbInstanceType& GetDbInstanceType() const{ return m_dbInstanceType; } + inline bool DbInstanceTypeHasBeenSet() const { return m_dbInstanceTypeHasBeenSet; } + inline void SetDbInstanceType(const DbInstanceType& value) { m_dbInstanceTypeHasBeenSet = true; m_dbInstanceType = value; } + inline void SetDbInstanceType(DbInstanceType&& value) { m_dbInstanceTypeHasBeenSet = true; m_dbInstanceType = std::move(value); } + inline UpdateDbClusterRequest& WithDbInstanceType(const DbInstanceType& value) { SetDbInstanceType(value); return *this;} + inline UpdateDbClusterRequest& WithDbInstanceType(DbInstanceType&& value) { SetDbInstanceType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *Update the DB cluster's failover behavior.
+ */ + inline const FailoverMode& GetFailoverMode() const{ return m_failoverMode; } + inline bool FailoverModeHasBeenSet() const { return m_failoverModeHasBeenSet; } + inline void SetFailoverMode(const FailoverMode& value) { m_failoverModeHasBeenSet = true; m_failoverMode = value; } + inline void SetFailoverMode(FailoverMode&& value) { m_failoverModeHasBeenSet = true; m_failoverMode = std::move(value); } + inline UpdateDbClusterRequest& WithFailoverMode(const FailoverMode& value) { SetFailoverMode(value); return *this;} + inline UpdateDbClusterRequest& WithFailoverMode(FailoverMode&& value) { SetFailoverMode(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_dbClusterId; + bool m_dbClusterIdHasBeenSet = false; + + LogDeliveryConfiguration m_logDeliveryConfiguration; + bool m_logDeliveryConfigurationHasBeenSet = false; + + Aws::String m_dbParameterGroupIdentifier; + bool m_dbParameterGroupIdentifierHasBeenSet = false; + + int m_port; + bool m_portHasBeenSet = false; + + DbInstanceType m_dbInstanceType; + bool m_dbInstanceTypeHasBeenSet = false; + + FailoverMode m_failoverMode; + bool m_failoverModeHasBeenSet = false; + }; + +} // namespace Model +} // namespace TimestreamInfluxDB +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/UpdateDbClusterResult.h b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/UpdateDbClusterResult.h new file mode 100644 index 00000000000..b35c203e800 --- /dev/null +++ b/generated/src/aws-cpp-sdk-timestream-influxdb/include/aws/timestream-influxdb/model/UpdateDbClusterResult.h @@ -0,0 +1,66 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include