240 lines
8.1 KiB
C++
240 lines
8.1 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/rds/RDS_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Xml
|
|
{
|
|
class XmlNode;
|
|
} // namespace Xml
|
|
} // namespace Utils
|
|
namespace RDS
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>An Active Directory Domain membership record associated with the DB instance
|
|
* or cluster.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DomainMembership">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_RDS_API DomainMembership
|
|
{
|
|
public:
|
|
DomainMembership();
|
|
DomainMembership(const Aws::Utils::Xml::XmlNode& xmlNode);
|
|
DomainMembership& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
|
|
|
|
void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
|
|
void OutputToStream(Aws::OStream& oStream, const char* location) const;
|
|
|
|
|
|
/**
|
|
* <p>The identifier of the Active Directory Domain.</p>
|
|
*/
|
|
inline const Aws::String& GetDomain() const{ return m_domain; }
|
|
|
|
/**
|
|
* <p>The identifier of the Active Directory Domain.</p>
|
|
*/
|
|
inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The identifier of the Active Directory Domain.</p>
|
|
*/
|
|
inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
|
|
|
|
/**
|
|
* <p>The identifier of the Active Directory Domain.</p>
|
|
*/
|
|
inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
|
|
|
|
/**
|
|
* <p>The identifier of the Active Directory Domain.</p>
|
|
*/
|
|
inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
|
|
|
|
/**
|
|
* <p>The identifier of the Active Directory Domain.</p>
|
|
*/
|
|
inline DomainMembership& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
|
|
|
|
/**
|
|
* <p>The identifier of the Active Directory Domain.</p>
|
|
*/
|
|
inline DomainMembership& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The identifier of the Active Directory Domain.</p>
|
|
*/
|
|
inline DomainMembership& WithDomain(const char* value) { SetDomain(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The status of the Active Directory Domain membership for the DB instance or
|
|
* cluster. Values include joined, pending-join, failed, and so on.</p>
|
|
*/
|
|
inline const Aws::String& GetStatus() const{ return m_status; }
|
|
|
|
/**
|
|
* <p>The status of the Active Directory Domain membership for the DB instance or
|
|
* cluster. Values include joined, pending-join, failed, and so on.</p>
|
|
*/
|
|
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The status of the Active Directory Domain membership for the DB instance or
|
|
* cluster. Values include joined, pending-join, failed, and so on.</p>
|
|
*/
|
|
inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
|
|
|
|
/**
|
|
* <p>The status of the Active Directory Domain membership for the DB instance or
|
|
* cluster. Values include joined, pending-join, failed, and so on.</p>
|
|
*/
|
|
inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
|
|
|
|
/**
|
|
* <p>The status of the Active Directory Domain membership for the DB instance or
|
|
* cluster. Values include joined, pending-join, failed, and so on.</p>
|
|
*/
|
|
inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
|
|
|
|
/**
|
|
* <p>The status of the Active Directory Domain membership for the DB instance or
|
|
* cluster. Values include joined, pending-join, failed, and so on.</p>
|
|
*/
|
|
inline DomainMembership& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
|
|
|
|
/**
|
|
* <p>The status of the Active Directory Domain membership for the DB instance or
|
|
* cluster. Values include joined, pending-join, failed, and so on.</p>
|
|
*/
|
|
inline DomainMembership& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The status of the Active Directory Domain membership for the DB instance or
|
|
* cluster. Values include joined, pending-join, failed, and so on.</p>
|
|
*/
|
|
inline DomainMembership& WithStatus(const char* value) { SetStatus(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The fully qualified domain name of the Active Directory Domain.</p>
|
|
*/
|
|
inline const Aws::String& GetFQDN() const{ return m_fQDN; }
|
|
|
|
/**
|
|
* <p>The fully qualified domain name of the Active Directory Domain.</p>
|
|
*/
|
|
inline bool FQDNHasBeenSet() const { return m_fQDNHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The fully qualified domain name of the Active Directory Domain.</p>
|
|
*/
|
|
inline void SetFQDN(const Aws::String& value) { m_fQDNHasBeenSet = true; m_fQDN = value; }
|
|
|
|
/**
|
|
* <p>The fully qualified domain name of the Active Directory Domain.</p>
|
|
*/
|
|
inline void SetFQDN(Aws::String&& value) { m_fQDNHasBeenSet = true; m_fQDN = std::move(value); }
|
|
|
|
/**
|
|
* <p>The fully qualified domain name of the Active Directory Domain.</p>
|
|
*/
|
|
inline void SetFQDN(const char* value) { m_fQDNHasBeenSet = true; m_fQDN.assign(value); }
|
|
|
|
/**
|
|
* <p>The fully qualified domain name of the Active Directory Domain.</p>
|
|
*/
|
|
inline DomainMembership& WithFQDN(const Aws::String& value) { SetFQDN(value); return *this;}
|
|
|
|
/**
|
|
* <p>The fully qualified domain name of the Active Directory Domain.</p>
|
|
*/
|
|
inline DomainMembership& WithFQDN(Aws::String&& value) { SetFQDN(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The fully qualified domain name of the Active Directory Domain.</p>
|
|
*/
|
|
inline DomainMembership& WithFQDN(const char* value) { SetFQDN(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The name of the IAM role to be used when making API calls to the Directory
|
|
* Service.</p>
|
|
*/
|
|
inline const Aws::String& GetIAMRoleName() const{ return m_iAMRoleName; }
|
|
|
|
/**
|
|
* <p>The name of the IAM role to be used when making API calls to the Directory
|
|
* Service.</p>
|
|
*/
|
|
inline bool IAMRoleNameHasBeenSet() const { return m_iAMRoleNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the IAM role to be used when making API calls to the Directory
|
|
* Service.</p>
|
|
*/
|
|
inline void SetIAMRoleName(const Aws::String& value) { m_iAMRoleNameHasBeenSet = true; m_iAMRoleName = value; }
|
|
|
|
/**
|
|
* <p>The name of the IAM role to be used when making API calls to the Directory
|
|
* Service.</p>
|
|
*/
|
|
inline void SetIAMRoleName(Aws::String&& value) { m_iAMRoleNameHasBeenSet = true; m_iAMRoleName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the IAM role to be used when making API calls to the Directory
|
|
* Service.</p>
|
|
*/
|
|
inline void SetIAMRoleName(const char* value) { m_iAMRoleNameHasBeenSet = true; m_iAMRoleName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the IAM role to be used when making API calls to the Directory
|
|
* Service.</p>
|
|
*/
|
|
inline DomainMembership& WithIAMRoleName(const Aws::String& value) { SetIAMRoleName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the IAM role to be used when making API calls to the Directory
|
|
* Service.</p>
|
|
*/
|
|
inline DomainMembership& WithIAMRoleName(Aws::String&& value) { SetIAMRoleName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the IAM role to be used when making API calls to the Directory
|
|
* Service.</p>
|
|
*/
|
|
inline DomainMembership& WithIAMRoleName(const char* value) { SetIAMRoleName(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_domain;
|
|
bool m_domainHasBeenSet;
|
|
|
|
Aws::String m_status;
|
|
bool m_statusHasBeenSet;
|
|
|
|
Aws::String m_fQDN;
|
|
bool m_fQDNHasBeenSet;
|
|
|
|
Aws::String m_iAMRoleName;
|
|
bool m_iAMRoleNameHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace RDS
|
|
} // namespace Aws
|