AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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:
38 AWS_TNB_API GetSolNetworkOperationResult() = default;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
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>
51 GetSolNetworkOperationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const ProblemDetails& GetError() const { return m_error; }
59 template<typename ErrorT = ProblemDetails>
60 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
61 template<typename ErrorT = ProblemDetails>
62 GetSolNetworkOperationResult& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
64
66
69 inline const Aws::String& GetId() const { return m_id; }
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>
73 GetSolNetworkOperationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
75
77
80 inline LcmOperationType GetLcmOperationType() const { return m_lcmOperationType; }
81 inline void SetLcmOperationType(LcmOperationType value) { m_lcmOperationTypeHasBeenSet = true; m_lcmOperationType = value; }
84
86
89 inline const GetSolNetworkOperationMetadata& GetMetadata() const { return m_metadata; }
90 template<typename MetadataT = GetSolNetworkOperationMetadata>
91 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
92 template<typename MetadataT = GetSolNetworkOperationMetadata>
93 GetSolNetworkOperationResult& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
95
97
100 inline const Aws::String& GetNsInstanceId() const { return m_nsInstanceId; }
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>
104 GetSolNetworkOperationResult& WithNsInstanceId(NsInstanceIdT&& value) { SetNsInstanceId(std::forward<NsInstanceIdT>(value)); return *this;}
106
108
111 inline NsLcmOperationState GetOperationState() const { return m_operationState; }
112 inline void SetOperationState(NsLcmOperationState value) { m_operationStateHasBeenSet = true; m_operationState = value; }
115
117
122 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
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>>
126 GetSolNetworkOperationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
127 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
128 GetSolNetworkOperationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
129 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
130 }
132
134
137 inline const Aws::Vector<GetSolNetworkOperationTaskDetails>& GetTasks() const { return m_tasks; }
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>>
141 GetSolNetworkOperationResult& WithTasks(TasksT&& value) { SetTasks(std::forward<TasksT>(value)); return *this;}
142 template<typename TasksT = GetSolNetworkOperationTaskDetails>
143 GetSolNetworkOperationResult& AddTasks(TasksT&& value) { m_tasksHasBeenSet = true; m_tasks.emplace_back(std::forward<TasksT>(value)); return *this; }
145
147
151 inline UpdateSolNetworkType GetUpdateType() const { return m_updateType; }
152 inline void SetUpdateType(UpdateSolNetworkType value) { m_updateTypeHasBeenSet = true; m_updateType = value; }
155
157
158 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
162 GetSolNetworkOperationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
164 private:
165
166 Aws::String m_arn;
167 bool m_arnHasBeenSet = false;
168
169 ProblemDetails m_error;
170 bool m_errorHasBeenSet = false;
171
172 Aws::String m_id;
173 bool m_idHasBeenSet = false;
174
176 bool m_lcmOperationTypeHasBeenSet = false;
177
178 GetSolNetworkOperationMetadata m_metadata;
179 bool m_metadataHasBeenSet = false;
180
181 Aws::String m_nsInstanceId;
182 bool m_nsInstanceIdHasBeenSet = false;
183
185 bool m_operationStateHasBeenSet = false;
186
188 bool m_tagsHasBeenSet = false;
189
191 bool m_tasksHasBeenSet = false;
192
194 bool m_updateTypeHasBeenSet = false;
195
196 Aws::String m_requestId;
197 bool m_requestIdHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace tnb
202} // namespace Aws
GetSolNetworkOperationResult & WithArn(ArnT &&value)
GetSolNetworkOperationResult & WithTasks(TasksT &&value)
GetSolNetworkOperationResult & WithNsInstanceId(NsInstanceIdT &&value)
GetSolNetworkOperationResult & WithTags(TagsT &&value)
AWS_TNB_API GetSolNetworkOperationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSolNetworkOperationResult & WithOperationState(NsLcmOperationState value)
GetSolNetworkOperationResult & WithId(IdT &&value)
GetSolNetworkOperationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
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)
GetSolNetworkOperationResult & WithUpdateType(UpdateSolNetworkType value)
GetSolNetworkOperationResult & AddTasks(TasksT &&value)
GetSolNetworkOperationResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() 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