/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Route53RecoveryControlConfig { namespace Model { /** *

The details of the control panel that you're creating.

See * Also:

AWS * API Reference

*/ class CreateControlPanelRequest : public Route53RecoveryControlConfigRequest { public: AWS_ROUTE53RECOVERYCONTROLCONFIG_API CreateControlPanelRequest(); // 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 "CreateControlPanel"; } AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override; /** *

A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.

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

A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.

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

A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.

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

A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.

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

A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.

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

A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.

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

A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.

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

A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.

*/ inline CreateControlPanelRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The Amazon Resource Name (ARN) of the cluster for the control panel.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** *

The Amazon Resource Name (ARN) of the cluster for the control panel.

*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the cluster for the control panel.

*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** *

The Amazon Resource Name (ARN) of the cluster for the control panel.

*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the cluster for the control panel.

*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the cluster for the control panel.

*/ inline CreateControlPanelRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the cluster for the control panel.

*/ inline CreateControlPanelRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the cluster for the control panel.

*/ inline CreateControlPanelRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** *

The name of the control panel.

*/ inline const Aws::String& GetControlPanelName() const{ return m_controlPanelName; } /** *

The name of the control panel.

*/ inline bool ControlPanelNameHasBeenSet() const { return m_controlPanelNameHasBeenSet; } /** *

The name of the control panel.

*/ inline void SetControlPanelName(const Aws::String& value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName = value; } /** *

The name of the control panel.

*/ inline void SetControlPanelName(Aws::String&& value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName = std::move(value); } /** *

The name of the control panel.

*/ inline void SetControlPanelName(const char* value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName.assign(value); } /** *

The name of the control panel.

*/ inline CreateControlPanelRequest& WithControlPanelName(const Aws::String& value) { SetControlPanelName(value); return *this;} /** *

The name of the control panel.

*/ inline CreateControlPanelRequest& WithControlPanelName(Aws::String&& value) { SetControlPanelName(std::move(value)); return *this;} /** *

The name of the control panel.

*/ inline CreateControlPanelRequest& WithControlPanelName(const char* value) { SetControlPanelName(value); return *this;} /** *

The tags associated with the control panel.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags associated with the control panel.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags associated with the control panel.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags associated with the control panel.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags associated with the control panel.

*/ inline CreateControlPanelRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags associated with the control panel.

*/ inline CreateControlPanelRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags associated with the control panel.

*/ inline CreateControlPanelRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The tags associated with the control panel.

*/ inline CreateControlPanelRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags associated with the control panel.

*/ inline CreateControlPanelRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags associated with the control panel.

*/ inline CreateControlPanelRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags associated with the control panel.

*/ inline CreateControlPanelRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags associated with the control panel.

*/ inline CreateControlPanelRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags associated with the control panel.

*/ inline CreateControlPanelRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; Aws::String m_controlPanelName; bool m_controlPanelNameHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace Route53RecoveryControlConfig } // namespace Aws