AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTestId(const Aws::String& value) { m_testIdHasBeenSet = true; m_testId = value; }
50 inline void SetTestId(Aws::String&& value) { m_testIdHasBeenSet = true; m_testId = std::move(value); }
51 inline void SetTestId(const char* value) { m_testIdHasBeenSet = true; m_testId.assign(value); }
52 inline VirtualInterfaceTestHistory& WithTestId(const Aws::String& value) { SetTestId(value); return *this;}
53 inline VirtualInterfaceTestHistory& WithTestId(Aws::String&& value) { SetTestId(std::move(value)); return *this;}
54 inline VirtualInterfaceTestHistory& WithTestId(const char* value) { SetTestId(value); return *this;}
56
58
61 inline const Aws::String& GetVirtualInterfaceId() const{ return m_virtualInterfaceId; }
62 inline bool VirtualInterfaceIdHasBeenSet() const { return m_virtualInterfaceIdHasBeenSet; }
63 inline void SetVirtualInterfaceId(const Aws::String& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = value; }
64 inline void SetVirtualInterfaceId(Aws::String&& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = std::move(value); }
65 inline void SetVirtualInterfaceId(const char* value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId.assign(value); }
67 inline VirtualInterfaceTestHistory& WithVirtualInterfaceId(Aws::String&& value) { SetVirtualInterfaceId(std::move(value)); return *this;}
68 inline VirtualInterfaceTestHistory& WithVirtualInterfaceId(const char* value) { SetVirtualInterfaceId(value); return *this;}
70
72
76 inline const Aws::Vector<Aws::String>& GetBgpPeers() const{ return m_bgpPeers; }
77 inline bool BgpPeersHasBeenSet() const { return m_bgpPeersHasBeenSet; }
78 inline void SetBgpPeers(const Aws::Vector<Aws::String>& value) { m_bgpPeersHasBeenSet = true; m_bgpPeers = value; }
79 inline void SetBgpPeers(Aws::Vector<Aws::String>&& value) { m_bgpPeersHasBeenSet = true; m_bgpPeers = std::move(value); }
81 inline VirtualInterfaceTestHistory& WithBgpPeers(Aws::Vector<Aws::String>&& value) { SetBgpPeers(std::move(value)); return *this;}
82 inline VirtualInterfaceTestHistory& AddBgpPeers(const Aws::String& value) { m_bgpPeersHasBeenSet = true; m_bgpPeers.push_back(value); return *this; }
83 inline VirtualInterfaceTestHistory& AddBgpPeers(Aws::String&& value) { m_bgpPeersHasBeenSet = true; m_bgpPeers.push_back(std::move(value)); return *this; }
84 inline VirtualInterfaceTestHistory& AddBgpPeers(const char* value) { m_bgpPeersHasBeenSet = true; m_bgpPeers.push_back(value); return *this; }
86
88
91 inline const Aws::String& GetStatus() const{ return m_status; }
92 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
93 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
94 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
95 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
96 inline VirtualInterfaceTestHistory& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
97 inline VirtualInterfaceTestHistory& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
98 inline VirtualInterfaceTestHistory& WithStatus(const char* value) { SetStatus(value); return *this;}
100
102
105 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
106 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
107 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
108 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
109 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
110 inline VirtualInterfaceTestHistory& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
111 inline VirtualInterfaceTestHistory& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
112 inline VirtualInterfaceTestHistory& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
114
116
119 inline int GetTestDurationInMinutes() const{ return m_testDurationInMinutes; }
120 inline bool TestDurationInMinutesHasBeenSet() const { return m_testDurationInMinutesHasBeenSet; }
121 inline void SetTestDurationInMinutes(int value) { m_testDurationInMinutesHasBeenSet = true; m_testDurationInMinutes = value; }
124
126
129 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
130 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
131 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
132 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
133 inline VirtualInterfaceTestHistory& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
134 inline VirtualInterfaceTestHistory& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
136
138
141 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
142 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
143 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
144 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
145 inline VirtualInterfaceTestHistory& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
146 inline VirtualInterfaceTestHistory& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
148 private:
149
150 Aws::String m_testId;
151 bool m_testIdHasBeenSet = false;
152
153 Aws::String m_virtualInterfaceId;
154 bool m_virtualInterfaceIdHasBeenSet = false;
155
156 Aws::Vector<Aws::String> m_bgpPeers;
157 bool m_bgpPeersHasBeenSet = false;
158
159 Aws::String m_status;
160 bool m_statusHasBeenSet = false;
161
162 Aws::String m_ownerAccount;
163 bool m_ownerAccountHasBeenSet = false;
164
165 int m_testDurationInMinutes;
166 bool m_testDurationInMinutesHasBeenSet = false;
167
168 Aws::Utils::DateTime m_startTime;
169 bool m_startTimeHasBeenSet = false;
170
171 Aws::Utils::DateTime m_endTime;
172 bool m_endTimeHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace DirectConnect
177} // namespace Aws
VirtualInterfaceTestHistory & WithVirtualInterfaceId(const Aws::String &value)
VirtualInterfaceTestHistory & WithStartTime(const Aws::Utils::DateTime &value)
VirtualInterfaceTestHistory & AddBgpPeers(const char *value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
VirtualInterfaceTestHistory & WithVirtualInterfaceId(const char *value)
void SetBgpPeers(const Aws::Vector< Aws::String > &value)
VirtualInterfaceTestHistory & WithOwnerAccount(const Aws::String &value)
VirtualInterfaceTestHistory & WithStatus(Aws::String &&value)
VirtualInterfaceTestHistory & WithOwnerAccount(const char *value)
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)
VirtualInterfaceTestHistory & WithStatus(const Aws::String &value)
VirtualInterfaceTestHistory & WithTestDurationInMinutes(int value)
VirtualInterfaceTestHistory & WithEndTime(Aws::Utils::DateTime &&value)
AWS_DIRECTCONNECT_API VirtualInterfaceTestHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualInterfaceTestHistory & AddBgpPeers(const Aws::String &value)
VirtualInterfaceTestHistory & WithTestId(const char *value)
VirtualInterfaceTestHistory & WithBgpPeers(Aws::Vector< Aws::String > &&value)
VirtualInterfaceTestHistory & WithEndTime(const Aws::Utils::DateTime &value)
VirtualInterfaceTestHistory & WithStatus(const char *value)
VirtualInterfaceTestHistory & AddBgpPeers(Aws::String &&value)
VirtualInterfaceTestHistory & WithVirtualInterfaceId(Aws::String &&value)
AWS_DIRECTCONNECT_API VirtualInterfaceTestHistory(Aws::Utils::Json::JsonView jsonValue)
VirtualInterfaceTestHistory & WithOwnerAccount(Aws::String &&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