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/ssm-sap/SsmSap_EXPORTS.h>
11#include <aws/ssm-sap/model/Component.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename ComponentT = Component>
40 m_componentHasBeenSet =
true;
41 m_component = std::forward<ComponentT>(value);
43 template <
typename ComponentT = Component>
55 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
57 m_tagsHasBeenSet =
true;
58 m_tags = std::forward<TagsT>(value);
60 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
62 SetTags(std::forward<TagsT>(value));
65 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
67 m_tagsHasBeenSet =
true;
68 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
76 template <
typename RequestIdT = Aws::String>
78 m_requestIdHasBeenSet =
true;
79 m_requestId = std::forward<RequestIdT>(value);
81 template <
typename RequestIdT = Aws::String>
96 bool m_componentHasBeenSet =
false;
97 bool m_tagsHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
GetComponentResult & WithRequestId(RequestIdT &&value)
AWS_SSMSAP_API GetComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SSMSAP_API GetComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetComponent(ComponentT &&value)
GetComponentResult & WithComponent(ComponentT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetComponentResult & WithTags(TagsT &&value)
const Component & GetComponent() const
void SetTags(TagsT &&value)
GetComponentResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
AWS_SSMSAP_API GetComponentResult()=default
const Aws::String & GetRequestId() 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
Aws::Utils::Json::JsonValue JsonValue