/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the configuration of an EC2 instance.See
* Also:
AWS
* API Reference
The port on which the EC2 instance is listening.
*/ inline int GetInstancePort() const{ return m_instancePort; } /** *The port on which the EC2 instance is listening.
*/ inline bool InstancePortHasBeenSet() const { return m_instancePortHasBeenSet; } /** *The port on which the EC2 instance is listening.
*/ inline void SetInstancePort(int value) { m_instancePortHasBeenSet = true; m_instancePort = value; } /** *The port on which the EC2 instance is listening.
*/ inline BackendServerDescription& WithInstancePort(int value) { SetInstancePort(value); return *this;} /** *The names of the policies enabled for the EC2 instance.
*/ inline const Aws::VectorThe names of the policies enabled for the EC2 instance.
*/ inline bool PolicyNamesHasBeenSet() const { return m_policyNamesHasBeenSet; } /** *The names of the policies enabled for the EC2 instance.
*/ inline void SetPolicyNames(const Aws::VectorThe names of the policies enabled for the EC2 instance.
*/ inline void SetPolicyNames(Aws::VectorThe names of the policies enabled for the EC2 instance.
*/ inline BackendServerDescription& WithPolicyNames(const Aws::VectorThe names of the policies enabled for the EC2 instance.
*/ inline BackendServerDescription& WithPolicyNames(Aws::VectorThe names of the policies enabled for the EC2 instance.
*/ inline BackendServerDescription& AddPolicyNames(const Aws::String& value) { m_policyNamesHasBeenSet = true; m_policyNames.push_back(value); return *this; } /** *The names of the policies enabled for the EC2 instance.
*/ inline BackendServerDescription& AddPolicyNames(Aws::String&& value) { m_policyNamesHasBeenSet = true; m_policyNames.push_back(std::move(value)); return *this; } /** *The names of the policies enabled for the EC2 instance.
*/ inline BackendServerDescription& AddPolicyNames(const char* value) { m_policyNamesHasBeenSet = true; m_policyNames.push_back(value); return *this; } private: int m_instancePort; bool m_instancePortHasBeenSet = false; Aws::Vector