/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The codes to use when checking for a successful response from a target for
* health checks.See Also:
AWS
* API Reference
The HTTP code to use when checking for a successful response from a * target.
*/ inline const Aws::String& GetHttpCode() const{ return m_httpCode; } /** *The HTTP code to use when checking for a successful response from a * target.
*/ inline bool HttpCodeHasBeenSet() const { return m_httpCodeHasBeenSet; } /** *The HTTP code to use when checking for a successful response from a * target.
*/ inline void SetHttpCode(const Aws::String& value) { m_httpCodeHasBeenSet = true; m_httpCode = value; } /** *The HTTP code to use when checking for a successful response from a * target.
*/ inline void SetHttpCode(Aws::String&& value) { m_httpCodeHasBeenSet = true; m_httpCode = std::move(value); } /** *The HTTP code to use when checking for a successful response from a * target.
*/ inline void SetHttpCode(const char* value) { m_httpCodeHasBeenSet = true; m_httpCode.assign(value); } /** *The HTTP code to use when checking for a successful response from a * target.
*/ inline Matcher& WithHttpCode(const Aws::String& value) { SetHttpCode(value); return *this;} /** *The HTTP code to use when checking for a successful response from a * target.
*/ inline Matcher& WithHttpCode(Aws::String&& value) { SetHttpCode(std::move(value)); return *this;} /** *The HTTP code to use when checking for a successful response from a * target.
*/ inline Matcher& WithHttpCode(const char* value) { SetHttpCode(value); return *this;} private: Aws::String m_httpCode; bool m_httpCodeHasBeenSet = false; }; } // namespace Model } // namespace VPCLattice } // namespace Aws