/** * 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 PrivateNetworks { namespace Model { /** */ class CreateNetworkSiteRequest : public PrivateNetworksRequest { public: AWS_PRIVATENETWORKS_API CreateNetworkSiteRequest(); // 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 "CreateNetworkSite"; } AWS_PRIVATENETWORKS_API Aws::String SerializePayload() const override; /** *

The Availability Zone that is the parent of this site. You can't change the * Availability Zone after you create the site.

*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *

The Availability Zone that is the parent of this site. You can't change the * Availability Zone after you create the site.

*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *

The Availability Zone that is the parent of this site. You can't change the * Availability Zone after you create the site.

*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *

The Availability Zone that is the parent of this site. You can't change the * Availability Zone after you create the site.

*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *

The Availability Zone that is the parent of this site. You can't change the * Availability Zone after you create the site.

*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *

The Availability Zone that is the parent of this site. You can't change the * Availability Zone after you create the site.

*/ inline CreateNetworkSiteRequest& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *

The Availability Zone that is the parent of this site. You can't change the * Availability Zone after you create the site.

*/ inline CreateNetworkSiteRequest& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *

The Availability Zone that is the parent of this site. You can't change the * Availability Zone after you create the site.

*/ inline CreateNetworkSiteRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *

The ID of the Availability Zone that is the parent of this site. You can't * change the Availability Zone after you create the site.

*/ inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; } /** *

The ID of the Availability Zone that is the parent of this site. You can't * change the Availability Zone after you create the site.

*/ inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; } /** *

The ID of the Availability Zone that is the parent of this site. You can't * change the Availability Zone after you create the site.

*/ inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; } /** *

The ID of the Availability Zone that is the parent of this site. You can't * change the Availability Zone after you create the site.

*/ inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); } /** *

The ID of the Availability Zone that is the parent of this site. You can't * change the Availability Zone after you create the site.

*/ inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); } /** *

The ID of the Availability Zone that is the parent of this site. You can't * change the Availability Zone after you create the site.

*/ inline CreateNetworkSiteRequest& WithAvailabilityZoneId(const Aws::String& value) { SetAvailabilityZoneId(value); return *this;} /** *

The ID of the Availability Zone that is the parent of this site. You can't * change the Availability Zone after you create the site.

*/ inline CreateNetworkSiteRequest& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;} /** *

The ID of the Availability Zone that is the parent of this site. You can't * change the Availability Zone after you create the site.

*/ inline CreateNetworkSiteRequest& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;} /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. For more information, see How * to ensure idempotency.

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

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. For more information, see How * to ensure idempotency.

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

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. For more information, see How * to ensure idempotency.

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

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. For more information, see How * to ensure idempotency.

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

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. For more information, see How * to ensure idempotency.

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

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. For more information, see How * to ensure idempotency.

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

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. For more information, see How * to ensure idempotency.

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

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request. For more information, see How * to ensure idempotency.

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

The description of the site.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the site.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the site.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the site.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the site.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the site.

*/ inline CreateNetworkSiteRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the site.

*/ inline CreateNetworkSiteRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the site.

*/ inline CreateNetworkSiteRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The Amazon Resource Name (ARN) of the network.

*/ inline const Aws::String& GetNetworkArn() const{ return m_networkArn; } /** *

The Amazon Resource Name (ARN) of the network.

*/ inline bool NetworkArnHasBeenSet() const { return m_networkArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the network.

*/ inline void SetNetworkArn(const Aws::String& value) { m_networkArnHasBeenSet = true; m_networkArn = value; } /** *

The Amazon Resource Name (ARN) of the network.

*/ inline void SetNetworkArn(Aws::String&& value) { m_networkArnHasBeenSet = true; m_networkArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the network.

*/ inline void SetNetworkArn(const char* value) { m_networkArnHasBeenSet = true; m_networkArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the network.

*/ inline CreateNetworkSiteRequest& WithNetworkArn(const Aws::String& value) { SetNetworkArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the network.

*/ inline CreateNetworkSiteRequest& WithNetworkArn(Aws::String&& value) { SetNetworkArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the network.

*/ inline CreateNetworkSiteRequest& WithNetworkArn(const char* value) { SetNetworkArn(value); return *this;} /** *

The name of the site. You can't change the name after you create the * site.

*/ inline const Aws::String& GetNetworkSiteName() const{ return m_networkSiteName; } /** *

The name of the site. You can't change the name after you create the * site.

*/ inline bool NetworkSiteNameHasBeenSet() const { return m_networkSiteNameHasBeenSet; } /** *

The name of the site. You can't change the name after you create the * site.

*/ inline void SetNetworkSiteName(const Aws::String& value) { m_networkSiteNameHasBeenSet = true; m_networkSiteName = value; } /** *

The name of the site. You can't change the name after you create the * site.

*/ inline void SetNetworkSiteName(Aws::String&& value) { m_networkSiteNameHasBeenSet = true; m_networkSiteName = std::move(value); } /** *

The name of the site. You can't change the name after you create the * site.

*/ inline void SetNetworkSiteName(const char* value) { m_networkSiteNameHasBeenSet = true; m_networkSiteName.assign(value); } /** *

The name of the site. You can't change the name after you create the * site.

*/ inline CreateNetworkSiteRequest& WithNetworkSiteName(const Aws::String& value) { SetNetworkSiteName(value); return *this;} /** *

The name of the site. You can't change the name after you create the * site.

*/ inline CreateNetworkSiteRequest& WithNetworkSiteName(Aws::String&& value) { SetNetworkSiteName(std::move(value)); return *this;} /** *

The name of the site. You can't change the name after you create the * site.

*/ inline CreateNetworkSiteRequest& WithNetworkSiteName(const char* value) { SetNetworkSiteName(value); return *this;} /** *

Information about the pending plan for this site.

*/ inline const SitePlan& GetPendingPlan() const{ return m_pendingPlan; } /** *

Information about the pending plan for this site.

*/ inline bool PendingPlanHasBeenSet() const { return m_pendingPlanHasBeenSet; } /** *

Information about the pending plan for this site.

*/ inline void SetPendingPlan(const SitePlan& value) { m_pendingPlanHasBeenSet = true; m_pendingPlan = value; } /** *

Information about the pending plan for this site.

*/ inline void SetPendingPlan(SitePlan&& value) { m_pendingPlanHasBeenSet = true; m_pendingPlan = std::move(value); } /** *

Information about the pending plan for this site.

*/ inline CreateNetworkSiteRequest& WithPendingPlan(const SitePlan& value) { SetPendingPlan(value); return *this;} /** *

Information about the pending plan for this site.

*/ inline CreateNetworkSiteRequest& WithPendingPlan(SitePlan&& value) { SetPendingPlan(std::move(value)); return *this;} /** *

The tags to apply to the network site.

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

The tags to apply to the network site.

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

The tags to apply to the network site.

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

The tags to apply to the network site.

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

The tags to apply to the network site.

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

The tags to apply to the network site.

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

The tags to apply to the network site.

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

The tags to apply to the network site.

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

The tags to apply to the network site.

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

The tags to apply to the network site.

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

The tags to apply to the network site.

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

The tags to apply to the network site.

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

The tags to apply to the network site.

*/ inline CreateNetworkSiteRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_availabilityZone; bool m_availabilityZoneHasBeenSet = false; Aws::String m_availabilityZoneId; bool m_availabilityZoneIdHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_networkArn; bool m_networkArnHasBeenSet = false; Aws::String m_networkSiteName; bool m_networkSiteNameHasBeenSet = false; SitePlan m_pendingPlan; bool m_pendingPlanHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace PrivateNetworks } // namespace Aws