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

Identifies the network function information parameters and/or the * configurable properties of the network function to be modified.

*/ inline const UpdateSolNetworkModify& GetModifyVnfInfoData() const{ return m_modifyVnfInfoData; } /** *

Identifies the network function information parameters and/or the * configurable properties of the network function to be modified.

*/ inline bool ModifyVnfInfoDataHasBeenSet() const { return m_modifyVnfInfoDataHasBeenSet; } /** *

Identifies the network function information parameters and/or the * configurable properties of the network function to be modified.

*/ inline void SetModifyVnfInfoData(const UpdateSolNetworkModify& value) { m_modifyVnfInfoDataHasBeenSet = true; m_modifyVnfInfoData = value; } /** *

Identifies the network function information parameters and/or the * configurable properties of the network function to be modified.

*/ inline void SetModifyVnfInfoData(UpdateSolNetworkModify&& value) { m_modifyVnfInfoDataHasBeenSet = true; m_modifyVnfInfoData = std::move(value); } /** *

Identifies the network function information parameters and/or the * configurable properties of the network function to be modified.

*/ inline UpdateSolNetworkInstanceRequest& WithModifyVnfInfoData(const UpdateSolNetworkModify& value) { SetModifyVnfInfoData(value); return *this;} /** *

Identifies the network function information parameters and/or the * configurable properties of the network function to be modified.

*/ inline UpdateSolNetworkInstanceRequest& WithModifyVnfInfoData(UpdateSolNetworkModify&& value) { SetModifyVnfInfoData(std::move(value)); return *this;} /** *

ID of the network instance.

*/ inline const Aws::String& GetNsInstanceId() const{ return m_nsInstanceId; } /** *

ID of the network instance.

*/ inline bool NsInstanceIdHasBeenSet() const { return m_nsInstanceIdHasBeenSet; } /** *

ID of the network instance.

*/ inline void SetNsInstanceId(const Aws::String& value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId = value; } /** *

ID of the network instance.

*/ inline void SetNsInstanceId(Aws::String&& value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId = std::move(value); } /** *

ID of the network instance.

*/ inline void SetNsInstanceId(const char* value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId.assign(value); } /** *

ID of the network instance.

*/ inline UpdateSolNetworkInstanceRequest& WithNsInstanceId(const Aws::String& value) { SetNsInstanceId(value); return *this;} /** *

ID of the network instance.

*/ inline UpdateSolNetworkInstanceRequest& WithNsInstanceId(Aws::String&& value) { SetNsInstanceId(std::move(value)); return *this;} /** *

ID of the network instance.

*/ inline UpdateSolNetworkInstanceRequest& WithNsInstanceId(const char* value) { SetNsInstanceId(value); return *this;} /** *

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

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

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

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

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

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

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

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

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

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

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

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

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

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

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

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

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

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

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

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

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

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

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

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

A tag is a label that you assign to an Amazon Web Services resource. Each tag * consists of a key and an optional value. When you use this API, the tags are * transferred to the network operation that is created. Use tags to search and * filter your resources or track your Amazon Web Services costs.

*/ inline UpdateSolNetworkInstanceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The type of update.

*/ inline const UpdateSolNetworkType& GetUpdateType() const{ return m_updateType; } /** *

The type of update.

*/ inline bool UpdateTypeHasBeenSet() const { return m_updateTypeHasBeenSet; } /** *

The type of update.

*/ inline void SetUpdateType(const UpdateSolNetworkType& value) { m_updateTypeHasBeenSet = true; m_updateType = value; } /** *

The type of update.

*/ inline void SetUpdateType(UpdateSolNetworkType&& value) { m_updateTypeHasBeenSet = true; m_updateType = std::move(value); } /** *

The type of update.

*/ inline UpdateSolNetworkInstanceRequest& WithUpdateType(const UpdateSolNetworkType& value) { SetUpdateType(value); return *this;} /** *

The type of update.

*/ inline UpdateSolNetworkInstanceRequest& WithUpdateType(UpdateSolNetworkType&& value) { SetUpdateType(std::move(value)); return *this;} private: UpdateSolNetworkModify m_modifyVnfInfoData; bool m_modifyVnfInfoDataHasBeenSet = false; Aws::String m_nsInstanceId; bool m_nsInstanceIdHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; UpdateSolNetworkType m_updateType; bool m_updateTypeHasBeenSet = false; }; } // namespace Model } // namespace tnb } // namespace Aws