AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateSolNetworkInstanceRequest.h
1
6#pragma once
7#include <aws/tnb/Tnb_EXPORTS.h>
8#include <aws/tnb/TnbRequest.h>
9#include <aws/tnb/model/UpdateSolNetworkModify.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/tnb/model/UpdateSolNetworkServiceData.h>
13#include <aws/tnb/model/UpdateSolNetworkType.h>
14#include <utility>
15
16namespace Aws
17{
18namespace tnb
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_TNB_API UpdateSolNetworkInstanceRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateSolNetworkInstance"; }
35
36 AWS_TNB_API Aws::String SerializePayload() const override;
37
38
40
46 inline const UpdateSolNetworkModify& GetModifyVnfInfoData() const { return m_modifyVnfInfoData; }
47 inline bool ModifyVnfInfoDataHasBeenSet() const { return m_modifyVnfInfoDataHasBeenSet; }
48 template<typename ModifyVnfInfoDataT = UpdateSolNetworkModify>
49 void SetModifyVnfInfoData(ModifyVnfInfoDataT&& value) { m_modifyVnfInfoDataHasBeenSet = true; m_modifyVnfInfoData = std::forward<ModifyVnfInfoDataT>(value); }
50 template<typename ModifyVnfInfoDataT = UpdateSolNetworkModify>
51 UpdateSolNetworkInstanceRequest& WithModifyVnfInfoData(ModifyVnfInfoDataT&& value) { SetModifyVnfInfoData(std::forward<ModifyVnfInfoDataT>(value)); return *this;}
53
55
58 inline const Aws::String& GetNsInstanceId() const { return m_nsInstanceId; }
59 inline bool NsInstanceIdHasBeenSet() const { return m_nsInstanceIdHasBeenSet; }
60 template<typename NsInstanceIdT = Aws::String>
61 void SetNsInstanceId(NsInstanceIdT&& value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId = std::forward<NsInstanceIdT>(value); }
62 template<typename NsInstanceIdT = Aws::String>
63 UpdateSolNetworkInstanceRequest& WithNsInstanceId(NsInstanceIdT&& value) { SetNsInstanceId(std::forward<NsInstanceIdT>(value)); return *this;}
65
67
74 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
75 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
76 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
77 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
78 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
79 UpdateSolNetworkInstanceRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
80 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
81 UpdateSolNetworkInstanceRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
82 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
83 }
85
87
92 inline const UpdateSolNetworkServiceData& GetUpdateNs() const { return m_updateNs; }
93 inline bool UpdateNsHasBeenSet() const { return m_updateNsHasBeenSet; }
94 template<typename UpdateNsT = UpdateSolNetworkServiceData>
95 void SetUpdateNs(UpdateNsT&& value) { m_updateNsHasBeenSet = true; m_updateNs = std::forward<UpdateNsT>(value); }
96 template<typename UpdateNsT = UpdateSolNetworkServiceData>
97 UpdateSolNetworkInstanceRequest& WithUpdateNs(UpdateNsT&& value) { SetUpdateNs(std::forward<UpdateNsT>(value)); return *this;}
99
101
108 inline UpdateSolNetworkType GetUpdateType() const { return m_updateType; }
109 inline bool UpdateTypeHasBeenSet() const { return m_updateTypeHasBeenSet; }
110 inline void SetUpdateType(UpdateSolNetworkType value) { m_updateTypeHasBeenSet = true; m_updateType = value; }
113 private:
114
115 UpdateSolNetworkModify m_modifyVnfInfoData;
116 bool m_modifyVnfInfoDataHasBeenSet = false;
117
118 Aws::String m_nsInstanceId;
119 bool m_nsInstanceIdHasBeenSet = false;
120
122 bool m_tagsHasBeenSet = false;
123
125 bool m_updateNsHasBeenSet = false;
126
128 bool m_updateTypeHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace tnb
133} // namespace Aws
UpdateSolNetworkInstanceRequest & WithModifyVnfInfoData(ModifyVnfInfoDataT &&value)
UpdateSolNetworkInstanceRequest & WithUpdateNs(UpdateNsT &&value)
AWS_TNB_API Aws::String SerializePayload() const override
UpdateSolNetworkInstanceRequest & WithNsInstanceId(NsInstanceIdT &&value)
UpdateSolNetworkInstanceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateSolNetworkInstanceRequest & WithUpdateType(UpdateSolNetworkType value)
UpdateSolNetworkInstanceRequest & WithTags(TagsT &&value)
const UpdateSolNetworkServiceData & GetUpdateNs() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String