/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ResourceGroups { namespace Model { class AWS_RESOURCEGROUPS_API CreateGroupResult { public: CreateGroupResult(); CreateGroupResult(const Aws::AmazonWebServiceResult& result); CreateGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The description of the resource group.

*/ inline const Group& GetGroup() const{ return m_group; } /** *

The description of the resource group.

*/ inline void SetGroup(const Group& value) { m_group = value; } /** *

The description of the resource group.

*/ inline void SetGroup(Group&& value) { m_group = std::move(value); } /** *

The description of the resource group.

*/ inline CreateGroupResult& WithGroup(const Group& value) { SetGroup(value); return *this;} /** *

The description of the resource group.

*/ inline CreateGroupResult& WithGroup(Group&& value) { SetGroup(std::move(value)); return *this;} /** *

The resource query associated with the group.

*/ inline const ResourceQuery& GetResourceQuery() const{ return m_resourceQuery; } /** *

The resource query associated with the group.

*/ inline void SetResourceQuery(const ResourceQuery& value) { m_resourceQuery = value; } /** *

The resource query associated with the group.

*/ inline void SetResourceQuery(ResourceQuery&& value) { m_resourceQuery = std::move(value); } /** *

The resource query associated with the group.

*/ inline CreateGroupResult& WithResourceQuery(const ResourceQuery& value) { SetResourceQuery(value); return *this;} /** *

The resource query associated with the group.

*/ inline CreateGroupResult& WithResourceQuery(ResourceQuery&& value) { SetResourceQuery(std::move(value)); return *this;} /** *

The tags associated with the group.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags associated with the group.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

The tags associated with the group.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

The tags associated with the group.

*/ inline CreateGroupResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags associated with the group.

*/ inline CreateGroupResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags associated with the group.

*/ inline CreateGroupResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The tags associated with the group.

*/ inline CreateGroupResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags associated with the group.

*/ inline CreateGroupResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags associated with the group.

*/ inline CreateGroupResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags associated with the group.

*/ inline CreateGroupResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags associated with the group.

*/ inline CreateGroupResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags associated with the group.

*/ inline CreateGroupResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

The service configuration associated with the resource group. AWS Resource * Groups supports adding service configurations for the following resource group * types:

*/ inline const GroupConfiguration& GetGroupConfiguration() const{ return m_groupConfiguration; } /** *

The service configuration associated with the resource group. AWS Resource * Groups supports adding service configurations for the following resource group * types:

*/ inline void SetGroupConfiguration(const GroupConfiguration& value) { m_groupConfiguration = value; } /** *

The service configuration associated with the resource group. AWS Resource * Groups supports adding service configurations for the following resource group * types:

*/ inline void SetGroupConfiguration(GroupConfiguration&& value) { m_groupConfiguration = std::move(value); } /** *

The service configuration associated with the resource group. AWS Resource * Groups supports adding service configurations for the following resource group * types:

*/ inline CreateGroupResult& WithGroupConfiguration(const GroupConfiguration& value) { SetGroupConfiguration(value); return *this;} /** *

The service configuration associated with the resource group. AWS Resource * Groups supports adding service configurations for the following resource group * types:

*/ inline CreateGroupResult& WithGroupConfiguration(GroupConfiguration&& value) { SetGroupConfiguration(std::move(value)); return *this;} private: Group m_group; ResourceQuery m_resourceQuery; Aws::Map m_tags; GroupConfiguration m_groupConfiguration; }; } // namespace Model } // namespace ResourceGroups } // namespace Aws