AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSolNetworkPackageResult.h
1
6#pragma once
7#include <aws/tnb/Tnb_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/tnb/model/GetSolNetworkPackageMetadata.h>
10#include <aws/tnb/model/NsdOnboardingState.h>
11#include <aws/tnb/model/NsdOperationalState.h>
12#include <aws/tnb/model/NsdUsageState.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace tnb
30{
31namespace Model
32{
34 {
35 public:
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline void SetArn(const Aws::String& value) { m_arn = value; }
47 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
48 inline void SetArn(const char* value) { m_arn.assign(value); }
49 inline GetSolNetworkPackageResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
50 inline GetSolNetworkPackageResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
51 inline GetSolNetworkPackageResult& WithArn(const char* value) { SetArn(value); return *this;}
53
55
58 inline const Aws::String& GetId() const{ return m_id; }
59 inline void SetId(const Aws::String& value) { m_id = value; }
60 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
61 inline void SetId(const char* value) { m_id.assign(value); }
62 inline GetSolNetworkPackageResult& WithId(const Aws::String& value) { SetId(value); return *this;}
63 inline GetSolNetworkPackageResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
64 inline GetSolNetworkPackageResult& WithId(const char* value) { SetId(value); return *this;}
66
68
69 inline const GetSolNetworkPackageMetadata& GetMetadata() const{ return m_metadata; }
70 inline void SetMetadata(const GetSolNetworkPackageMetadata& value) { m_metadata = value; }
71 inline void SetMetadata(GetSolNetworkPackageMetadata&& value) { m_metadata = std::move(value); }
73 inline GetSolNetworkPackageResult& WithMetadata(GetSolNetworkPackageMetadata&& value) { SetMetadata(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetNsdId() const{ return m_nsdId; }
81 inline void SetNsdId(const Aws::String& value) { m_nsdId = value; }
82 inline void SetNsdId(Aws::String&& value) { m_nsdId = std::move(value); }
83 inline void SetNsdId(const char* value) { m_nsdId.assign(value); }
84 inline GetSolNetworkPackageResult& WithNsdId(const Aws::String& value) { SetNsdId(value); return *this;}
85 inline GetSolNetworkPackageResult& WithNsdId(Aws::String&& value) { SetNsdId(std::move(value)); return *this;}
86 inline GetSolNetworkPackageResult& WithNsdId(const char* value) { SetNsdId(value); return *this;}
88
90
93 inline const Aws::String& GetNsdName() const{ return m_nsdName; }
94 inline void SetNsdName(const Aws::String& value) { m_nsdName = value; }
95 inline void SetNsdName(Aws::String&& value) { m_nsdName = std::move(value); }
96 inline void SetNsdName(const char* value) { m_nsdName.assign(value); }
97 inline GetSolNetworkPackageResult& WithNsdName(const Aws::String& value) { SetNsdName(value); return *this;}
98 inline GetSolNetworkPackageResult& WithNsdName(Aws::String&& value) { SetNsdName(std::move(value)); return *this;}
99 inline GetSolNetworkPackageResult& WithNsdName(const char* value) { SetNsdName(value); return *this;}
101
103
106 inline const NsdOnboardingState& GetNsdOnboardingState() const{ return m_nsdOnboardingState; }
107 inline void SetNsdOnboardingState(const NsdOnboardingState& value) { m_nsdOnboardingState = value; }
108 inline void SetNsdOnboardingState(NsdOnboardingState&& value) { m_nsdOnboardingState = std::move(value); }
112
114
117 inline const NsdOperationalState& GetNsdOperationalState() const{ return m_nsdOperationalState; }
118 inline void SetNsdOperationalState(const NsdOperationalState& value) { m_nsdOperationalState = value; }
119 inline void SetNsdOperationalState(NsdOperationalState&& value) { m_nsdOperationalState = std::move(value); }
123
125
128 inline const NsdUsageState& GetNsdUsageState() const{ return m_nsdUsageState; }
129 inline void SetNsdUsageState(const NsdUsageState& value) { m_nsdUsageState = value; }
130 inline void SetNsdUsageState(NsdUsageState&& value) { m_nsdUsageState = std::move(value); }
131 inline GetSolNetworkPackageResult& WithNsdUsageState(const NsdUsageState& value) { SetNsdUsageState(value); return *this;}
132 inline GetSolNetworkPackageResult& WithNsdUsageState(NsdUsageState&& value) { SetNsdUsageState(std::move(value)); return *this;}
134
136
139 inline const Aws::String& GetNsdVersion() const{ return m_nsdVersion; }
140 inline void SetNsdVersion(const Aws::String& value) { m_nsdVersion = value; }
141 inline void SetNsdVersion(Aws::String&& value) { m_nsdVersion = std::move(value); }
142 inline void SetNsdVersion(const char* value) { m_nsdVersion.assign(value); }
143 inline GetSolNetworkPackageResult& WithNsdVersion(const Aws::String& value) { SetNsdVersion(value); return *this;}
144 inline GetSolNetworkPackageResult& WithNsdVersion(Aws::String&& value) { SetNsdVersion(std::move(value)); return *this;}
145 inline GetSolNetworkPackageResult& WithNsdVersion(const char* value) { SetNsdVersion(value); return *this;}
147
149
154 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
155 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
156 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
158 inline GetSolNetworkPackageResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
159 inline GetSolNetworkPackageResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
160 inline GetSolNetworkPackageResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
161 inline GetSolNetworkPackageResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
162 inline GetSolNetworkPackageResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
163 inline GetSolNetworkPackageResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
164 inline GetSolNetworkPackageResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
165 inline GetSolNetworkPackageResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
167
169
173 inline const Aws::Vector<Aws::String>& GetVnfPkgIds() const{ return m_vnfPkgIds; }
174 inline void SetVnfPkgIds(const Aws::Vector<Aws::String>& value) { m_vnfPkgIds = value; }
175 inline void SetVnfPkgIds(Aws::Vector<Aws::String>&& value) { m_vnfPkgIds = std::move(value); }
177 inline GetSolNetworkPackageResult& WithVnfPkgIds(Aws::Vector<Aws::String>&& value) { SetVnfPkgIds(std::move(value)); return *this;}
178 inline GetSolNetworkPackageResult& AddVnfPkgIds(const Aws::String& value) { m_vnfPkgIds.push_back(value); return *this; }
179 inline GetSolNetworkPackageResult& AddVnfPkgIds(Aws::String&& value) { m_vnfPkgIds.push_back(std::move(value)); return *this; }
180 inline GetSolNetworkPackageResult& AddVnfPkgIds(const char* value) { m_vnfPkgIds.push_back(value); return *this; }
182
184
185 inline const Aws::String& GetRequestId() const{ return m_requestId; }
186 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
187 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
188 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
189 inline GetSolNetworkPackageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
190 inline GetSolNetworkPackageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
191 inline GetSolNetworkPackageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
193 private:
194
195 Aws::String m_arn;
196
197 Aws::String m_id;
198
200
201 Aws::String m_nsdId;
202
203 Aws::String m_nsdName;
204
205 NsdOnboardingState m_nsdOnboardingState;
206
207 NsdOperationalState m_nsdOperationalState;
208
209 NsdUsageState m_nsdUsageState;
210
211 Aws::String m_nsdVersion;
212
214
215 Aws::Vector<Aws::String> m_vnfPkgIds;
216
217 Aws::String m_requestId;
218 };
219
220} // namespace Model
221} // namespace tnb
222} // namespace Aws
GetSolNetworkPackageResult & WithNsdVersion(const char *value)
GetSolNetworkPackageResult & WithId(Aws::String &&value)
void SetNsdOnboardingState(const NsdOnboardingState &value)
GetSolNetworkPackageResult & WithId(const Aws::String &value)
GetSolNetworkPackageResult & WithNsdOperationalState(const NsdOperationalState &value)
GetSolNetworkPackageResult & WithVnfPkgIds(Aws::Vector< Aws::String > &&value)
GetSolNetworkPackageResult & WithMetadata(GetSolNetworkPackageMetadata &&value)
GetSolNetworkPackageResult & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetNsdOperationalState(NsdOperationalState &&value)
GetSolNetworkPackageResult & WithArn(const char *value)
GetSolNetworkPackageResult & WithNsdId(const Aws::String &value)
GetSolNetworkPackageResult & WithNsdName(const Aws::String &value)
GetSolNetworkPackageResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetMetadata(const GetSolNetworkPackageMetadata &value)
GetSolNetworkPackageResult & WithVnfPkgIds(const Aws::Vector< Aws::String > &value)
GetSolNetworkPackageResult & WithNsdName(const char *value)
GetSolNetworkPackageResult & WithRequestId(Aws::String &&value)
GetSolNetworkPackageResult & WithNsdOnboardingState(const NsdOnboardingState &value)
GetSolNetworkPackageResult & AddVnfPkgIds(const Aws::String &value)
const Aws::Vector< Aws::String > & GetVnfPkgIds() const
GetSolNetworkPackageResult & WithNsdUsageState(const NsdUsageState &value)
void SetVnfPkgIds(Aws::Vector< Aws::String > &&value)
GetSolNetworkPackageResult & WithNsdVersion(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetSolNetworkPackageResult & WithRequestId(const Aws::String &value)
const NsdOnboardingState & GetNsdOnboardingState() const
GetSolNetworkPackageResult & WithNsdVersion(Aws::String &&value)
GetSolNetworkPackageResult & AddVnfPkgIds(const char *value)
void SetNsdOperationalState(const NsdOperationalState &value)
GetSolNetworkPackageResult & WithNsdId(Aws::String &&value)
GetSolNetworkPackageResult & WithNsdOnboardingState(NsdOnboardingState &&value)
void SetMetadata(GetSolNetworkPackageMetadata &&value)
const GetSolNetworkPackageMetadata & GetMetadata() const
GetSolNetworkPackageResult & WithNsdName(Aws::String &&value)
GetSolNetworkPackageResult & WithRequestId(const char *value)
GetSolNetworkPackageResult & AddVnfPkgIds(Aws::String &&value)
GetSolNetworkPackageResult & AddTags(const Aws::String &key, const Aws::String &value)
GetSolNetworkPackageResult & AddTags(const char *key, const char *value)
AWS_TNB_API GetSolNetworkPackageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSolNetworkPackageResult & AddTags(Aws::String &&key, const char *value)
GetSolNetworkPackageResult & WithArn(const Aws::String &value)
GetSolNetworkPackageResult & WithNsdId(const char *value)
const NsdOperationalState & GetNsdOperationalState() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetSolNetworkPackageResult & WithMetadata(const GetSolNetworkPackageMetadata &value)
GetSolNetworkPackageResult & AddTags(const char *key, Aws::String &&value)
GetSolNetworkPackageResult & WithNsdUsageState(NsdUsageState &&value)
GetSolNetworkPackageResult & WithId(const char *value)
GetSolNetworkPackageResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetSolNetworkPackageResult & AddTags(const Aws::String &key, Aws::String &&value)
GetSolNetworkPackageResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetVnfPkgIds(const Aws::Vector< Aws::String > &value)
GetSolNetworkPackageResult & WithArn(Aws::String &&value)
GetSolNetworkPackageResult & WithNsdOperationalState(NsdOperationalState &&value)
AWS_TNB_API GetSolNetworkPackageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue