AWS SDK for C++  1.8.152
AWS SDK for C++
IpRouteInfo.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace DirectoryService
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
46 
50  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
51 
55  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
56 
60  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
61 
65  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
66 
70  inline IpRouteInfo& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
71 
75  inline IpRouteInfo& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
76 
80  inline IpRouteInfo& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
81 
82 
86  inline const Aws::String& GetCidrIp() const{ return m_cidrIp; }
87 
91  inline bool CidrIpHasBeenSet() const { return m_cidrIpHasBeenSet; }
92 
96  inline void SetCidrIp(const Aws::String& value) { m_cidrIpHasBeenSet = true; m_cidrIp = value; }
97 
101  inline void SetCidrIp(Aws::String&& value) { m_cidrIpHasBeenSet = true; m_cidrIp = std::move(value); }
102 
106  inline void SetCidrIp(const char* value) { m_cidrIpHasBeenSet = true; m_cidrIp.assign(value); }
107 
111  inline IpRouteInfo& WithCidrIp(const Aws::String& value) { SetCidrIp(value); return *this;}
112 
116  inline IpRouteInfo& WithCidrIp(Aws::String&& value) { SetCidrIp(std::move(value)); return *this;}
117 
121  inline IpRouteInfo& WithCidrIp(const char* value) { SetCidrIp(value); return *this;}
122 
123 
127  inline const IpRouteStatusMsg& GetIpRouteStatusMsg() const{ return m_ipRouteStatusMsg; }
128 
132  inline bool IpRouteStatusMsgHasBeenSet() const { return m_ipRouteStatusMsgHasBeenSet; }
133 
137  inline void SetIpRouteStatusMsg(const IpRouteStatusMsg& value) { m_ipRouteStatusMsgHasBeenSet = true; m_ipRouteStatusMsg = value; }
138 
142  inline void SetIpRouteStatusMsg(IpRouteStatusMsg&& value) { m_ipRouteStatusMsgHasBeenSet = true; m_ipRouteStatusMsg = std::move(value); }
143 
147  inline IpRouteInfo& WithIpRouteStatusMsg(const IpRouteStatusMsg& value) { SetIpRouteStatusMsg(value); return *this;}
148 
152  inline IpRouteInfo& WithIpRouteStatusMsg(IpRouteStatusMsg&& value) { SetIpRouteStatusMsg(std::move(value)); return *this;}
153 
154 
158  inline const Aws::Utils::DateTime& GetAddedDateTime() const{ return m_addedDateTime; }
159 
163  inline bool AddedDateTimeHasBeenSet() const { return m_addedDateTimeHasBeenSet; }
164 
168  inline void SetAddedDateTime(const Aws::Utils::DateTime& value) { m_addedDateTimeHasBeenSet = true; m_addedDateTime = value; }
169 
173  inline void SetAddedDateTime(Aws::Utils::DateTime&& value) { m_addedDateTimeHasBeenSet = true; m_addedDateTime = std::move(value); }
174 
178  inline IpRouteInfo& WithAddedDateTime(const Aws::Utils::DateTime& value) { SetAddedDateTime(value); return *this;}
179 
183  inline IpRouteInfo& WithAddedDateTime(Aws::Utils::DateTime&& value) { SetAddedDateTime(std::move(value)); return *this;}
184 
185 
189  inline const Aws::String& GetIpRouteStatusReason() const{ return m_ipRouteStatusReason; }
190 
194  inline bool IpRouteStatusReasonHasBeenSet() const { return m_ipRouteStatusReasonHasBeenSet; }
195 
199  inline void SetIpRouteStatusReason(const Aws::String& value) { m_ipRouteStatusReasonHasBeenSet = true; m_ipRouteStatusReason = value; }
200 
204  inline void SetIpRouteStatusReason(Aws::String&& value) { m_ipRouteStatusReasonHasBeenSet = true; m_ipRouteStatusReason = std::move(value); }
205 
209  inline void SetIpRouteStatusReason(const char* value) { m_ipRouteStatusReasonHasBeenSet = true; m_ipRouteStatusReason.assign(value); }
210 
214  inline IpRouteInfo& WithIpRouteStatusReason(const Aws::String& value) { SetIpRouteStatusReason(value); return *this;}
215 
219  inline IpRouteInfo& WithIpRouteStatusReason(Aws::String&& value) { SetIpRouteStatusReason(std::move(value)); return *this;}
220 
224  inline IpRouteInfo& WithIpRouteStatusReason(const char* value) { SetIpRouteStatusReason(value); return *this;}
225 
226 
230  inline const Aws::String& GetDescription() const{ return m_description; }
231 
235  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
236 
240  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
241 
245  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
246 
250  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
251 
255  inline IpRouteInfo& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
256 
260  inline IpRouteInfo& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
261 
265  inline IpRouteInfo& WithDescription(const char* value) { SetDescription(value); return *this;}
266 
267  private:
268 
269  Aws::String m_directoryId;
270  bool m_directoryIdHasBeenSet;
271 
272  Aws::String m_cidrIp;
273  bool m_cidrIpHasBeenSet;
274 
275  IpRouteStatusMsg m_ipRouteStatusMsg;
276  bool m_ipRouteStatusMsgHasBeenSet;
277 
278  Aws::Utils::DateTime m_addedDateTime;
279  bool m_addedDateTimeHasBeenSet;
280 
281  Aws::String m_ipRouteStatusReason;
282  bool m_ipRouteStatusReasonHasBeenSet;
283 
284  Aws::String m_description;
285  bool m_descriptionHasBeenSet;
286  };
287 
288 } // namespace Model
289 } // namespace DirectoryService
290 } // namespace Aws
Aws::DirectoryService::Model::IpRouteInfo::WithDirectoryId
IpRouteInfo & WithDirectoryId(const char *value)
Definition: IpRouteInfo.h:80
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::DirectoryService::Model::IpRouteInfo::WithIpRouteStatusReason
IpRouteInfo & WithIpRouteStatusReason(const Aws::String &value)
Definition: IpRouteInfo.h:214
Aws::DirectoryService::Model::IpRouteInfo::SetIpRouteStatusReason
void SetIpRouteStatusReason(Aws::String &&value)
Definition: IpRouteInfo.h:204
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::IpRouteInfo::WithAddedDateTime
IpRouteInfo & WithAddedDateTime(const Aws::Utils::DateTime &value)
Definition: IpRouteInfo.h:178
Aws::DirectoryService::Model::IpRouteInfo::SetCidrIp
void SetCidrIp(const char *value)
Definition: IpRouteInfo.h:106
Aws::DirectoryService::Model::IpRouteInfo::WithDescription
IpRouteInfo & WithDescription(Aws::String &&value)
Definition: IpRouteInfo.h:260
Aws::DirectoryService::Model::IpRouteInfo::SetIpRouteStatusReason
void SetIpRouteStatusReason(const char *value)
Definition: IpRouteInfo.h:209
DateTime.h
Aws::DirectoryService::Model::IpRouteInfo::WithDescription
IpRouteInfo & WithDescription(const Aws::String &value)
Definition: IpRouteInfo.h:255
Aws::DirectoryService::Model::IpRouteInfo::AddedDateTimeHasBeenSet
bool AddedDateTimeHasBeenSet() const
Definition: IpRouteInfo.h:163
Aws::DirectoryService::Model::IpRouteInfo::CidrIpHasBeenSet
bool CidrIpHasBeenSet() const
Definition: IpRouteInfo.h:91
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::IpRouteInfo::WithIpRouteStatusMsg
IpRouteInfo & WithIpRouteStatusMsg(const IpRouteStatusMsg &value)
Definition: IpRouteInfo.h:147
IpRouteStatusMsg.h
Aws::DirectoryService::Model::IpRouteInfo::GetAddedDateTime
const Aws::Utils::DateTime & GetAddedDateTime() const
Definition: IpRouteInfo.h:158
Aws::DirectoryService::Model::IpRouteInfo::WithDirectoryId
IpRouteInfo & WithDirectoryId(const Aws::String &value)
Definition: IpRouteInfo.h:70
Aws::DirectoryService::Model::IpRouteInfo::WithDescription
IpRouteInfo & WithDescription(const char *value)
Definition: IpRouteInfo.h:265
Aws::DirectoryService::Model::IpRouteInfo::SetCidrIp
void SetCidrIp(Aws::String &&value)
Definition: IpRouteInfo.h:101
Aws::DirectoryService::Model::IpRouteInfo::IpRouteStatusReasonHasBeenSet
bool IpRouteStatusReasonHasBeenSet() const
Definition: IpRouteInfo.h:194
Aws::DirectoryService::Model::IpRouteInfo
Definition: IpRouteInfo.h:34
Aws::DirectoryService::Model::IpRouteInfo::operator=
IpRouteInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::IpRouteInfo::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: IpRouteInfo.h:65
Aws::DirectoryService::Model::IpRouteInfo::GetIpRouteStatusMsg
const IpRouteStatusMsg & GetIpRouteStatusMsg() const
Definition: IpRouteInfo.h:127
Aws::DirectoryService::Model::IpRouteInfo::SetDescription
void SetDescription(const char *value)
Definition: IpRouteInfo.h:250
Aws::DirectoryService::Model::IpRouteInfo::WithAddedDateTime
IpRouteInfo & WithAddedDateTime(Aws::Utils::DateTime &&value)
Definition: IpRouteInfo.h:183
Aws::DirectoryService::Model::IpRouteInfo::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: IpRouteInfo.h:60
Aws::DirectoryService::Model::IpRouteInfo::IpRouteStatusMsgHasBeenSet
bool IpRouteStatusMsgHasBeenSet() const
Definition: IpRouteInfo.h:132
Aws::DirectoryService::Model::IpRouteInfo::SetIpRouteStatusMsg
void SetIpRouteStatusMsg(const IpRouteStatusMsg &value)
Definition: IpRouteInfo.h:137
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DirectoryService::Model::IpRouteInfo::GetIpRouteStatusReason
const Aws::String & GetIpRouteStatusReason() const
Definition: IpRouteInfo.h:189
Aws::DirectoryService::Model::IpRouteInfo::SetIpRouteStatusMsg
void SetIpRouteStatusMsg(IpRouteStatusMsg &&value)
Definition: IpRouteInfo.h:142
Aws::DirectoryService::Model::IpRouteInfo::SetDescription
void SetDescription(Aws::String &&value)
Definition: IpRouteInfo.h:245
Aws::DirectoryService::Model::IpRouteInfo::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: IpRouteInfo.h:55
Aws::DirectoryService::Model::IpRouteInfo::WithIpRouteStatusMsg
IpRouteInfo & WithIpRouteStatusMsg(IpRouteStatusMsg &&value)
Definition: IpRouteInfo.h:152
Aws::DirectoryService::Model::IpRouteInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DirectoryService::Model::IpRouteInfo::WithCidrIp
IpRouteInfo & WithCidrIp(const Aws::String &value)
Definition: IpRouteInfo.h:111
Aws::DirectoryService::Model::IpRouteInfo::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: IpRouteInfo.h:50
Aws::DirectoryService::Model::IpRouteInfo::WithCidrIp
IpRouteInfo & WithCidrIp(Aws::String &&value)
Definition: IpRouteInfo.h:116
Aws::DirectoryService::Model::IpRouteInfo::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: IpRouteInfo.h:235
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::IpRouteInfo::SetCidrIp
void SetCidrIp(const Aws::String &value)
Definition: IpRouteInfo.h:96
Aws::DirectoryService::Model::IpRouteInfo::SetIpRouteStatusReason
void SetIpRouteStatusReason(const Aws::String &value)
Definition: IpRouteInfo.h:199
Aws::DirectoryService::Model::IpRouteInfo::GetCidrIp
const Aws::String & GetCidrIp() const
Definition: IpRouteInfo.h:86
Aws::DirectoryService::Model::IpRouteInfo::GetDescription
const Aws::String & GetDescription() const
Definition: IpRouteInfo.h:230
Aws::DirectoryService::Model::IpRouteInfo::WithIpRouteStatusReason
IpRouteInfo & WithIpRouteStatusReason(Aws::String &&value)
Definition: IpRouteInfo.h:219
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::IpRouteInfo::SetAddedDateTime
void SetAddedDateTime(Aws::Utils::DateTime &&value)
Definition: IpRouteInfo.h:173
Aws::DirectoryService::Model::IpRouteInfo::SetDescription
void SetDescription(const Aws::String &value)
Definition: IpRouteInfo.h:240
Aws::DirectoryService::Model::IpRouteInfo::IpRouteInfo
IpRouteInfo()
Aws::DirectoryService::Model::IpRouteInfo::WithDirectoryId
IpRouteInfo & WithDirectoryId(Aws::String &&value)
Definition: IpRouteInfo.h:75
Aws::DirectoryService::Model::IpRouteInfo::IpRouteInfo
IpRouteInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::IpRouteStatusMsg
IpRouteStatusMsg
Definition: IpRouteStatusMsg.h:17
Aws::DirectoryService::Model::IpRouteInfo::SetAddedDateTime
void SetAddedDateTime(const Aws::Utils::DateTime &value)
Definition: IpRouteInfo.h:168
Aws::DirectoryService::Model::IpRouteInfo::WithCidrIp
IpRouteInfo & WithCidrIp(const char *value)
Definition: IpRouteInfo.h:121
Aws::DirectoryService::Model::IpRouteInfo::WithIpRouteStatusReason
IpRouteInfo & WithIpRouteStatusReason(const char *value)
Definition: IpRouteInfo.h:224
Aws::DirectoryService::Model::IpRouteInfo::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: IpRouteInfo.h:45