AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetModifyVnfInfoData(const UpdateSolNetworkModify& value) { m_modifyVnfInfoDataHasBeenSet = true; m_modifyVnfInfoData = value; }
49 inline void SetModifyVnfInfoData(UpdateSolNetworkModify&& value) { m_modifyVnfInfoDataHasBeenSet = true; m_modifyVnfInfoData = std::move(value); }
53
55
58 inline const Aws::String& GetNsInstanceId() const{ return m_nsInstanceId; }
59 inline bool NsInstanceIdHasBeenSet() const { return m_nsInstanceIdHasBeenSet; }
60 inline void SetNsInstanceId(const Aws::String& value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId = value; }
61 inline void SetNsInstanceId(Aws::String&& value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId = std::move(value); }
62 inline void SetNsInstanceId(const char* value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId.assign(value); }
63 inline UpdateSolNetworkInstanceRequest& WithNsInstanceId(const Aws::String& value) { SetNsInstanceId(value); return *this;}
64 inline UpdateSolNetworkInstanceRequest& WithNsInstanceId(Aws::String&& value) { SetNsInstanceId(std::move(value)); return *this;}
65 inline UpdateSolNetworkInstanceRequest& WithNsInstanceId(const char* value) { SetNsInstanceId(value); return *this;}
67
69
76 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
77 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
78 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
79 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
81 inline UpdateSolNetworkInstanceRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
82 inline UpdateSolNetworkInstanceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
83 inline UpdateSolNetworkInstanceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
84 inline UpdateSolNetworkInstanceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
85 inline UpdateSolNetworkInstanceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
86 inline UpdateSolNetworkInstanceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
87 inline UpdateSolNetworkInstanceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
88 inline UpdateSolNetworkInstanceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
90
92
97 inline const UpdateSolNetworkServiceData& GetUpdateNs() const{ return m_updateNs; }
98 inline bool UpdateNsHasBeenSet() const { return m_updateNsHasBeenSet; }
99 inline void SetUpdateNs(const UpdateSolNetworkServiceData& value) { m_updateNsHasBeenSet = true; m_updateNs = value; }
100 inline void SetUpdateNs(UpdateSolNetworkServiceData&& value) { m_updateNsHasBeenSet = true; m_updateNs = std::move(value); }
102 inline UpdateSolNetworkInstanceRequest& WithUpdateNs(UpdateSolNetworkServiceData&& value) { SetUpdateNs(std::move(value)); return *this;}
104
106
113 inline const UpdateSolNetworkType& GetUpdateType() const{ return m_updateType; }
114 inline bool UpdateTypeHasBeenSet() const { return m_updateTypeHasBeenSet; }
115 inline void SetUpdateType(const UpdateSolNetworkType& value) { m_updateTypeHasBeenSet = true; m_updateType = value; }
116 inline void SetUpdateType(UpdateSolNetworkType&& value) { m_updateTypeHasBeenSet = true; m_updateType = std::move(value); }
118 inline UpdateSolNetworkInstanceRequest& WithUpdateType(UpdateSolNetworkType&& value) { SetUpdateType(std::move(value)); return *this;}
120 private:
121
122 UpdateSolNetworkModify m_modifyVnfInfoData;
123 bool m_modifyVnfInfoDataHasBeenSet = false;
124
125 Aws::String m_nsInstanceId;
126 bool m_nsInstanceIdHasBeenSet = false;
127
129 bool m_tagsHasBeenSet = false;
130
132 bool m_updateNsHasBeenSet = false;
133
134 UpdateSolNetworkType m_updateType;
135 bool m_updateTypeHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace tnb
140} // namespace Aws
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateSolNetworkInstanceRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateSolNetworkInstanceRequest & WithNsInstanceId(const Aws::String &value)
UpdateSolNetworkInstanceRequest & WithUpdateNs(UpdateSolNetworkServiceData &&value)
UpdateSolNetworkInstanceRequest & WithNsInstanceId(Aws::String &&value)
UpdateSolNetworkInstanceRequest & WithModifyVnfInfoData(const UpdateSolNetworkModify &value)
AWS_TNB_API Aws::String SerializePayload() const override
UpdateSolNetworkInstanceRequest & WithNsInstanceId(const char *value)
UpdateSolNetworkInstanceRequest & WithUpdateType(UpdateSolNetworkType &&value)
UpdateSolNetworkInstanceRequest & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateSolNetworkInstanceRequest & WithUpdateNs(const UpdateSolNetworkServiceData &value)
UpdateSolNetworkInstanceRequest & AddTags(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateSolNetworkInstanceRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetModifyVnfInfoData(const UpdateSolNetworkModify &value)
UpdateSolNetworkInstanceRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetUpdateNs(const UpdateSolNetworkServiceData &value)
UpdateSolNetworkInstanceRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateSolNetworkInstanceRequest & AddTags(const Aws::String &key, Aws::String &&value)
UpdateSolNetworkInstanceRequest & WithUpdateType(const UpdateSolNetworkType &value)
UpdateSolNetworkInstanceRequest & AddTags(Aws::String &&key, const Aws::String &value)
UpdateSolNetworkInstanceRequest & AddTags(const char *key, const char *value)
UpdateSolNetworkInstanceRequest & WithModifyVnfInfoData(UpdateSolNetworkModify &&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