7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/resource-groups/ResourceGroupsRequest.h>
11#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
12#include <aws/resource-groups/model/GroupConfigurationItem.h>
13#include <aws/resource-groups/model/ResourceQuery.h>
18namespace ResourceGroups {
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
66 template <
typename DescriptionT = Aws::String>
68 m_descriptionHasBeenSet =
true;
69 m_description = std::forward<DescriptionT>(value);
71 template <
typename DescriptionT = Aws::String>
89 template <
typename ResourceQueryT = ResourceQuery>
91 m_resourceQueryHasBeenSet =
true;
92 m_resourceQuery = std::forward<ResourceQueryT>(value);
94 template <
typename ResourceQueryT = ResourceQuery>
107 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 m_tagsHasBeenSet =
true;
110 m_tags = std::forward<TagsT>(value);
112 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 SetTags(std::forward<TagsT>(value));
117 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
119 m_tagsHasBeenSet =
true;
120 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
138 template <
typename ConfigurationT = Aws::Vector<GroupConfigurationItem>>
140 m_configurationHasBeenSet =
true;
141 m_configuration = std::forward<ConfigurationT>(value);
143 template <
typename ConfigurationT = Aws::Vector<GroupConfigurationItem>>
148 template <
typename ConfigurationT = GroupConfigurationItem>
150 m_configurationHasBeenSet =
true;
151 m_configuration.emplace_back(std::forward<ConfigurationT>(value));
164 m_criticalityHasBeenSet =
true;
165 m_criticality = value;
180 template <
typename OwnerT = Aws::String>
182 m_ownerHasBeenSet =
true;
183 m_owner = std::forward<OwnerT>(value);
185 template <
typename OwnerT = Aws::String>
187 SetOwner(std::forward<OwnerT>(value));
198 template <
typename DisplayNameT = Aws::String>
200 m_displayNameHasBeenSet =
true;
201 m_displayName = std::forward<DisplayNameT>(value);
203 template <
typename DisplayNameT = Aws::String>
220 int m_criticality{0};
225 bool m_nameHasBeenSet =
false;
226 bool m_descriptionHasBeenSet =
false;
227 bool m_resourceQueryHasBeenSet =
false;
228 bool m_tagsHasBeenSet =
false;
229 bool m_configurationHasBeenSet =
false;
230 bool m_criticalityHasBeenSet =
false;
231 bool m_ownerHasBeenSet =
false;
232 bool m_displayNameHasBeenSet =
false;
void SetDescription(DescriptionT &&value)
AWS_RESOURCEGROUPS_API CreateGroupRequest()=default
CreateGroupRequest & WithCriticality(int value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDescription() const
int GetCriticality() const
bool OwnerHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetName() const
bool NameHasBeenSet() const
void SetConfiguration(ConfigurationT &&value)
const ResourceQuery & GetResourceQuery() const
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
CreateGroupRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_RESOURCEGROUPS_API Aws::String SerializePayload() const override
CreateGroupRequest & WithConfiguration(ConfigurationT &&value)
CreateGroupRequest & WithDisplayName(DisplayNameT &&value)
bool ResourceQueryHasBeenSet() const
CreateGroupRequest & WithName(NameT &&value)
const Aws::String & GetDisplayName() const
void SetDisplayName(DisplayNameT &&value)
bool ConfigurationHasBeenSet() const
const Aws::String & GetOwner() const
void SetOwner(OwnerT &&value)
CreateGroupRequest & WithOwner(OwnerT &&value)
bool CriticalityHasBeenSet() const
CreateGroupRequest & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetResourceQuery(ResourceQueryT &&value)
void SetCriticality(int value)
void SetName(NameT &&value)
CreateGroupRequest & WithResourceQuery(ResourceQueryT &&value)
bool DisplayNameHasBeenSet() const
CreateGroupRequest & AddConfiguration(ConfigurationT &&value)
const Aws::Vector< GroupConfigurationItem > & GetConfiguration() const
CreateGroupRequest & WithDescription(DescriptionT &&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