/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information to use when checking for a successful response from a
* target.See Also:
AWS
* API Reference
The HTTP codes.
For Application Load Balancers, you can specify values * between 200 and 499, and the default value is 200. You can specify multiple * values (for example, "200,202") or a range of values (for example, * "200-299").
For Network Load Balancers, this is 200–399.
*/ inline const Aws::String& GetHttpCode() const{ return m_httpCode; } /** *The HTTP codes.
For Application Load Balancers, you can specify values * between 200 and 499, and the default value is 200. You can specify multiple * values (for example, "200,202") or a range of values (for example, * "200-299").
For Network Load Balancers, this is 200–399.
*/ inline bool HttpCodeHasBeenSet() const { return m_httpCodeHasBeenSet; } /** *The HTTP codes.
For Application Load Balancers, you can specify values * between 200 and 499, and the default value is 200. You can specify multiple * values (for example, "200,202") or a range of values (for example, * "200-299").
For Network Load Balancers, this is 200–399.
*/ inline void SetHttpCode(const Aws::String& value) { m_httpCodeHasBeenSet = true; m_httpCode = value; } /** *The HTTP codes.
For Application Load Balancers, you can specify values * between 200 and 499, and the default value is 200. You can specify multiple * values (for example, "200,202") or a range of values (for example, * "200-299").
For Network Load Balancers, this is 200–399.
*/ inline void SetHttpCode(Aws::String&& value) { m_httpCodeHasBeenSet = true; m_httpCode = std::move(value); } /** *The HTTP codes.
For Application Load Balancers, you can specify values * between 200 and 499, and the default value is 200. You can specify multiple * values (for example, "200,202") or a range of values (for example, * "200-299").
For Network Load Balancers, this is 200–399.
*/ inline void SetHttpCode(const char* value) { m_httpCodeHasBeenSet = true; m_httpCode.assign(value); } /** *The HTTP codes.
For Application Load Balancers, you can specify values * between 200 and 499, and the default value is 200. You can specify multiple * values (for example, "200,202") or a range of values (for example, * "200-299").
For Network Load Balancers, this is 200–399.
*/ inline Matcher& WithHttpCode(const Aws::String& value) { SetHttpCode(value); return *this;} /** *The HTTP codes.
For Application Load Balancers, you can specify values * between 200 and 499, and the default value is 200. You can specify multiple * values (for example, "200,202") or a range of values (for example, * "200-299").
For Network Load Balancers, this is 200–399.
*/ inline Matcher& WithHttpCode(Aws::String&& value) { SetHttpCode(std::move(value)); return *this;} /** *The HTTP codes.
For Application Load Balancers, you can specify values * between 200 and 499, and the default value is 200. You can specify multiple * values (for example, "200,202") or a range of values (for example, * "200-299").
For Network Load Balancers, this is 200–399.
*/ inline Matcher& WithHttpCode(const char* value) { SetHttpCode(value); return *this;} private: Aws::String m_httpCode; bool m_httpCodeHasBeenSet; }; } // namespace Model } // namespace ElasticLoadBalancingv2 } // namespace Aws