AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSolNetworkOperationResult.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/ProblemDetails.h>
10#include <aws/tnb/model/LcmOperationType.h>
11#include <aws/tnb/model/GetSolNetworkOperationMetadata.h>
12#include <aws/tnb/model/NsLcmOperationState.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/tnb/model/UpdateSolNetworkType.h>
16#include <aws/tnb/model/GetSolNetworkOperationTaskDetails.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace tnb
32{
33namespace Model
34{
36 {
37 public:
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline void SetArn(const Aws::String& value) { m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arn.assign(value); }
51 inline GetSolNetworkOperationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline GetSolNetworkOperationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline GetSolNetworkOperationResult& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const ProblemDetails& GetError() const{ return m_error; }
61 inline void SetError(const ProblemDetails& value) { m_error = value; }
62 inline void SetError(ProblemDetails&& value) { m_error = std::move(value); }
63 inline GetSolNetworkOperationResult& WithError(const ProblemDetails& value) { SetError(value); return *this;}
64 inline GetSolNetworkOperationResult& WithError(ProblemDetails&& value) { SetError(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetId() const{ return m_id; }
72 inline void SetId(const Aws::String& value) { m_id = value; }
73 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
74 inline void SetId(const char* value) { m_id.assign(value); }
75 inline GetSolNetworkOperationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
76 inline GetSolNetworkOperationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
77 inline GetSolNetworkOperationResult& WithId(const char* value) { SetId(value); return *this;}
79
81
84 inline const LcmOperationType& GetLcmOperationType() const{ return m_lcmOperationType; }
85 inline void SetLcmOperationType(const LcmOperationType& value) { m_lcmOperationType = value; }
86 inline void SetLcmOperationType(LcmOperationType&& value) { m_lcmOperationType = std::move(value); }
90
92
95 inline const GetSolNetworkOperationMetadata& GetMetadata() const{ return m_metadata; }
96 inline void SetMetadata(const GetSolNetworkOperationMetadata& value) { m_metadata = value; }
97 inline void SetMetadata(GetSolNetworkOperationMetadata&& value) { m_metadata = std::move(value); }
99 inline GetSolNetworkOperationResult& WithMetadata(GetSolNetworkOperationMetadata&& value) { SetMetadata(std::move(value)); return *this;}
101
103
106 inline const Aws::String& GetNsInstanceId() const{ return m_nsInstanceId; }
107 inline void SetNsInstanceId(const Aws::String& value) { m_nsInstanceId = value; }
108 inline void SetNsInstanceId(Aws::String&& value) { m_nsInstanceId = std::move(value); }
109 inline void SetNsInstanceId(const char* value) { m_nsInstanceId.assign(value); }
110 inline GetSolNetworkOperationResult& WithNsInstanceId(const Aws::String& value) { SetNsInstanceId(value); return *this;}
111 inline GetSolNetworkOperationResult& WithNsInstanceId(Aws::String&& value) { SetNsInstanceId(std::move(value)); return *this;}
112 inline GetSolNetworkOperationResult& WithNsInstanceId(const char* value) { SetNsInstanceId(value); return *this;}
114
116
119 inline const NsLcmOperationState& GetOperationState() const{ return m_operationState; }
120 inline void SetOperationState(const NsLcmOperationState& value) { m_operationState = value; }
121 inline void SetOperationState(NsLcmOperationState&& value) { m_operationState = std::move(value); }
125
127
132 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
133 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
134 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
136 inline GetSolNetworkOperationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
137 inline GetSolNetworkOperationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
138 inline GetSolNetworkOperationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
139 inline GetSolNetworkOperationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
140 inline GetSolNetworkOperationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
141 inline GetSolNetworkOperationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
142 inline GetSolNetworkOperationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
143 inline GetSolNetworkOperationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
145
147
150 inline const Aws::Vector<GetSolNetworkOperationTaskDetails>& GetTasks() const{ return m_tasks; }
151 inline void SetTasks(const Aws::Vector<GetSolNetworkOperationTaskDetails>& value) { m_tasks = value; }
152 inline void SetTasks(Aws::Vector<GetSolNetworkOperationTaskDetails>&& value) { m_tasks = std::move(value); }
155 inline GetSolNetworkOperationResult& AddTasks(const GetSolNetworkOperationTaskDetails& value) { m_tasks.push_back(value); return *this; }
156 inline GetSolNetworkOperationResult& AddTasks(GetSolNetworkOperationTaskDetails&& value) { m_tasks.push_back(std::move(value)); return *this; }
158
160
164 inline const UpdateSolNetworkType& GetUpdateType() const{ return m_updateType; }
165 inline void SetUpdateType(const UpdateSolNetworkType& value) { m_updateType = value; }
166 inline void SetUpdateType(UpdateSolNetworkType&& value) { m_updateType = std::move(value); }
168 inline GetSolNetworkOperationResult& WithUpdateType(UpdateSolNetworkType&& value) { SetUpdateType(std::move(value)); return *this;}
170
172
173 inline const Aws::String& GetRequestId() const{ return m_requestId; }
174 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
175 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
176 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
177 inline GetSolNetworkOperationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
178 inline GetSolNetworkOperationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
179 inline GetSolNetworkOperationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
181 private:
182
183 Aws::String m_arn;
184
185 ProblemDetails m_error;
186
187 Aws::String m_id;
188
189 LcmOperationType m_lcmOperationType;
190
192
193 Aws::String m_nsInstanceId;
194
195 NsLcmOperationState m_operationState;
196
198
200
201 UpdateSolNetworkType m_updateType;
202
203 Aws::String m_requestId;
204 };
205
206} // namespace Model
207} // namespace tnb
208} // namespace Aws
GetSolNetworkOperationResult & WithLcmOperationType(const LcmOperationType &value)
GetSolNetworkOperationResult & WithRequestId(Aws::String &&value)
void SetMetadata(GetSolNetworkOperationMetadata &&value)
GetSolNetworkOperationResult & WithId(const Aws::String &value)
GetSolNetworkOperationResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetSolNetworkOperationResult & AddTags(Aws::String &&key, Aws::String &&value)
GetSolNetworkOperationResult & WithUpdateType(UpdateSolNetworkType &&value)
GetSolNetworkOperationResult & AddTags(const Aws::String &key, Aws::String &&value)
GetSolNetworkOperationResult & WithNsInstanceId(const char *value)
void SetTasks(const Aws::Vector< GetSolNetworkOperationTaskDetails > &value)
void SetOperationState(const NsLcmOperationState &value)
GetSolNetworkOperationResult & WithId(const char *value)
GetSolNetworkOperationResult & WithLcmOperationType(LcmOperationType &&value)
GetSolNetworkOperationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetSolNetworkOperationResult & WithError(ProblemDetails &&value)
GetSolNetworkOperationResult & WithOperationState(const NsLcmOperationState &value)
GetSolNetworkOperationResult & WithTasks(Aws::Vector< GetSolNetworkOperationTaskDetails > &&value)
AWS_TNB_API GetSolNetworkOperationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSolNetworkOperationResult & WithRequestId(const char *value)
GetSolNetworkOperationResult & AddTasks(const GetSolNetworkOperationTaskDetails &value)
void SetMetadata(const GetSolNetworkOperationMetadata &value)
GetSolNetworkOperationResult & WithId(Aws::String &&value)
GetSolNetworkOperationResult & AddTags(Aws::String &&key, const char *value)
GetSolNetworkOperationResult & WithOperationState(NsLcmOperationState &&value)
GetSolNetworkOperationResult & AddTasks(GetSolNetworkOperationTaskDetails &&value)
GetSolNetworkOperationResult & WithNsInstanceId(Aws::String &&value)
GetSolNetworkOperationResult & WithArn(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetSolNetworkOperationResult & WithMetadata(const GetSolNetworkOperationMetadata &value)
const GetSolNetworkOperationMetadata & GetMetadata() const
GetSolNetworkOperationResult & WithTasks(const Aws::Vector< GetSolNetworkOperationTaskDetails > &value)
GetSolNetworkOperationResult & AddTags(const char *key, const char *value)
GetSolNetworkOperationResult & WithUpdateType(const UpdateSolNetworkType &value)
GetSolNetworkOperationResult & WithRequestId(const Aws::String &value)
AWS_TNB_API GetSolNetworkOperationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSolNetworkOperationResult & WithArn(const Aws::String &value)
GetSolNetworkOperationResult & WithMetadata(GetSolNetworkOperationMetadata &&value)
GetSolNetworkOperationResult & WithNsInstanceId(const Aws::String &value)
GetSolNetworkOperationResult & AddTags(const char *key, Aws::String &&value)
void SetLcmOperationType(const LcmOperationType &value)
void SetUpdateType(const UpdateSolNetworkType &value)
GetSolNetworkOperationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetSolNetworkOperationResult & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Vector< GetSolNetworkOperationTaskDetails > & GetTasks() const
GetSolNetworkOperationResult & WithError(const ProblemDetails &value)
GetSolNetworkOperationResult & WithArn(Aws::String &&value)
void SetTasks(Aws::Vector< GetSolNetworkOperationTaskDetails > &&value)
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