AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentInfo.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/opensearch/model/AvailabilityZoneInfo.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace OpenSearchService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_OPENSEARCHSERVICE_API EnvironmentInfo();
37 AWS_OPENSEARCHSERVICE_API EnvironmentInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API EnvironmentInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<AvailabilityZoneInfo>& GetAvailabilityZoneInformation() const{ return m_availabilityZoneInformation; }
47 inline bool AvailabilityZoneInformationHasBeenSet() const { return m_availabilityZoneInformationHasBeenSet; }
48 inline void SetAvailabilityZoneInformation(const Aws::Vector<AvailabilityZoneInfo>& value) { m_availabilityZoneInformationHasBeenSet = true; m_availabilityZoneInformation = value; }
49 inline void SetAvailabilityZoneInformation(Aws::Vector<AvailabilityZoneInfo>&& value) { m_availabilityZoneInformationHasBeenSet = true; m_availabilityZoneInformation = std::move(value); }
52 inline EnvironmentInfo& AddAvailabilityZoneInformation(const AvailabilityZoneInfo& value) { m_availabilityZoneInformationHasBeenSet = true; m_availabilityZoneInformation.push_back(value); return *this; }
53 inline EnvironmentInfo& AddAvailabilityZoneInformation(AvailabilityZoneInfo&& value) { m_availabilityZoneInformationHasBeenSet = true; m_availabilityZoneInformation.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<AvailabilityZoneInfo> m_availabilityZoneInformation;
58 bool m_availabilityZoneInformationHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace OpenSearchService
63} // namespace Aws
EnvironmentInfo & WithAvailabilityZoneInformation(Aws::Vector< AvailabilityZoneInfo > &&value)
AWS_OPENSEARCHSERVICE_API EnvironmentInfo(Aws::Utils::Json::JsonView jsonValue)
EnvironmentInfo & AddAvailabilityZoneInformation(const AvailabilityZoneInfo &value)
AWS_OPENSEARCHSERVICE_API EnvironmentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentInfo & WithAvailabilityZoneInformation(const Aws::Vector< AvailabilityZoneInfo > &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API EnvironmentInfo()
void SetAvailabilityZoneInformation(Aws::Vector< AvailabilityZoneInfo > &&value)
const Aws::Vector< AvailabilityZoneInfo > & GetAvailabilityZoneInformation() const
EnvironmentInfo & AddAvailabilityZoneInformation(AvailabilityZoneInfo &&value)
void SetAvailabilityZoneInformation(const Aws::Vector< AvailabilityZoneInfo > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue