AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VcenterClient.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace mgn
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MGN_API VcenterClient();
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline VcenterClient& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline VcenterClient& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline VcenterClient& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetDatacenterName() const{ return m_datacenterName; }
60 inline bool DatacenterNameHasBeenSet() const { return m_datacenterNameHasBeenSet; }
61 inline void SetDatacenterName(const Aws::String& value) { m_datacenterNameHasBeenSet = true; m_datacenterName = value; }
62 inline void SetDatacenterName(Aws::String&& value) { m_datacenterNameHasBeenSet = true; m_datacenterName = std::move(value); }
63 inline void SetDatacenterName(const char* value) { m_datacenterNameHasBeenSet = true; m_datacenterName.assign(value); }
64 inline VcenterClient& WithDatacenterName(const Aws::String& value) { SetDatacenterName(value); return *this;}
65 inline VcenterClient& WithDatacenterName(Aws::String&& value) { SetDatacenterName(std::move(value)); return *this;}
66 inline VcenterClient& WithDatacenterName(const char* value) { SetDatacenterName(value); return *this;}
68
70
73 inline const Aws::String& GetHostname() const{ return m_hostname; }
74 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
75 inline void SetHostname(const Aws::String& value) { m_hostnameHasBeenSet = true; m_hostname = value; }
76 inline void SetHostname(Aws::String&& value) { m_hostnameHasBeenSet = true; m_hostname = std::move(value); }
77 inline void SetHostname(const char* value) { m_hostnameHasBeenSet = true; m_hostname.assign(value); }
78 inline VcenterClient& WithHostname(const Aws::String& value) { SetHostname(value); return *this;}
79 inline VcenterClient& WithHostname(Aws::String&& value) { SetHostname(std::move(value)); return *this;}
80 inline VcenterClient& WithHostname(const char* value) { SetHostname(value); return *this;}
82
84
87 inline const Aws::String& GetLastSeenDatetime() const{ return m_lastSeenDatetime; }
88 inline bool LastSeenDatetimeHasBeenSet() const { return m_lastSeenDatetimeHasBeenSet; }
89 inline void SetLastSeenDatetime(const Aws::String& value) { m_lastSeenDatetimeHasBeenSet = true; m_lastSeenDatetime = value; }
90 inline void SetLastSeenDatetime(Aws::String&& value) { m_lastSeenDatetimeHasBeenSet = true; m_lastSeenDatetime = std::move(value); }
91 inline void SetLastSeenDatetime(const char* value) { m_lastSeenDatetimeHasBeenSet = true; m_lastSeenDatetime.assign(value); }
92 inline VcenterClient& WithLastSeenDatetime(const Aws::String& value) { SetLastSeenDatetime(value); return *this;}
93 inline VcenterClient& WithLastSeenDatetime(Aws::String&& value) { SetLastSeenDatetime(std::move(value)); return *this;}
94 inline VcenterClient& WithLastSeenDatetime(const char* value) { SetLastSeenDatetime(value); return *this;}
96
98
101 inline const Aws::Map<Aws::String, Aws::String>& GetSourceServerTags() const{ return m_sourceServerTags; }
102 inline bool SourceServerTagsHasBeenSet() const { return m_sourceServerTagsHasBeenSet; }
103 inline void SetSourceServerTags(const Aws::Map<Aws::String, Aws::String>& value) { m_sourceServerTagsHasBeenSet = true; m_sourceServerTags = value; }
104 inline void SetSourceServerTags(Aws::Map<Aws::String, Aws::String>&& value) { m_sourceServerTagsHasBeenSet = true; m_sourceServerTags = std::move(value); }
107 inline VcenterClient& AddSourceServerTags(const Aws::String& key, const Aws::String& value) { m_sourceServerTagsHasBeenSet = true; m_sourceServerTags.emplace(key, value); return *this; }
108 inline VcenterClient& AddSourceServerTags(Aws::String&& key, const Aws::String& value) { m_sourceServerTagsHasBeenSet = true; m_sourceServerTags.emplace(std::move(key), value); return *this; }
109 inline VcenterClient& AddSourceServerTags(const Aws::String& key, Aws::String&& value) { m_sourceServerTagsHasBeenSet = true; m_sourceServerTags.emplace(key, std::move(value)); return *this; }
110 inline VcenterClient& AddSourceServerTags(Aws::String&& key, Aws::String&& value) { m_sourceServerTagsHasBeenSet = true; m_sourceServerTags.emplace(std::move(key), std::move(value)); return *this; }
111 inline VcenterClient& AddSourceServerTags(const char* key, Aws::String&& value) { m_sourceServerTagsHasBeenSet = true; m_sourceServerTags.emplace(key, std::move(value)); return *this; }
112 inline VcenterClient& AddSourceServerTags(Aws::String&& key, const char* value) { m_sourceServerTagsHasBeenSet = true; m_sourceServerTags.emplace(std::move(key), value); return *this; }
113 inline VcenterClient& AddSourceServerTags(const char* key, const char* value) { m_sourceServerTagsHasBeenSet = true; m_sourceServerTags.emplace(key, value); return *this; }
115
117
120 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
121 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
122 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
123 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
124 inline VcenterClient& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
125 inline VcenterClient& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
126 inline VcenterClient& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
127 inline VcenterClient& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
128 inline VcenterClient& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
129 inline VcenterClient& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
130 inline VcenterClient& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
131 inline VcenterClient& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
132 inline VcenterClient& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
134
136
139 inline const Aws::String& GetVcenterClientID() const{ return m_vcenterClientID; }
140 inline bool VcenterClientIDHasBeenSet() const { return m_vcenterClientIDHasBeenSet; }
141 inline void SetVcenterClientID(const Aws::String& value) { m_vcenterClientIDHasBeenSet = true; m_vcenterClientID = value; }
142 inline void SetVcenterClientID(Aws::String&& value) { m_vcenterClientIDHasBeenSet = true; m_vcenterClientID = std::move(value); }
143 inline void SetVcenterClientID(const char* value) { m_vcenterClientIDHasBeenSet = true; m_vcenterClientID.assign(value); }
144 inline VcenterClient& WithVcenterClientID(const Aws::String& value) { SetVcenterClientID(value); return *this;}
145 inline VcenterClient& WithVcenterClientID(Aws::String&& value) { SetVcenterClientID(std::move(value)); return *this;}
146 inline VcenterClient& WithVcenterClientID(const char* value) { SetVcenterClientID(value); return *this;}
148
150
153 inline const Aws::String& GetVcenterUUID() const{ return m_vcenterUUID; }
154 inline bool VcenterUUIDHasBeenSet() const { return m_vcenterUUIDHasBeenSet; }
155 inline void SetVcenterUUID(const Aws::String& value) { m_vcenterUUIDHasBeenSet = true; m_vcenterUUID = value; }
156 inline void SetVcenterUUID(Aws::String&& value) { m_vcenterUUIDHasBeenSet = true; m_vcenterUUID = std::move(value); }
157 inline void SetVcenterUUID(const char* value) { m_vcenterUUIDHasBeenSet = true; m_vcenterUUID.assign(value); }
158 inline VcenterClient& WithVcenterUUID(const Aws::String& value) { SetVcenterUUID(value); return *this;}
159 inline VcenterClient& WithVcenterUUID(Aws::String&& value) { SetVcenterUUID(std::move(value)); return *this;}
160 inline VcenterClient& WithVcenterUUID(const char* value) { SetVcenterUUID(value); return *this;}
162 private:
163
164 Aws::String m_arn;
165 bool m_arnHasBeenSet = false;
166
167 Aws::String m_datacenterName;
168 bool m_datacenterNameHasBeenSet = false;
169
170 Aws::String m_hostname;
171 bool m_hostnameHasBeenSet = false;
172
173 Aws::String m_lastSeenDatetime;
174 bool m_lastSeenDatetimeHasBeenSet = false;
175
176 Aws::Map<Aws::String, Aws::String> m_sourceServerTags;
177 bool m_sourceServerTagsHasBeenSet = false;
178
180 bool m_tagsHasBeenSet = false;
181
182 Aws::String m_vcenterClientID;
183 bool m_vcenterClientIDHasBeenSet = false;
184
185 Aws::String m_vcenterUUID;
186 bool m_vcenterUUIDHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace mgn
191} // namespace Aws
void SetSourceServerTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetHostname() const
VcenterClient & WithLastSeenDatetime(const char *value)
void SetLastSeenDatetime(Aws::String &&value)
VcenterClient & AddSourceServerTags(const Aws::String &key, Aws::String &&value)
void SetSourceServerTags(const Aws::Map< Aws::String, Aws::String > &value)
VcenterClient & WithDatacenterName(Aws::String &&value)
void SetVcenterUUID(const char *value)
VcenterClient & AddSourceServerTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetArn() const
VcenterClient & WithVcenterClientID(Aws::String &&value)
const Aws::String & GetVcenterClientID() const
const Aws::Map< Aws::String, Aws::String > & GetSourceServerTags() const
void SetLastSeenDatetime(const Aws::String &value)
VcenterClient & WithSourceServerTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_MGN_API VcenterClient & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(Aws::String &&value)
VcenterClient & AddTags(const Aws::String &key, const Aws::String &value)
VcenterClient & WithHostname(const char *value)
VcenterClient & WithArn(Aws::String &&value)
VcenterClient & AddSourceServerTags(const char *key, const char *value)
void SetArn(const char *value)
VcenterClient & WithLastSeenDatetime(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetHostname(const Aws::String &value)
void SetHostname(const char *value)
VcenterClient & AddSourceServerTags(const Aws::String &key, const Aws::String &value)
void SetVcenterUUID(const Aws::String &value)
VcenterClient & AddTags(Aws::String &&key, const Aws::String &value)
VcenterClient & WithDatacenterName(const char *value)
AWS_MGN_API VcenterClient(Aws::Utils::Json::JsonView jsonValue)
VcenterClient & WithHostname(const Aws::String &value)
VcenterClient & WithVcenterUUID(const Aws::String &value)
VcenterClient & WithHostname(Aws::String &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDatacenterName(Aws::String &&value)
VcenterClient & WithLastSeenDatetime(const Aws::String &value)
VcenterClient & WithSourceServerTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDatacenterName(const char *value)
VcenterClient & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetLastSeenDatetime(const char *value)
VcenterClient & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetVcenterClientID(Aws::String &&value)
VcenterClient & WithDatacenterName(const Aws::String &value)
VcenterClient & AddTags(const char *key, Aws::String &&value)
const Aws::String & GetDatacenterName() const
const Aws::String & GetLastSeenDatetime() const
VcenterClient & AddTags(Aws::String &&key, Aws::String &&value)
VcenterClient & AddSourceServerTags(const char *key, Aws::String &&value)
VcenterClient & WithVcenterClientID(const char *value)
VcenterClient & AddSourceServerTags(Aws::String &&key, const Aws::String &value)
VcenterClient & WithVcenterUUID(Aws::String &&value)
VcenterClient & AddTags(const Aws::String &key, Aws::String &&value)
VcenterClient & WithArn(const Aws::String &value)
VcenterClient & AddTags(const char *key, const char *value)
VcenterClient & WithVcenterUUID(const char *value)
void SetHostname(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetArn(const Aws::String &value)
void SetVcenterClientID(const char *value)
void SetVcenterUUID(Aws::String &&value)
VcenterClient & WithVcenterClientID(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetVcenterClientID(const Aws::String &value)
const Aws::String & GetVcenterUUID() const
VcenterClient & AddTags(Aws::String &&key, const char *value)
void SetDatacenterName(const Aws::String &value)
VcenterClient & AddSourceServerTags(Aws::String &&key, const char *value)
VcenterClient & WithArn(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue