7#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
22namespace ResourceGroups
45 AWS_RESOURCEGROUPS_API
Group() =
default;
57 template<
typename GroupArnT = Aws::String>
58 void SetGroupArn(GroupArnT&& value) { m_groupArnHasBeenSet =
true; m_groupArn = std::forward<GroupArnT>(value); }
59 template<
typename GroupArnT = Aws::String>
69 template<
typename NameT = Aws::String>
70 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
71 template<
typename NameT = Aws::String>
81 template<
typename DescriptionT = Aws::String>
82 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
83 template<
typename DescriptionT = Aws::String>
94 inline void SetCriticality(
int value) { m_criticalityHasBeenSet =
true; m_criticality = value; }
105 template<
typename OwnerT = Aws::String>
106 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
107 template<
typename OwnerT = Aws::String>
117 template<
typename DisplayNameT = Aws::String>
118 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
119 template<
typename DisplayNameT = Aws::String>
130 template<
typename ApplicationTagT = Aws::Map<Aws::String, Aws::String>>
131 void SetApplicationTag(ApplicationTagT&& value) { m_applicationTagHasBeenSet =
true; m_applicationTag = std::forward<ApplicationTagT>(value); }
132 template<
typename ApplicationTagT = Aws::Map<Aws::String, Aws::String>>
134 template<
typename ApplicationTagKeyT = Aws::String,
typename ApplicationTagValueT = Aws::String>
136 m_applicationTagHasBeenSet =
true; m_applicationTag.emplace(std::forward<ApplicationTagKeyT>(key), std::forward<ApplicationTagValueT>(value));
return *
this;
142 bool m_groupArnHasBeenSet =
false;
145 bool m_nameHasBeenSet =
false;
148 bool m_descriptionHasBeenSet =
false;
150 int m_criticality{0};
151 bool m_criticalityHasBeenSet =
false;
154 bool m_ownerHasBeenSet =
false;
157 bool m_displayNameHasBeenSet =
false;
160 bool m_applicationTagHasBeenSet =
false;
bool DescriptionHasBeenSet() const
void SetGroupArn(GroupArnT &&value)
bool ApplicationTagHasBeenSet() const
const Aws::String & GetOwner() const
const Aws::String & GetName() const
Group & WithOwner(OwnerT &&value)
bool DisplayNameHasBeenSet() const
Group & WithGroupArn(GroupArnT &&value)
bool CriticalityHasBeenSet() const
bool GroupArnHasBeenSet() const
Group & WithApplicationTag(ApplicationTagT &&value)
bool NameHasBeenSet() const
int GetCriticality() const
AWS_RESOURCEGROUPS_API Group()=default
void SetDescription(DescriptionT &&value)
Group & WithDisplayName(DisplayNameT &&value)
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetDisplayName() const
Group & AddApplicationTag(ApplicationTagKeyT &&key, ApplicationTagValueT &&value)
Group & WithDescription(DescriptionT &&value)
void SetOwner(OwnerT &&value)
Group & WithCriticality(int value)
AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetGroupArn() const
const Aws::Map< Aws::String, Aws::String > & GetApplicationTag() const
void SetName(NameT &&value)
AWS_RESOURCEGROUPS_API Group & operator=(Aws::Utils::Json::JsonView jsonValue)
Group & WithName(NameT &&value)
void SetCriticality(int value)
bool OwnerHasBeenSet() const
const Aws::String & GetDescription() const
AWS_RESOURCEGROUPS_API Group(Aws::Utils::Json::JsonView jsonValue)
void SetApplicationTag(ApplicationTagT &&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
Aws::Utils::Json::JsonValue JsonValue