/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace finspace { namespace Model { /** */ class UpdateKxEnvironmentNetworkRequest : public FinspaceRequest { public: AWS_FINSPACE_API UpdateKxEnvironmentNetworkRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateKxEnvironmentNetwork"; } AWS_FINSPACE_API Aws::String SerializePayload() const override; /** *

A unique identifier for the kdb environment.

*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *

A unique identifier for the kdb environment.

*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *

A unique identifier for the kdb environment.

*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *

A unique identifier for the kdb environment.

*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *

A unique identifier for the kdb environment.

*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *

A unique identifier for the kdb environment.

*/ inline UpdateKxEnvironmentNetworkRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

A unique identifier for the kdb environment.

*/ inline UpdateKxEnvironmentNetworkRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *

A unique identifier for the kdb environment.

*/ inline UpdateKxEnvironmentNetworkRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *

Specifies the transit gateway and network configuration to connect the kdb * environment to an internal network.

*/ inline const TransitGatewayConfiguration& GetTransitGatewayConfiguration() const{ return m_transitGatewayConfiguration; } /** *

Specifies the transit gateway and network configuration to connect the kdb * environment to an internal network.

*/ inline bool TransitGatewayConfigurationHasBeenSet() const { return m_transitGatewayConfigurationHasBeenSet; } /** *

Specifies the transit gateway and network configuration to connect the kdb * environment to an internal network.

*/ inline void SetTransitGatewayConfiguration(const TransitGatewayConfiguration& value) { m_transitGatewayConfigurationHasBeenSet = true; m_transitGatewayConfiguration = value; } /** *

Specifies the transit gateway and network configuration to connect the kdb * environment to an internal network.

*/ inline void SetTransitGatewayConfiguration(TransitGatewayConfiguration&& value) { m_transitGatewayConfigurationHasBeenSet = true; m_transitGatewayConfiguration = std::move(value); } /** *

Specifies the transit gateway and network configuration to connect the kdb * environment to an internal network.

*/ inline UpdateKxEnvironmentNetworkRequest& WithTransitGatewayConfiguration(const TransitGatewayConfiguration& value) { SetTransitGatewayConfiguration(value); return *this;} /** *

Specifies the transit gateway and network configuration to connect the kdb * environment to an internal network.

*/ inline UpdateKxEnvironmentNetworkRequest& WithTransitGatewayConfiguration(TransitGatewayConfiguration&& value) { SetTransitGatewayConfiguration(std::move(value)); return *this;} /** *

A list of DNS server name and server IP. This is used to set up Route-53 * outbound resolvers.

*/ inline const Aws::Vector& GetCustomDNSConfiguration() const{ return m_customDNSConfiguration; } /** *

A list of DNS server name and server IP. This is used to set up Route-53 * outbound resolvers.

*/ inline bool CustomDNSConfigurationHasBeenSet() const { return m_customDNSConfigurationHasBeenSet; } /** *

A list of DNS server name and server IP. This is used to set up Route-53 * outbound resolvers.

*/ inline void SetCustomDNSConfiguration(const Aws::Vector& value) { m_customDNSConfigurationHasBeenSet = true; m_customDNSConfiguration = value; } /** *

A list of DNS server name and server IP. This is used to set up Route-53 * outbound resolvers.

*/ inline void SetCustomDNSConfiguration(Aws::Vector&& value) { m_customDNSConfigurationHasBeenSet = true; m_customDNSConfiguration = std::move(value); } /** *

A list of DNS server name and server IP. This is used to set up Route-53 * outbound resolvers.

*/ inline UpdateKxEnvironmentNetworkRequest& WithCustomDNSConfiguration(const Aws::Vector& value) { SetCustomDNSConfiguration(value); return *this;} /** *

A list of DNS server name and server IP. This is used to set up Route-53 * outbound resolvers.

*/ inline UpdateKxEnvironmentNetworkRequest& WithCustomDNSConfiguration(Aws::Vector&& value) { SetCustomDNSConfiguration(std::move(value)); return *this;} /** *

A list of DNS server name and server IP. This is used to set up Route-53 * outbound resolvers.

*/ inline UpdateKxEnvironmentNetworkRequest& AddCustomDNSConfiguration(const CustomDNSServer& value) { m_customDNSConfigurationHasBeenSet = true; m_customDNSConfiguration.push_back(value); return *this; } /** *

A list of DNS server name and server IP. This is used to set up Route-53 * outbound resolvers.

*/ inline UpdateKxEnvironmentNetworkRequest& AddCustomDNSConfiguration(CustomDNSServer&& value) { m_customDNSConfigurationHasBeenSet = true; m_customDNSConfiguration.push_back(std::move(value)); return *this; } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline UpdateKxEnvironmentNetworkRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline UpdateKxEnvironmentNetworkRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline UpdateKxEnvironmentNetworkRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; TransitGatewayConfiguration m_transitGatewayConfiguration; bool m_transitGatewayConfigurationHasBeenSet = false; Aws::Vector m_customDNSConfiguration; bool m_customDNSConfigurationHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; }; } // namespace Model } // namespace finspace } // namespace Aws