7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/networkflowmonitor/NetworkFlowMonitor_EXPORTS.h>
12#include <aws/networkflowmonitor/model/ScopeStatus.h>
13#include <aws/networkflowmonitor/model/TargetResource.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace NetworkFlowMonitor {
42 template <
typename ScopeIdT = Aws::String>
44 m_scopeIdHasBeenSet =
true;
45 m_scopeId = std::forward<ScopeIdT>(value);
47 template <
typename ScopeIdT = Aws::String>
65 m_statusHasBeenSet =
true;
79 template <
typename ScopeArnT = Aws::String>
81 m_scopeArnHasBeenSet =
true;
82 m_scopeArn = std::forward<ScopeArnT>(value);
84 template <
typename ScopeArnT = Aws::String>
98 template <
typename TargetsT = Aws::Vector<TargetResource>>
100 m_targetsHasBeenSet =
true;
101 m_targets = std::forward<TargetsT>(value);
103 template <
typename TargetsT = Aws::Vector<TargetResource>>
108 template <
typename TargetsT = TargetResource>
110 m_targetsHasBeenSet =
true;
111 m_targets.emplace_back(std::forward<TargetsT>(value));
121 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
123 m_tagsHasBeenSet =
true;
124 m_tags = std::forward<TagsT>(value);
126 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 SetTags(std::forward<TagsT>(value));
131 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
133 m_tagsHasBeenSet =
true;
134 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
142 template <
typename RequestIdT = Aws::String>
144 m_requestIdHasBeenSet =
true;
145 m_requestId = std::forward<RequestIdT>(value);
147 template <
typename RequestIdT = Aws::String>
168 bool m_scopeIdHasBeenSet =
false;
169 bool m_statusHasBeenSet =
false;
170 bool m_scopeArnHasBeenSet =
false;
171 bool m_targetsHasBeenSet =
false;
172 bool m_tagsHasBeenSet =
false;
173 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_NETWORKFLOWMONITOR_API GetScopeResult()=default
const Aws::String & GetScopeArn() const
AWS_NETWORKFLOWMONITOR_API GetScopeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< TargetResource > & GetTargets() const
void SetTargets(TargetsT &&value)
GetScopeResult & WithTags(TagsT &&value)
GetScopeResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetStatus(ScopeStatus value)
ScopeStatus GetStatus() const
AWS_NETWORKFLOWMONITOR_API GetScopeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetScopeResult & WithRequestId(RequestIdT &&value)
void SetTags(TagsT &&value)
GetScopeResult & WithScopeId(ScopeIdT &&value)
GetScopeResult & WithScopeArn(ScopeArnT &&value)
GetScopeResult & AddTargets(TargetsT &&value)
void SetScopeArn(ScopeArnT &&value)
const Aws::String & GetRequestId() const
GetScopeResult & WithTargets(TargetsT &&value)
GetScopeResult & WithStatus(ScopeStatus value)
void SetScopeId(ScopeIdT &&value)
const Aws::String & GetScopeId() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetRequestId(RequestIdT &&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