/** * 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 NetworkManager { namespace Model { /** */ class CreateGlobalNetworkRequest : public NetworkManagerRequest { public: AWS_NETWORKMANAGER_API CreateGlobalNetworkRequest(); // 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 "CreateGlobalNetwork"; } AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override; /** *

A description of the global network.

Constraints: Maximum length of * 256 characters.

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

A description of the global network.

Constraints: Maximum length of * 256 characters.

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

A description of the global network.

Constraints: Maximum length of * 256 characters.

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

A description of the global network.

Constraints: Maximum length of * 256 characters.

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

A description of the global network.

Constraints: Maximum length of * 256 characters.

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

A description of the global network.

Constraints: Maximum length of * 256 characters.

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

A description of the global network.

Constraints: Maximum length of * 256 characters.

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

A description of the global network.

Constraints: Maximum length of * 256 characters.

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

The tags to apply to the resource during creation.

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

The tags to apply to the resource during creation.

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

The tags to apply to the resource during creation.

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

The tags to apply to the resource during creation.

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

The tags to apply to the resource during creation.

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

The tags to apply to the resource during creation.

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

The tags to apply to the resource during creation.

*/ inline CreateGlobalNetworkRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

The tags to apply to the resource during creation.

*/ inline CreateGlobalNetworkRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace NetworkManager } // namespace Aws