/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See the example below to learn how to create a request body.See
* Also:
AWS
* API Reference
Specify the environment by name.
You must specify either this or an * EnvironmentName, or both.
*/ inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; } /** *Specify the environment by name.
You must specify either this or an * EnvironmentName, or both.
*/ inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *Specify the environment by name.
You must specify either this or an * EnvironmentName, or both.
*/ inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; } /** *Specify the environment by name.
You must specify either this or an * EnvironmentName, or both.
*/ inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); } /** *Specify the environment by name.
You must specify either this or an * EnvironmentName, or both.
*/ inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); } /** *Specify the environment by name.
You must specify either this or an * EnvironmentName, or both.
*/ inline DescribeEnvironmentHealthRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;} /** *Specify the environment by name.
You must specify either this or an * EnvironmentName, or both.
*/ inline DescribeEnvironmentHealthRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;} /** *Specify the environment by name.
You must specify either this or an * EnvironmentName, or both.
*/ inline DescribeEnvironmentHealthRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} /** *Specify the environment by ID.
You must specify either this or an * EnvironmentName, or both.
*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *Specify the environment by ID.
You must specify either this or an * EnvironmentName, or both.
*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *Specify the environment by ID.
You must specify either this or an * EnvironmentName, or both.
*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *Specify the environment by ID.
You must specify either this or an * EnvironmentName, or both.
*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *Specify the environment by ID.
You must specify either this or an * EnvironmentName, or both.
*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *Specify the environment by ID.
You must specify either this or an * EnvironmentName, or both.
*/ inline DescribeEnvironmentHealthRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *Specify the environment by ID.
You must specify either this or an * EnvironmentName, or both.
*/ inline DescribeEnvironmentHealthRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *Specify the environment by ID.
You must specify either this or an * EnvironmentName, or both.
*/ inline DescribeEnvironmentHealthRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *Specify the response elements to return. To retrieve all attributes, set to
* All. If no attribute names are specified, returns the name of the
* environment.
Specify the response elements to return. To retrieve all attributes, set to
* All. If no attribute names are specified, returns the name of the
* environment.
Specify the response elements to return. To retrieve all attributes, set to
* All. If no attribute names are specified, returns the name of the
* environment.
Specify the response elements to return. To retrieve all attributes, set to
* All. If no attribute names are specified, returns the name of the
* environment.
Specify the response elements to return. To retrieve all attributes, set to
* All. If no attribute names are specified, returns the name of the
* environment.
Specify the response elements to return. To retrieve all attributes, set to
* All. If no attribute names are specified, returns the name of the
* environment.
Specify the response elements to return. To retrieve all attributes, set to
* All. If no attribute names are specified, returns the name of the
* environment.
Specify the response elements to return. To retrieve all attributes, set to
* All. If no attribute names are specified, returns the name of the
* environment.