Files

67 lines
2.2 KiB
C
Raw Permalink Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
#include <aws/cognito-idp/model/GroupType.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace CognitoIdentityProvider
{
namespace Model
{
class CreateGroupResult
{
public:
AWS_COGNITOIDENTITYPROVIDER_API CreateGroupResult();
AWS_COGNITOIDENTITYPROVIDER_API CreateGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AWS_COGNITOIDENTITYPROVIDER_API CreateGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
///@{
/**
* <p>The group object for the group.</p>
*/
inline const GroupType& GetGroup() const{ return m_group; }
inline void SetGroup(const GroupType& value) { m_group = value; }
inline void SetGroup(GroupType&& value) { m_group = std::move(value); }
inline CreateGroupResult& WithGroup(const GroupType& value) { SetGroup(value); return *this;}
inline CreateGroupResult& WithGroup(GroupType&& value) { SetGroup(std::move(value)); return *this;}
///@}
///@{
inline const Aws::String& GetRequestId() const{ return m_requestId; }
inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
inline void SetRequestId(const char* value) { m_requestId.assign(value); }
inline CreateGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
inline CreateGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
inline CreateGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
///@}
private:
GroupType m_group;
Aws::String m_requestId;
};
} // namespace Model
} // namespace CognitoIdentityProvider
} // namespace Aws