7#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
8#include <aws/resource-groups/model/Group.h>
9#include <aws/resource-groups/model/ResourceQuery.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/resource-groups/model/GroupConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
27namespace ResourceGroups
44 template<
typename GroupT = Group>
45 void SetGroup(GroupT&& value) { m_groupHasBeenSet =
true; m_group = std::forward<GroupT>(value); }
46 template<
typename GroupT = Group>
58 template<
typename ResourceQueryT = ResourceQuery>
59 void SetResourceQuery(ResourceQueryT&& value) { m_resourceQueryHasBeenSet =
true; m_resourceQuery = std::forward<ResourceQueryT>(value); }
60 template<
typename ResourceQueryT = ResourceQuery>
69 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
70 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
71 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
73 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
75 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
87 template<
typename GroupConfigurationT = GroupConfiguration>
88 void SetGroupConfiguration(GroupConfigurationT&& value) { m_groupConfigurationHasBeenSet =
true; m_groupConfiguration = std::forward<GroupConfigurationT>(value); }
89 template<
typename GroupConfigurationT = GroupConfiguration>
96 template<
typename RequestIdT = Aws::String>
97 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
98 template<
typename RequestIdT = Aws::String>
104 bool m_groupHasBeenSet =
false;
107 bool m_resourceQueryHasBeenSet =
false;
110 bool m_tagsHasBeenSet =
false;
113 bool m_groupConfigurationHasBeenSet =
false;
116 bool m_requestIdHasBeenSet =
false;
void SetGroup(GroupT &&value)
CreateGroupResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
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