170 lines
5.1 KiB
C
170 lines
5.1 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/dms/model/AvailabilityZone.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace DatabaseMigrationService
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>In response to a request by the <code>DescribeReplicationSubnetGroup</code>
|
|||
|
|
* operation, this object identifies a subnet by its given Availability Zone,
|
|||
|
|
* subnet identifier, and status.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Subnet">AWS API
|
|||
|
|
* Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_DATABASEMIGRATIONSERVICE_API Subnet
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
Subnet();
|
|||
|
|
Subnet(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Subnet& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The subnet identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetSubnetIdentifier() const{ return m_subnetIdentifier; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The subnet identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool SubnetIdentifierHasBeenSet() const { return m_subnetIdentifierHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The subnet identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSubnetIdentifier(const Aws::String& value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The subnet identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSubnetIdentifier(Aws::String&& value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The subnet identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSubnetIdentifier(const char* value) { m_subnetIdentifierHasBeenSet = true; m_subnetIdentifier.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The subnet identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline Subnet& WithSubnetIdentifier(const Aws::String& value) { SetSubnetIdentifier(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The subnet identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline Subnet& WithSubnetIdentifier(Aws::String&& value) { SetSubnetIdentifier(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The subnet identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline Subnet& WithSubnetIdentifier(const char* value) { SetSubnetIdentifier(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Availability Zone of the subnet.</p>
|
|||
|
|
*/
|
|||
|
|
inline const AvailabilityZone& GetSubnetAvailabilityZone() const{ return m_subnetAvailabilityZone; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Availability Zone of the subnet.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool SubnetAvailabilityZoneHasBeenSet() const { return m_subnetAvailabilityZoneHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Availability Zone of the subnet.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSubnetAvailabilityZone(const AvailabilityZone& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Availability Zone of the subnet.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSubnetAvailabilityZone(AvailabilityZone&& value) { m_subnetAvailabilityZoneHasBeenSet = true; m_subnetAvailabilityZone = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Availability Zone of the subnet.</p>
|
|||
|
|
*/
|
|||
|
|
inline Subnet& WithSubnetAvailabilityZone(const AvailabilityZone& value) { SetSubnetAvailabilityZone(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Availability Zone of the subnet.</p>
|
|||
|
|
*/
|
|||
|
|
inline Subnet& WithSubnetAvailabilityZone(AvailabilityZone&& value) { SetSubnetAvailabilityZone(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the subnet.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetSubnetStatus() const{ return m_subnetStatus; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the subnet.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool SubnetStatusHasBeenSet() const { return m_subnetStatusHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the subnet.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSubnetStatus(const Aws::String& value) { m_subnetStatusHasBeenSet = true; m_subnetStatus = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the subnet.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSubnetStatus(Aws::String&& value) { m_subnetStatusHasBeenSet = true; m_subnetStatus = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the subnet.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSubnetStatus(const char* value) { m_subnetStatusHasBeenSet = true; m_subnetStatus.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the subnet.</p>
|
|||
|
|
*/
|
|||
|
|
inline Subnet& WithSubnetStatus(const Aws::String& value) { SetSubnetStatus(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the subnet.</p>
|
|||
|
|
*/
|
|||
|
|
inline Subnet& WithSubnetStatus(Aws::String&& value) { SetSubnetStatus(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the subnet.</p>
|
|||
|
|
*/
|
|||
|
|
inline Subnet& WithSubnetStatus(const char* value) { SetSubnetStatus(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_subnetIdentifier;
|
|||
|
|
bool m_subnetIdentifierHasBeenSet;
|
|||
|
|
|
|||
|
|
AvailabilityZone m_subnetAvailabilityZone;
|
|||
|
|
bool m_subnetAvailabilityZoneHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_subnetStatus;
|
|||
|
|
bool m_subnetStatusHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace DatabaseMigrationService
|
|||
|
|
} // namespace Aws
|