7#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
8#include <aws/resource-groups/ResourceGroupsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/resource-groups/model/ResourceQuery.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/resource-groups/model/GroupConfigurationItem.h>
18namespace ResourceGroups
51 template<
typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
64 template<
typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
66 template<
typename DescriptionT = Aws::String>
81 template<
typename ResourceQueryT = ResourceQuery>
82 void SetResourceQuery(ResourceQueryT&& value) { m_resourceQueryHasBeenSet =
true; m_resourceQuery = std::forward<ResourceQueryT>(value); }
83 template<
typename ResourceQueryT = ResourceQuery>
93 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
94 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
95 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
97 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
99 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
116 template<
typename ConfigurationT = Aws::Vector<GroupConfigurationItem>>
117 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
118 template<
typename ConfigurationT = Aws::Vector<GroupConfigurationItem>>
120 template<
typename ConfigurationT = GroupConfigurationItem>
131 inline void SetCriticality(
int value) { m_criticalityHasBeenSet =
true; m_criticality = value; }
142 template<
typename OwnerT = Aws::String>
143 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
144 template<
typename OwnerT = Aws::String>
154 template<
typename DisplayNameT = Aws::String>
155 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
156 template<
typename DisplayNameT = Aws::String>
162 bool m_nameHasBeenSet =
false;
165 bool m_descriptionHasBeenSet =
false;
168 bool m_resourceQueryHasBeenSet =
false;
171 bool m_tagsHasBeenSet =
false;
174 bool m_configurationHasBeenSet =
false;
176 int m_criticality{0};
177 bool m_criticalityHasBeenSet =
false;
180 bool m_ownerHasBeenSet =
false;
183 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