AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSolFunctionPackageResult.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/GetSolFunctionPackageMetadata.h>
10#include <aws/tnb/model/OnboardingState.h>
11#include <aws/tnb/model/OperationalState.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/tnb/model/UsageState.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace tnb
29{
30namespace Model
31{
33 {
34 public:
38
39
41
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline void SetArn(const Aws::String& value) { m_arn = value; }
46 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
47 inline void SetArn(const char* value) { m_arn.assign(value); }
48 inline GetSolFunctionPackageResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
49 inline GetSolFunctionPackageResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
50 inline GetSolFunctionPackageResult& WithArn(const char* value) { SetArn(value); return *this;}
52
54
57 inline const Aws::String& GetId() const{ return m_id; }
58 inline void SetId(const Aws::String& value) { m_id = value; }
59 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
60 inline void SetId(const char* value) { m_id.assign(value); }
61 inline GetSolFunctionPackageResult& WithId(const Aws::String& value) { SetId(value); return *this;}
62 inline GetSolFunctionPackageResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
63 inline GetSolFunctionPackageResult& WithId(const char* value) { SetId(value); return *this;}
65
67
68 inline const GetSolFunctionPackageMetadata& GetMetadata() const{ return m_metadata; }
69 inline void SetMetadata(const GetSolFunctionPackageMetadata& value) { m_metadata = value; }
70 inline void SetMetadata(GetSolFunctionPackageMetadata&& value) { m_metadata = std::move(value); }
72 inline GetSolFunctionPackageResult& WithMetadata(GetSolFunctionPackageMetadata&& value) { SetMetadata(std::move(value)); return *this;}
74
76
79 inline const OnboardingState& GetOnboardingState() const{ return m_onboardingState; }
80 inline void SetOnboardingState(const OnboardingState& value) { m_onboardingState = value; }
81 inline void SetOnboardingState(OnboardingState&& value) { m_onboardingState = std::move(value); }
83 inline GetSolFunctionPackageResult& WithOnboardingState(OnboardingState&& value) { SetOnboardingState(std::move(value)); return *this;}
85
87
90 inline const OperationalState& GetOperationalState() const{ return m_operationalState; }
91 inline void SetOperationalState(const OperationalState& value) { m_operationalState = value; }
92 inline void SetOperationalState(OperationalState&& value) { m_operationalState = std::move(value); }
94 inline GetSolFunctionPackageResult& WithOperationalState(OperationalState&& value) { SetOperationalState(std::move(value)); return *this;}
96
98
103 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
104 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
105 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
107 inline GetSolFunctionPackageResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
108 inline GetSolFunctionPackageResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
109 inline GetSolFunctionPackageResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
110 inline GetSolFunctionPackageResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
111 inline GetSolFunctionPackageResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
112 inline GetSolFunctionPackageResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
113 inline GetSolFunctionPackageResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
114 inline GetSolFunctionPackageResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
116
118
121 inline const UsageState& GetUsageState() const{ return m_usageState; }
122 inline void SetUsageState(const UsageState& value) { m_usageState = value; }
123 inline void SetUsageState(UsageState&& value) { m_usageState = std::move(value); }
124 inline GetSolFunctionPackageResult& WithUsageState(const UsageState& value) { SetUsageState(value); return *this;}
125 inline GetSolFunctionPackageResult& WithUsageState(UsageState&& value) { SetUsageState(std::move(value)); return *this;}
127
129
132 inline const Aws::String& GetVnfProductName() const{ return m_vnfProductName; }
133 inline void SetVnfProductName(const Aws::String& value) { m_vnfProductName = value; }
134 inline void SetVnfProductName(Aws::String&& value) { m_vnfProductName = std::move(value); }
135 inline void SetVnfProductName(const char* value) { m_vnfProductName.assign(value); }
137 inline GetSolFunctionPackageResult& WithVnfProductName(Aws::String&& value) { SetVnfProductName(std::move(value)); return *this;}
138 inline GetSolFunctionPackageResult& WithVnfProductName(const char* value) { SetVnfProductName(value); return *this;}
140
142
145 inline const Aws::String& GetVnfProvider() const{ return m_vnfProvider; }
146 inline void SetVnfProvider(const Aws::String& value) { m_vnfProvider = value; }
147 inline void SetVnfProvider(Aws::String&& value) { m_vnfProvider = std::move(value); }
148 inline void SetVnfProvider(const char* value) { m_vnfProvider.assign(value); }
149 inline GetSolFunctionPackageResult& WithVnfProvider(const Aws::String& value) { SetVnfProvider(value); return *this;}
150 inline GetSolFunctionPackageResult& WithVnfProvider(Aws::String&& value) { SetVnfProvider(std::move(value)); return *this;}
151 inline GetSolFunctionPackageResult& WithVnfProvider(const char* value) { SetVnfProvider(value); return *this;}
153
155
158 inline const Aws::String& GetVnfdId() const{ return m_vnfdId; }
159 inline void SetVnfdId(const Aws::String& value) { m_vnfdId = value; }
160 inline void SetVnfdId(Aws::String&& value) { m_vnfdId = std::move(value); }
161 inline void SetVnfdId(const char* value) { m_vnfdId.assign(value); }
162 inline GetSolFunctionPackageResult& WithVnfdId(const Aws::String& value) { SetVnfdId(value); return *this;}
163 inline GetSolFunctionPackageResult& WithVnfdId(Aws::String&& value) { SetVnfdId(std::move(value)); return *this;}
164 inline GetSolFunctionPackageResult& WithVnfdId(const char* value) { SetVnfdId(value); return *this;}
166
168
171 inline const Aws::String& GetVnfdVersion() const{ return m_vnfdVersion; }
172 inline void SetVnfdVersion(const Aws::String& value) { m_vnfdVersion = value; }
173 inline void SetVnfdVersion(Aws::String&& value) { m_vnfdVersion = std::move(value); }
174 inline void SetVnfdVersion(const char* value) { m_vnfdVersion.assign(value); }
175 inline GetSolFunctionPackageResult& WithVnfdVersion(const Aws::String& value) { SetVnfdVersion(value); return *this;}
176 inline GetSolFunctionPackageResult& WithVnfdVersion(Aws::String&& value) { SetVnfdVersion(std::move(value)); return *this;}
177 inline GetSolFunctionPackageResult& WithVnfdVersion(const char* value) { SetVnfdVersion(value); return *this;}
179
181
182 inline const Aws::String& GetRequestId() const{ return m_requestId; }
183 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
184 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
185 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
186 inline GetSolFunctionPackageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
187 inline GetSolFunctionPackageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
188 inline GetSolFunctionPackageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
190 private:
191
192 Aws::String m_arn;
193
194 Aws::String m_id;
195
197
198 OnboardingState m_onboardingState;
199
200 OperationalState m_operationalState;
201
203
204 UsageState m_usageState;
205
206 Aws::String m_vnfProductName;
207
208 Aws::String m_vnfProvider;
209
210 Aws::String m_vnfdId;
211
212 Aws::String m_vnfdVersion;
213
214 Aws::String m_requestId;
215 };
216
217} // namespace Model
218} // namespace tnb
219} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const GetSolFunctionPackageMetadata & GetMetadata() const
void SetOnboardingState(const OnboardingState &value)
GetSolFunctionPackageResult & WithVnfdId(Aws::String &&value)
GetSolFunctionPackageResult & WithUsageState(UsageState &&value)
GetSolFunctionPackageResult & WithArn(Aws::String &&value)
GetSolFunctionPackageResult & WithOnboardingState(const OnboardingState &value)
GetSolFunctionPackageResult & WithArn(const Aws::String &value)
GetSolFunctionPackageResult & WithOnboardingState(OnboardingState &&value)
GetSolFunctionPackageResult & WithVnfdId(const Aws::String &value)
GetSolFunctionPackageResult & WithVnfProductName(const char *value)
GetSolFunctionPackageResult & WithUsageState(const UsageState &value)
GetSolFunctionPackageResult & WithId(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetSolFunctionPackageResult & WithId(Aws::String &&value)
GetSolFunctionPackageResult & WithVnfdVersion(const Aws::String &value)
GetSolFunctionPackageResult & AddTags(const Aws::String &key, const Aws::String &value)
GetSolFunctionPackageResult & WithRequestId(Aws::String &&value)
GetSolFunctionPackageResult & AddTags(Aws::String &&key, const char *value)
GetSolFunctionPackageResult & AddTags(Aws::String &&key, const Aws::String &value)
GetSolFunctionPackageResult & WithVnfProvider(const char *value)
GetSolFunctionPackageResult & AddTags(const char *key, const char *value)
GetSolFunctionPackageResult & WithId(const Aws::String &value)
void SetMetadata(GetSolFunctionPackageMetadata &&value)
GetSolFunctionPackageResult & WithOperationalState(const OperationalState &value)
GetSolFunctionPackageResult & WithVnfdVersion(const char *value)
GetSolFunctionPackageResult & WithVnfProvider(const Aws::String &value)
void SetOperationalState(const OperationalState &value)
AWS_TNB_API GetSolFunctionPackageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSolFunctionPackageResult & WithArn(const char *value)
GetSolFunctionPackageResult & AddTags(const char *key, Aws::String &&value)
GetSolFunctionPackageResult & WithVnfProductName(const Aws::String &value)
void SetMetadata(const GetSolFunctionPackageMetadata &value)
GetSolFunctionPackageResult & WithVnfProductName(Aws::String &&value)
GetSolFunctionPackageResult & WithVnfProvider(Aws::String &&value)
GetSolFunctionPackageResult & WithRequestId(const Aws::String &value)
GetSolFunctionPackageResult & WithVnfdVersion(Aws::String &&value)
GetSolFunctionPackageResult & WithVnfdId(const char *value)
GetSolFunctionPackageResult & WithMetadata(const GetSolFunctionPackageMetadata &value)
GetSolFunctionPackageResult & WithRequestId(const char *value)
GetSolFunctionPackageResult & WithOperationalState(OperationalState &&value)
GetSolFunctionPackageResult & WithMetadata(GetSolFunctionPackageMetadata &&value)
GetSolFunctionPackageResult & AddTags(const Aws::String &key, Aws::String &&value)
GetSolFunctionPackageResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetSolFunctionPackageResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetSolFunctionPackageResult & AddTags(Aws::String &&key, Aws::String &&value)
AWS_TNB_API GetSolFunctionPackageResult(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
Aws::Utils::Json::JsonValue JsonValue