7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
23namespace DirectConnect
51 inline void SetTestId(
const char* value) { m_testIdHasBeenSet =
true; m_testId.assign(value); }
65 inline void SetVirtualInterfaceId(
const char* value) { m_virtualInterfaceIdHasBeenSet =
true; m_virtualInterfaceId.assign(value); }
95 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
109 inline void SetOwnerAccount(
const char* value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount.assign(value); }
151 bool m_testIdHasBeenSet =
false;
154 bool m_virtualInterfaceIdHasBeenSet =
false;
157 bool m_bgpPeersHasBeenSet =
false;
160 bool m_statusHasBeenSet =
false;
163 bool m_ownerAccountHasBeenSet =
false;
165 int m_testDurationInMinutes;
166 bool m_testDurationInMinutesHasBeenSet =
false;
169 bool m_startTimeHasBeenSet =
false;
172 bool m_endTimeHasBeenSet =
false;
void SetBgpPeers(Aws::Vector< Aws::String > &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
const Aws::String & GetVirtualInterfaceId() const
VirtualInterfaceTestHistory & WithVirtualInterfaceId(const Aws::String &value)
bool TestDurationInMinutesHasBeenSet() const
VirtualInterfaceTestHistory & WithStartTime(const Aws::Utils::DateTime &value)
bool OwnerAccountHasBeenSet() const
VirtualInterfaceTestHistory & AddBgpPeers(const char *value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetEndTime() const
bool StatusHasBeenSet() const
int GetTestDurationInMinutes() const
const Aws::String & GetOwnerAccount() const
VirtualInterfaceTestHistory & WithVirtualInterfaceId(const char *value)
const Aws::Utils::DateTime & GetStartTime() const
void SetBgpPeers(const Aws::Vector< Aws::String > &value)
void SetVirtualInterfaceId(const Aws::String &value)
VirtualInterfaceTestHistory & WithOwnerAccount(const Aws::String &value)
void SetOwnerAccount(const char *value)
AWS_DIRECTCONNECT_API VirtualInterfaceTestHistory()
VirtualInterfaceTestHistory & WithStatus(Aws::String &&value)
VirtualInterfaceTestHistory & WithOwnerAccount(const char *value)
bool VirtualInterfaceIdHasBeenSet() const
VirtualInterfaceTestHistory & WithTestId(Aws::String &&value)
VirtualInterfaceTestHistory & WithTestId(const Aws::String &value)
VirtualInterfaceTestHistory & WithBgpPeers(const Aws::Vector< Aws::String > &value)
VirtualInterfaceTestHistory & WithStartTime(Aws::Utils::DateTime &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
VirtualInterfaceTestHistory & WithStatus(const Aws::String &value)
VirtualInterfaceTestHistory & WithTestDurationInMinutes(int value)
bool TestIdHasBeenSet() const
VirtualInterfaceTestHistory & WithEndTime(Aws::Utils::DateTime &&value)
void SetStatus(Aws::String &&value)
bool BgpPeersHasBeenSet() const
void SetOwnerAccount(Aws::String &&value)
void SetOwnerAccount(const Aws::String &value)
void SetTestId(const Aws::String &value)
bool StartTimeHasBeenSet() const
AWS_DIRECTCONNECT_API VirtualInterfaceTestHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const char *value)
bool EndTimeHasBeenSet() const
void SetStatus(const Aws::String &value)
VirtualInterfaceTestHistory & AddBgpPeers(const Aws::String &value)
VirtualInterfaceTestHistory & WithTestId(const char *value)
VirtualInterfaceTestHistory & WithBgpPeers(Aws::Vector< Aws::String > &&value)
void SetTestDurationInMinutes(int value)
void SetVirtualInterfaceId(Aws::String &&value)
const Aws::String & GetTestId() const
void SetTestId(Aws::String &&value)
const Aws::String & GetStatus() const
VirtualInterfaceTestHistory & WithEndTime(const Aws::Utils::DateTime &value)
VirtualInterfaceTestHistory & WithStatus(const char *value)
VirtualInterfaceTestHistory & AddBgpPeers(Aws::String &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::String > & GetBgpPeers() const
VirtualInterfaceTestHistory & WithVirtualInterfaceId(Aws::String &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetVirtualInterfaceId(const char *value)
AWS_DIRECTCONNECT_API VirtualInterfaceTestHistory(Aws::Utils::Json::JsonView jsonValue)
VirtualInterfaceTestHistory & WithOwnerAccount(Aws::String &&value)
void SetTestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue