/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the output of the DescribeHapg action.See
* Also:
AWS
* API Reference
The ARN of the high-availability partition group.
*/ inline const Aws::String& GetHapgArn() const{ return m_hapgArn; } /** *The ARN of the high-availability partition group.
*/ inline void SetHapgArn(const Aws::String& value) { m_hapgArn = value; } /** *The ARN of the high-availability partition group.
*/ inline void SetHapgArn(Aws::String&& value) { m_hapgArn = std::move(value); } /** *The ARN of the high-availability partition group.
*/ inline void SetHapgArn(const char* value) { m_hapgArn.assign(value); } /** *The ARN of the high-availability partition group.
*/ inline DescribeHapgResult& WithHapgArn(const Aws::String& value) { SetHapgArn(value); return *this;} /** *The ARN of the high-availability partition group.
*/ inline DescribeHapgResult& WithHapgArn(Aws::String&& value) { SetHapgArn(std::move(value)); return *this;} /** *The ARN of the high-availability partition group.
*/ inline DescribeHapgResult& WithHapgArn(const char* value) { SetHapgArn(value); return *this;} /** *The serial number of the high-availability partition group.
*/ inline const Aws::String& GetHapgSerial() const{ return m_hapgSerial; } /** *The serial number of the high-availability partition group.
*/ inline void SetHapgSerial(const Aws::String& value) { m_hapgSerial = value; } /** *The serial number of the high-availability partition group.
*/ inline void SetHapgSerial(Aws::String&& value) { m_hapgSerial = std::move(value); } /** *The serial number of the high-availability partition group.
*/ inline void SetHapgSerial(const char* value) { m_hapgSerial.assign(value); } /** *The serial number of the high-availability partition group.
*/ inline DescribeHapgResult& WithHapgSerial(const Aws::String& value) { SetHapgSerial(value); return *this;} /** *The serial number of the high-availability partition group.
*/ inline DescribeHapgResult& WithHapgSerial(Aws::String&& value) { SetHapgSerial(std::move(value)); return *this;} /** *The serial number of the high-availability partition group.
*/ inline DescribeHapgResult& WithHapgSerial(const char* value) { SetHapgSerial(value); return *this;} /** * */ inline const Aws::VectorThe label for the high-availability partition group.
*/ inline const Aws::String& GetLabel() const{ return m_label; } /** *The label for the high-availability partition group.
*/ inline void SetLabel(const Aws::String& value) { m_label = value; } /** *The label for the high-availability partition group.
*/ inline void SetLabel(Aws::String&& value) { m_label = std::move(value); } /** *The label for the high-availability partition group.
*/ inline void SetLabel(const char* value) { m_label.assign(value); } /** *The label for the high-availability partition group.
*/ inline DescribeHapgResult& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} /** *The label for the high-availability partition group.
*/ inline DescribeHapgResult& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} /** *The label for the high-availability partition group.
*/ inline DescribeHapgResult& WithLabel(const char* value) { SetLabel(value); return *this;} /** *The date and time the high-availability partition group was last * modified.
*/ inline const Aws::String& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; } /** *The date and time the high-availability partition group was last * modified.
*/ inline void SetLastModifiedTimestamp(const Aws::String& value) { m_lastModifiedTimestamp = value; } /** *The date and time the high-availability partition group was last * modified.
*/ inline void SetLastModifiedTimestamp(Aws::String&& value) { m_lastModifiedTimestamp = std::move(value); } /** *The date and time the high-availability partition group was last * modified.
*/ inline void SetLastModifiedTimestamp(const char* value) { m_lastModifiedTimestamp.assign(value); } /** *The date and time the high-availability partition group was last * modified.
*/ inline DescribeHapgResult& WithLastModifiedTimestamp(const Aws::String& value) { SetLastModifiedTimestamp(value); return *this;} /** *The date and time the high-availability partition group was last * modified.
*/ inline DescribeHapgResult& WithLastModifiedTimestamp(Aws::String&& value) { SetLastModifiedTimestamp(std::move(value)); return *this;} /** *The date and time the high-availability partition group was last * modified.
*/ inline DescribeHapgResult& WithLastModifiedTimestamp(const char* value) { SetLastModifiedTimestamp(value); return *this;} /** *The list of partition serial numbers that belong to the high-availability * partition group.
*/ inline const Aws::VectorThe list of partition serial numbers that belong to the high-availability * partition group.
*/ inline void SetPartitionSerialList(const Aws::VectorThe list of partition serial numbers that belong to the high-availability * partition group.
*/ inline void SetPartitionSerialList(Aws::VectorThe list of partition serial numbers that belong to the high-availability * partition group.
*/ inline DescribeHapgResult& WithPartitionSerialList(const Aws::VectorThe list of partition serial numbers that belong to the high-availability * partition group.
*/ inline DescribeHapgResult& WithPartitionSerialList(Aws::VectorThe list of partition serial numbers that belong to the high-availability * partition group.
*/ inline DescribeHapgResult& AddPartitionSerialList(const Aws::String& value) { m_partitionSerialList.push_back(value); return *this; } /** *The list of partition serial numbers that belong to the high-availability * partition group.
*/ inline DescribeHapgResult& AddPartitionSerialList(Aws::String&& value) { m_partitionSerialList.push_back(std::move(value)); return *this; } /** *The list of partition serial numbers that belong to the high-availability * partition group.
*/ inline DescribeHapgResult& AddPartitionSerialList(const char* value) { m_partitionSerialList.push_back(value); return *this; } /** *The state of the high-availability partition group.
*/ inline const CloudHsmObjectState& GetState() const{ return m_state; } /** *The state of the high-availability partition group.
*/ inline void SetState(const CloudHsmObjectState& value) { m_state = value; } /** *The state of the high-availability partition group.
*/ inline void SetState(CloudHsmObjectState&& value) { m_state = std::move(value); } /** *The state of the high-availability partition group.
*/ inline DescribeHapgResult& WithState(const CloudHsmObjectState& value) { SetState(value); return *this;} /** *The state of the high-availability partition group.
*/ inline DescribeHapgResult& WithState(CloudHsmObjectState&& value) { SetState(std::move(value)); return *this;} private: Aws::String m_hapgArn; Aws::String m_hapgSerial; Aws::Vector