/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration sent to a cluster for configuration.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the role that is authorized to request the * connector configuration.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The Amazon Resource Name (ARN) of the role that is authorized to request the * connector configuration.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the role that is authorized to request the * connector configuration.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The Amazon Resource Name (ARN) of the role that is authorized to request the * connector configuration.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the role that is authorized to request the * connector configuration.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the role that is authorized to request the * connector configuration.
*/ inline ConnectorConfigRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the role that is authorized to request the * connector configuration.
*/ inline ConnectorConfigRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the role that is authorized to request the * connector configuration.
*/ inline ConnectorConfigRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The cloud provider for the target cluster to connect.
*/ inline const ConnectorConfigProvider& GetProvider() const{ return m_provider; } /** *The cloud provider for the target cluster to connect.
*/ inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; } /** *The cloud provider for the target cluster to connect.
*/ inline void SetProvider(const ConnectorConfigProvider& value) { m_providerHasBeenSet = true; m_provider = value; } /** *The cloud provider for the target cluster to connect.
*/ inline void SetProvider(ConnectorConfigProvider&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); } /** *The cloud provider for the target cluster to connect.
*/ inline ConnectorConfigRequest& WithProvider(const ConnectorConfigProvider& value) { SetProvider(value); return *this;} /** *The cloud provider for the target cluster to connect.
*/ inline ConnectorConfigRequest& WithProvider(ConnectorConfigProvider&& value) { SetProvider(std::move(value)); return *this;} private: Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; ConnectorConfigProvider m_provider; bool m_providerHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws