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

The group object for the group.

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

The group object for the group.

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

The group object for the group.

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

The group object for the group.

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

The group object for the group.

*/ inline CreateGroupResult& WithGroup(GroupType&& value) { SetGroup(std::move(value)); return *this;} private: GroupType m_group; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws