AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VirtualInterfaceTestHistory.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DirectConnect
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DIRECTCONNECT_API VirtualInterfaceTestHistory() = default;
40 AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetTestId() const { return m_testId; }
48 inline bool TestIdHasBeenSet() const { return m_testIdHasBeenSet; }
49 template<typename TestIdT = Aws::String>
50 void SetTestId(TestIdT&& value) { m_testIdHasBeenSet = true; m_testId = std::forward<TestIdT>(value); }
51 template<typename TestIdT = Aws::String>
52 VirtualInterfaceTestHistory& WithTestId(TestIdT&& value) { SetTestId(std::forward<TestIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetVirtualInterfaceId() const { return m_virtualInterfaceId; }
60 inline bool VirtualInterfaceIdHasBeenSet() const { return m_virtualInterfaceIdHasBeenSet; }
61 template<typename VirtualInterfaceIdT = Aws::String>
62 void SetVirtualInterfaceId(VirtualInterfaceIdT&& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = std::forward<VirtualInterfaceIdT>(value); }
63 template<typename VirtualInterfaceIdT = Aws::String>
64 VirtualInterfaceTestHistory& WithVirtualInterfaceId(VirtualInterfaceIdT&& value) { SetVirtualInterfaceId(std::forward<VirtualInterfaceIdT>(value)); return *this;}
66
68
72 inline const Aws::Vector<Aws::String>& GetBgpPeers() const { return m_bgpPeers; }
73 inline bool BgpPeersHasBeenSet() const { return m_bgpPeersHasBeenSet; }
74 template<typename BgpPeersT = Aws::Vector<Aws::String>>
75 void SetBgpPeers(BgpPeersT&& value) { m_bgpPeersHasBeenSet = true; m_bgpPeers = std::forward<BgpPeersT>(value); }
76 template<typename BgpPeersT = Aws::Vector<Aws::String>>
77 VirtualInterfaceTestHistory& WithBgpPeers(BgpPeersT&& value) { SetBgpPeers(std::forward<BgpPeersT>(value)); return *this;}
78 template<typename BgpPeersT = Aws::String>
79 VirtualInterfaceTestHistory& AddBgpPeers(BgpPeersT&& value) { m_bgpPeersHasBeenSet = true; m_bgpPeers.emplace_back(std::forward<BgpPeersT>(value)); return *this; }
81
83
86 inline const Aws::String& GetStatus() const { return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 template<typename StatusT = Aws::String>
89 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
90 template<typename StatusT = Aws::String>
91 VirtualInterfaceTestHistory& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
93
95
98 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
99 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
100 template<typename OwnerAccountT = Aws::String>
101 void SetOwnerAccount(OwnerAccountT&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::forward<OwnerAccountT>(value); }
102 template<typename OwnerAccountT = Aws::String>
103 VirtualInterfaceTestHistory& WithOwnerAccount(OwnerAccountT&& value) { SetOwnerAccount(std::forward<OwnerAccountT>(value)); return *this;}
105
107
110 inline int GetTestDurationInMinutes() const { return m_testDurationInMinutes; }
111 inline bool TestDurationInMinutesHasBeenSet() const { return m_testDurationInMinutesHasBeenSet; }
112 inline void SetTestDurationInMinutes(int value) { m_testDurationInMinutesHasBeenSet = true; m_testDurationInMinutes = value; }
115
117
120 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
121 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
122 template<typename StartTimeT = Aws::Utils::DateTime>
123 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
124 template<typename StartTimeT = Aws::Utils::DateTime>
125 VirtualInterfaceTestHistory& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
133 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
134 template<typename EndTimeT = Aws::Utils::DateTime>
135 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
136 template<typename EndTimeT = Aws::Utils::DateTime>
137 VirtualInterfaceTestHistory& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
139 private:
140
141 Aws::String m_testId;
142 bool m_testIdHasBeenSet = false;
143
144 Aws::String m_virtualInterfaceId;
145 bool m_virtualInterfaceIdHasBeenSet = false;
146
147 Aws::Vector<Aws::String> m_bgpPeers;
148 bool m_bgpPeersHasBeenSet = false;
149
150 Aws::String m_status;
151 bool m_statusHasBeenSet = false;
152
153 Aws::String m_ownerAccount;
154 bool m_ownerAccountHasBeenSet = false;
155
156 int m_testDurationInMinutes{0};
157 bool m_testDurationInMinutesHasBeenSet = false;
158
159 Aws::Utils::DateTime m_startTime{};
160 bool m_startTimeHasBeenSet = false;
161
162 Aws::Utils::DateTime m_endTime{};
163 bool m_endTimeHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace DirectConnect
168} // namespace Aws
VirtualInterfaceTestHistory & WithBgpPeers(BgpPeersT &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
VirtualInterfaceTestHistory & WithStartTime(StartTimeT &&value)
VirtualInterfaceTestHistory & WithTestDurationInMinutes(int value)
AWS_DIRECTCONNECT_API VirtualInterfaceTestHistory()=default
VirtualInterfaceTestHistory & AddBgpPeers(BgpPeersT &&value)
AWS_DIRECTCONNECT_API VirtualInterfaceTestHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualInterfaceTestHistory & WithStatus(StatusT &&value)
VirtualInterfaceTestHistory & WithVirtualInterfaceId(VirtualInterfaceIdT &&value)
VirtualInterfaceTestHistory & WithEndTime(EndTimeT &&value)
AWS_DIRECTCONNECT_API VirtualInterfaceTestHistory(Aws::Utils::Json::JsonView jsonValue)
VirtualInterfaceTestHistory & WithOwnerAccount(OwnerAccountT &&value)
VirtualInterfaceTestHistory & WithTestId(TestIdT &&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