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
53 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
68 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
107 inline CreateGroupRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
138 inline void SetCriticality(
int value) { m_criticalityHasBeenSet =
true; m_criticality = value; }
151 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
165 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
173 bool m_nameHasBeenSet =
false;
176 bool m_descriptionHasBeenSet =
false;
179 bool m_resourceQueryHasBeenSet =
false;
182 bool m_tagsHasBeenSet =
false;
185 bool m_configurationHasBeenSet =
false;
188 bool m_criticalityHasBeenSet =
false;
191 bool m_ownerHasBeenSet =
false;
194 bool m_displayNameHasBeenSet =
false;
void SetDescription(Aws::String &&value)
CreateGroupRequest & AddConfiguration(const GroupConfigurationItem &value)
CreateGroupRequest & WithName(const Aws::String &value)
CreateGroupRequest & WithDescription(Aws::String &&value)
void SetConfiguration(const Aws::Vector< GroupConfigurationItem > &value)
CreateGroupRequest & WithOwner(const char *value)
CreateGroupRequest & AddConfiguration(GroupConfigurationItem &&value)
CreateGroupRequest & WithName(Aws::String &&value)
AWS_RESOURCEGROUPS_API CreateGroupRequest()
CreateGroupRequest & WithConfiguration(const Aws::Vector< GroupConfigurationItem > &value)
CreateGroupRequest & WithCriticality(int value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDescription() const
int GetCriticality() const
bool OwnerHasBeenSet() const
CreateGroupRequest & AddTags(Aws::String &&key, Aws::String &&value)
bool DescriptionHasBeenSet() const
CreateGroupRequest & WithDescription(const Aws::String &value)
CreateGroupRequest & WithResourceQuery(ResourceQuery &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
void SetDisplayName(Aws::String &&value)
void SetOwner(Aws::String &&value)
const ResourceQuery & GetResourceQuery() const
CreateGroupRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetResourceQuery(ResourceQuery &&value)
void SetName(const Aws::String &value)
bool TagsHasBeenSet() const
CreateGroupRequest & AddTags(Aws::String &&key, const char *value)
CreateGroupRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDescription(const char *value)
AWS_RESOURCEGROUPS_API Aws::String SerializePayload() const override
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateGroupRequest & WithDisplayName(const Aws::String &value)
void SetConfiguration(Aws::Vector< GroupConfigurationItem > &&value)
CreateGroupRequest & WithResourceQuery(const ResourceQuery &value)
void SetName(Aws::String &&value)
CreateGroupRequest & WithDisplayName(Aws::String &&value)
CreateGroupRequest & AddTags(const char *key, Aws::String &&value)
void SetOwner(const Aws::String &value)
bool ResourceQueryHasBeenSet() const
CreateGroupRequest & WithDisplayName(const char *value)
const Aws::String & GetDisplayName() const
CreateGroupRequest & WithName(const char *value)
void SetName(const char *value)
CreateGroupRequest & WithOwner(Aws::String &&value)
void SetResourceQuery(const ResourceQuery &value)
bool ConfigurationHasBeenSet() const
const Aws::String & GetOwner() const
CreateGroupRequest & AddTags(const char *key, const char *value)
CreateGroupRequest & AddTags(const Aws::String &key, Aws::String &&value)
bool CriticalityHasBeenSet() const
CreateGroupRequest & WithOwner(const Aws::String &value)
CreateGroupRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateGroupRequest & WithConfiguration(Aws::Vector< GroupConfigurationItem > &&value)
void SetCriticality(int value)
void SetDisplayName(const Aws::String &value)
bool DisplayNameHasBeenSet() const
CreateGroupRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateGroupRequest & WithDescription(const char *value)
const Aws::Vector< GroupConfigurationItem > & GetConfiguration() const
void SetDisplayName(const char *value)
void SetOwner(const char *value)
void SetDescription(const Aws::String &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