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-ec2/include/aws/ec2/model/EbsInfo.h

211 lines
7.7 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
#include <aws/ec2/model/EbsOptimizedSupport.h>
#include <aws/ec2/model/EbsEncryptionSupport.h>
#include <aws/ec2/model/EbsOptimizedInfo.h>
#include <aws/ec2/model/EbsNvmeSupport.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace EC2
{
namespace Model
{
/**
* <p>Describes the Amazon EBS features supported by the instance
* type.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsInfo">AWS API
* Reference</a></p>
*/
class AWS_EC2_API EbsInfo
{
public:
EbsInfo();
EbsInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
EbsInfo& 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>Indicates that the instance type is Amazon EBS-optimized. For more
* information, see <a
* href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html">Amazon
* EBS-Optimized Instances</a> in <i>Amazon EC2 User Guide for Linux
* Instances</i>.</p>
*/
inline const EbsOptimizedSupport& GetEbsOptimizedSupport() const{ return m_ebsOptimizedSupport; }
/**
* <p>Indicates that the instance type is Amazon EBS-optimized. For more
* information, see <a
* href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html">Amazon
* EBS-Optimized Instances</a> in <i>Amazon EC2 User Guide for Linux
* Instances</i>.</p>
*/
inline bool EbsOptimizedSupportHasBeenSet() const { return m_ebsOptimizedSupportHasBeenSet; }
/**
* <p>Indicates that the instance type is Amazon EBS-optimized. For more
* information, see <a
* href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html">Amazon
* EBS-Optimized Instances</a> in <i>Amazon EC2 User Guide for Linux
* Instances</i>.</p>
*/
inline void SetEbsOptimizedSupport(const EbsOptimizedSupport& value) { m_ebsOptimizedSupportHasBeenSet = true; m_ebsOptimizedSupport = value; }
/**
* <p>Indicates that the instance type is Amazon EBS-optimized. For more
* information, see <a
* href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html">Amazon
* EBS-Optimized Instances</a> in <i>Amazon EC2 User Guide for Linux
* Instances</i>.</p>
*/
inline void SetEbsOptimizedSupport(EbsOptimizedSupport&& value) { m_ebsOptimizedSupportHasBeenSet = true; m_ebsOptimizedSupport = std::move(value); }
/**
* <p>Indicates that the instance type is Amazon EBS-optimized. For more
* information, see <a
* href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html">Amazon
* EBS-Optimized Instances</a> in <i>Amazon EC2 User Guide for Linux
* Instances</i>.</p>
*/
inline EbsInfo& WithEbsOptimizedSupport(const EbsOptimizedSupport& value) { SetEbsOptimizedSupport(value); return *this;}
/**
* <p>Indicates that the instance type is Amazon EBS-optimized. For more
* information, see <a
* href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html">Amazon
* EBS-Optimized Instances</a> in <i>Amazon EC2 User Guide for Linux
* Instances</i>.</p>
*/
inline EbsInfo& WithEbsOptimizedSupport(EbsOptimizedSupport&& value) { SetEbsOptimizedSupport(std::move(value)); return *this;}
/**
* <p>Indicates whether Amazon EBS encryption is supported.</p>
*/
inline const EbsEncryptionSupport& GetEncryptionSupport() const{ return m_encryptionSupport; }
/**
* <p>Indicates whether Amazon EBS encryption is supported.</p>
*/
inline bool EncryptionSupportHasBeenSet() const { return m_encryptionSupportHasBeenSet; }
/**
* <p>Indicates whether Amazon EBS encryption is supported.</p>
*/
inline void SetEncryptionSupport(const EbsEncryptionSupport& value) { m_encryptionSupportHasBeenSet = true; m_encryptionSupport = value; }
/**
* <p>Indicates whether Amazon EBS encryption is supported.</p>
*/
inline void SetEncryptionSupport(EbsEncryptionSupport&& value) { m_encryptionSupportHasBeenSet = true; m_encryptionSupport = std::move(value); }
/**
* <p>Indicates whether Amazon EBS encryption is supported.</p>
*/
inline EbsInfo& WithEncryptionSupport(const EbsEncryptionSupport& value) { SetEncryptionSupport(value); return *this;}
/**
* <p>Indicates whether Amazon EBS encryption is supported.</p>
*/
inline EbsInfo& WithEncryptionSupport(EbsEncryptionSupport&& value) { SetEncryptionSupport(std::move(value)); return *this;}
/**
* <p>Describes the optimized EBS performance for the instance type.</p>
*/
inline const EbsOptimizedInfo& GetEbsOptimizedInfo() const{ return m_ebsOptimizedInfo; }
/**
* <p>Describes the optimized EBS performance for the instance type.</p>
*/
inline bool EbsOptimizedInfoHasBeenSet() const { return m_ebsOptimizedInfoHasBeenSet; }
/**
* <p>Describes the optimized EBS performance for the instance type.</p>
*/
inline void SetEbsOptimizedInfo(const EbsOptimizedInfo& value) { m_ebsOptimizedInfoHasBeenSet = true; m_ebsOptimizedInfo = value; }
/**
* <p>Describes the optimized EBS performance for the instance type.</p>
*/
inline void SetEbsOptimizedInfo(EbsOptimizedInfo&& value) { m_ebsOptimizedInfoHasBeenSet = true; m_ebsOptimizedInfo = std::move(value); }
/**
* <p>Describes the optimized EBS performance for the instance type.</p>
*/
inline EbsInfo& WithEbsOptimizedInfo(const EbsOptimizedInfo& value) { SetEbsOptimizedInfo(value); return *this;}
/**
* <p>Describes the optimized EBS performance for the instance type.</p>
*/
inline EbsInfo& WithEbsOptimizedInfo(EbsOptimizedInfo&& value) { SetEbsOptimizedInfo(std::move(value)); return *this;}
/**
* <p>Indicates whether non-volatile memory express (NVMe) is supported.</p>
*/
inline const EbsNvmeSupport& GetNvmeSupport() const{ return m_nvmeSupport; }
/**
* <p>Indicates whether non-volatile memory express (NVMe) is supported.</p>
*/
inline bool NvmeSupportHasBeenSet() const { return m_nvmeSupportHasBeenSet; }
/**
* <p>Indicates whether non-volatile memory express (NVMe) is supported.</p>
*/
inline void SetNvmeSupport(const EbsNvmeSupport& value) { m_nvmeSupportHasBeenSet = true; m_nvmeSupport = value; }
/**
* <p>Indicates whether non-volatile memory express (NVMe) is supported.</p>
*/
inline void SetNvmeSupport(EbsNvmeSupport&& value) { m_nvmeSupportHasBeenSet = true; m_nvmeSupport = std::move(value); }
/**
* <p>Indicates whether non-volatile memory express (NVMe) is supported.</p>
*/
inline EbsInfo& WithNvmeSupport(const EbsNvmeSupport& value) { SetNvmeSupport(value); return *this;}
/**
* <p>Indicates whether non-volatile memory express (NVMe) is supported.</p>
*/
inline EbsInfo& WithNvmeSupport(EbsNvmeSupport&& value) { SetNvmeSupport(std::move(value)); return *this;}
private:
EbsOptimizedSupport m_ebsOptimizedSupport;
bool m_ebsOptimizedSupportHasBeenSet;
EbsEncryptionSupport m_encryptionSupport;
bool m_encryptionSupportHasBeenSet;
EbsOptimizedInfo m_ebsOptimizedInfo;
bool m_ebsOptimizedInfoHasBeenSet;
EbsNvmeSupport m_nvmeSupport;
bool m_nvmeSupportHasBeenSet;
};
} // namespace Model
} // namespace EC2
} // namespace Aws