7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
10#include <aws/resource-groups/model/Group.h>
11#include <aws/resource-groups/model/GroupConfiguration.h>
12#include <aws/resource-groups/model/ResourceQuery.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace ResourceGroups {
38 template <
typename GroupT = Group>
40 m_groupHasBeenSet =
true;
41 m_group = std::forward<GroupT>(value);
43 template <
typename GroupT = Group>
45 SetGroup(std::forward<GroupT>(value));
58 template <
typename ResourceQueryT = ResourceQuery>
60 m_resourceQueryHasBeenSet =
true;
61 m_resourceQuery = std::forward<ResourceQueryT>(value);
63 template <
typename ResourceQueryT = ResourceQuery>
75 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
77 m_tagsHasBeenSet =
true;
78 m_tags = std::forward<TagsT>(value);
80 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
82 SetTags(std::forward<TagsT>(value));
85 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
87 m_tagsHasBeenSet =
true;
88 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
101 template <
typename GroupConfigurationT = GroupConfiguration>
103 m_groupConfigurationHasBeenSet =
true;
104 m_groupConfiguration = std::forward<GroupConfigurationT>(value);
106 template <
typename GroupConfigurationT = GroupConfiguration>
116 template <
typename RequestIdT = Aws::String>
118 m_requestIdHasBeenSet =
true;
119 m_requestId = std::forward<RequestIdT>(value);
121 template <
typename RequestIdT = Aws::String>
137 bool m_groupHasBeenSet =
false;
138 bool m_resourceQueryHasBeenSet =
false;
139 bool m_tagsHasBeenSet =
false;
140 bool m_groupConfigurationHasBeenSet =
false;
141 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