/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace OpenSearchService
{
namespace Model
{
/**
* Information about the active domain environment.
See Also:
* AWS
* API Reference
*/
class EnvironmentInfo
{
public:
AWS_OPENSEARCHSERVICE_API EnvironmentInfo();
AWS_OPENSEARCHSERVICE_API EnvironmentInfo(Aws::Utils::Json::JsonView jsonValue);
AWS_OPENSEARCHSERVICE_API EnvironmentInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* A list of AvailabilityZoneInfo
for the domain.
*/
inline const Aws::Vector& GetAvailabilityZoneInformation() const{ return m_availabilityZoneInformation; }
/**
* A list of AvailabilityZoneInfo
for the domain.
*/
inline bool AvailabilityZoneInformationHasBeenSet() const { return m_availabilityZoneInformationHasBeenSet; }
/**
* A list of AvailabilityZoneInfo
for the domain.
*/
inline void SetAvailabilityZoneInformation(const Aws::Vector& value) { m_availabilityZoneInformationHasBeenSet = true; m_availabilityZoneInformation = value; }
/**
* A list of AvailabilityZoneInfo
for the domain.
*/
inline void SetAvailabilityZoneInformation(Aws::Vector&& value) { m_availabilityZoneInformationHasBeenSet = true; m_availabilityZoneInformation = std::move(value); }
/**
* A list of AvailabilityZoneInfo
for the domain.
*/
inline EnvironmentInfo& WithAvailabilityZoneInformation(const Aws::Vector& value) { SetAvailabilityZoneInformation(value); return *this;}
/**
* A list of AvailabilityZoneInfo
for the domain.
*/
inline EnvironmentInfo& WithAvailabilityZoneInformation(Aws::Vector&& value) { SetAvailabilityZoneInformation(std::move(value)); return *this;}
/**
* A list of AvailabilityZoneInfo
for the domain.
*/
inline EnvironmentInfo& AddAvailabilityZoneInformation(const AvailabilityZoneInfo& value) { m_availabilityZoneInformationHasBeenSet = true; m_availabilityZoneInformation.push_back(value); return *this; }
/**
* A list of AvailabilityZoneInfo
for the domain.
*/
inline EnvironmentInfo& AddAvailabilityZoneInformation(AvailabilityZoneInfo&& value) { m_availabilityZoneInformationHasBeenSet = true; m_availabilityZoneInformation.push_back(std::move(value)); return *this; }
private:
Aws::Vector m_availabilityZoneInformation;
bool m_availabilityZoneInformationHasBeenSet = false;
};
} // namespace Model
} // namespace OpenSearchService
} // namespace Aws