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>
21template<
typename RESULT_TYPE>
22class AmazonWebServiceResult;
48 template<
typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
50 template<
typename ArnT = Aws::String>
59 template<
typename ErrorT = ProblemDetails>
60 void SetError(ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
61 template<
typename ErrorT = ProblemDetails>
70 template<
typename IdT = Aws::String>
71 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
72 template<
typename IdT = Aws::String>
90 template<
typename MetadataT = GetSolNetworkOperationMetadata>
91 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet =
true; m_metadata = std::forward<MetadataT>(value); }
92 template<
typename MetadataT = GetSolNetworkOperationMetadata>
101 template<
typename NsInstanceIdT = Aws::String>
102 void SetNsInstanceId(NsInstanceIdT&& value) { m_nsInstanceIdHasBeenSet =
true; m_nsInstanceId = std::forward<NsInstanceIdT>(value); }
103 template<
typename NsInstanceIdT = Aws::String>
123 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
125 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
129 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
138 template<
typename TasksT = Aws::Vector<GetSolNetworkOperationTaskDetails>>
139 void SetTasks(TasksT&& value) { m_tasksHasBeenSet =
true; m_tasks = std::forward<TasksT>(value); }
140 template<
typename TasksT = Aws::Vector<GetSolNetworkOperationTaskDetails>>
142 template<
typename TasksT = GetSolNetworkOperationTaskDetails>
159 template<
typename RequestIdT = Aws::String>
160 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
161 template<
typename RequestIdT = Aws::String>
167 bool m_arnHasBeenSet =
false;
170 bool m_errorHasBeenSet =
false;
173 bool m_idHasBeenSet =
false;
176 bool m_lcmOperationTypeHasBeenSet =
false;
178 GetSolNetworkOperationMetadata m_metadata;
179 bool m_metadataHasBeenSet =
false;
182 bool m_nsInstanceIdHasBeenSet =
false;
185 bool m_operationStateHasBeenSet =
false;
188 bool m_tagsHasBeenSet =
false;
191 bool m_tasksHasBeenSet =
false;
194 bool m_updateTypeHasBeenSet =
false;
197 bool m_requestIdHasBeenSet =
false;
GetSolNetworkOperationResult & WithArn(ArnT &&value)
void SetArn(ArnT &&value)
const ProblemDetails & GetError() const
GetSolNetworkOperationResult & WithTasks(TasksT &&value)
GetSolNetworkOperationResult & WithNsInstanceId(NsInstanceIdT &&value)
void SetTags(TagsT &&value)
void SetNsInstanceId(NsInstanceIdT &&value)
const Aws::String & GetArn() const
const Aws::String & GetNsInstanceId() const
void SetRequestId(RequestIdT &&value)
GetSolNetworkOperationResult & WithTags(TagsT &&value)
AWS_TNB_API GetSolNetworkOperationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSolNetworkOperationResult & WithOperationState(NsLcmOperationState value)
LcmOperationType GetLcmOperationType() const
void SetUpdateType(UpdateSolNetworkType value)
GetSolNetworkOperationResult & WithId(IdT &&value)
void SetLcmOperationType(LcmOperationType value)
GetSolNetworkOperationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetRequestId() const
AWS_TNB_API GetSolNetworkOperationResult()=default
GetSolNetworkOperationResult & WithError(ErrorT &&value)
GetSolNetworkOperationResult & WithMetadata(MetadataT &&value)
const GetSolNetworkOperationMetadata & GetMetadata() const
GetSolNetworkOperationResult & WithLcmOperationType(LcmOperationType value)
AWS_TNB_API GetSolNetworkOperationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetError(ErrorT &&value)
NsLcmOperationState GetOperationState() const
GetSolNetworkOperationResult & WithUpdateType(UpdateSolNetworkType value)
GetSolNetworkOperationResult & AddTasks(TasksT &&value)
GetSolNetworkOperationResult & WithRequestId(RequestIdT &&value)
void SetMetadata(MetadataT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTasks(TasksT &&value)
void SetOperationState(NsLcmOperationState value)
const Aws::String & GetId() const
UpdateSolNetworkType GetUpdateType() const
const Aws::Vector< GetSolNetworkOperationTaskDetails > & GetTasks() 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue