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/resource-groups/ResourceGroups_EXPORTS.h>
11#include <aws/resource-groups/model/Group.h>
12#include <aws/resource-groups/model/GroupConfiguration.h>
13#include <aws/resource-groups/model/ResourceQuery.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace ResourceGroups {
39 template <
typename GroupT = Group>
41 m_groupHasBeenSet =
true;
42 m_group = std::forward<GroupT>(value);
44 template <
typename GroupT = Group>
46 SetGroup(std::forward<GroupT>(value));
59 template <
typename ResourceQueryT = ResourceQuery>
61 m_resourceQueryHasBeenSet =
true;
62 m_resourceQuery = std::forward<ResourceQueryT>(value);
64 template <
typename ResourceQueryT = ResourceQuery>
76 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
78 m_tagsHasBeenSet =
true;
79 m_tags = std::forward<TagsT>(value);
81 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
83 SetTags(std::forward<TagsT>(value));
86 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
88 m_tagsHasBeenSet =
true;
89 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
102 template <
typename GroupConfigurationT = GroupConfiguration>
104 m_groupConfigurationHasBeenSet =
true;
105 m_groupConfiguration = std::forward<GroupConfigurationT>(value);
107 template <
typename GroupConfigurationT = GroupConfiguration>
117 template <
typename RequestIdT = Aws::String>
119 m_requestIdHasBeenSet =
true;
120 m_requestId = std::forward<RequestIdT>(value);
122 template <
typename RequestIdT = Aws::String>
141 bool m_groupHasBeenSet =
false;
142 bool m_resourceQueryHasBeenSet =
false;
143 bool m_tagsHasBeenSet =
false;
144 bool m_groupConfigurationHasBeenSet =
false;
145 bool m_requestIdHasBeenSet =
false;
void SetGroup(GroupT &&value)
CreateGroupResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const GroupConfiguration & GetGroupConfiguration() const
CreateGroupResult & WithGroupConfiguration(GroupConfigurationT &&value)
void SetTags(TagsT &&value)
AWS_RESOURCEGROUPS_API CreateGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGroupResult & WithRequestId(RequestIdT &&value)
const Group & GetGroup() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_RESOURCEGROUPS_API CreateGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ResourceQuery & GetResourceQuery() const
void SetGroupConfiguration(GroupConfigurationT &&value)
CreateGroupResult & WithGroup(GroupT &&value)
CreateGroupResult & WithTags(TagsT &&value)
void SetResourceQuery(ResourceQueryT &&value)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
CreateGroupResult & WithResourceQuery(ResourceQueryT &&value)
AWS_RESOURCEGROUPS_API CreateGroupResult()=default
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