This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-iam/include/aws/iam/model/GetSAMLProviderResult.h

167 lines
5.3 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iam/IAM_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <aws/iam/model/ResponseMetadata.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace IAM
{
namespace Model
{
/**
* <p>Contains the response to a successful <a>GetSAMLProvider</a> request.
* </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSAMLProviderResponse">AWS
* API Reference</a></p>
*/
class AWS_IAM_API GetSAMLProviderResult
{
public:
GetSAMLProviderResult();
GetSAMLProviderResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetSAMLProviderResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>The XML metadata document that includes information about an identity
* provider.</p>
*/
inline const Aws::String& GetSAMLMetadataDocument() const{ return m_sAMLMetadataDocument; }
/**
* <p>The XML metadata document that includes information about an identity
* provider.</p>
*/
inline void SetSAMLMetadataDocument(const Aws::String& value) { m_sAMLMetadataDocument = value; }
/**
* <p>The XML metadata document that includes information about an identity
* provider.</p>
*/
inline void SetSAMLMetadataDocument(Aws::String&& value) { m_sAMLMetadataDocument = std::move(value); }
/**
* <p>The XML metadata document that includes information about an identity
* provider.</p>
*/
inline void SetSAMLMetadataDocument(const char* value) { m_sAMLMetadataDocument.assign(value); }
/**
* <p>The XML metadata document that includes information about an identity
* provider.</p>
*/
inline GetSAMLProviderResult& WithSAMLMetadataDocument(const Aws::String& value) { SetSAMLMetadataDocument(value); return *this;}
/**
* <p>The XML metadata document that includes information about an identity
* provider.</p>
*/
inline GetSAMLProviderResult& WithSAMLMetadataDocument(Aws::String&& value) { SetSAMLMetadataDocument(std::move(value)); return *this;}
/**
* <p>The XML metadata document that includes information about an identity
* provider.</p>
*/
inline GetSAMLProviderResult& WithSAMLMetadataDocument(const char* value) { SetSAMLMetadataDocument(value); return *this;}
/**
* <p>The date and time when the SAML provider was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
/**
* <p>The date and time when the SAML provider was created.</p>
*/
inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDate = value; }
/**
* <p>The date and time when the SAML provider was created.</p>
*/
inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDate = std::move(value); }
/**
* <p>The date and time when the SAML provider was created.</p>
*/
inline GetSAMLProviderResult& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
/**
* <p>The date and time when the SAML provider was created.</p>
*/
inline GetSAMLProviderResult& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;}
/**
* <p>The expiration date and time for the SAML provider.</p>
*/
inline const Aws::Utils::DateTime& GetValidUntil() const{ return m_validUntil; }
/**
* <p>The expiration date and time for the SAML provider.</p>
*/
inline void SetValidUntil(const Aws::Utils::DateTime& value) { m_validUntil = value; }
/**
* <p>The expiration date and time for the SAML provider.</p>
*/
inline void SetValidUntil(Aws::Utils::DateTime&& value) { m_validUntil = std::move(value); }
/**
* <p>The expiration date and time for the SAML provider.</p>
*/
inline GetSAMLProviderResult& WithValidUntil(const Aws::Utils::DateTime& value) { SetValidUntil(value); return *this;}
/**
* <p>The expiration date and time for the SAML provider.</p>
*/
inline GetSAMLProviderResult& WithValidUntil(Aws::Utils::DateTime&& value) { SetValidUntil(std::move(value)); return *this;}
inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
inline GetSAMLProviderResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
inline GetSAMLProviderResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
private:
Aws::String m_sAMLMetadataDocument;
Aws::Utils::DateTime m_createDate;
Aws::Utils::DateTime m_validUntil;
ResponseMetadata m_responseMetadata;
};
} // namespace Model
} // namespace IAM
} // namespace Aws