File: C:/Users/fred/anaconda3/Library/include/aws/cognito-identity/model/IdentityPoolShortDescription.h
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace CognitoIdentity
{
namespace Model
{
/**
* <p>A description of the identity pool.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/IdentityPoolShortDescription">AWS
* API Reference</a></p>
*/
class IdentityPoolShortDescription
{
public:
AWS_COGNITOIDENTITY_API IdentityPoolShortDescription();
AWS_COGNITOIDENTITY_API IdentityPoolShortDescription(Aws::Utils::Json::JsonView jsonValue);
AWS_COGNITOIDENTITY_API IdentityPoolShortDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_COGNITOIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>An identity pool ID in the format REGION:GUID.</p>
*/
inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
/**
* <p>An identity pool ID in the format REGION:GUID.</p>
*/
inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
/**
* <p>An identity pool ID in the format REGION:GUID.</p>
*/
inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
/**
* <p>An identity pool ID in the format REGION:GUID.</p>
*/
inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
/**
* <p>An identity pool ID in the format REGION:GUID.</p>
*/
inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
/**
* <p>An identity pool ID in the format REGION:GUID.</p>
*/
inline IdentityPoolShortDescription& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
/**
* <p>An identity pool ID in the format REGION:GUID.</p>
*/
inline IdentityPoolShortDescription& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
/**
* <p>An identity pool ID in the format REGION:GUID.</p>
*/
inline IdentityPoolShortDescription& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
/**
* <p>A string that you provide.</p>
*/
inline const Aws::String& GetIdentityPoolName() const{ return m_identityPoolName; }
/**
* <p>A string that you provide.</p>
*/
inline bool IdentityPoolNameHasBeenSet() const { return m_identityPoolNameHasBeenSet; }
/**
* <p>A string that you provide.</p>
*/
inline void SetIdentityPoolName(const Aws::String& value) { m_identityPoolNameHasBeenSet = true; m_identityPoolName = value; }
/**
* <p>A string that you provide.</p>
*/
inline void SetIdentityPoolName(Aws::String&& value) { m_identityPoolNameHasBeenSet = true; m_identityPoolName = std::move(value); }
/**
* <p>A string that you provide.</p>
*/
inline void SetIdentityPoolName(const char* value) { m_identityPoolNameHasBeenSet = true; m_identityPoolName.assign(value); }
/**
* <p>A string that you provide.</p>
*/
inline IdentityPoolShortDescription& WithIdentityPoolName(const Aws::String& value) { SetIdentityPoolName(value); return *this;}
/**
* <p>A string that you provide.</p>
*/
inline IdentityPoolShortDescription& WithIdentityPoolName(Aws::String&& value) { SetIdentityPoolName(std::move(value)); return *this;}
/**
* <p>A string that you provide.</p>
*/
inline IdentityPoolShortDescription& WithIdentityPoolName(const char* value) { SetIdentityPoolName(value); return *this;}
private:
Aws::String m_identityPoolId;
bool m_identityPoolIdHasBeenSet = false;
Aws::String m_identityPoolName;
bool m_identityPoolNameHasBeenSet = false;
};
} // namespace Model
} // namespace CognitoIdentity
} // namespace Aws