193 lines
6.1 KiB
C++
193 lines
6.1 KiB
C++
/**
|
|
* 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/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/cognito-idp/model/IdentityProviderTypeType.h>
|
|
#include <aws/core/utils/DateTime.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace CognitoIdentityProvider
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>A container for identity provider details.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ProviderDescription">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_COGNITOIDENTITYPROVIDER_API ProviderDescription
|
|
{
|
|
public:
|
|
ProviderDescription();
|
|
ProviderDescription(Aws::Utils::Json::JsonView jsonValue);
|
|
ProviderDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The identity provider name.</p>
|
|
*/
|
|
inline const Aws::String& GetProviderName() const{ return m_providerName; }
|
|
|
|
/**
|
|
* <p>The identity provider name.</p>
|
|
*/
|
|
inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The identity provider name.</p>
|
|
*/
|
|
inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
|
|
|
|
/**
|
|
* <p>The identity provider name.</p>
|
|
*/
|
|
inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The identity provider name.</p>
|
|
*/
|
|
inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
|
|
|
|
/**
|
|
* <p>The identity provider name.</p>
|
|
*/
|
|
inline ProviderDescription& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The identity provider name.</p>
|
|
*/
|
|
inline ProviderDescription& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The identity provider name.</p>
|
|
*/
|
|
inline ProviderDescription& WithProviderName(const char* value) { SetProviderName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The identity provider type.</p>
|
|
*/
|
|
inline const IdentityProviderTypeType& GetProviderType() const{ return m_providerType; }
|
|
|
|
/**
|
|
* <p>The identity provider type.</p>
|
|
*/
|
|
inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The identity provider type.</p>
|
|
*/
|
|
inline void SetProviderType(const IdentityProviderTypeType& value) { m_providerTypeHasBeenSet = true; m_providerType = value; }
|
|
|
|
/**
|
|
* <p>The identity provider type.</p>
|
|
*/
|
|
inline void SetProviderType(IdentityProviderTypeType&& value) { m_providerTypeHasBeenSet = true; m_providerType = std::move(value); }
|
|
|
|
/**
|
|
* <p>The identity provider type.</p>
|
|
*/
|
|
inline ProviderDescription& WithProviderType(const IdentityProviderTypeType& value) { SetProviderType(value); return *this;}
|
|
|
|
/**
|
|
* <p>The identity provider type.</p>
|
|
*/
|
|
inline ProviderDescription& WithProviderType(IdentityProviderTypeType&& value) { SetProviderType(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The date the provider was last modified.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
|
|
|
|
/**
|
|
* <p>The date the provider was last modified.</p>
|
|
*/
|
|
inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The date the provider was last modified.</p>
|
|
*/
|
|
inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
|
|
|
|
/**
|
|
* <p>The date the provider was last modified.</p>
|
|
*/
|
|
inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
|
|
|
|
/**
|
|
* <p>The date the provider was last modified.</p>
|
|
*/
|
|
inline ProviderDescription& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
|
|
|
|
/**
|
|
* <p>The date the provider was last modified.</p>
|
|
*/
|
|
inline ProviderDescription& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The date the provider was added to the user pool.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
|
|
|
|
/**
|
|
* <p>The date the provider was added to the user pool.</p>
|
|
*/
|
|
inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The date the provider was added to the user pool.</p>
|
|
*/
|
|
inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
|
|
|
|
/**
|
|
* <p>The date the provider was added to the user pool.</p>
|
|
*/
|
|
inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
|
|
|
|
/**
|
|
* <p>The date the provider was added to the user pool.</p>
|
|
*/
|
|
inline ProviderDescription& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
|
|
|
|
/**
|
|
* <p>The date the provider was added to the user pool.</p>
|
|
*/
|
|
inline ProviderDescription& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_providerName;
|
|
bool m_providerNameHasBeenSet;
|
|
|
|
IdentityProviderTypeType m_providerType;
|
|
bool m_providerTypeHasBeenSet;
|
|
|
|
Aws::Utils::DateTime m_lastModifiedDate;
|
|
bool m_lastModifiedDateHasBeenSet;
|
|
|
|
Aws::Utils::DateTime m_creationDate;
|
|
bool m_creationDateHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace CognitoIdentityProvider
|
|
} // namespace Aws
|