/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a configuration management server. See Also:
AWS
* API Reference
Associate a public IP address with a server that you are launching.
*/ inline bool GetAssociatePublicIpAddress() const{ return m_associatePublicIpAddress; } /** *Associate a public IP address with a server that you are launching.
*/ inline bool AssociatePublicIpAddressHasBeenSet() const { return m_associatePublicIpAddressHasBeenSet; } /** *Associate a public IP address with a server that you are launching.
*/ inline void SetAssociatePublicIpAddress(bool value) { m_associatePublicIpAddressHasBeenSet = true; m_associatePublicIpAddress = value; } /** *Associate a public IP address with a server that you are launching.
*/ inline Server& WithAssociatePublicIpAddress(bool value) { SetAssociatePublicIpAddress(value); return *this;} /** *The number of automated backups to keep.
*/ inline int GetBackupRetentionCount() const{ return m_backupRetentionCount; } /** *The number of automated backups to keep.
*/ inline bool BackupRetentionCountHasBeenSet() const { return m_backupRetentionCountHasBeenSet; } /** *The number of automated backups to keep.
*/ inline void SetBackupRetentionCount(int value) { m_backupRetentionCountHasBeenSet = true; m_backupRetentionCount = value; } /** *The number of automated backups to keep.
*/ inline Server& WithBackupRetentionCount(int value) { SetBackupRetentionCount(value); return *this;} /** *The name of the server.
*/ inline const Aws::String& GetServerName() const{ return m_serverName; } /** *The name of the server.
*/ inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; } /** *The name of the server.
*/ inline void SetServerName(const Aws::String& value) { m_serverNameHasBeenSet = true; m_serverName = value; } /** *The name of the server.
*/ inline void SetServerName(Aws::String&& value) { m_serverNameHasBeenSet = true; m_serverName = std::move(value); } /** *The name of the server.
*/ inline void SetServerName(const char* value) { m_serverNameHasBeenSet = true; m_serverName.assign(value); } /** *The name of the server.
*/ inline Server& WithServerName(const Aws::String& value) { SetServerName(value); return *this;} /** *The name of the server.
*/ inline Server& WithServerName(Aws::String&& value) { SetServerName(std::move(value)); return *this;} /** *The name of the server.
*/ inline Server& WithServerName(const char* value) { SetServerName(value); return *this;} /** *Time stamp of server creation. Example 2016-07-29T13:38:47.520Z
*
Time stamp of server creation. Example 2016-07-29T13:38:47.520Z
*
Time stamp of server creation. Example 2016-07-29T13:38:47.520Z
*
Time stamp of server creation. Example 2016-07-29T13:38:47.520Z
*
Time stamp of server creation. Example 2016-07-29T13:38:47.520Z
*
Time stamp of server creation. Example 2016-07-29T13:38:47.520Z
*
The ARN of the CloudFormation stack that was used to create the server.
*/ inline const Aws::String& GetCloudFormationStackArn() const{ return m_cloudFormationStackArn; } /** *The ARN of the CloudFormation stack that was used to create the server.
*/ inline bool CloudFormationStackArnHasBeenSet() const { return m_cloudFormationStackArnHasBeenSet; } /** *The ARN of the CloudFormation stack that was used to create the server.
*/ inline void SetCloudFormationStackArn(const Aws::String& value) { m_cloudFormationStackArnHasBeenSet = true; m_cloudFormationStackArn = value; } /** *The ARN of the CloudFormation stack that was used to create the server.
*/ inline void SetCloudFormationStackArn(Aws::String&& value) { m_cloudFormationStackArnHasBeenSet = true; m_cloudFormationStackArn = std::move(value); } /** *The ARN of the CloudFormation stack that was used to create the server.
*/ inline void SetCloudFormationStackArn(const char* value) { m_cloudFormationStackArnHasBeenSet = true; m_cloudFormationStackArn.assign(value); } /** *The ARN of the CloudFormation stack that was used to create the server.
*/ inline Server& WithCloudFormationStackArn(const Aws::String& value) { SetCloudFormationStackArn(value); return *this;} /** *The ARN of the CloudFormation stack that was used to create the server.
*/ inline Server& WithCloudFormationStackArn(Aws::String&& value) { SetCloudFormationStackArn(std::move(value)); return *this;} /** *The ARN of the CloudFormation stack that was used to create the server.
*/ inline Server& WithCloudFormationStackArn(const char* value) { SetCloudFormationStackArn(value); return *this;} /** *An optional public endpoint of a server, such as
* https://aws.my-company.com
. You cannot access the server by using
* the Endpoint
value if the server has a CustomDomain
* specified.
An optional public endpoint of a server, such as
* https://aws.my-company.com
. You cannot access the server by using
* the Endpoint
value if the server has a CustomDomain
* specified.
An optional public endpoint of a server, such as
* https://aws.my-company.com
. You cannot access the server by using
* the Endpoint
value if the server has a CustomDomain
* specified.
An optional public endpoint of a server, such as
* https://aws.my-company.com
. You cannot access the server by using
* the Endpoint
value if the server has a CustomDomain
* specified.
An optional public endpoint of a server, such as
* https://aws.my-company.com
. You cannot access the server by using
* the Endpoint
value if the server has a CustomDomain
* specified.
An optional public endpoint of a server, such as
* https://aws.my-company.com
. You cannot access the server by using
* the Endpoint
value if the server has a CustomDomain
* specified.
An optional public endpoint of a server, such as
* https://aws.my-company.com
. You cannot access the server by using
* the Endpoint
value if the server has a CustomDomain
* specified.
An optional public endpoint of a server, such as
* https://aws.my-company.com
. You cannot access the server by using
* the Endpoint
value if the server has a CustomDomain
* specified.
Disables automated backups. The number of stored backups is dependent on the * value of PreferredBackupCount.
*/ inline bool GetDisableAutomatedBackup() const{ return m_disableAutomatedBackup; } /** *Disables automated backups. The number of stored backups is dependent on the * value of PreferredBackupCount.
*/ inline bool DisableAutomatedBackupHasBeenSet() const { return m_disableAutomatedBackupHasBeenSet; } /** *Disables automated backups. The number of stored backups is dependent on the * value of PreferredBackupCount.
*/ inline void SetDisableAutomatedBackup(bool value) { m_disableAutomatedBackupHasBeenSet = true; m_disableAutomatedBackup = value; } /** *Disables automated backups. The number of stored backups is dependent on the * value of PreferredBackupCount.
*/ inline Server& WithDisableAutomatedBackup(bool value) { SetDisableAutomatedBackup(value); return *this;} /** * A DNS name that can be used to access the engine. Example:
* myserver-asdfghjkl.us-east-1.opsworks.io
. You cannot access the
* server by using the Endpoint
value if the server has a
* CustomDomain
specified.
A DNS name that can be used to access the engine. Example:
* myserver-asdfghjkl.us-east-1.opsworks.io
. You cannot access the
* server by using the Endpoint
value if the server has a
* CustomDomain
specified.
A DNS name that can be used to access the engine. Example:
* myserver-asdfghjkl.us-east-1.opsworks.io
. You cannot access the
* server by using the Endpoint
value if the server has a
* CustomDomain
specified.
A DNS name that can be used to access the engine. Example:
* myserver-asdfghjkl.us-east-1.opsworks.io
. You cannot access the
* server by using the Endpoint
value if the server has a
* CustomDomain
specified.
A DNS name that can be used to access the engine. Example:
* myserver-asdfghjkl.us-east-1.opsworks.io
. You cannot access the
* server by using the Endpoint
value if the server has a
* CustomDomain
specified.
A DNS name that can be used to access the engine. Example:
* myserver-asdfghjkl.us-east-1.opsworks.io
. You cannot access the
* server by using the Endpoint
value if the server has a
* CustomDomain
specified.
A DNS name that can be used to access the engine. Example:
* myserver-asdfghjkl.us-east-1.opsworks.io
. You cannot access the
* server by using the Endpoint
value if the server has a
* CustomDomain
specified.
A DNS name that can be used to access the engine. Example:
* myserver-asdfghjkl.us-east-1.opsworks.io
. You cannot access the
* server by using the Endpoint
value if the server has a
* CustomDomain
specified.
The engine type of the server. Valid values in this release include
* ChefAutomate
and Puppet
.
The engine type of the server. Valid values in this release include
* ChefAutomate
and Puppet
.
The engine type of the server. Valid values in this release include
* ChefAutomate
and Puppet
.
The engine type of the server. Valid values in this release include
* ChefAutomate
and Puppet
.
The engine type of the server. Valid values in this release include
* ChefAutomate
and Puppet
.
The engine type of the server. Valid values in this release include
* ChefAutomate
and Puppet
.
The engine type of the server. Valid values in this release include
* ChefAutomate
and Puppet
.
The engine type of the server. Valid values in this release include
* ChefAutomate
and Puppet
.
The engine model of the server. Valid values in this release include
* Monolithic
for Puppet and Single
for Chef.
The engine model of the server. Valid values in this release include
* Monolithic
for Puppet and Single
for Chef.
The engine model of the server. Valid values in this release include
* Monolithic
for Puppet and Single
for Chef.
The engine model of the server. Valid values in this release include
* Monolithic
for Puppet and Single
for Chef.
The engine model of the server. Valid values in this release include
* Monolithic
for Puppet and Single
for Chef.
The engine model of the server. Valid values in this release include
* Monolithic
for Puppet and Single
for Chef.
The engine model of the server. Valid values in this release include
* Monolithic
for Puppet and Single
for Chef.
The engine model of the server. Valid values in this release include
* Monolithic
for Puppet and Single
for Chef.
The response of a createServer() request returns the master credential to * access the server in EngineAttributes. These credentials are not stored by AWS * OpsWorks CM; they are returned only as part of the result of createServer(). *
Attributes returned in a createServer response for * Chef
CHEF_AUTOMATE_PIVOTAL_KEY
: A
* base64-encoded RSA private key that is generated by AWS OpsWorks for Chef
* Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Chef starter kit, which includes a README, a configuration file, and
* the required RSA private key. Save this file, unzip it, and then change to the
* directory where you've unzipped the file contents. From this directory, you can
* run Knife commands.
Attributes returned in * a createServer response for Puppet
* PUPPET_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Puppet starter kit, including a README and a required private key.
* Save this file, unzip it, and then change to the directory where you've unzipped
* the file contents.
PUPPET_ADMIN_PASSWORD
: An
* administrator password that you can use to sign in to the Puppet Enterprise
* console after the server is online.
The response of a createServer() request returns the master credential to * access the server in EngineAttributes. These credentials are not stored by AWS * OpsWorks CM; they are returned only as part of the result of createServer(). *
Attributes returned in a createServer response for * Chef
CHEF_AUTOMATE_PIVOTAL_KEY
: A
* base64-encoded RSA private key that is generated by AWS OpsWorks for Chef
* Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Chef starter kit, which includes a README, a configuration file, and
* the required RSA private key. Save this file, unzip it, and then change to the
* directory where you've unzipped the file contents. From this directory, you can
* run Knife commands.
Attributes returned in * a createServer response for Puppet
* PUPPET_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Puppet starter kit, including a README and a required private key.
* Save this file, unzip it, and then change to the directory where you've unzipped
* the file contents.
PUPPET_ADMIN_PASSWORD
: An
* administrator password that you can use to sign in to the Puppet Enterprise
* console after the server is online.
The response of a createServer() request returns the master credential to * access the server in EngineAttributes. These credentials are not stored by AWS * OpsWorks CM; they are returned only as part of the result of createServer(). *
Attributes returned in a createServer response for * Chef
CHEF_AUTOMATE_PIVOTAL_KEY
: A
* base64-encoded RSA private key that is generated by AWS OpsWorks for Chef
* Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Chef starter kit, which includes a README, a configuration file, and
* the required RSA private key. Save this file, unzip it, and then change to the
* directory where you've unzipped the file contents. From this directory, you can
* run Knife commands.
Attributes returned in * a createServer response for Puppet
* PUPPET_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Puppet starter kit, including a README and a required private key.
* Save this file, unzip it, and then change to the directory where you've unzipped
* the file contents.
PUPPET_ADMIN_PASSWORD
: An
* administrator password that you can use to sign in to the Puppet Enterprise
* console after the server is online.
The response of a createServer() request returns the master credential to * access the server in EngineAttributes. These credentials are not stored by AWS * OpsWorks CM; they are returned only as part of the result of createServer(). *
Attributes returned in a createServer response for * Chef
CHEF_AUTOMATE_PIVOTAL_KEY
: A
* base64-encoded RSA private key that is generated by AWS OpsWorks for Chef
* Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Chef starter kit, which includes a README, a configuration file, and
* the required RSA private key. Save this file, unzip it, and then change to the
* directory where you've unzipped the file contents. From this directory, you can
* run Knife commands.
Attributes returned in * a createServer response for Puppet
* PUPPET_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Puppet starter kit, including a README and a required private key.
* Save this file, unzip it, and then change to the directory where you've unzipped
* the file contents.
PUPPET_ADMIN_PASSWORD
: An
* administrator password that you can use to sign in to the Puppet Enterprise
* console after the server is online.
The response of a createServer() request returns the master credential to * access the server in EngineAttributes. These credentials are not stored by AWS * OpsWorks CM; they are returned only as part of the result of createServer(). *
Attributes returned in a createServer response for * Chef
CHEF_AUTOMATE_PIVOTAL_KEY
: A
* base64-encoded RSA private key that is generated by AWS OpsWorks for Chef
* Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Chef starter kit, which includes a README, a configuration file, and
* the required RSA private key. Save this file, unzip it, and then change to the
* directory where you've unzipped the file contents. From this directory, you can
* run Knife commands.
Attributes returned in * a createServer response for Puppet
* PUPPET_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Puppet starter kit, including a README and a required private key.
* Save this file, unzip it, and then change to the directory where you've unzipped
* the file contents.
PUPPET_ADMIN_PASSWORD
: An
* administrator password that you can use to sign in to the Puppet Enterprise
* console after the server is online.
The response of a createServer() request returns the master credential to * access the server in EngineAttributes. These credentials are not stored by AWS * OpsWorks CM; they are returned only as part of the result of createServer(). *
Attributes returned in a createServer response for * Chef
CHEF_AUTOMATE_PIVOTAL_KEY
: A
* base64-encoded RSA private key that is generated by AWS OpsWorks for Chef
* Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Chef starter kit, which includes a README, a configuration file, and
* the required RSA private key. Save this file, unzip it, and then change to the
* directory where you've unzipped the file contents. From this directory, you can
* run Knife commands.
Attributes returned in * a createServer response for Puppet
* PUPPET_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Puppet starter kit, including a README and a required private key.
* Save this file, unzip it, and then change to the directory where you've unzipped
* the file contents.
PUPPET_ADMIN_PASSWORD
: An
* administrator password that you can use to sign in to the Puppet Enterprise
* console after the server is online.
The response of a createServer() request returns the master credential to * access the server in EngineAttributes. These credentials are not stored by AWS * OpsWorks CM; they are returned only as part of the result of createServer(). *
Attributes returned in a createServer response for * Chef
CHEF_AUTOMATE_PIVOTAL_KEY
: A
* base64-encoded RSA private key that is generated by AWS OpsWorks for Chef
* Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Chef starter kit, which includes a README, a configuration file, and
* the required RSA private key. Save this file, unzip it, and then change to the
* directory where you've unzipped the file contents. From this directory, you can
* run Knife commands.
Attributes returned in * a createServer response for Puppet
* PUPPET_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Puppet starter kit, including a README and a required private key.
* Save this file, unzip it, and then change to the directory where you've unzipped
* the file contents.
PUPPET_ADMIN_PASSWORD
: An
* administrator password that you can use to sign in to the Puppet Enterprise
* console after the server is online.
The response of a createServer() request returns the master credential to * access the server in EngineAttributes. These credentials are not stored by AWS * OpsWorks CM; they are returned only as part of the result of createServer(). *
Attributes returned in a createServer response for * Chef
CHEF_AUTOMATE_PIVOTAL_KEY
: A
* base64-encoded RSA private key that is generated by AWS OpsWorks for Chef
* Automate. This private key is required to access the Chef API.
CHEF_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Chef starter kit, which includes a README, a configuration file, and
* the required RSA private key. Save this file, unzip it, and then change to the
* directory where you've unzipped the file contents. From this directory, you can
* run Knife commands.
Attributes returned in * a createServer response for Puppet
* PUPPET_STARTER_KIT
: A base64-encoded ZIP file. The ZIP file
* contains a Puppet starter kit, including a README and a required private key.
* Save this file, unzip it, and then change to the directory where you've unzipped
* the file contents.
PUPPET_ADMIN_PASSWORD
: An
* administrator password that you can use to sign in to the Puppet Enterprise
* console after the server is online.
The engine version of the server. For a Chef server, the valid value for
* EngineVersion is currently 2
. For a Puppet server, specify either
* 2019
or 2017
.
The engine version of the server. For a Chef server, the valid value for
* EngineVersion is currently 2
. For a Puppet server, specify either
* 2019
or 2017
.
The engine version of the server. For a Chef server, the valid value for
* EngineVersion is currently 2
. For a Puppet server, specify either
* 2019
or 2017
.
The engine version of the server. For a Chef server, the valid value for
* EngineVersion is currently 2
. For a Puppet server, specify either
* 2019
or 2017
.
The engine version of the server. For a Chef server, the valid value for
* EngineVersion is currently 2
. For a Puppet server, specify either
* 2019
or 2017
.
The engine version of the server. For a Chef server, the valid value for
* EngineVersion is currently 2
. For a Puppet server, specify either
* 2019
or 2017
.
The engine version of the server. For a Chef server, the valid value for
* EngineVersion is currently 2
. For a Puppet server, specify either
* 2019
or 2017
.
The engine version of the server. For a Chef server, the valid value for
* EngineVersion is currently 2
. For a Puppet server, specify either
* 2019
or 2017
.
The instance profile ARN of the server.
*/ inline const Aws::String& GetInstanceProfileArn() const{ return m_instanceProfileArn; } /** *The instance profile ARN of the server.
*/ inline bool InstanceProfileArnHasBeenSet() const { return m_instanceProfileArnHasBeenSet; } /** *The instance profile ARN of the server.
*/ inline void SetInstanceProfileArn(const Aws::String& value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = value; } /** *The instance profile ARN of the server.
*/ inline void SetInstanceProfileArn(Aws::String&& value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = std::move(value); } /** *The instance profile ARN of the server.
*/ inline void SetInstanceProfileArn(const char* value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn.assign(value); } /** *The instance profile ARN of the server.
*/ inline Server& WithInstanceProfileArn(const Aws::String& value) { SetInstanceProfileArn(value); return *this;} /** *The instance profile ARN of the server.
*/ inline Server& WithInstanceProfileArn(Aws::String&& value) { SetInstanceProfileArn(std::move(value)); return *this;} /** *The instance profile ARN of the server.
*/ inline Server& WithInstanceProfileArn(const char* value) { SetInstanceProfileArn(value); return *this;} /** *The instance type for the server, as specified in the CloudFormation stack. * This might not be the same instance type that is shown in the EC2 console.
*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *The instance type for the server, as specified in the CloudFormation stack. * This might not be the same instance type that is shown in the EC2 console.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *The instance type for the server, as specified in the CloudFormation stack. * This might not be the same instance type that is shown in the EC2 console.
*/ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *The instance type for the server, as specified in the CloudFormation stack. * This might not be the same instance type that is shown in the EC2 console.
*/ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *The instance type for the server, as specified in the CloudFormation stack. * This might not be the same instance type that is shown in the EC2 console.
*/ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } /** *The instance type for the server, as specified in the CloudFormation stack. * This might not be the same instance type that is shown in the EC2 console.
*/ inline Server& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *The instance type for the server, as specified in the CloudFormation stack. * This might not be the same instance type that is shown in the EC2 console.
*/ inline Server& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *The instance type for the server, as specified in the CloudFormation stack. * This might not be the same instance type that is shown in the EC2 console.
*/ inline Server& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} /** *The key pair associated with the server.
*/ inline const Aws::String& GetKeyPair() const{ return m_keyPair; } /** *The key pair associated with the server.
*/ inline bool KeyPairHasBeenSet() const { return m_keyPairHasBeenSet; } /** *The key pair associated with the server.
*/ inline void SetKeyPair(const Aws::String& value) { m_keyPairHasBeenSet = true; m_keyPair = value; } /** *The key pair associated with the server.
*/ inline void SetKeyPair(Aws::String&& value) { m_keyPairHasBeenSet = true; m_keyPair = std::move(value); } /** *The key pair associated with the server.
*/ inline void SetKeyPair(const char* value) { m_keyPairHasBeenSet = true; m_keyPair.assign(value); } /** *The key pair associated with the server.
*/ inline Server& WithKeyPair(const Aws::String& value) { SetKeyPair(value); return *this;} /** *The key pair associated with the server.
*/ inline Server& WithKeyPair(Aws::String&& value) { SetKeyPair(std::move(value)); return *this;} /** *The key pair associated with the server.
*/ inline Server& WithKeyPair(const char* value) { SetKeyPair(value); return *this;} /** *The status of the most recent server maintenance run. Shows
* SUCCESS
or FAILED
.
The status of the most recent server maintenance run. Shows
* SUCCESS
or FAILED
.
The status of the most recent server maintenance run. Shows
* SUCCESS
or FAILED
.
The status of the most recent server maintenance run. Shows
* SUCCESS
or FAILED
.
The status of the most recent server maintenance run. Shows
* SUCCESS
or FAILED
.
The status of the most recent server maintenance run. Shows
* SUCCESS
or FAILED
.
The preferred maintenance period specified for the server.
*/ inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; } /** *The preferred maintenance period specified for the server.
*/ inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; } /** *The preferred maintenance period specified for the server.
*/ inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; } /** *The preferred maintenance period specified for the server.
*/ inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); } /** *The preferred maintenance period specified for the server.
*/ inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); } /** *The preferred maintenance period specified for the server.
*/ inline Server& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;} /** *The preferred maintenance period specified for the server.
*/ inline Server& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;} /** *The preferred maintenance period specified for the server.
*/ inline Server& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;} /** *The preferred backup period specified for the server.
*/ inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; } /** *The preferred backup period specified for the server.
*/ inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; } /** *The preferred backup period specified for the server.
*/ inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; } /** *The preferred backup period specified for the server.
*/ inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); } /** *The preferred backup period specified for the server.
*/ inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); } /** *The preferred backup period specified for the server.
*/ inline Server& WithPreferredBackupWindow(const Aws::String& value) { SetPreferredBackupWindow(value); return *this;} /** *The preferred backup period specified for the server.
*/ inline Server& WithPreferredBackupWindow(Aws::String&& value) { SetPreferredBackupWindow(std::move(value)); return *this;} /** *The preferred backup period specified for the server.
*/ inline Server& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;} /** *The security group IDs for the server, as specified in the CloudFormation * stack. These might not be the same security groups that are shown in the EC2 * console.
*/ inline const Aws::VectorThe security group IDs for the server, as specified in the CloudFormation * stack. These might not be the same security groups that are shown in the EC2 * console.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *The security group IDs for the server, as specified in the CloudFormation * stack. These might not be the same security groups that are shown in the EC2 * console.
*/ inline void SetSecurityGroupIds(const Aws::VectorThe security group IDs for the server, as specified in the CloudFormation * stack. These might not be the same security groups that are shown in the EC2 * console.
*/ inline void SetSecurityGroupIds(Aws::VectorThe security group IDs for the server, as specified in the CloudFormation * stack. These might not be the same security groups that are shown in the EC2 * console.
*/ inline Server& WithSecurityGroupIds(const Aws::VectorThe security group IDs for the server, as specified in the CloudFormation * stack. These might not be the same security groups that are shown in the EC2 * console.
*/ inline Server& WithSecurityGroupIds(Aws::VectorThe security group IDs for the server, as specified in the CloudFormation * stack. These might not be the same security groups that are shown in the EC2 * console.
*/ inline Server& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The security group IDs for the server, as specified in the CloudFormation * stack. These might not be the same security groups that are shown in the EC2 * console.
*/ inline Server& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *The security group IDs for the server, as specified in the CloudFormation * stack. These might not be the same security groups that are shown in the EC2 * console.
*/ inline Server& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The service role ARN used to create the server.
*/ inline const Aws::String& GetServiceRoleArn() const{ return m_serviceRoleArn; } /** *The service role ARN used to create the server.
*/ inline bool ServiceRoleArnHasBeenSet() const { return m_serviceRoleArnHasBeenSet; } /** *The service role ARN used to create the server.
*/ inline void SetServiceRoleArn(const Aws::String& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = value; } /** *The service role ARN used to create the server.
*/ inline void SetServiceRoleArn(Aws::String&& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = std::move(value); } /** *The service role ARN used to create the server.
*/ inline void SetServiceRoleArn(const char* value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn.assign(value); } /** *The service role ARN used to create the server.
*/ inline Server& WithServiceRoleArn(const Aws::String& value) { SetServiceRoleArn(value); return *this;} /** *The service role ARN used to create the server.
*/ inline Server& WithServiceRoleArn(Aws::String&& value) { SetServiceRoleArn(std::move(value)); return *this;} /** *The service role ARN used to create the server.
*/ inline Server& WithServiceRoleArn(const char* value) { SetServiceRoleArn(value); return *this;} /** *The server's status. This field displays the states of actions in progress, * such as creating, running, or backing up the server, as well as the server's * health state.
*/ inline const ServerStatus& GetStatus() const{ return m_status; } /** *The server's status. This field displays the states of actions in progress, * such as creating, running, or backing up the server, as well as the server's * health state.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The server's status. This field displays the states of actions in progress, * such as creating, running, or backing up the server, as well as the server's * health state.
*/ inline void SetStatus(const ServerStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The server's status. This field displays the states of actions in progress, * such as creating, running, or backing up the server, as well as the server's * health state.
*/ inline void SetStatus(ServerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The server's status. This field displays the states of actions in progress, * such as creating, running, or backing up the server, as well as the server's * health state.
*/ inline Server& WithStatus(const ServerStatus& value) { SetStatus(value); return *this;} /** *The server's status. This field displays the states of actions in progress, * such as creating, running, or backing up the server, as well as the server's * health state.
*/ inline Server& WithStatus(ServerStatus&& value) { SetStatus(std::move(value)); return *this;} /** *Depending on the server status, this field has either a human-readable * message (such as a create or backup error), or an escaped block of JSON (used * for health check results).
*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *Depending on the server status, this field has either a human-readable * message (such as a create or backup error), or an escaped block of JSON (used * for health check results).
*/ inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } /** *Depending on the server status, this field has either a human-readable * message (such as a create or backup error), or an escaped block of JSON (used * for health check results).
*/ inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; } /** *Depending on the server status, this field has either a human-readable * message (such as a create or backup error), or an escaped block of JSON (used * for health check results).
*/ inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); } /** *Depending on the server status, this field has either a human-readable * message (such as a create or backup error), or an escaped block of JSON (used * for health check results).
*/ inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); } /** *Depending on the server status, this field has either a human-readable * message (such as a create or backup error), or an escaped block of JSON (used * for health check results).
*/ inline Server& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *Depending on the server status, this field has either a human-readable * message (such as a create or backup error), or an escaped block of JSON (used * for health check results).
*/ inline Server& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *Depending on the server status, this field has either a human-readable * message (such as a create or backup error), or an escaped block of JSON (used * for health check results).
*/ inline Server& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} /** *The subnet IDs specified in a CreateServer request.
*/ inline const Aws::VectorThe subnet IDs specified in a CreateServer request.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *The subnet IDs specified in a CreateServer request.
*/ inline void SetSubnetIds(const Aws::VectorThe subnet IDs specified in a CreateServer request.
*/ inline void SetSubnetIds(Aws::VectorThe subnet IDs specified in a CreateServer request.
*/ inline Server& WithSubnetIds(const Aws::VectorThe subnet IDs specified in a CreateServer request.
*/ inline Server& WithSubnetIds(Aws::VectorThe subnet IDs specified in a CreateServer request.
*/ inline Server& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The subnet IDs specified in a CreateServer request.
*/ inline Server& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *The subnet IDs specified in a CreateServer request.
*/ inline Server& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The ARN of the server.
*/ inline const Aws::String& GetServerArn() const{ return m_serverArn; } /** *The ARN of the server.
*/ inline bool ServerArnHasBeenSet() const { return m_serverArnHasBeenSet; } /** *The ARN of the server.
*/ inline void SetServerArn(const Aws::String& value) { m_serverArnHasBeenSet = true; m_serverArn = value; } /** *The ARN of the server.
*/ inline void SetServerArn(Aws::String&& value) { m_serverArnHasBeenSet = true; m_serverArn = std::move(value); } /** *The ARN of the server.
*/ inline void SetServerArn(const char* value) { m_serverArnHasBeenSet = true; m_serverArn.assign(value); } /** *The ARN of the server.
*/ inline Server& WithServerArn(const Aws::String& value) { SetServerArn(value); return *this;} /** *The ARN of the server.
*/ inline Server& WithServerArn(Aws::String&& value) { SetServerArn(std::move(value)); return *this;} /** *The ARN of the server.
*/ inline Server& WithServerArn(const char* value) { SetServerArn(value); return *this;} private: bool m_associatePublicIpAddress; bool m_associatePublicIpAddressHasBeenSet = false; int m_backupRetentionCount; bool m_backupRetentionCountHasBeenSet = false; Aws::String m_serverName; bool m_serverNameHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_cloudFormationStackArn; bool m_cloudFormationStackArnHasBeenSet = false; Aws::String m_customDomain; bool m_customDomainHasBeenSet = false; bool m_disableAutomatedBackup; bool m_disableAutomatedBackupHasBeenSet = false; Aws::String m_endpoint; bool m_endpointHasBeenSet = false; Aws::String m_engine; bool m_engineHasBeenSet = false; Aws::String m_engineModel; bool m_engineModelHasBeenSet = false; Aws::Vector