/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the virtual interface failover test.See
* Also:
AWS
* API Reference
The ID of the virtual interface failover test.
*/ inline const Aws::String& GetTestId() const{ return m_testId; } /** *The ID of the virtual interface failover test.
*/ inline bool TestIdHasBeenSet() const { return m_testIdHasBeenSet; } /** *The ID of the virtual interface failover test.
*/ inline void SetTestId(const Aws::String& value) { m_testIdHasBeenSet = true; m_testId = value; } /** *The ID of the virtual interface failover test.
*/ inline void SetTestId(Aws::String&& value) { m_testIdHasBeenSet = true; m_testId = std::move(value); } /** *The ID of the virtual interface failover test.
*/ inline void SetTestId(const char* value) { m_testIdHasBeenSet = true; m_testId.assign(value); } /** *The ID of the virtual interface failover test.
*/ inline VirtualInterfaceTestHistory& WithTestId(const Aws::String& value) { SetTestId(value); return *this;} /** *The ID of the virtual interface failover test.
*/ inline VirtualInterfaceTestHistory& WithTestId(Aws::String&& value) { SetTestId(std::move(value)); return *this;} /** *The ID of the virtual interface failover test.
*/ inline VirtualInterfaceTestHistory& WithTestId(const char* value) { SetTestId(value); return *this;} /** *The ID of the tested virtual interface.
*/ inline const Aws::String& GetVirtualInterfaceId() const{ return m_virtualInterfaceId; } /** *The ID of the tested virtual interface.
*/ inline bool VirtualInterfaceIdHasBeenSet() const { return m_virtualInterfaceIdHasBeenSet; } /** *The ID of the tested virtual interface.
*/ inline void SetVirtualInterfaceId(const Aws::String& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = value; } /** *The ID of the tested virtual interface.
*/ inline void SetVirtualInterfaceId(Aws::String&& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = std::move(value); } /** *The ID of the tested virtual interface.
*/ inline void SetVirtualInterfaceId(const char* value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId.assign(value); } /** *The ID of the tested virtual interface.
*/ inline VirtualInterfaceTestHistory& WithVirtualInterfaceId(const Aws::String& value) { SetVirtualInterfaceId(value); return *this;} /** *The ID of the tested virtual interface.
*/ inline VirtualInterfaceTestHistory& WithVirtualInterfaceId(Aws::String&& value) { SetVirtualInterfaceId(std::move(value)); return *this;} /** *The ID of the tested virtual interface.
*/ inline VirtualInterfaceTestHistory& WithVirtualInterfaceId(const char* value) { SetVirtualInterfaceId(value); return *this;} /** *The BGP peers that were put in the DOWN state as part of the virtual * interface failover test.
*/ inline const Aws::VectorThe BGP peers that were put in the DOWN state as part of the virtual * interface failover test.
*/ inline bool BgpPeersHasBeenSet() const { return m_bgpPeersHasBeenSet; } /** *The BGP peers that were put in the DOWN state as part of the virtual * interface failover test.
*/ inline void SetBgpPeers(const Aws::VectorThe BGP peers that were put in the DOWN state as part of the virtual * interface failover test.
*/ inline void SetBgpPeers(Aws::VectorThe BGP peers that were put in the DOWN state as part of the virtual * interface failover test.
*/ inline VirtualInterfaceTestHistory& WithBgpPeers(const Aws::VectorThe BGP peers that were put in the DOWN state as part of the virtual * interface failover test.
*/ inline VirtualInterfaceTestHistory& WithBgpPeers(Aws::VectorThe BGP peers that were put in the DOWN state as part of the virtual * interface failover test.
*/ inline VirtualInterfaceTestHistory& AddBgpPeers(const Aws::String& value) { m_bgpPeersHasBeenSet = true; m_bgpPeers.push_back(value); return *this; } /** *The BGP peers that were put in the DOWN state as part of the virtual * interface failover test.
*/ inline VirtualInterfaceTestHistory& AddBgpPeers(Aws::String&& value) { m_bgpPeersHasBeenSet = true; m_bgpPeers.push_back(std::move(value)); return *this; } /** *The BGP peers that were put in the DOWN state as part of the virtual * interface failover test.
*/ inline VirtualInterfaceTestHistory& AddBgpPeers(const char* value) { m_bgpPeersHasBeenSet = true; m_bgpPeers.push_back(value); return *this; } /** *The status of the virtual interface failover test.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of the virtual interface failover test.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the virtual interface failover test.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the virtual interface failover test.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the virtual interface failover test.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of the virtual interface failover test.
*/ inline VirtualInterfaceTestHistory& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of the virtual interface failover test.
*/ inline VirtualInterfaceTestHistory& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of the virtual interface failover test.
*/ inline VirtualInterfaceTestHistory& WithStatus(const char* value) { SetStatus(value); return *this;} /** *The owner ID of the tested virtual interface.
*/ inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; } /** *The owner ID of the tested virtual interface.
*/ inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; } /** *The owner ID of the tested virtual interface.
*/ inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; } /** *The owner ID of the tested virtual interface.
*/ inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); } /** *The owner ID of the tested virtual interface.
*/ inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); } /** *The owner ID of the tested virtual interface.
*/ inline VirtualInterfaceTestHistory& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;} /** *The owner ID of the tested virtual interface.
*/ inline VirtualInterfaceTestHistory& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;} /** *The owner ID of the tested virtual interface.
*/ inline VirtualInterfaceTestHistory& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;} /** *The time that the virtual interface failover test ran in minutes.
*/ inline int GetTestDurationInMinutes() const{ return m_testDurationInMinutes; } /** *The time that the virtual interface failover test ran in minutes.
*/ inline bool TestDurationInMinutesHasBeenSet() const { return m_testDurationInMinutesHasBeenSet; } /** *The time that the virtual interface failover test ran in minutes.
*/ inline void SetTestDurationInMinutes(int value) { m_testDurationInMinutesHasBeenSet = true; m_testDurationInMinutes = value; } /** *The time that the virtual interface failover test ran in minutes.
*/ inline VirtualInterfaceTestHistory& WithTestDurationInMinutes(int value) { SetTestDurationInMinutes(value); return *this;} /** *The time that the virtual interface moves to the DOWN state.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The time that the virtual interface moves to the DOWN state.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The time that the virtual interface moves to the DOWN state.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The time that the virtual interface moves to the DOWN state.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The time that the virtual interface moves to the DOWN state.
*/ inline VirtualInterfaceTestHistory& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The time that the virtual interface moves to the DOWN state.
*/ inline VirtualInterfaceTestHistory& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The time that the virtual interface moves out of the DOWN state.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The time that the virtual interface moves out of the DOWN state.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The time that the virtual interface moves out of the DOWN state.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The time that the virtual interface moves out of the DOWN state.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The time that the virtual interface moves out of the DOWN state.
*/ inline VirtualInterfaceTestHistory& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The time that the virtual interface moves out of the DOWN state.
*/ inline VirtualInterfaceTestHistory& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} private: Aws::String m_testId; bool m_testIdHasBeenSet = false; Aws::String m_virtualInterfaceId; bool m_virtualInterfaceIdHasBeenSet = false; Aws::Vector