/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace NetworkManager { namespace Model { /** */ class UpdateSiteRequest : public NetworkManagerRequest { public: AWS_NETWORKMANAGER_API UpdateSiteRequest(); // 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 "UpdateSite"; } AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override; /** *

The ID of the global network.

*/ inline const Aws::String& GetGlobalNetworkId() const{ return m_globalNetworkId; } /** *

The ID of the global network.

*/ inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; } /** *

The ID of the global network.

*/ inline void SetGlobalNetworkId(const Aws::String& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = value; } /** *

The ID of the global network.

*/ inline void SetGlobalNetworkId(Aws::String&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::move(value); } /** *

The ID of the global network.

*/ inline void SetGlobalNetworkId(const char* value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId.assign(value); } /** *

The ID of the global network.

*/ inline UpdateSiteRequest& WithGlobalNetworkId(const Aws::String& value) { SetGlobalNetworkId(value); return *this;} /** *

The ID of the global network.

*/ inline UpdateSiteRequest& WithGlobalNetworkId(Aws::String&& value) { SetGlobalNetworkId(std::move(value)); return *this;} /** *

The ID of the global network.

*/ inline UpdateSiteRequest& WithGlobalNetworkId(const char* value) { SetGlobalNetworkId(value); return *this;} /** *

The ID of your site.

*/ inline const Aws::String& GetSiteId() const{ return m_siteId; } /** *

The ID of your site.

*/ inline bool SiteIdHasBeenSet() const { return m_siteIdHasBeenSet; } /** *

The ID of your site.

*/ inline void SetSiteId(const Aws::String& value) { m_siteIdHasBeenSet = true; m_siteId = value; } /** *

The ID of your site.

*/ inline void SetSiteId(Aws::String&& value) { m_siteIdHasBeenSet = true; m_siteId = std::move(value); } /** *

The ID of your site.

*/ inline void SetSiteId(const char* value) { m_siteIdHasBeenSet = true; m_siteId.assign(value); } /** *

The ID of your site.

*/ inline UpdateSiteRequest& WithSiteId(const Aws::String& value) { SetSiteId(value); return *this;} /** *

The ID of your site.

*/ inline UpdateSiteRequest& WithSiteId(Aws::String&& value) { SetSiteId(std::move(value)); return *this;} /** *

The ID of your site.

*/ inline UpdateSiteRequest& WithSiteId(const char* value) { SetSiteId(value); return *this;} /** *

A description of your site.

Constraints: Maximum length of 256 * characters.

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

A description of your site.

Constraints: Maximum length of 256 * characters.

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

A description of your site.

Constraints: Maximum length of 256 * characters.

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

A description of your site.

Constraints: Maximum length of 256 * characters.

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

A description of your site.

Constraints: Maximum length of 256 * characters.

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

A description of your site.

Constraints: Maximum length of 256 * characters.

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

A description of your site.

Constraints: Maximum length of 256 * characters.

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

A description of your site.

Constraints: Maximum length of 256 * characters.

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

The site location:

  • Address: The physical * address of the site.

  • Latitude: The latitude of * the site.

  • Longitude: The longitude of the * site.

*/ inline const Location& GetLocation() const{ return m_location; } /** *

The site location:

  • Address: The physical * address of the site.

  • Latitude: The latitude of * the site.

  • Longitude: The longitude of the * site.

*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *

The site location:

  • Address: The physical * address of the site.

  • Latitude: The latitude of * the site.

  • Longitude: The longitude of the * site.

*/ inline void SetLocation(const Location& value) { m_locationHasBeenSet = true; m_location = value; } /** *

The site location:

  • Address: The physical * address of the site.

  • Latitude: The latitude of * the site.

  • Longitude: The longitude of the * site.

*/ inline void SetLocation(Location&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *

The site location:

  • Address: The physical * address of the site.

  • Latitude: The latitude of * the site.

  • Longitude: The longitude of the * site.

*/ inline UpdateSiteRequest& WithLocation(const Location& value) { SetLocation(value); return *this;} /** *

The site location:

  • Address: The physical * address of the site.

  • Latitude: The latitude of * the site.

  • Longitude: The longitude of the * site.

*/ inline UpdateSiteRequest& WithLocation(Location&& value) { SetLocation(std::move(value)); return *this;} private: Aws::String m_globalNetworkId; bool m_globalNetworkIdHasBeenSet = false; Aws::String m_siteId; bool m_siteIdHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Location m_location; bool m_locationHasBeenSet = false; }; } // namespace Model } // namespace NetworkManager } // namespace Aws